<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Intezer Research – Apt_russia</title><link>https://research.intezer.com/tags/apt_russia/</link><description>Recent content in Apt_russia on Intezer Research</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Tue, 10 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://research.intezer.com/tags/apt_russia/index.xml" rel="self" type="application/rss+xml"/><item><title>When Everything Becomes Open-Source</title><link>https://research.intezer.com/blog/2026/11/when-everything-becomes-open-source/</link><pubDate>Tue, 10 Nov 2026 00:00:00 +0000</pubDate><guid>https://research.intezer.com/blog/2026/11/when-everything-becomes-open-source/</guid><description>
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2026/11/when-everything-becomes-open-source/images/cover.png" alt="When Everything Becomes Open-Source" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;This article is based on joint research with the Senior Security Researcher &lt;a href="https://www.kodemsecurity.com/resources/when-everything-becomes-open-source"target="_blank" rel="noopener"&gt;Eran Segal&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;Reconstructing Apple, Slack, and even malware source code and adding the features you always wanted&lt;span class="hx:absolute hx:-mt-20" id="reconstructing-apple-slack-and-even-malware-source-code-and-adding-the-features-you-always-wanted"&gt;&lt;/span&gt;
&lt;a href="#reconstructing-apple-slack-and-even-malware-source-code-and-adding-the-features-you-always-wanted" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;We live in a world where software applications surround us: browsers, text editors, phone apps, and more. So it is not surprising that companies like Microsoft and Google have billions in market share, and one of their big asset is their product: their software, their code. This makes the product&amp;rsquo;s source code its most valuable asset. These products must be shipped to customers as container images, executables, and APIs. These formats are lossy and cannot be converted back to maintainable source code. This raises the question: how easy is it to convert these assets, using the vendor’s documentation, back into source code we can maintain on GitHub?&lt;/p&gt;
&lt;p&gt;Reverse engineering is an old concept. It is the process of deconstructing a finished product, usually focusing on a specific area that takes humans a long time to analyze. With AI agents, we can do this very fast at a small scale (with an unlimited number of tokens, the sky is the limit).&lt;/p&gt;
&lt;p&gt;For real-world scale, we chose 3 examples that, to the best of our knowledge, AI was never trained on and never saw in its source code. Each app tests different use cases and challenges.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://support.apple.com/en-gb/guide/mac-help/mchlp2605/mac"target="_blank" rel="noopener"&gt;Finder&lt;/a&gt; - one of the most used utilities on a Mac computer. This application lets users view and search files on the computer. While the functionality is simple, the file itself is relatively big and complex.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://slack.com/"target="_blank" rel="noopener"&gt;Slack&lt;/a&gt; - a digital messaging app for businesses. Slack client is written in TypeScript, and it is Electron-based, unlike the Slack server, which is not downloadable. Therefore, it requires reconstruction based only on the limited data available.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://attack.mitre.org/software/S0668/"target="_blank" rel="noopener"&gt;TinyTurla&lt;/a&gt; Malware - a well-known second-stage backdoor attributed by &lt;a href="https://blog.talosintelligence.com/tinyturla/"target="_blank" rel="noopener"&gt;Cisco Talos&lt;/a&gt; to the Turla group. This case tests our ability to reconstruct malicious code and bypass LLM resistance. Source code is easier to inspect than assembly. That is the entire premise. If security teams could produce a faithful reconstruction of a malware sample&amp;rsquo;s source from the compiled file alone, they could read a threat rather than decode it, and they would get there faster.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Our research shows that an AI agent can reconstruct a working copy of an application when given the original software&amp;rsquo;s binary or package. The dataset included different types of applications; the process wasn&amp;rsquo;t smooth, but the results show it is possible. In a world where new and improved agents are released every month, each more capable than the last, it is only a matter of time before these agents can rebuild more complex applications.&lt;/p&gt;
&lt;div class="hx:overflow-x-auto hx:mt-6 hx:flex hx:flex-col hx:rounded-lg hx:border hx:py-4 hx:px-4 hx:border-gray-200 hx:contrast-more:border-current hx:contrast-more:dark:border-current hx:border-amber-200 hx:bg-amber-100 hx:text-amber-900 hx:dark:border-amber-200/30 hx:dark:bg-amber-900/30 hx:dark:text-amber-200"&gt;
&lt;p class="hx:flex hx:items-center hx:font-medium"&gt;&lt;svg height=16px class="hx:inline-block hx:align-middle hx:mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" aria-hidden="true"&gt;&lt;path stroke-linecap="round" stroke-linejoin="round" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"/&gt;&lt;/svg&gt;Disclaimer&lt;/p&gt;
&lt;div class="hx:w-full hx:min-w-0 hx:leading-7"&gt;
&lt;div class="hx:mt-6 hx:leading-7 hx:first:mt-0"&gt;&lt;p&gt;This research was conducted &lt;strong&gt;solely for security research and educational purposes&lt;/strong&gt;, in an isolated lab environment. We do not share, distribute or commercially use any reconstructed source code, binaries or other materials. The malware sample was analyzed statically and was never executed. Nothing in this post is intended to encourage reconstructing, modifying or redistributing third-party software in breach of its license terms or applicable law. Apple, Finder, macOS and Slack are trademarks of their respective owners; Intezer and Kodem Security are not affiliated with, sponsored or endorsed by them.&lt;/p&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;Technical Details&lt;span class="hx:absolute hx:-mt-20" id="technical-details"&gt;&lt;/span&gt;
&lt;a href="#technical-details" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;h3&gt;The definition of successful reconstruction:&lt;span class="hx:absolute hx:-mt-20" id="the-definition-of-successful-reconstruction"&gt;&lt;/span&gt;
&lt;a href="#the-definition-of-successful-reconstruction" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;The code is fully &lt;strong&gt;maintainable and readable&lt;/strong&gt;, so we can add new features to the app, fix bugs, and we have the infrastructure to execute everything.&lt;/li&gt;
&lt;li&gt;The code is clean and idiomatic, comparable in readability to human-written source code&lt;/li&gt;
&lt;li&gt;The real app and our reconstructed app behave exactly the same. Unlike &lt;a href="https://medium.com/@YousfiAymane/one-developer-rebuilt-adobes-entire-suite-for-free-using-ai-here-s-what-actually-happened-cc552f71d36e"target="_blank" rel="noopener"&gt;Adobe reconstruction&lt;/a&gt;, which behaves similarly&lt;/li&gt;
&lt;li&gt;We compiled the reconstructed app only from our source.&lt;/li&gt;
&lt;li&gt;Package dependencies are detected and treated accordingly. No 3rd-party libraries in our source code.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;They used to say that if you could read assembly language, any software was open source. But with the new AI models, you might not even need to know assembly. Well, to some extent. For now.&lt;/p&gt;
&lt;h2&gt;Case 1: Slack - difficulty level: medium&lt;span class="hx:absolute hx:-mt-20" id="case-1-slack---difficulty-level-medium"&gt;&lt;/span&gt;
&lt;a href="#case-1-slack---difficulty-level-medium" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Slack is a very famous instant messaging app owned by Salesforce, which acquired Slack in 2021 for $27.7 billion. Our goal is to prove that we’re able to rebuild the entire Slack app, including the client and the server, so we end up with a fully working Slack environment that we can run and extend in our lab. Slack server is not publicly available therefore, we do not have any source code for it, unlike the Slack client, therefore the reconstruction of these 2 parts is totally different.&lt;br&gt;
We’ll go over the steps required to reproduce the app. It is worth mentioning that in our lab the reconstruction of the server and the client with the tests was developed in parallel and not sequentially as mentioned here.&lt;/p&gt;
&lt;h3&gt;Reconstruction of Slack client&lt;span class="hx:absolute hx:-mt-20" id="reconstruction-of-slack-client"&gt;&lt;/span&gt;
&lt;a href="#reconstruction-of-slack-client" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Slack app is written in TypeScript over the Electron framework and uses the React frameworks, both technologies are highly common frameworks used widely throughout the world. The Slack client contains over 500,000 functions, most are 3rd-party libraries and some of them were provided by the Slack server. Therefore, we could offload most of the initial inspection to these tools. Initially, we extracted the app using the &lt;a href="https://github.com/electron/asar"target="_blank" rel="noopener"&gt;Asar&lt;/a&gt; tool, and we gained a directory of minimized JavaScript files and related artifacts. That code is still written in one long line, and it is impossible to read anything from it, even for an LLM. Using &lt;a href="https://github.com/j4k0xb/webcrack"target="_blank" rel="noopener"&gt;webcrack&lt;/a&gt; to unminimize the code and make it much more readable, we fixed the alignment so it will look as shown below.&lt;br&gt;
&lt;img src="https://research.intezer.com/blog/2026/11/when-everything-becomes-open-source/images/fig1.png" alt="" loading="lazy" /&gt;&lt;br&gt;
The pattern of a function with a name containing only digits with 3 parameters is repeated throughout the entire fileset. The content of each function is a different module, so by splitting the huge files according to that pattern, we can separate the huge JavaScript files into the real files similar to the way they are defined in Slack source to keep the architecture.&lt;/p&gt;
&lt;p&gt;At this stage, most of the code is not Slack code at all, it is a 3rd-party library Slack is using. Therefore, we let Claude do a deep dive into the minimized code and find all the 3rd-party libraries, some are easy to find because they were originally found in &lt;em&gt;node_modules&lt;/em&gt; dir, but some were hidden inside the source code itself. For that, we wrote a script to find indications of npm modules inside other files, and Claude also looked manually for additional insights.&lt;/p&gt;
&lt;p&gt;This phase was ready for heavy AI lifting, converting each JS file to source code like.&lt;br&gt;
&lt;img src="https://research.intezer.com/blog/2026/11/when-everything-becomes-open-source/images/fig2.png" alt="" loading="lazy" /&gt;&lt;br&gt;
From this point, we have the code, but it is not executable, so all we need to do is download all 3rd-party libraries and to make this code work exactly the same way Slack is working.&lt;br&gt;
It is worth mentioning that lots of the code the Slack client uses is pulled in at runtime from the Slack server, this will be covered in the reconstruction of the Slack server.&lt;/p&gt;
&lt;h3&gt;Reconstruction of Slack Server&lt;span class="hx:absolute hx:-mt-20" id="reconstruction-of-slack-server"&gt;&lt;/span&gt;
&lt;a href="#reconstruction-of-slack-server" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Unlike the Slack client, for reconstruction of the server, we do not have the binary/JS of the server.&lt;br&gt;
This means that implementing a server that will behave exactly the same as the original Slack server is very hard or even impossible, but building a Slack compatible server is very possible.&lt;/p&gt;
&lt;p&gt;By inspecting the Slack client code and detecting all the APIs statically, along with the ability to do network inspection on a real Slack application and the Slack documentation such as &lt;a href="https://docs.slack.dev/reference/methods/"target="_blank" rel="noopener"&gt;Slack references&lt;/a&gt;, we have clear definitions for the APIs required to be implemented.&lt;/p&gt;
&lt;p&gt;The APIs can be split into 2 parts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Static URLs&lt;/li&gt;
&lt;li&gt;Restful API/websockets&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Static URLs were downloaded from Slack servers, and the resources that required rewriting were done in a similar way as described in the reconstruction of the Slack client.&lt;/p&gt;
&lt;p&gt;In order to implement RESTful APIs were implemented based on the Slack client and matching its behavior to the expected behavior, by inspecting warning logs, errors and additional signals on the client.&lt;br&gt;
Our Slack server is using an SQLite DB and a relatively simple schema, the minimum possible to provide a proof of concept.&lt;/p&gt;
&lt;h3&gt;Building end-to-end tests&lt;span class="hx:absolute hx:-mt-20" id="building-end-to-end-tests"&gt;&lt;/span&gt;
&lt;a href="#building-end-to-end-tests" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;To execute multiple instances of Slack on the same computer and to being able to communicate with a server found in a different URLs other than Slack original real servers, there were a few patches required to be done in the client, first where to store the files, execute Slack with flags to use different URLs, after these patches we were able to connect the client to the server.&lt;/p&gt;
&lt;p&gt;In order to do automation end to end, we need to be able to control the Slack client. In order to do so, we used &lt;a href="https://chromedevtools.github.io/devtools-protocol/"target="_blank" rel="noopener"&gt;Chrome devTools protocol(CDP)&lt;/a&gt;. Using this interface, code was able to locate buttons on the interface and click them/inject text, and do all kinds of operations on the Slack client and validate this behavior.&lt;/p&gt;
&lt;p&gt;A mock server was used to capture all the traffic between the client and the server to be able to detect if the traffic has changed.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2026/11/when-everything-becomes-open-source/images/fig3.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;h3&gt;Adding feature - Adding AI auto-complete for Slack&lt;span class="hx:absolute hx:-mt-20" id="adding-feature---adding-ai-auto-complete-for-slack"&gt;&lt;/span&gt;
&lt;a href="#adding-feature---adding-ai-auto-complete-for-slack" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The goal of the feature is to provide a proof of concept that the infrastructure we developed in the previous steps is good enough for us to be able to develop a full feature Slack doesn’t have (yet)&lt;br&gt;
In this feature, we’ll add auto-complete text, similar to the auto-complete IDEs have with AI.&lt;br&gt;
In one short session of Claude, Claude managed to add this feature, which includes connecting Slack server to an LLM server (qwen2.5:3b for ultra-fast results), and exposing an API for auto-completing text, and changes in the Slack client - to change the behavior of the text in the text box, key binding, new API to handle.&lt;/p&gt;
&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;
&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/DPTmFycLIsg?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;
&lt;/div&gt;
&lt;p&gt;&lt;em&gt;Video: Claude adding AI auto-complete to the reconstructed Slack client and server.&lt;/em&gt;&lt;/p&gt;
&lt;h3&gt;Slack Summary&lt;span class="hx:absolute hx:-mt-20" id="slack-summary"&gt;&lt;/span&gt;
&lt;a href="#slack-summary" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;We were able to reproduce the entire Slack app very simply because it was written in high-level language which contains lots of references and names that existed in the source code, and the transformation between the Slack app to source was relatively trivial. Implementing the server, on the other hand, was more complex because the details of the implementation weren’t shared with us. But building new features such as the auto-complete was simple, as if it were source code.&lt;/p&gt;
&lt;h2&gt;Case 2: Finder - difficulty level: Low-Medium&lt;span class="hx:absolute hx:-mt-20" id="case-2-finder---difficulty-level-low-medium"&gt;&lt;/span&gt;
&lt;a href="#case-2-finder---difficulty-level-low-medium" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;In this case, we tried to reconstruct the &lt;a href="https://en.wikipedia.org/wiki/Finder_%5c%28software%5c%29"target="_blank" rel="noopener"&gt;Finder&lt;/a&gt; app. The bundle includes a 25.8 MB executable for Intel and Apple Silicon, along with interface files, images, localized text, and metadata.&lt;/p&gt;
&lt;h3&gt;How the reforging process works&lt;span class="hx:absolute hx:-mt-20" id="how-the-reforging-process-works"&gt;&lt;/span&gt;
&lt;a href="#how-the-reforging-process-works" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The reconstruction harness used the code and files from the provided Finder app and processed one feature at a time. For example, when working on the feature of adding a file, first the harness inspects the supplied interface files and executable to identify visible controls and the code paths they call. Then the harness implements the action, tests it, and records anything the available evidence cannot settle.&lt;/p&gt;
&lt;p&gt;In some cases, the provided files can’t reveal how Finder implements a task because it relies on other macOS applications and services, such as cloud-shred files. In those cases, the harness builds a working version using public macOS APIs, tests it, and documents how the behavior might differ.&lt;/p&gt;
&lt;p&gt;A separate testing flow creates temporary folders, files, and drivers to test the code of the reconstructed application. The tests cover different Finder features and actions the user can perform.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Browsing files: opening folders, navigation, selections, sorting on different values, choosing views (such as Gallery view), etc.&lt;/li&gt;
&lt;li&gt;Working with files: actions such as copy, move, rename, duplicate, tags, and undo. The tests also cover missing files, conflicting names, and other failure cases.&lt;/li&gt;
&lt;li&gt;Search feature: search criteria and results, saved Reforge searches, Get Info, previews, and preference controls.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Current state and remaining differences&lt;span class="hx:absolute hx:-mt-20" id="current-state-and-remaining-differences"&gt;&lt;/span&gt;
&lt;a href="#current-state-and-remaining-differences" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The Finder binary contains tens of thousands of function views across two architectures, with dynamic Objective-C calls and extensive framework and private-service dependencies. That makes it hard to map every original function to a rebuilt counterpart or use a whole-binary similarity score to measure progress. Instead, we use static analysis in the harness to establish specific facts about the original, build user-facing workflows with public macOS APIs, test those workflows, and record where the original behavior remains unknown.&lt;/p&gt;
&lt;p&gt;The reconstructed app supports many everyday local-file workflows, including browsing, windows and tabs, common file actions, local search, Get Info, tags, Quick Look, and preferences. The reconstruction uses public macOS APIs for features that couldn&amp;rsquo;t be implemented solely from the provided files. As a result, its internal size and structure are expected to differ from Apple’s Finder. The remaining gap comes from features that involve files managed by cloud services, such as online-only files and sync status, or actions whose results depend on other macOS services.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2026/11/when-everything-becomes-open-source/images/fig4.png" title="Figure 4: The original Finder application." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 4: The original Finder application.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2026/11/when-everything-becomes-open-source/images/fig5.png" title="Figure 5: The reforged Finder application." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 5: The reforged Finder application.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h2&gt;Case 3: TinyTurla - difficulty level: hard&lt;span class="hx:absolute hx:-mt-20" id="case-3-tinyturla---difficulty-level-hard"&gt;&lt;/span&gt;
&lt;a href="#case-3-tinyturla---difficulty-level-hard" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Malware makes this difficult. Even small samples are typically stripped C or C++ binaries with no symbols, comments, or file boundaries. Reconstruction must recover the whole program: its functions, data structures, control flow, and behavior. Success means a source tree that compiles and matches the original binary. That is already expensive in time and tokens before obfuscation or packing enters the picture.&lt;/p&gt;
&lt;p&gt;We wanted to know whether a strict workflow could clear that bar, and whether the result could be defended with evidence rather than asserted with confidence.&lt;/p&gt;
&lt;h3&gt;The Target: A TinyTurla-NG DLL&lt;span class="hx:absolute hx:-mt-20" id="the-target-a-tinyturla-ng-dll"&gt;&lt;/span&gt;
&lt;a href="#the-target-a-tinyturla-ng-dll" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The input is a TinyTurla-NG x64 Windows DLL of 291,840 bytes, built with MSVC linker 14.29 and carrying a compile timestamp of December 22nd, 2023. Binary Ninja resolves 1,041 functions in it. The sample is unpacked and unobfuscated.&lt;/p&gt;
&lt;p&gt;The goal was never to recover the author’s exact source text. Comments, formatting, and most variable names are gone the moment a binary is compiled. The deliverable is something different: a new, evidence-backed implementation that behaves like the binary and can be shown to do so.&lt;/p&gt;
&lt;h3&gt;The Rules&lt;span class="hx:absolute hx:-mt-20" id="the-rules"&gt;&lt;/span&gt;
&lt;a href="#the-rules" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;First, the binary is the source of truth. A language model may propose an interpretation, but it cannot certify one. Every conclusion is tied to static evidence. Second, nothing is ever executed. Neither the original nor the rebuilt binary is ever run.&lt;/p&gt;
&lt;p&gt;The reconstruction evaluates two separate goals, and it keeps them separate on purpose:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Behavioral equivalence: matching control flow, calls, data effects, cleanup, error paths, and ABI behavior.&lt;/li&gt;
&lt;li&gt;Structural similarity: matching functions, control-flow graph, call relationships, and machine-code shape, measured with BinExport and BinDiff.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;The Setup&lt;span class="hx:absolute hx:-mt-20" id="the-setup"&gt;&lt;/span&gt;
&lt;a href="#the-setup" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;In this reconstruction harness, no single model does every step. It is a deterministic Python control plane wrapped around static-analysis tools, a compiler, and several bounded language-model roles. The models are components inside the system, not the system itself.&lt;/p&gt;
&lt;p&gt;Binary Ninja performs static analysis of the original binary locally and produces the gold-standard database (the &lt;code&gt;.bndb&lt;/code&gt; file). It supplies the authoritative disassembly, IL, and decompiler output that every downstream step consumes. Binary Ninja output is the static ground truth for the whole project. Once the harness has a reconstructed function, it compares that function&amp;rsquo;s High Level Intermediate Language (&lt;a href="https://docs.binary.ninja/dev/bnil-hlil.html"target="_blank" rel="noopener"&gt;HLIL&lt;/a&gt;) against the corresponding function in the original file using the same tool.&lt;/p&gt;
&lt;p&gt;A Windows VM compiles the reconstructed C++. The machine where Codex runs connects to the Windows VM via SSH. &lt;a href="https://openai.com/codex/"target="_blank" rel="noopener"&gt;Codex&lt;/a&gt; extracted the compiler version from the binary and installed the closest compilation toolchain on the Windows VM. It is not a perfect match, and the reason becomes important later: the original binary appears to include objects produced by an unavailable pre-release compiler around build 27412.&lt;/p&gt;
&lt;p&gt;Codex, configured to use GPT-5.6-sol-high, operates the workflow: it inspects artifacts, makes engineering decisions, integrates code, investigates failed gates and build errors, and invokes the tools. Inside the harness, Kimi K3 hosted on Fireworks fills three isolated roles.&lt;/p&gt;
&lt;p&gt;Two operational guardrails are worth naming. It sends only selected static evidence to Kimi K3. Binaries and credentials are never uploaded, and during equivalence review, the reconstructed source passes through a dedicated redaction path that strips string-literal contents before transmission. Separately, every request is recorded in a budget ledger that must preserve a mandatory five-dollar reserve under the authorized spending ceiling, so the workflow cannot burn resources without accountability.&lt;/p&gt;
&lt;h3&gt;What Was Reconstructed&lt;span class="hx:absolute hx:-mt-20" id="what-was-reconstructed"&gt;&lt;/span&gt;
&lt;a href="#what-was-reconstructed" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The project produced a complete, compiling C++ implementation of the TinyTurla-NG DLL from static analysis alone.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="text-align: left"&gt;Measure&lt;/th&gt;
&lt;th style="text-align: left"&gt;Original&lt;/th&gt;
&lt;th style="text-align: left"&gt;Reconstruction&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;File size&lt;/td&gt;
&lt;td style="text-align: left"&gt;291,840 bytes&lt;/td&gt;
&lt;td style="text-align: left"&gt;296,960 bytes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;Functions&lt;/td&gt;
&lt;td style="text-align: left"&gt;1,041&lt;/td&gt;
&lt;td style="text-align: left"&gt;1,072&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align: left"&gt;Imported symbols&lt;/td&gt;
&lt;td style="text-align: left"&gt;Identical&lt;/td&gt;
&lt;td style="text-align: left"&gt;Identical&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;BinDiff pairs 1,034 of the original functions and reports 92.8% whole-program similarity at 98.7% confidence. That is a statement about shape, not about behavior. The behavioral case compares the original and rebuilt functions one at a time, at the right addresses.&lt;/p&gt;
&lt;p&gt;The reconstructed code fits in two source files, about 3,100 lines in total. Together they cover the implant’s full working pipeline: registering with its C2 servers, receiving and executing commands, running shell commands, transferring files, and removing itself. One deliberate omission: we did not hand-write the Microsoft C++ runtime. Where the evidence showed a function came from the compiler’s libraries, the rebuild simply links them. Writing plausible-looking source for that code would have inflated the numbers while making the result less honest.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2026/11/when-everything-becomes-open-source/images/fig6.png" title="Figure 6: A side-by-side (partial) comparison of the same function. On the left is the reconstructed source code, and on the right is the decompilation of the original file in Binary Ninja." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 6: A side-by-side (partial) comparison of the same function. On the left is the reconstructed source code, and on the right is the decompilation of the original file in Binary Ninja.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h2&gt;How to protect your software?&lt;span class="hx:absolute hx:-mt-20" id="how-to-protect-your-software"&gt;&lt;/span&gt;
&lt;a href="#how-to-protect-your-software" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;This research shows that AI agents can reconstruct real-world applications and gain the application source code. It also shows that obstacles remain, and the workflow is not smooth or perfect. Yet. Another thing to consider is that while someone can vibe-code applications like Slack, it will be much harder to build the infrastructure needed to run them.&lt;/p&gt;
&lt;p&gt;We learned that clear objectives make the process harder for an AI to solve. When there is no clear guidance on how things in the application work, documentation is lacking, metadata is not useful or clear, and the code is low-level, all of these add a lot of complexity. Would more tokens, more capable models, and better harnesses fix this? Maybe! But in the meantime, if software providers use encryptors and obfuscators- tools used for years to prevent people from hacking applications (such as anti-cheating software for computer games)- these will make the process much harder for AI agents and raise the bar.&lt;/p&gt;
&lt;p&gt;What would be the impact of converting every software to an open-source application? How would it affect the global economy? AI is clearly changing our industry and our world. While it&amp;rsquo;s still unclear how it will affect our jobs and lives in the future, this research shows that AI will significantly affect a new aspect. The software industry will have to adjust.&lt;/p&gt;</description></item><item><title>Elephant Framework Delivered in Phishing Attacks Against Ukrainian Organizations</title><link>https://research.intezer.com/blog/2022/04/elephant-malware-targeting-ukrainian-orgs/</link><pubDate>Mon, 04 Apr 2022 00:00:00 +0000</pubDate><guid>https://research.intezer.com/blog/2022/04/elephant-malware-targeting-ukrainian-orgs/</guid><description>
&lt;p&gt;A recently developed malware framework called Elephant is being delivered in
targeted spear phishing campaigns using spoofed Ukrainian governmental email
addresses. The four malware components delivered are used for stealing
credentials, documents, and to provide remote access to the infected machine.&lt;/p&gt;
&lt;p&gt;Two of these components were first reported on by the Computer Emergency
Response Team for Ukraine (CERT-UA) in March 2022. They named the two
components GraphSteel and GrimPlant. When investigating these events, we have
identified that Elephant has also been delivered via phishing emails from
spoofed Ukrainian email addresses. Elephant is a malware framework written in
Go. The activity has been attributed to UAC-0056 (TA471, SaintBear, UNC2589) by
CERT-UA.&lt;/p&gt;
&lt;h2&gt;Background&lt;span class="hx:absolute hx:-mt-20" id="background"&gt;&lt;/span&gt;
&lt;a href="#background" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;On March 12, the CERT-UA
&lt;a href="https://cert.gov.ua/article/37704"target="_blank" rel="noopener"&gt;published an alert&lt;/a&gt; on a threat about
phishing emails sent on behalf of state bodies of Ukraine that urged the
recievers to update the system by using a link provided in the email. Once the
user opens the link two files are downloaded, one is Cobalt Strike Beacon the
other is a dropper that will download and execute two additional files. These
additional files are base64 encoded, the files saved as:
&lt;code&gt;microsoft-cortana.exe&lt;/code&gt; (classified as GraphSteel) and &lt;code&gt;oracle-java.exe&lt;/code&gt;
(GrimPlant backdoor). The attack used Discord as a hosting server for the
additional payload that was downloaded.&lt;/p&gt;
&lt;p&gt;On March 15, SentinelOne
&lt;a href="https://www.sentinelone.com/blog/threat-actor-uac-0056-targeting-ukraine-with-fake-translation-software/"target="_blank" rel="noopener"&gt;found&lt;/a&gt;
two more samples of the GraphSteel and GrimPlant malware families. These
samples written in Go were dropped by an executable that was disguised as a
translation application. The new samples are similar to those published by the
CERT-UA, both in the naming and the functionality.&lt;/p&gt;
&lt;p&gt;On March 28, CERT-UA published
&lt;a href="https://cert.gov.ua/article/38374"target="_blank" rel="noopener"&gt;another alert&lt;/a&gt; about phishing emails with
an attached &amp;ldquo;xls&amp;rdquo; file. The subject of the email and the file name are both
&amp;ldquo;Wage arrear&amp;rdquo;. The attached file had macros that, once executed, created a file
called &lt;code&gt;Base-Update.exe&lt;/code&gt; – a malware that downloads and executes two other
files classified as GraphSteel and GrimPlant by the CERT.&lt;/p&gt;
&lt;h2&gt;Phishing Email&lt;span class="hx:absolute hx:-mt-20" id="phishing-email"&gt;&lt;/span&gt;
&lt;a href="#phishing-email" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;The subject of the email: Заборгованість по зарплаті (arrears in wages).&lt;/li&gt;
&lt;li&gt;The email was sent from &lt;code&gt;zam@mdfi.gov.ua&lt;/code&gt; to &lt;code&gt;ilenko@gng.com.ua&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The sender domain &lt;code&gt;mdfi.gov.ua&lt;/code&gt; belongs to the Mykolayiv Regional
Phytosanitary Laboratory.&lt;/li&gt;
&lt;li&gt;The
&lt;a href="https://uhmi.org.ua/eng/conf/entln/list_of_participants/#:~:text=ilenko%40gng.com.ua%20ilenko%40gng.com.ua%2028.%20vyacheslav%20petrovych%20tretyak%2C%20head%20of%20department%20of%20technical%20supply"target="_blank" rel="noopener"&gt;receiver&lt;/a&gt;
is the Head of Department of Technical Supply in
&lt;a href="https://www.okko-group.com.ua/en/companies/okko"target="_blank" rel="noopener"&gt;OKKO Group&lt;/a&gt;, one of the
largest filling stations in Ukraine, this person is in charge of the gas
stations chain.&lt;/li&gt;
&lt;li&gt;Based on the headers of the email: the email was sent from &lt;code&gt;87.249.139.161&lt;/code&gt;
(hosting web server located in Turkey).&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;Return-Path: &amp;lt;zam@mdfi.gov.ua&amp;gt;
Received: from hosting30.ukrnames.com (hosting30.ukrnames.com [217.182.197.11])
by mx-fm0.gng.com.ua with ESMTP id 22RJjl16017368-22RJjl18017368
(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO)
for &amp;lt;ilenko@gng.com.ua&amp;gt;; Sun, 27 Mar 2022 22:45:47 &amp;#43;0300
Received: from [87.249.139.161] (port=15731 helo=WIN3ISR1T95E6Qwwwtendawificom)
by hosting30.ukrnames.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
(Exim 4.95)
(envelope-from &amp;lt;zam@mdfi.gov.ua&amp;gt;)
id 1nYYot-00AQaf-Gj
for ilenko@gng.com.ua;
Sun, 27 Mar 2022 22:45:47 &amp;#43;0300
MIME-Version: 1.0
From: &amp;#34;zam@mdfi.gov.ua&amp;#34; &amp;lt;zam@mdfi.gov.ua&amp;gt;
Reply-To: zam@mdfi.gov.ua
To: ilenko@gng.com.ua
...
X-Mailer: Smart_Send_4_4_2
Date: Sun, 27 Mar 2022 12:44:30 -0700
Message-ID: &amp;lt;127804766552081718123841@WIN-3ISR1T95E6Q&amp;gt;
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - hosting30.ukrnames.com
X-AntiAbuse: Original Domain - gng.com.ua
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - mdfi.gov.ua
X-Get-Message-Sender-Via: hosting30.ukrnames.com: authenticated_id: zam@mdfi.gov.ua
X-Authenticated-Sender: hosting30.ukrnames.com: zam@mdfi.gov.ua
X-Source:
X-Source-Args:
X-Source-Dir:
X-FE-Attachment-Name: =?UTF-8?B?x&amp;#43;Dh7vDj7uLg7bPx8vwg7&amp;#43;4g5&amp;#43;Dw7&amp;#43;vg8rMueGxz?=
X-FEAS-SBL: 87.249.139.161 score 1
X-FE-Policy-ID: 2:1:4:gng.com.ua
X-FE-Orig-Env-Rcpt: ilenko@gng.com.ua
X-FE-Orig-Env-From: zam@mdfi.gov.ua
X-FEAS-Client-IP: 217.182.197.11&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;While reviewing the email&amp;rsquo;s transport path, we noticed that the domain
&lt;code&gt;mdfi.gov.ua&lt;/code&gt; did not have a configured SPF record to prevent email spoofing.
An SPF record is used to restrict which IP addresses are allowed to send emails
for a specific domain. If this record is not set, any IP address is technically
allowed to send emails using that domain name. Some email providers do warn
when they receive an email from an address that doesn&amp;rsquo;t have an SPF record. The
screenshot below shows the warning message displayed in GMail when reading such
email.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2022/04/elephant-malware-targeting-ukrainian-orgs/images/fig1.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;Our theory is that the threat actor exploited this vulnerability to send
spoofed phishing emails to their targets. We reported the issue to CERT-UA.&lt;/p&gt;
&lt;p&gt;We
&lt;a href="https://www.virustotal.com/gui/ip-address/87.249.139.161/relations"target="_blank" rel="noopener"&gt;followed&lt;/a&gt;
the sender IP address and found three other emails: two emails submitted on
March 29 from Ukraine targeting ICTV, a Ukrainian TV channel and the third
email was submitted in February from Romania. The emails that target UA have
the same subject and use the same attached xls file that delivers the first
malicious payload.&lt;/p&gt;
&lt;h2&gt;The Elephant Framework&lt;span class="hx:absolute hx:-mt-20" id="the-elephant-framework"&gt;&lt;/span&gt;
&lt;a href="#the-elephant-framework" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;The malware that is dropped by the phishing lure is the dropper component of
what we call the &amp;ldquo;Elephant Framework.&amp;rdquo; The framework consists of four
components that work in unison. The code snippet below shows a reconstruction
of the source code tree, bold indicating folders, showing how the different
components have been organized. The location of the implant&amp;rsquo;s entrypoint is
unknown and has been guessed to be in the root folder. As there are also server
components to the framework, we hypothesize that there are more folders for the
two servers used by the framework.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2022/04/elephant-malware-targeting-ukrainian-orgs/images/fig2.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;h3&gt;Dropper Component&lt;span class="hx:absolute hx:-mt-20" id="dropper-component"&gt;&lt;/span&gt;
&lt;a href="#dropper-component" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;While called the dropper in the framework, this component does not have an
embedded payload. Instead it is technically a downloader that fetches the next
stage called the &amp;ldquo;downloader.&amp;rdquo; The next stage is downloaded from the URL
&lt;code&gt;hxxp://194.31.98.124:443/i&lt;/code&gt; and saved to the user&amp;rsquo;s home directory
(&lt;code&gt;%HOME%/.java-sdk/java-sdk.exe&lt;/code&gt;). The next stage is executed with the command
line flag &lt;code&gt;-a 0CyCcrhI/6B5wKE8XLOd+w==&lt;/code&gt;, base64 and AES encrypted information
about the C2 server.&lt;/p&gt;
&lt;h3&gt;Downloader Component&lt;span class="hx:absolute hx:-mt-20" id="downloader-component"&gt;&lt;/span&gt;
&lt;a href="#downloader-component" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The &amp;ldquo;downloader&amp;rdquo; acts as an orchestrator for the other components. In addition
to downloading the &amp;ldquo;client&amp;rdquo; and the &amp;ldquo;implant&amp;rdquo; components, it also sets up
persistence and can perform updates. Like all the other components, before any
malicious activity is taken it performs some evasion techniques. The difference
between this component and the others is that this one is using code from the
&lt;a href="https://github.com/redcode-labs/Coldfire"target="_blank" rel="noopener"&gt;ColdFire project on GitHub&lt;/a&gt;. The
screenshot below shows the malware using the &lt;code&gt;Wait&lt;/code&gt; function to sleep for 10
seconds before allocating 200 mb of garbage data.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2022/04/elephant-malware-targeting-ukrainian-orgs/images/fig3.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;Persistence is established by adding a new key entry with the name &lt;code&gt;Java-3DK&lt;/code&gt;
to the registry key &lt;code&gt;Software\Microsoft\Windows\CurrentVersion\Run&lt;/code&gt;. After this,
the malware checks if a new binary exists by comparing its MD5 hash with a hash
from the server. If no update is needed, it downloads the other two components.&lt;/p&gt;
&lt;p&gt;The downloader has some 3rd party libraries, whose metadata are listed in the
binary, that are not used. All the 3rd party libraries are listed in the code
snippet below. In the list for example &lt;code&gt;port-scanner&lt;/code&gt;, &lt;code&gt;gopacket&lt;/code&gt;, and
&lt;code&gt;gateway&lt;/code&gt; packages are not being used. These are all libraries to facilitate
lateral movement. It is not clear if these are left-overs from an older version
of the malware or hints of future functionality.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;github.com/anvie/port-scanner v0.0.0-20180225151059-8159197d3770
github.com/dustin/go-humanize v1.0.0
github.com/fatih/color v1.10.0
github.com/google/gopacket v1.1.19
github.com/google/gopacket/layers v1.1.19
github.com/google/gopacket/pcap v1.1.19
github.com/jackpal/gateway v1.0.7
github.com/jcmturner/aescts v2.0.0&amp;#43;incompatible
github.com/mattn/go-colorable v0.1.8
github.com/mattn/go-isatty v0.0.12
github.com/minio/minio/pkg/disk v0.0.0-20210213070509-a94a9c37faf5
github.com/mitchellh/go-ps v1.0.0
github.com/redcode-labs/ColdFire v0.0.0-20210118141151-d4d62410b029
github.com/savaki/jq v0.0.0-20161209013833-0e6baecebbf8
github.com/savaki/jq/scanner v0.0.0-20161209013833-0e6baecebbf8
golang.org/x/sys/windows v0.0.0-20210119212857-b64e53b001e4
golang.org/x/sys/windows/registry v0.0.0-20210119212857-b64e53b001e4&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2022/04/elephant-malware-targeting-ukrainian-orgs/images/fig4.png" title="Analysis of the Elephant downloader (https://analyze.intezer.com/files/8ffe7f2eeb0cbfbe158b77bbff3e0055d2ef7138f481b4fac8ade6bfb9b2b0a1)" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Analysis of the Elephant downloader (https://analyze.intezer.com/files/8ffe7f2eeb0cbfbe158b77bbff3e0055d2ef7138f481b4fac8ade6bfb9b2b0a1)&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h3&gt;Implant Component (GrimPlant)&lt;span class="hx:absolute hx:-mt-20" id="implant-component-grimplant"&gt;&lt;/span&gt;
&lt;a href="#implant-component-grimplant" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;GrimPlant is a backdoor that allows the operator to execute arbitrary
PowerShell scripts on the infected machine. The backdoor has a relatively small
set of functionality, for example it doesn&amp;rsquo;t have any persistence functionality
on its own. When the malware first is executed, it allocates 200 mb and sleeps
for 10 seconds, the function shown in the screenshot below. This is an
anti-emulation technique that has been found in other malware written in Go.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2022/04/elephant-malware-targeting-ukrainian-orgs/images/fig5.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;The Command and Control (C2) address is not included in the binary. Instead it
is passed in to the malware via the command line flag &lt;code&gt;-addr&lt;/code&gt;. The address is
not provided as a plain string. Instead it has been encrypted with AES in
Cipher-Block Chaining (CBC) mode. The malware decrypts the string with the
embedded key
(&lt;code&gt;f1d21960d8eb2fddf2538d29a5fd50b5f64a3f9bf06f2a3c4c950438c9a7f78e&lt;/code&gt;) and a null
IV. The port used by the C2 server is hardcoded to port 80.&lt;/p&gt;
&lt;p&gt;GrimPlant communicates with the C2 server over gRPC. The communication is
encrypted with TLS. The malware has an embedded root certificate that it uses
to verify that it talks to a trusted server. The code snippet shows parts of
the root certificate information. The certificate used by the C2 server has
been signed by this root certificate which allows the threat actor to rotate
the certificate without redeploying a new malware.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;Version: 3 (0x2)
Serial Number:
6d:56:93:aa:f3:9d:b1:f7:15:4e:39:64:77:9c:7e:d0:d4:cf:f6:3e
Signature Algorithm: sha256WithRSAEncryption
Issuer: C = FR, ST = Occitanie, L = Toulouse, O = O, OU = E, CN = *.a.com, emailAddress = a@mail.com
Validity
Not Before: Mar 20 15:21:06 2022 GMT
Not After : Mar 20 15:21:06 2023 GMT
Subject: C = FR, ST = Occitanie, L = Toulouse, O = O, OU = E, CN = *.a.com, emailAddress = a@mail.com
SHA1 Fingerprint=DC:A9:5B:DC:F0:53:55:73:7A:A6:79:85:43:F6:3E:7C:23:07:36:33&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;There are only a handful of gRPC &amp;ldquo;methods&amp;rdquo; supported by the malware. A
reconstructed protobuf specification is shown in the code snippet below. To
identify which instance of the malware is sending the request to the C2 server,
the malware uses its machine ID as an unique identifier in the messages. When
the malware first connects to the C2 server, it authenticates itself with the
password &lt;code&gt;sdrunlygvhwbcaeiuklgunvre&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;After a successful authentication, it sends a heartbeat message every 10
seconds. This message includes information about the infected machine: public
IP address, hostname, username, etc. In addition to the heartbeat message, the
malware starts the &amp;ldquo;command&amp;rdquo; loop that checks for new commands to execute every
3 seconds. If a command is received it executes it by spawning a PowerShell
instance by executing
&lt;code&gt;%windir%\SysWOW64\WindowsPowerShell\v1.0\powershell.exe&lt;/code&gt; and returns the
result to the C2 server.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;service Implant {
rpc FetchCommand(FetchCmdRequest) returns FetchCmdResponse {}
rpc Heartbeat(stream HeartbeatRequest) returns (stream Empty) {}
rpc Login(ImplantLoginRequest) returns ImplantLoginResponse {}
rpc SendCmdOutput(SendCmdRequest) returns SendCmdResponse {}
}
message FetchCmdRequest {
string id = 1;
}
message FetchCmdResponse {
string adminId = 1;
bytes cmdText = 2;
}
message HeartbeatRequest {
string id = 1;
bytes sysInfo = 2;
}
message ImplantLoginRequest {
string id = 1;
bytes sysInfo = 2;
string password = 3;
}
message ImplantLoginResponse {
string token = 1;
}
message SendCmdRequest {
string adminId = 1;
bytes output = 2;
bytes error = 3;
}
message SendCmdResponse {}
message Empty {}&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;Client Component (GraphSteel)&lt;span class="hx:absolute hx:-mt-20" id="client-component-graphsteel"&gt;&lt;/span&gt;
&lt;a href="#client-component-graphsteel" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The &amp;ldquo;client&amp;rdquo; component is a credential and file stealer. It communicates with
the C2 server over WebSockets to a GraphQL endpoint. All the messages are
encrypted with AES. The key is received from the C2 server. The malware author
has written their own RSA implementation for the key exchange that is used to
receive the shared secret. All messages prior to the key exchange, including
the key exchange itself, are encrypted with AES using a hardcoded key.&lt;/p&gt;
&lt;p&gt;The credentials on the machine are stolen using code lifted from
&lt;a href="https://github.com/kerbyj/goLazagne"target="_blank" rel="noopener"&gt;goLazagne&lt;/a&gt;. In addition to stealing
credentials, the malware will look in the user&amp;rsquo;s &lt;code&gt;Documents&lt;/code&gt;, &lt;code&gt;Downloads&lt;/code&gt;,
&lt;code&gt;Pictures&lt;/code&gt;, and &lt;code&gt;Desktop&lt;/code&gt; folder for files with the file-extensions listed in
the snippet below.&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;.key, .crt, .json, .csv, .7z, .rar, .zip, .ssh, .ovpn, .pptx, .xlsx, .docx, .ppt, .xls,
.doc, .txt&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;If it finds a file with a matching file extension, it generates the MD5 hash
for the file and checks with the C2 server if the file has already been
uploaded. If it hasn&amp;rsquo;t, the file is uploaded to the C2 server.&lt;/p&gt;
&lt;h2&gt;Infrastructure&lt;span class="hx:absolute hx:-mt-20" id="infrastructure"&gt;&lt;/span&gt;
&lt;a href="#infrastructure" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Using the embedded CA certificate in the malware, we uncovered older service
certificates and IP addresses. The oldest certificate we discovered had a
validity date of &amp;ldquo;not before&amp;rdquo; December 9th, 2021. The IP address of the server
where this certificate was served from is owned by the Russian hosting provider
Zservers and still returned Elephant components as of April 2022. The
components retrieved from the server are very similar to the samples used at
the end of March. The other hosting providers used by the threat actor are PQ
Hosting and Serverion.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2022/04/elephant-malware-targeting-ukrainian-orgs/images/fig6.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;The threat actor has chosen to sprinkle some French connections within their
infrastructure. The certificates use French location information and the domain
name &lt;code&gt;forkscenter[.]fr&lt;/code&gt;. We don&amp;rsquo;t know if the decision to name it Elephant is a
nod to
&lt;a href="https://www.gdatasoftware.com/blog/2015/02/24270-babar-espionage-software-finally-found-and-put-under-the-microscope"target="_blank" rel="noopener"&gt;Babar&lt;/a&gt;,
an espionage software attributed to a French intelligence agency, or intended
as a &amp;ldquo;false flag.&amp;rdquo;&lt;/p&gt;
&lt;h2&gt;Conclusion&lt;span class="hx:absolute hx:-mt-20" id="conclusion"&gt;&lt;/span&gt;
&lt;a href="#conclusion" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;UAC-0056 (TA471, SaintBear, UNC2589) started using a new malware framework
called Elephant back in December 2021. The malware has been delivered in
targeted spear phishing campaigns using spoofed Ukrainian governmental email
addresses. The malware consists of at least four different components that are
used for stealing credentials, documents, and to provide remote access to the
infected machine. The threat actor has opted to use multiple protocols for C2
communication, gRPC and GraphQL over websockets. This is an interesting choice
as it complicates the development of the framework with more code to maintain.&lt;/p&gt;
&lt;h2&gt;Indicators of Compromise&lt;span class="hx:absolute hx:-mt-20" id="indicators-of-compromise"&gt;&lt;/span&gt;
&lt;a href="#indicators-of-compromise" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;194.31.98.124 - C2 address used by the malware
87.249.139.161 - IP address that was used for sending the emails
IP addresses used in previous campaigns.
91.242.229.35
45.84.0.116
80.66.76.187
Original Email 3c2022fea48b52326f9eec4c1c84f10b
xls da305627acf63792acb02afaf83d94d1
Base-update.exe 06124da5b4d6ef31dbfd7a6094fc52a6
Java-sdk 36ff9ec87c458d6d76b2afbd5120dfae
oracle-java 4a5de4784a6005aa8a19fb0889f1947a
Microsoft-cortana 6b413beb61e46241481f556bb5cdb69c
Samples from oldest server found
8e0eb1742b47745ff73389673996e964
cbc0e802b7134e1d02df1f2eb1b1d1e2
628f41776ae3b2e8343eeb9cdcd019f2
More Emails linked to the same sender IP
C7051e88ae43c1bd4b869cf18280ec5e
40b42005e9cfc5ea2a7cfc1ced975cbb
Fbe3cb4dfce740c3728c459b853e4249 (email submitted and target Romania)
Paths
%HOME%\AppData\Local\Temp\Base-Update.exe
%HOME%\.java-sdk&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;</description></item><item><title>Targeted Phishing Attack against Ukrainian Government Expands to Georgia</title><link>https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/</link><pubDate>Wed, 14 Jul 2021 00:00:00 +0000</pubDate><guid>https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/</guid><description>
&lt;p&gt;In May 2021,
&lt;a href="https://www.fortinet.com/blog/threat-research/spearphishing-attack-uses-covid-21-lure-to-target-ukrainian-government"target="_blank" rel="noopener"&gt;Fortinet published a report&lt;/a&gt;
about the early stages of an ongoing phishing attack against the Ukrainian
government. The attack, initially based on the
&lt;a href="https://blog.malwarebytes.com/threat-analysis/2021/04/a-deep-dive-into-saint-bot-downloader/"target="_blank" rel="noopener"&gt;Saint Bot downloader&lt;/a&gt;,
also targeted Georgia as reported by Malwarebytes. Since June we have seen this
threat actor expand its operation with new samples targeting government
entities in Georgia. In this report we will cover the new malware samples we
found.&lt;/p&gt;
&lt;h2&gt;Method of Infection&lt;span class="hx:absolute hx:-mt-20" id="method-of-infection"&gt;&lt;/span&gt;
&lt;a href="#method-of-infection" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;The attack&amp;rsquo;s entry point is a spear phishing email referencing
government-related topics including veterans, Ukraine&amp;rsquo;s Anti-Terrorist
Operation (ATO), Georgia&amp;rsquo;s Internally Displaced Persons (IDPs), organizations
in Georgia&amp;rsquo;s private sector and COVID-19. The attack mainly targets government
agencies in Ukraine and Georgia.&lt;/p&gt;
&lt;h2&gt;The Malware&lt;span class="hx:absolute hx:-mt-20" id="the-malware"&gt;&lt;/span&gt;
&lt;a href="#the-malware" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;The main payload delivered by the malware is an infostealer written in AutoIt.
Its main goal is to steal files from the victim&amp;rsquo;s machine, uploading them to a
predefined Command and control (C2) server.&lt;/p&gt;
&lt;p&gt;Based on victimology and the fact that this attack tries to steal files from
government entities, a classic goal of nation-state groups, it is likely
operated by a Russian nation-state. There are also several similarities between
this attack and past APT28 campaigns which we will discuss later.&lt;/p&gt;
&lt;p&gt;Below we summarize the early stages of the attack and show the latest malware
targeting government entities in Georgia. We assess with high confidence that
this attack may expand its operations to target additional Eastern European
countries.&lt;/p&gt;
&lt;h2&gt;Technical Analysis&lt;span class="hx:absolute hx:-mt-20" id="technical-analysis"&gt;&lt;/span&gt;
&lt;a href="#technical-analysis" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;The attack flow, described below, begins with a phishing email containing a
malicious shortened URL. The URL redirects to a Command and control (C2) where
a ZIP file or malicious document is hosted. The ZIP file contains a malicious
file and in some emails also a harmless PDF file. The malicious attachment
varies between RTF, DOC, PDF, JS, LNK or EXE. Its main goal is to drop the
packed payloads from the C2. The method in which a dropper contacts the C2 in
order to deliver the packed payload varies between the different file types and
stages of the attack. The packed executable loads an AutoIt payload into
memory. The payload searches for files on the victim&amp;rsquo;s machine based on a list
of file extensions and uploads them to a C2 that is hardcoded in the script.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig1.png" title="Attack flow." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Attack flow.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;An example of one of the phishing emails sent to the Ukrainian government is
below. The threat actor references payments made to veterans of the
Anti-Terrorist Operation (ATO).&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig2.png" title="Phishing email sent to the Ukrainian government. Translation from Ukrainian – Subject: Payments to ATO Veterans. Content: It must be filled in and sent back." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Phishing email sent to the Ukrainian government. Translation from Ukrainian – Subject: Payments to ATO Veterans. Content: It must be filled in and sent back.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The link, masqueraded as a Ukrainian .gov domain, is actually a shortened URL
(&lt;code&gt;https[://]cutt[.]ly/WcBTVdf&lt;/code&gt;) which contacts
&lt;code&gt;http[://]gosloto[.]site/doc/form_request.doc&lt;/code&gt; and downloads &lt;code&gt;form_request.doc&lt;/code&gt;
to the victim&amp;rsquo;s machine. This document is an RTF file that once runs will
present content related to the Israeli
&lt;a href="https://en.wikipedia.org/wiki/Merkava"target="_blank" rel="noopener"&gt;Merkava&lt;/a&gt;, the main battle tank used by
the Israeli Defense Forces.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig3.png" title="Reference to Israeli Merkava in the RTF file." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Reference to Israeli Merkava in the RTF file.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;This file is incharge of dropping the final payload from the C2. In other
phishing emails, this file is named &lt;code&gt;NATO_06042021&lt;/code&gt;
(&lt;code&gt;44697aad796c0d82c1adbee15fd1266b&lt;/code&gt;).&lt;/p&gt;
&lt;h3&gt;First we Take Kyiv, then we Take Tbilisi&lt;span class="hx:absolute hx:-mt-20" id="first-we-take-kyiv-then-we-take-tbilisi"&gt;&lt;/span&gt;
&lt;a href="#first-we-take-kyiv-then-we-take-tbilisi" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Combined with continuous attacks against Ukraine, the threat actor has expanded
its campaign to target government entities in Georgia. The following malicious
documents were uploaded to VirusTotal from Georgia on June 17 and July 5.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;b56975725c4e260370af540f9c0b6709&lt;/code&gt; —
&lt;code&gt;Georgia_Private_Sector_Poster_Inputs_06_2021.pdf&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;900e892c8151f0f59a93af1206583ce6&lt;/code&gt; —
&lt;code&gt;2021-2022 Strategy Action Plan for IDPs.doc&lt;/code&gt; (translated from Georgian)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;333796e18eb3f3d1529d07ec90c63e61&lt;/code&gt; — &lt;code&gt;Change to 828.doc&lt;/code&gt; (translated from
Georgian)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All three files have low detection rates in VirusTotal at the time of this
writing. In the following sections we will describe each file&amp;rsquo;s behavior.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig4.png" title="b56975725c4e260370af540f9c0b6709 in VirusTotal." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;b56975725c4e260370af540f9c0b6709 in VirusTotal.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h4&gt;The PDF File&lt;span class="hx:absolute hx:-mt-20" id="the-pdf-file"&gt;&lt;/span&gt;
&lt;a href="#the-pdf-file" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;p&gt;The PDF file, named &lt;code&gt;Georgia_Private_Sector_Poster_Inputs_06_2021.pdf&lt;/code&gt;, was
uploaded to VirusTotal on June 17, 2021. The PDF contains an action object.
Upon a victim opening the PDF it will send a query to Google containing the C2:
&lt;code&gt;http://www[.]google[.]com/url?q=http%3A%2F%2F93482432493824792343432843240234327488 92349702394023.xyz&amp;amp;sa=D&amp;amp;sntz=1&amp;amp;usg=AFQjCNFWmVffgSGlrrv-2U9sSOJYzfUQqw&lt;/code&gt;)
The system will prompt a security warning allowing the document to contact
&lt;code&gt;http[:]//www.google.com&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig5.png" title="Action object in b56975725c4e260370af540f9c0b6709" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Action object in b56975725c4e260370af540f9c0b6709&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig6.png" title="System prompt message." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;System prompt message.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Once the document connects to Google a short series of network redirections
occurs. First, Google will redirect to the C2&amp;rsquo;s URL. Then, as described in the
image below, the C2 contains a frame with an src to another C2 URL
(&lt;code&gt;https[://]16868138130[.]space/000/&lt;/code&gt;), which then redirects to a shortened URL
(&lt;code&gt;https[://]qaz[.]im/load/rKtsZD/hDKKFD&lt;/code&gt;) using a meta refresh redirect. This
will finally drop &lt;code&gt;georgia_private_sector_poster_inputs_06_2021.cpl&lt;/code&gt;
(&lt;code&gt;02f0118bd15dabf727659b9fd27c86c9&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig7.png" title="Network redirections for delivering the payload." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Network redirections for delivering the payload.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;This redirection process, starting with Google as the first domain the PDF
attempts to access, is an obvious Antivirus evasion technique.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;georgia_private_sector_poster_inputs_06_2021.cpl&lt;/code&gt; is a DLL which upon clicking
on it, runs under a trusted control panel process. The DLL is incharge of
dropping and running the packed payload from the C2,
&lt;code&gt;16868138130[.]space/000/000.exe&lt;/code&gt; (&lt;code&gt;41af4d9fbd0bc719212b78cd7a1b89ec&lt;/code&gt;). The
packed malware loads the AutoIt payload into memory.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig8.png" title="Genetic report of 02f0118bd15dabf727659b9fd27c86c9. Drops 41af4d9fbd0bc719212b78cd7a1b89ec which loads AutoIt into memory." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Genetic report of 02f0118bd15dabf727659b9fd27c86c9. Drops 41af4d9fbd0bc719212b78cd7a1b89ec which loads AutoIt into memory.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig9.png" title="IoC report of 02f0118bd15dabf727659b9fd27c86c9 in Intezer Analyze." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;IoC report of 02f0118bd15dabf727659b9fd27c86c9 in Intezer Analyze.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The
&lt;a href="https://github.com/intezer/community-intellignce/blob/master/AutoIt_Infostealer_GE_UA.txt"target="_blank" rel="noopener"&gt;AutoIt script&amp;rsquo;s&lt;/a&gt;
main goal is to upload files from the victim&amp;rsquo;s machine to a predefined C2. The
main logic (see image below) calls the &lt;code&gt;_filsearch&lt;/code&gt; function (two images below)
which looks for files containing the following extensions:
&lt;code&gt;*.doc;*.pdf;*.ppt;*.dot;*.xl;*.csv;*.rtf;*.dot;*.mdb;*.accdb;*.pot;*.pps;*.ppa;*.rar;*.zip;*.tar;*.7z;*.txt&lt;/code&gt;.
&lt;code&gt;_filsearch&lt;/code&gt; uses &lt;code&gt;@ComSpec&lt;/code&gt; environment variable (which usually points to
CMD). The process tree created by the AutoIt file is below.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig10.png" title="Code snippet from the AutoIt script main logic." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Code snippet from the AutoIt script main logic.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig11.png" title="Code snippet from the AutoIt script _filsearch function." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Code snippet from the AutoIt script _filsearch function.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig12.png" title="Process tree snippet in Intezer Analyze." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Process tree snippet in Intezer Analyze.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Each file is uploaded to the C2 via a multipart/form-data POST request. The
file&amp;rsquo;s directory is sent as Hex. Below is an example of a file upload request.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig13.png" title="Example of C_/Users/admin/AppData/Roaming/Microsoft/Windows/Cookies/NUT28OOW.txt file upload." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Example of C_/Users/admin/AppData/Roaming/Microsoft/Windows/Cookies/NUT28OOW.txt file upload.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Lastly, the AutoIt script creates and runs a batch named &lt;code&gt;r.bat&lt;/code&gt; which deletes
the malware from disk and kills the process.&lt;/p&gt;
&lt;h4&gt;The Document Files&lt;span class="hx:absolute hx:-mt-20" id="the-document-files"&gt;&lt;/span&gt;
&lt;a href="#the-document-files" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;p&gt;Both malicious Word documents uploaded to VirusTotal on July 5 display similar
behavior. Let&amp;rsquo;s look at &lt;code&gt;900e892c8151f0f59a93af1206583ce6&lt;/code&gt;. Once a user opens
this document, it will run a VBA macro with the main logic to create, write to
and run a batch file named &lt;code&gt;ballDemocrat.bat&lt;/code&gt;. The script written to the batch
file will run a PowerShell command that drops an executable from the C2
(&lt;code&gt;http[://]1221[.]site/15858415841/0407.exe&lt;/code&gt;) and saves it as
&lt;code&gt;centuryarticle.exe&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig14.png" title="VBA script (7546f382d73231a4c1fdc58ab1535ec0) in the malicious document." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;VBA script (7546f382d73231a4c1fdc58ab1535ec0) in the malicious document.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2021/07/targeted-phishing-attack-against-ukrainian-government-expands-to-georgia/images/fig15.png" title="Process tree of 900e892c8151f0f59a93af1206583ce6" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Process tree of 900e892c8151f0f59a93af1206583ce6&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The file dropped from the C2 is a packed .NET file that loads the AutoIt
payload into memory.&lt;/p&gt;
&lt;h2&gt;Possible Russian Connection&lt;span class="hx:absolute hx:-mt-20" id="possible-russian-connection"&gt;&lt;/span&gt;
&lt;a href="#possible-russian-connection" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;We noticed similarities between this attack and Russia&amp;rsquo;s APT28 campaigns. While
these similarities alone are not enough to attribute APT28, victimology and
intent to conduct espionage on various government entities in Eastern European
regions gives us reason to believe that Russia is behind the attack.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Victimology: APT28 has targeted Ukraine and Georgia in the past. &lt;a href="https://www.cnbc.com/2014/10/28/russian-hackers-target-nato-military-secrets.html"target="_blank" rel="noopener"&gt;[1]&lt;/a&gt;&lt;a href="https://www.fireeye.com/content/dam/fireeye-www/global/en/current-threats/pdfs/rpt-apt28.pdf"target="_blank" rel="noopener"&gt;[2]&lt;/a&gt;&lt;a href="https://securelist.com/greyenergys-overlap-with-zebrocy/89506/"target="_blank" rel="noopener"&gt;[3]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Phishing theme: APT28 previously used COVID-19-related phishing themes to
target countries including Ukraine. APT28 also used NATO as a phishing theme
in the past. &lt;a href="https://www.cnbc.com/2014/10/28/russian-hackers-target-nato-military-secrets.html"target="_blank" rel="noopener"&gt;[1]&lt;/a&gt;&lt;a href="https://www.fireeye.com/content/dam/fireeye-www/global/en/current-threats/pdfs/rpt-apt28.pdf"target="_blank" rel="noopener"&gt;[2]&lt;/a&gt;&lt;a href="../../../2020/12/russian-apt-uses-covid-19-lures-to-deliver-zebrocy/"&gt;[4]&lt;/a&gt;&lt;a href="https://quointelligence.eu/2020/09/apt28-zebrocy-malware-campaign-nato-theme/"target="_blank" rel="noopener"&gt;[5]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Use of AutoIt: One of Zebrocy&amp;rsquo;s (malware from APT28) variants is written in
AutoIt. &lt;a href="https://www.welivesecurity.com/2018/04/24/sednit-update-analysis-zebrocy/"target="_blank" rel="noopener"&gt;[6]&lt;/a&gt;&lt;a href="https://vk-intel.org/2019/01/22/lets-learn-progression-of-apt28-autoit-zebrocy-downloaders-source-code-level-analysis/"target="_blank" rel="noopener"&gt;[7]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;File search with predefined extensions: Zebrocy searches for predefined file
extensions on the victim machine. &lt;a href="https://www.welivesecurity.com/2019/05/22/journey-zebrocy-land/"target="_blank" rel="noopener"&gt;[8]&lt;/a&gt;&lt;a href="https://www.welivesecurity.com/2018/11/20/sednit-whats-going-zebrocy/"target="_blank" rel="noopener"&gt;[9]&lt;/a&gt;&lt;a href="https://attack.mitre.org/software/S0251/"target="_blank" rel="noopener"&gt;[13]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Compressed file holding both malicious and benign files was used in an APT28
COVID-19 phishing attack last year and in other campaigns in the past. &lt;a href="../../../2020/12/russian-apt-uses-covid-19-lures-to-deliver-zebrocy/"&gt;[4]&lt;/a&gt;&lt;a href="https://www.welivesecurity.com/2019/05/22/journey-zebrocy-land/"target="_blank" rel="noopener"&gt;[8]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Use of spear phishing emails containing URL-shortener was documented in past
APT28 campaigns. In one of the campaigns, this URL hosted a ZIP file
containing a benign PDF and a malicious executable. &lt;a href="https://www.welivesecurity.com/2019/05/22/journey-zebrocy-land/"target="_blank" rel="noopener"&gt;[8]&lt;/a&gt;&lt;a href="https://www.justice.gov/opa/page/file/1098481/download"target="_blank" rel="noopener"&gt;[10]&lt;/a&gt;&lt;a href="https://www.justice.gov/file/1080281/download"target="_blank" rel="noopener"&gt;[11]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Use of Hex encoding: The Zebrocy AutoIt version uses String to Hex encoding.
&lt;a href="https://vk-intel.org/2019/01/22/lets-learn-progression-of-apt28-autoit-zebrocy-downloaders-source-code-level-analysis/"target="_blank" rel="noopener"&gt;[7]&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Use of batch files, PowerShell and CMD are part of APT28&amp;rsquo;s documented TTPs.
&lt;a href="https://www.welivesecurity.com/2019/05/22/journey-zebrocy-land/"target="_blank" rel="noopener"&gt;[8]&lt;/a&gt;&lt;a href="https://attack.mitre.org/groups/G0007/"target="_blank" rel="noopener"&gt;[12]&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Mitigation&lt;span class="hx:absolute hx:-mt-20" id="mitigation"&gt;&lt;/span&gt;
&lt;a href="#mitigation" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Take the following precautions to keep your organization clean and safe from
phishing attacks.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Enhance social engineering awareness within your organization.&lt;/li&gt;
&lt;li&gt;Use an email gateway to analyze attachments and links. Intezer Analyze now
supports analysis for Microsoft Office documents, PDFs and scripts.&lt;/li&gt;
&lt;li&gt;Conduct proactive threat hunting on all endpoints inside your organization to
routinely ensure that no traces of malicious code or malware exist in-memory.
Intezer&amp;rsquo;s live Endpoint Scanner can help you achieve this at scale by
collecting all binaries running in-memory, including fileless, and
classifying them using Genetic Code Analysis technology. We also have a
&lt;a href="https://intezer.com/blog/malware-analysis/accelerate-incident-response-with-intezer-analyze-volatility-plugin/?utm_campaign=research-blog&amp;amp;utm_content=targeted-phishing-attack-against-ukrainian-government-expands-to-georgia&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com"target="_blank" rel="noopener"&gt;Volatility plugin&lt;/a&gt;
for analyzing memory dumps.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;IoCs&lt;span class="hx:absolute hx:-mt-20" id="iocs"&gt;&lt;/span&gt;
&lt;a href="#iocs" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;h3&gt;AutoIt Payload Script&lt;span class="hx:absolute hx:-mt-20" id="autoit-payload-script"&gt;&lt;/span&gt;
&lt;a href="#autoit-payload-script" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The AutoIt script can be found in the following
&lt;a href="https://github.com/intezer/community-intellignce/blob/master/AutoIt_Infostealer_GE_UA.txt"target="_blank" rel="noopener"&gt;GitHub repository&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Delivery Files&lt;span class="hx:absolute hx:-mt-20" id="delivery-files"&gt;&lt;/span&gt;
&lt;a href="#delivery-files" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;h4&gt;RTF&lt;span class="hx:absolute hx:-mt-20" id="rtf"&gt;&lt;/span&gt;
&lt;a href="#rtf" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;a60f4a353ea89adc8def453c8a1e65ea2ecc46c64d0d9ea375ca4e85e1c428fd&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;52173598ca2f4a023ec193261b0f65f57d9be3cb448cd6e2fcc0c8f3f15eaaf7&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;2ec710d38a0919f9f472b220cfe8d554a30d24bfa4bdd90b96105cee842cf40d&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;9803e65afa5b8eef0b6f7ced42ebd15f979889b791b8eadfc98e7f102853451a&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;f357f9bf438f44b2029dfa12c03856393484f723b9df03ecde3e1ef03ddffcb7&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;DOC&lt;span class="hx:absolute hx:-mt-20" id="doc"&gt;&lt;/span&gt;
&lt;a href="#doc" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;0be1801a6c5ca473e2563b6b77e76167d88828e1347db4215b7a83e161dae67f&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;96f815abb422bb75117e867384306a3f1b3625e48b81c44ebf032953deb2b3ff&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;LNK&lt;span class="hx:absolute hx:-mt-20" id="lnk"&gt;&lt;/span&gt;
&lt;a href="#lnk" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;101d9f3a9e4a8d0c8d80bcd40082e10ab71a7d45a04ab443ef8761dfad246ca5&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Ced5f53bafc5896be0a62ed5bdabed38a6224f8dcbe61669e833749ff62693dd&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;2b15ade9de6fb993149f27c802bb5bc95ad3fc1ca5f2e86622a044cf3541a70d&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;ZIP&lt;span class="hx:absolute hx:-mt-20" id="zip"&gt;&lt;/span&gt;
&lt;a href="#zip" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;275388ffad3a1046087068a296a6060ed372d5d4ef6cf174f55c3b4ec7e8a0e8&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;A16e466bed46fcf9c0a771ca0e41bc42a1ac13e66717354e4824f61d1695dbb1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;47e1991f94309566e35ea57507c7c8d013103e860f12f2166450900e8179a75e&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;E39a12f34bb8a7a5a03fd23f351846088692e1248a3952e488102d3aea577644&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;677500881c64f4789025f46f3d0e853c00f2f41216eb2f2aaa1a6c59884b04cc&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;5227adda2d80fb9b66110eeb26d57e69bbbb7bd681aecc3b1e882dc15e06be17&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;a856ae150144179848e0cc9be7618b4404c20c356eb93db490c8496ae2775b5e&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;CPL&lt;span class="hx:absolute hx:-mt-20" id="cpl"&gt;&lt;/span&gt;
&lt;a href="#cpl" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;10d21d4bf93e78a059a32b0210bd7891e349aabe88d0184d162c104b1e8bee2e&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;0c644fedcb4298b705d24f2dee45dda0ae5dd6322d1607e342bcf1d42b59436c&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;0db336cab2ca69d630d6b7676e5eab86252673b1197b34cf4e3351807229f12a&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;72f57b040d6f523afee40159a743b1ecae685a5bf939cab06b78d1fc397ec5e7&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;64057982a5874a9ccdb1b53fc15dd40f298eda2eb38324ac676329f5c81b64e0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;f4a56c86e2903d509ede20609182fbe001b3a3ca05f8c23c597189935d4f71b8&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;JS&lt;span class="hx:absolute hx:-mt-20" id="js"&gt;&lt;/span&gt;
&lt;a href="#js" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;5d9c7192cae28f4b6cc0463efe8f4361e449f87c2ad5e74a6192a0ad96525417&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;fe49909fdd70192e3367d4d88458afbaf817e7a50acae199db97bd68358b241e&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;PDF&lt;span class="hx:absolute hx:-mt-20" id="pdf"&gt;&lt;/span&gt;
&lt;a href="#pdf" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;f69125eafdd54e1aae10707e0d95b0526e80b3b224f2b64f5f6d65485ca9e886&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Packed AutoIT Infostealer&lt;span class="hx:absolute hx:-mt-20" id="packed-autoit-infostealer"&gt;&lt;/span&gt;
&lt;a href="#packed-autoit-infostealer" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;cd93f6df63187e3ac31ea56339f9b859b0f4fbe3e73e1c07192cef4c9a6f8b08&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;4fdc37f59801976606849882095992efecee0931ece77d74015113123643796e&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;2bef4a398a88749828afac59b773ae8b31c8e4e5b499aad516dd39ada1a11eca&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;d6e2a79bc87d48819fabe332dd3539f572605bb6091d34ae7d25ae0934b606b5&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;6ee2fd3994acdbb9a1b1680ccd3ac4b7dcb077b30b44c8677252202a03dccf79&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ea9e5ad0ef82af2c0c75c371e683352a781eb2260a45c584d70995edec956ce9&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;0d83c1f7d2d7ea0e7fe144933bfa9dd314dae3937af714ea9274f43641756060&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;4d59a7739f15c17f144587762447d5abb81c01f16224a3f7ce5897d1b6f7ee77&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;39e8455d21447e32141dc064eb7504c6925f823bf6d9c8ce004d44cb8facc80b&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;cb4a93864a19fc14c1e5221912f8e7f409b5b8d835f1b3acc3712b80e4a909f1&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;b72188ba545ad865eb34954afbbdf2c9e8ebc465a87c5122cebb711f41005939&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;005d2d373e7ba5ee42010870b9f9bf829213a42b2dd3c4f3f4405c8b904641f2&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ba4b321bf2bc542d9e9bcfcf54bc98335acd0b27a5e5851f4667e6b23d968a04&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;b0b4550ba09080e02c8a15cec8b5aeaa9fbb193cec1d92c793bdede78a70cec6&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;a9a89bb76c6f06277b729bc2de5e1aaef05fc0d9675edbc0895c7591c35f17eb&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;bd83e801b836906bab4854351b4d6000e0a435736524a504b9839b5f7bdf97cc&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;3075a467e89643d1f37e9413a2b38328fbec4dd1717ae57128fdf1da2fe39819&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;8ab3879ed4b1601feb0de11637c9c4d1baeb5266f399d822f565299e5c1cd0c4&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;b83c41763b5e861e15614d3d6ab8573c7948bf176143ee4142516e9b8bcb4423&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;0222f6bdfd21c41650bcb056f618ee9e4724e722b3abcd8731b92a99167c6f8d&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;b02c420e6f8a977cd254cd69281a7e8ce8026bda3fc594e1fc550c3b5e41565d&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;6a698edb366f25f156e4b481639903d816c5f5525668f65e2c097ef682afc269&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;9ee1a587acaddb45481aebd5778a6c293fe94f70fe89b4961098eb7ba32624a8&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;2762cbc81056348f2816de01e93d43398ba65354252c97928a56031e32ec776f&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;476ee9c0b7f7f864b169f0d1beb1a3bbcc7dbab1bae7d7f77ee69e22ad25ff66&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;df3b1ad5445d628c24c1308aa6cb476bd9a06f0095a2b285927964339866b2c3&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;26ce818e64caf89d795861db0c84a59e42428bd99b381feb53cb05a67ec69c07&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ff07325f5454c46e883fefc7106829f75c27e3aaf312eb3ab50525faba51c23c&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;494122ff204f3dedaa8f0027f9f98971b32c50acbcce4efa8de0498efa148365&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;7419f0798c70888e7197f69ed1091620b2c6fbefead086b5faf23badf0474044&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ec62c984941954f0eb4f3e8baee455410a9dc0deb222360d376e28981c53b1a0&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;56731c777896837782beff4432330486a941e4f3af44b4d24be7c62c16e96256&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;0f7a8611deea696b2b36e44ea652c8979e296b623e841796a4ea4b6916b39e7c&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;975f9ce0769a079e99f06870122e9c4d394dfd51a6020818feeef9ccdb8b0614&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;0f19735f076a42396b9f41b10c314d094a54e0e647f2cf7a2c025da8f8e9f54e&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;9917c962b7e0a36592c4740d193adbd31bc1eae748d2b441e77817d648487cff&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;f24ee966ef2dd31204b900b5c7eb7e367bc18ff92a13422d800c25dbb1de1e99&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;7eb1dc1719f0918828cc8349ee56ca5e6bbde7cada3bc67a11d7ff7f420c7871&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;71e9cc55f159f2cec96de4f15b3c94c2b076f97d5d8cecb60b8857e7a8113a35&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;afdc010fc134b0b4a8b8788d084c6b0cff9ea255d84032571e038f1a29b56d0a&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;9528a97d8d73b0dbed2ac496991f0a2eecc5a857d22e994d227ae7c3bef7296f&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;0fc7154ebd80ea5d81d82e3a4920cb2699a8dd7c31100ca8ec0693a7bd4af8b7&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;2d9d61ce6c01329808db1ca466c1c5fbf405e4e869ed04c59f0e45d7ad12f25b&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;9ef2d114c329c169e7b62f89a02d3f7395cb487fcd6cff4e7cac1eb198407ba6&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;b2f5edef0e599005e205443b20f6ffd9804681b260eec52fa2f7533622f46a6c&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;dfc24fa837b6cd3210e7ea0802db3dcf7bb1f85bff2c1b4bda4c3c599821bf8c&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;27868ae50b849506121c36b00d92afe3115ce2f041cc28476db8dfc0cc1d6908&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;7963f8606e4c0e7502a813969a04e1266e7cd20708bef19c338e8933c1b85eda&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;89da9a4a5c26b7818e5660b33941b45c8838fa7cfa15685adfe83ff84463799a&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;187e0a02620b7775c2a8f88d5b27e80b5d419ad156afc50ef217a95547d0feaa&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;b24eac4c704502ee8952ad32384daec5894fd81d7bb668224730d4fb06293942&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;2945393c74dd6d8de782e060362cdd468004ae2633bb4958c6063cd2fd5f5561&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;707971879e65cbd70fd371ae76767d3a7bff028b56204ca64f27e93609c8c473&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;37be3d8810959e63d5b6535164e51f16ccea9ca11d7dab7c1dfaa335affe6e3d&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;C33a905e513005cee9071ed10933b8e6a11be2335755660e3f7b2adf554f704a&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;0e1e2f87699a24d1d7b0d984c3622971028a0cafaf665c791c70215f76c7c8fe&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;C2&lt;span class="hx:absolute hx:-mt-20" id="c2"&gt;&lt;/span&gt;
&lt;a href="#c2" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;9832473219412342343423243242364-34939246823743287468793247237[.]site&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;4895458025-4545445-222435-9635794543-3242314342-234123423728[.]space&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;1221[.]site&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;1681683130[.]website&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;1833[.]site&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;2215[.]site&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;2055[.]site&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;16868138130[.]space&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;33655990[.]cyou&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;16868138130[.]space&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;name4050[.]com&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;name1d[.]site&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;000000027[.]xyz&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;coronavirus5g[.]site&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;99kg[.]site&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;9348243249382479234343284324023432748892349702394023[.]xyz&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;15052021[.]space&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;1000020[.]xyz&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;32689657[.]xyz&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;1000018[.]xyz&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;32689658[.]xyz&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;45[.]146[.]165[.]91&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;31[.]42[.]185[.]63&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;194[.]58[.]112[.]173&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;194[.]147[.]142[.]232&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;176[.]113[.]115[.]133&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;References&lt;span class="hx:absolute hx:-mt-20" id="references"&gt;&lt;/span&gt;
&lt;a href="#references" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;ol&gt;
&lt;li&gt;&lt;a href="https://www.cnbc.com/2014/10/28/russian-hackers-target-nato-military-secrets.html"target="_blank" rel="noopener"&gt;CNBC, Russian Hackers Target NATO, Military Secrets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.fireeye.com/content/dam/fireeye-www/global/en/current-threats/pdfs/rpt-apt28.pdf"target="_blank" rel="noopener"&gt;FireEye, APT28: A Window Into Russia&amp;rsquo;s Cyber Espionage Operations?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://securelist.com/greyenergys-overlap-with-zebrocy/89506/"target="_blank" rel="noopener"&gt;Kaspersky, GreyEnergy&amp;rsquo;s Overlap with Zebrocy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="../../../2020/12/russian-apt-uses-covid-19-lures-to-deliver-zebrocy/"&gt;Intezer, A Zebra in Gopher&amp;rsquo;s Clothing: Russian APT Uses COVID-19 Lures to Deliver Zebrocy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://quointelligence.eu/2020/09/apt28-zebrocy-malware-campaign-nato-theme/"target="_blank" rel="noopener"&gt;Quointelligence, APT28 Delivers Zebrocy Malware Campaign using NATO Theme as Lure&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.welivesecurity.com/2018/04/24/sednit-update-analysis-zebrocy/"target="_blank" rel="noopener"&gt;ESET, Sednit Update: Analysis of Zebrocy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://vk-intel.org/2019/01/22/lets-learn-progression-of-apt28-autoit-zebrocy-downloaders-source-code-level-analysis/"target="_blank" rel="noopener"&gt;VK-Intel. Let&amp;rsquo;s Learn: Progression of APT28 AutoIt Zebrocy Downloaders: Source-Code Level Analysis&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.welivesecurity.com/2019/05/22/journey-zebrocy-land/"target="_blank" rel="noopener"&gt;ESET, A Journey to Zebrocy Land&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.welivesecurity.com/2018/11/20/sednit-whats-going-zebrocy/"target="_blank" rel="noopener"&gt;ESET, Sednit: What&amp;rsquo;s Going on with Zebrocy?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.justice.gov/opa/page/file/1098481/download"target="_blank" rel="noopener"&gt;Brady, S. Indictment – United States vs Aleksei Sergeyevich Morenets, et al.. Retrieved October 1, 2020&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.justice.gov/file/1080281/download"target="_blank" rel="noopener"&gt;Mueller, R. Indictment – United States of America vs. Viktor Borisovich Netyksho, et al. Retrieved September 13, 2018&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://attack.mitre.org/groups/G0007/"target="_blank" rel="noopener"&gt;APT28 MITRE ATT&amp;amp;CK&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://attack.mitre.org/software/S0251/"target="_blank" rel="noopener"&gt;Zebrocy MITRE ATT&amp;amp;CK&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>A Zebra in Gopher’s Clothing: Russian APT Uses COVID-19 Lures to Deliver Zebrocy</title><link>https://research.intezer.com/blog/2020/12/russian-apt-uses-covid-19-lures-to-deliver-zebrocy/</link><pubDate>Wed, 09 Dec 2020 00:00:00 +0000</pubDate><guid>https://research.intezer.com/blog/2020/12/russian-apt-uses-covid-19-lures-to-deliver-zebrocy/</guid><description>
&lt;h2&gt;Summary&lt;span class="hx:absolute hx:-mt-20" id="summary"&gt;&lt;/span&gt;
&lt;a href="#summary" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;In November, we uncovered COVID-19 phishing lures that were used to deliver the
Go version of
&lt;a href="https://analyze.intezer.com/families/2196bcb4-94b0-4773-beb6-87900b338521?utm_campaign=research-blog&amp;amp;utm_content=russian-apt-uses-covid-19-lures-to-deliver-zebrocy&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com"target="_blank" rel="noopener"&gt;Zebrocy&lt;/a&gt;.
Zebrocy is mainly used against governments and commercial organizations engaged
in foreign affairs. The lures consisted of documents about Sinopharm
International Corporation—a pharmaceutical company that COVID-19 vaccine is
currently going through phase three clinical trials—and an impersonated
evacuation letter from Directorate General of Civil Aviation.&lt;/p&gt;
&lt;p&gt;The lure was delivered as part of a Virtual Hard Drive (VHD) file that requires
victims to use Windows 10 to access the files. While the malware samples were
heavily obfuscated, it was possible to attribute them to the
&lt;a href="https://analyze.intezer.com/families/4b0df7b0-b079-4a21-a72d-a35efabef6d8?utm_campaign=research-blog&amp;amp;utm_content=russian-apt-uses-covid-19-lures-to-deliver-zebrocy&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com"target="_blank" rel="noopener"&gt;Sofacy&lt;/a&gt;
threat actor since they shared genomes with samples used in previous campaigns.&lt;/p&gt;
&lt;p&gt;It appears that the threat actor switched from delivering VHD files with the
Delphi version of Zebrocy, to the Go version in the middle of November. Given
that many COVID-19 vaccines are about to be approved for clinical use, it’s
likely that APTs (Advanced Persistent Threat) and financially motivated threat
actors will use this malware in their attacks.&lt;/p&gt;
&lt;h2&gt;Zebrocy Evolution&lt;span class="hx:absolute hx:-mt-20" id="zebrocy-evolution"&gt;&lt;/span&gt;
&lt;a href="#zebrocy-evolution" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Zebrocy is a malware used by the threat group Sofacy, also known as Sednit,
APT28, Fancy Bear, and STRONTIUM. Sofacy was one of the groups
&lt;a href="https://www.justice.gov/opa/pr/grand-jury-indicts-12-russian-intelligence-officers-hacking-offenses-related-2016-election"target="_blank" rel="noopener"&gt;indicted&lt;/a&gt;
by the Department of Justice (DOJ) for the compromise of the Democratic
National Committee (DNC). The Zebrocy toolset was first reported by Kaspersky
Labs as part of their
&lt;a href="https://securelist.com/apt-trends-report-q2-2017/79332/"target="_blank" rel="noopener"&gt;APT Trends report&lt;/a&gt; in
2017. The malware was first used in
&lt;a href="https://securelist.com/zebrocys-multilanguage-malware-salad/90680/"target="_blank" rel="noopener"&gt;2015&lt;/a&gt; and
overlapped with known Sofacy infrastructure at the time. Zebrocy operates as a
downloader and collects information about the infected host that is uploaded to
the command and control (C&amp;amp;C) server before downloading and executing the next
stage.&lt;/p&gt;
&lt;p&gt;The first version of the downloader was written in Delphi and was based on a
&lt;a href="https://securelist.com/zebrocys-multilanguage-malware-salad/90680/"target="_blank" rel="noopener"&gt;previous malware&lt;/a&gt;
used by Sofacy. One unique aspect of the operators behind Zebrocy is their
choice of evolving the malware. Instead of improving their codebase to add new
functionalities and increase their chance of staying undetected, the group has
opted to keep the malware simple by implementing new versions in different
programming languages. Zebrocy samples written in AutoIT, C++, C#, Delphi, Go,
and VB.NET have been
&lt;a href="https://unit42.paloaltonetworks.com/unit42-sofacy-groups-parallel-attacks/"target="_blank" rel="noopener"&gt;discovered&lt;/a&gt;
by the
&lt;a href="https://unit42.paloaltonetworks.com/sofacy-creates-new-go-variant-of-zebrocy-tool/"target="_blank" rel="noopener"&gt;research&lt;/a&gt;
community.&lt;/p&gt;
&lt;p&gt;While Zebrocy is known to be used by a subset of the Sofacy threat group,
Kaspersky Labs reported in
&lt;a href="https://securelist.com/greyenergys-overlap-with-zebrocy/89506/"target="_blank" rel="noopener"&gt;January 2019&lt;/a&gt;
that they had discovered infrastructure used both by Zebrocy and GreyEnergy.
GreyEnergy was discovered by ESET and reported on in
&lt;a href="https://www.welivesecurity.com/wp-content/uploads/2018/10/ESET_GreyEnergy.pdf"target="_blank" rel="noopener"&gt;October 2018&lt;/a&gt;.
The group is believed to be the successor of BlackEnergy, also known as
Sandworm. Sandworm was recently attributed to Russia’s GRU by the United States
government in an
&lt;a href="https://www.justice.gov/opa/pr/six-russian-gru-officers-charged-connection-worldwide-deployment-destructive-malware-and"target="_blank" rel="noopener"&gt;indictment&lt;/a&gt;
for the NotPetya and Olympic Destroyer campaigns. Generally speaking, Sofacy
and BlackEnergy have diverging goals and have been known to go after different
targets. In this case, the common infrastructure and targets between the Sofacy
subgroup using Zebrocy and GreyEnergy suggests a relationship between the
groups.&lt;/p&gt;
&lt;p&gt;Zebrocy is mainly used against
&lt;a href="https://securelist.com/masha-and-these-bears/84311/"target="_blank" rel="noopener"&gt;governments and commercial organizations&lt;/a&gt;
engaged in
&lt;a href="https://unit42.paloaltonetworks.com/unit42-sofacy-groups-parallel-attacks"target="_blank" rel="noopener"&gt;foreign affairs&lt;/a&gt;.
Victims have been located
&lt;a href="https://www.welivesecurity.com/2018/04/24/sednit-update-analysis-zebrocy/"target="_blank" rel="noopener"&gt;in&lt;/a&gt;:
&amp;ldquo;Afghanistan, Azerbaijan, Bosnia and Herzegovina, China, Egypt, Georgia, Iran,
Japan, Kazakhstan, Korea, Kyrgyzstan, Mongolia, Russia, Saudi Arabia, Serbia,
Switzerland, Tajikistan, Turkey, Turkmenistan, Ukraine, Uruguay, and Zimbabwe.&amp;rdquo;
The delivery of Zebrocy is usually via a spear-phishing
&lt;a href="https://www.welivesecurity.com/2018/04/24/sednit-update-analysis-zebrocy/"target="_blank" rel="noopener"&gt;email&lt;/a&gt;.
The email has contained Microsoft Office documents or archive files.&lt;/p&gt;
&lt;h2&gt;Technical Analysis&lt;span class="hx:absolute hx:-mt-20" id="technical-analysis"&gt;&lt;/span&gt;
&lt;a href="#technical-analysis" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;At the end of November, we discovered a Virtual Hard Drive (VHD) file
(&lt;code&gt;a7b446d79d3fc05a7e1881d6d4abaf55&lt;/code&gt;) named &lt;code&gt;30-22-243.vhd &lt;/code&gt;that was uploaded
from Azerbaijan to VirusTotal. VHD is the native file format for virtual hard
drives used by Microsoft’s hypervisor, Hyper-V. Windows 10 has native support
for the file format and allows the user to mount the file and access its
content. Figure 1 shows what the user would see if they downloaded the file to
their desktop. According to timestamps stored in the file, the disk was created
on November 20, 2020, 10 days before it was uploaded to VirusTotal.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2020/12/russian-apt-uses-covid-19-lures-to-deliver-zebrocy/images/fig1.png" title="Figure 1: VHD phishing lure." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 1: VHD phishing lure.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;If the user double-clicks on the file, Windows will mount the drive and it
appears as an external hard drive. Figure 2 shows the content of the VHD.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2020/12/russian-apt-uses-covid-19-lures-to-deliver-zebrocy/images/fig2.png" title="Figure 2: Content of the VHD file. It contains two files: A PDF file and an executable that is masquerading as a Microsoft Word document." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 2: Content of the VHD file. It contains two files: A PDF file and an executable that is masquerading as a Microsoft Word document.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The VHD file includes two files, a PDF document and an executable that is
masquerading as a Microsoft Word document. The PDF file consists of
presentation slides about Sinopharm International Corporation. Figure 3
displays a screenshot of the first slide.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2020/12/russian-apt-uses-covid-19-lures-to-deliver-zebrocy/images/fig3.png" title="Figure 3: PDF of presentation slides used as part of the lure." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 3: PDF of presentation slides used as part of the lure.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Sinopharm International Corporation is a China-based
&lt;a href="https://www.bloomberg.com/profile/company/1383184D:CH"target="_blank" rel="noopener"&gt;manufacturer of pharmaceutical products&lt;/a&gt;.
It is one of the companies in China that is currently working on a vaccine for
COVID-19. Their vaccine is currently undergoing
&lt;a href="https://www.bloomberg.com/features/2020-coronavirus-drug-vaccine-status/"target="_blank" rel="noopener"&gt;phase three&lt;/a&gt;
clinical trials but it has already been
&lt;a href="https://uk.reuters.com/article/uk-health-coronavirus-vaccine-sinopharm/china-sinopharms-coronavirus-vaccine-taken-by-about-a-million-people-in-emergency-use-idUKKBN27Z0PS"target="_blank" rel="noopener"&gt;given to nearly one million people&lt;/a&gt;.
It may not come as a surprise that the threat group behind Zebrocy is using
COVID-19-themed related lures when many vaccines are about to get approved for
use. The group is known to use
&lt;a href="https://www.accenture.com/us-en/blogs/cyber-defense/snakemackerel-delivers-zekapab-malware"target="_blank" rel="noopener"&gt;current events as part of their phishing lures&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The second file is the malware. By default, Windows hides known file extensions
and the user can be easily tricked into believing that it’s a Word document.
The scan results of the executable from VirusTotal is shown in Figure 4 and
&lt;a href="https://analyze.intezer.com/?utm_campaign=research-blog&amp;amp;utm_content=russian-apt-uses-covid-19-lures-to-deliver-zebrocy&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com"target="_blank" rel="noopener"&gt;Intezer Analyze&lt;/a&gt; in Figure 5. Only nine of the
70 antivirus engines detected the file as generic malware while Analyze
detected the file as malware associated with Sofacy.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2020/12/russian-apt-uses-covid-19-lures-to-deliver-zebrocy/images/fig4.png" title="Figure 4: VirusTotal scan results of the binary file with generic detection." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 4: VirusTotal scan results of the binary file with generic detection.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2020/12/russian-apt-uses-covid-19-lures-to-deliver-zebrocy/images/fig5.png" title="Figure 5: Intezer Analyze detects the file as genetically similar to malware used by Sofacy one year ago." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 5: Intezer Analyze detects the file as genetically similar to malware used by Sofacy one year ago.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The malware is a new sample of Zebrocy written in Go. Earlier this year,
&lt;a href="https://quointelligence.eu/2020/09/apt28-zebrocy-malware-campaign-nato-theme/"target="_blank" rel="noopener"&gt;QuoIntelligence&lt;/a&gt;
detected an ongoing campaign by Sofacy, assessing with medium-high confidence
that the group was targeting Azerbaijan. In that campaign, the Delphi version
was used. It appears that the threat group has now switched from delivering the
Delphi downloader to the Go downloader.&lt;/p&gt;
&lt;p&gt;The downloader is similar to the original downloader reported by
&lt;a href="https://unit42.paloaltonetworks.com/sofacy-creates-new-go-variant-of-zebrocy-tool/"target="_blank" rel="noopener"&gt;Palo Alto Networks Unit 42&lt;/a&gt;.
The sample has been obfuscated with
&lt;a href="https://github.com/unixpickle/gobfuscate"target="_blank" rel="noopener"&gt;gobfuscator&lt;/a&gt;, the same tool used by
the Blackrota malware. The sample doesn’t collect the same amount of
information about the infected machine (i.e., running processes, local disk
information, and system information from “systeminfo”) as in previous
campaigns. Instead, it collects the hostname and the path to the user’s &lt;code&gt;TEMP&lt;/code&gt;
folder. This information is used to generate an identifier by hashing the
values with MD5. The screenshot functionality is not performed by an imported
third-party library. Rather, the malware author has included the screenshot
code from the library directly in the main codebase. The malware has some
anti-debugging checks. In Figure 6, it can be seen how the malware calls the
Windows API function &lt;code&gt;IsDebuggerPresent&lt;/code&gt;. If true is returned, it enters an
infinite sleeping loop.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2020/12/russian-apt-uses-covid-19-lures-to-deliver-zebrocy/images/fig6.png" title="Figure 6: Logic that checks if the process is being debugged. If true, it enters a sleeping loop." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 6: Logic that checks if the process is being debugged. If true, it enters a sleeping loop.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The screenshot is uploaded to the C&amp;amp;C located at the URL:
&lt;code&gt;hxxps://support-cloud[.]life/managment/cb-secure/technology.php&lt;/code&gt;. If the C&amp;amp;C
returns a second stage, the file is written to the disk and executed. The URL
scheme for the C&amp;amp;C is similar to the URL scheme used in the original
&lt;a href="https://unit42.paloaltonetworks.com/sofacy-creates-new-go-variant-of-zebrocy-tool/"target="_blank" rel="noopener"&gt;Go version&lt;/a&gt;
(&lt;code&gt;hxxp://89.37.226[.]148/technet-support/library/online-service-description.php&lt;/code&gt;).
The domain name was registered with NameCheap on October 20, 2020, and uses a
certificate issued by Let’s Encrypt. The certificate was issued on November 2,
2020. The infrastructure is hosted on &lt;code&gt;80.90.39.24&lt;/code&gt; which is owned by the
Luxembourg-based hosting company, Visual Online. The infrastructure appears to
be new.&lt;/p&gt;
&lt;h2&gt;Earlier Campaigns&lt;span class="hx:absolute hx:-mt-20" id="earlier-campaigns"&gt;&lt;/span&gt;
&lt;a href="#earlier-campaigns" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Using the icon resource from the original phishing lure, we found another
phishing lure (&lt;code&gt;395e166af5197967503f45c3ac134ff7&lt;/code&gt;) that was uploaded to
VirusTotal from Kazakhstan on November 12. This VHD file was named
&lt;code&gt;No.243.CB3-EVACUATION LETTER.vhd&lt;/code&gt;. The content of the file is shown in Figure
7.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2020/12/russian-apt-uses-covid-19-lures-to-deliver-zebrocy/images/fig7.png" title="Figure 7: Content of No.243.CB3-EVACUATION LETTER.vhd. The disk file includes an executable file and a PDF file." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 7: Content of No.243.CB3-EVACUATION LETTER.vhd. The disk file includes an executable file and a PDF file.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The executable is another Go version of Zebrocy. It uses the same C&amp;amp;C URL. The
sample is obfuscated using the same technique the group has used for their
prior versions. The function names have been mangled and the strings have been
obfuscated. In this version, the strings are obfuscated by rotating the
characters in the string one step. For example, &lt;code&gt;A&lt;/code&gt; has been rotated to &lt;code&gt;B&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The PDF file is corrupted. This is not the first time the group is using
&lt;a href="https://www.welivesecurity.com/2018/11/20/sednit-whats-going-zebrocy/"target="_blank" rel="noopener"&gt;corrupt files&lt;/a&gt;
as part of its lures. Corrupt
&lt;a href="https://quointelligence.eu/2020/09/apt28-zebrocy-malware-campaign-nato-theme/"target="_blank" rel="noopener"&gt;Microsoft Excel files were used&lt;/a&gt;
in the campaign uncovered by QuoIntelligence earlier this year. The technique
is likely used to trick the user into executing the application rather than
just viewing the lure.&lt;/p&gt;
&lt;p&gt;Based on the file name, one theory we have is a message from India’s
Directorate General of Civil Aviation is being impersonated. It was announced
&lt;a href="https://www.outlookindia.com/newsscroll/will-develop-flight-network-to-russia-central-asian-countries-in-next-few-months-indigo-official/1920413"target="_blank" rel="noopener"&gt;in August&lt;/a&gt;
that a flight network between India, Russia, and other Central Asian countries
was being developed. While India has suspended international flights due to the
pandemic, some airlines have operated charter flights to “Russia, Uzbekistan,
Ukraine, Kazakhstan and Kyrgyzstan.”&lt;/p&gt;
&lt;p&gt;It turns out the same VHD file was uploaded in October to VirusTotal with
different content (&lt;code&gt;855005fee45e71c36a466527c7fad62f&lt;/code&gt;); both samples share the
same disk ID. The content of this sample is shown in Figure 8. As with the
other VHD files, this also has a PDF file and an executable masquerading as a
Microsoft Word Document. Instead of delivering the Go version of Zebrocy, the
Delphi loader was used.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2020/12/russian-apt-uses-covid-19-lures-to-deliver-zebrocy/images/fig8.png" title="Figure 8: Content of VHD uploaded to VirusTotal in October." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 8: Content of VHD uploaded to VirusTotal in October.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The PDF lure is written in Russian. The title is, according to Google
Translate: &amp;ldquo;NATIONAL LIST INDIVIDUALS AND LEGAL ENTITIES INVOLVED IN TERRORIST
AND EXTREMIST ACTIVITIES OR THE DISTRIBUTION OF WEAPONS OF MASS DESTRUCTION.&amp;rdquo;
The content of the first page is shown in Figure 9.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2020/12/russian-apt-uses-covid-19-lures-to-deliver-zebrocy/images/fig9.jpg" title="Figure 9: Redacted screenshot of PDF lure written in Russian." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 9: Redacted screenshot of PDF lure written in Russian.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;According to timestamps, the VHD was created on October 21, the day after the
domain (&lt;code&gt;support-cloud[.]life&lt;/code&gt;) was registered. The domain was used in a
spear-phishing attack against a Kazakhstan government ministry the same day.
The VHD file was uploaded to VirusTotal the next day. On November 11, the same
VHD file was reused but the lure and payload were changed. This version of the
VHD was uploaded to VirusTotal the next day. By applying this logic to the VHD
file used to deliver the Sinopharm-based lure, we can estimate that it was used
around November 20.&lt;/p&gt;
&lt;h2&gt;Conclusion&lt;span class="hx:absolute hx:-mt-20" id="conclusion"&gt;&lt;/span&gt;
&lt;a href="#conclusion" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Zebrocy is a malware toolset used by the Sofacy threat group. While the group
keeps changing obfuscation and delivery techniques, code reuse allowed Intezer
to detect and correctly classify this malware. With these recent phishing
lures, it’s clear that COVID-19 themed attacks are still a threat and we might
see more as vaccines become available to the general public.&lt;/p&gt;
&lt;p&gt;It’s important that companies use defense-in-depth strategies to protect
against threats. Employers should also ensure employees are trained on
detecting and reacting to phishing attempts. Phishing attempts do not always
originate from an external email address; they can also come from a compromised
account within the enterprise.&lt;/p&gt;
&lt;h2&gt;IoCs&lt;span class="hx:absolute hx:-mt-20" id="iocs"&gt;&lt;/span&gt;
&lt;a href="#iocs" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;h3&gt;Network&lt;span class="hx:absolute hx:-mt-20" id="network"&gt;&lt;/span&gt;
&lt;a href="#network" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;hxxps://support-cloud[.]life/managment/cb-secure/technology.php&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;VHD files&lt;span class="hx:absolute hx:-mt-20" id="vhd-files"&gt;&lt;/span&gt;
&lt;a href="#vhd-files" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;d5d9210ef49c6780016536b0863cc50f6de03f73e70c2af46cc3cff0e2bf9353 30-1868.vhd
43c65d87d690aea7c515fe84317af40b7e64b350304b0fc958a51d62826feade 30-22-243.vhd
d444fde5885ec1241041d04b3001be17162523d2058ab1a7f88aac50a6059bc0 No.243.CB3-EVACUATION LETTER.vhd&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;Zebrocy&lt;span class="hx:absolute hx:-mt-20" id="zebrocy"&gt;&lt;/span&gt;
&lt;a href="#zebrocy" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;f36a0ee7f4ec23765bb28fbfa734e402042278864e246a54b8c4db6f58275662 243_BIO_SINOPHARM.exe
61c2e524dcc25a59d7f2fe7eff269865a3ed14d6b40e4fea33b3cd3f58c14f19 243.CB3.EVACUATION LETTER.exe
6449d0cb1396d6feba7fb9e25fb20e9a0a5ef3e8623332844458d73057cf04a1 30-1868 20.10.2020.exe&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;</description></item><item><title>Mapping the Connections Inside Russia’s APT Ecosystem</title><link>https://research.intezer.com/blog/2019/09/russian-apt-ecosystem/</link><pubDate>Tue, 24 Sep 2019 00:00:00 +0000</pubDate><guid>https://research.intezer.com/blog/2019/09/russian-apt-ecosystem/</guid><description>
&lt;p&gt;&lt;em&gt;This research is a joint effort conducted by Omri Ben-Bassat from Intezer and
Itay Cohen from Check Point Research.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;Prologue пролог&lt;span class="hx:absolute hx:-mt-20" id="prologue-пролог"&gt;&lt;/span&gt;
&lt;a href="#prologue-%d0%bf%d1%80%d0%be%d0%bb%d0%be%d0%b3" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;If the names Turla, Sofacy, and APT29 strike fear into your heart, you are not
alone. These are known to be some of the most advanced, sophisticated and
notorious APT groups out there, and not in vain. These Russian-attributed
actors are part of a larger picture in which Russia is one of the strongest
powers in cyber warfare today. Their advanced tools, unique approaches, and
solid infrastructures suggest enormous and complicated operations that involve
different military and government entities inside Russia.&lt;/p&gt;
&lt;p&gt;Russia is known to conduct a wide range of cyber espionage and sabotage
operations for the last three decades. Beginning with the first publicly known
attacks by
&lt;a href="https://media.kasperskycontenthub.com/wp-content/uploads/sites/43/2018/03/07180251/Penquins_Moonlit_Maze_PDF_eng.pdf"target="_blank" rel="noopener"&gt;Moonlight Maze&lt;/a&gt;,
in 1996, the
&lt;a href="https://web.archive.org/web/20090221124901/http://articles.latimes.com/2008/nov/28/nation/na-cyberattack28"target="_blank" rel="noopener"&gt;Pentagon breach&lt;/a&gt;
in 2008,
&lt;a href="https://www.wired.com/story/crash-override-malware/"target="_blank" rel="noopener"&gt;Blacking out Kyiv&lt;/a&gt; in
2016, hacking the
&lt;a href="https://www.dhs.gov/news/2016/10/07/joint-statement-department-homeland-security-and-office-director-national"target="_blank" rel="noopener"&gt;United States elections&lt;/a&gt;
in 2016, and including some of the largest, most infamous cyberattacks in
history,
&lt;a href="https://www.washingtonpost.com/world/national-security/russian-military-was-behind-notpetya-cyberattack-in-ukraine-cia-concludes/2018/01/12/048d8506-f7ca-11e7-b34a-b85626af34ef_story.html?"target="_blank" rel="noopener"&gt;targeting an entire&lt;/a&gt;
nation with NotPetya ransomware.&lt;/p&gt;
&lt;p&gt;Indeed, numerous Russian operations and malware families were publicly exposed
by different security vendors and intelligence organizations such as the
&lt;a href="https://www.us-cert.gov/sites/default/files/publications/JAR_16-20296A_GRIZZLY%20STEPPE-2016-1229.pdf"target="_blank" rel="noopener"&gt;FBI&lt;/a&gt;
and the
&lt;a href="https://www.valisluureamet.ee/pdf/raport-2018-ENG-web.pdf"target="_blank" rel="noopener"&gt;Estonian Foreign Intelligence Services&lt;/a&gt;.
While these discoveries shed light into specific Russian actors or operations,
the larger picture remains hazy.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/09/russian-apt-ecosystem/images/fig1.png" title="Figure 1: An infographic that was published in a report by the Estonian Foreign Intelligence Service" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 1: An infographic that was published in a report by the Estonian Foreign Intelligence Service&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The fog behind these complicated operations made us realize that while we know
a lot about single actors, we are short of seeing an entire ecosystem with
actor interaction (or lack thereof) and particular TTPs that can be viewed on a
larger scope. We decided to know more and to adopt a broader perspective. This
led us to gather, classify, and analyze thousands of Russian APT malware
samples in order to find connections not only between samples, but also between
different families and actors.&lt;/p&gt;
&lt;p&gt;During this research, we analyzed approximately 2,000 samples that were
attributed to Russia and found 22,000 connections between the samples, in
addition to 3.85 million non-unique pieces of code that were shared. We
classified these samples into 60 families and 200 different modules.&lt;/p&gt;
&lt;h2&gt;Key Findings ключевые результаты&lt;span class="hx:absolute hx:-mt-20" id="key-findings-ключевые-результаты"&gt;&lt;/span&gt;
&lt;a href="#key-findings-%d0%ba%d0%bb%d1%8e%d1%87%d0%b5%d0%b2%d1%8b%d0%b5-%d1%80%d0%b5%d0%b7%d1%83%d0%bb%d1%8c%d1%82%d0%b0%d1%82%d1%8b" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;This research is the first and the most comprehensive of its kind. For the
first time, thousands of samples were gathered, classified, and analyzed in
order to map connections between different cyber espionage organizations of a
superpower country.&lt;/li&gt;
&lt;li&gt;In most cases, the Russian actors do not share code with one another. While
each actor does reuse its code in different operations and between different
malware families, there is no single tool, library or framework that is
shared between different actors.&lt;/li&gt;
&lt;li&gt;Every actor or organization under the Russain APT umbrella has its own
dedicated malware development teams, working for years in parallel on similar
malware toolkits and frameworks. Knowing that a lot of these toolkits serve
the same purpose, it is possible to spot redundancy in this parallel
activity.&lt;/li&gt;
&lt;li&gt;These findings may suggest that Russia is investing a lot of effort into its
operational security. By avoiding different organizations re-using the same
tools on a wide range of targets, they overcome the risk that one compromised
operation will expose other active operations.&lt;/li&gt;
&lt;li&gt;We were able to verify previously reported connections between different
families, supporting these connections with code similarity analysis as
evidence.&lt;/li&gt;
&lt;li&gt;We are releasing several tools to be used by the research community. An
interactive map of connections between dozens of Russian APT families and
their components. A signature-based tool to scan a host or a file against the
most commonly re-used pieces of code leveraged by the Russian APTs.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For the complete list of findings and their meaning, please refer to the
extended results section.&lt;/p&gt;
&lt;h2&gt;Getting Started ачинаем&lt;span class="hx:absolute hx:-mt-20" id="getting-started-ачинаем"&gt;&lt;/span&gt;
&lt;a href="#getting-started-%d0%b0%d1%87%d0%b8%d0%bd%d0%b0%d0%b5%d0%bc" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Our journey into this complex ecosystem began, as any thorough research, with
one question. To be honest, it wasn’t a single question, but several of them:&lt;/p&gt;
&lt;p&gt;What information is already publicly available? What, if any, previous research
of this type been conducted before? Who are the actors in the Russian APT
ecosystem? What are the malware families used by these actors? Who are the
targeted victims? What connections were already found between different actors,
families, and samples? And more…&lt;/p&gt;
&lt;p&gt;This led us to a deep background reading of public information that was shared
by other researchers, vendors, and governments. Without the previous research
conducted by these individuals, and without this information we would’ve been
lost, so this is the time to say thank you.&lt;/p&gt;
&lt;p&gt;After days of reading background materials and publications, it became more
clear to us on how we should proceed. To put it simply, we split the research
into four steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Gathering samples&lt;/li&gt;
&lt;li&gt;Classifying the samples&lt;/li&gt;
&lt;li&gt;Find code similarities between the samples&lt;/li&gt;
&lt;li&gt;Analyze the identified connections&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In the chapters below, we will try to explain each of these steps. We will
describe what we have done, how we did it, and what challenges we encountered.&lt;/p&gt;
&lt;h2&gt;Gathering Samples сбор образцов&lt;span class="hx:absolute hx:-mt-20" id="gathering-samples-сбор-образцов"&gt;&lt;/span&gt;
&lt;a href="#gathering-samples-%d1%81%d0%b1%d0%be%d1%80-%d0%be%d0%b1%d1%80%d0%b0%d0%b7%d1%86%d0%be%d0%b2" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;The first step was to gather samples that we know were attributed to malware
families that are associated with official Russian actors. We began by listing
the names of the actors and families we read about previously. We searched for
technical reports that were published about these names and extracted
potentially valuable Indication of Compromise from them. IOCs are usually
posted at the bottom of technical analysis reports and used by researchers as a
way to share hashes of the discussed malware samples. This information can
later be used by other researchers, vendors, and SOC teams.&lt;/p&gt;
&lt;p&gt;We then downloaded these samples from VirusTotal and from our internal
databases, and gathered them all together. Overall, we began with approximately
2,500 unique samples.&lt;/p&gt;
&lt;h2&gt;Classifying классификация&lt;span class="hx:absolute hx:-mt-20" id="classifying-классификация"&gt;&lt;/span&gt;
&lt;a href="#classifying-%d0%ba%d0%bb%d0%b0%d1%81%d1%81%d0%b8%d1%84%d0%b8%d0%ba%d0%b0%d1%86%d0%b8%d1%8f" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;When we find code similarities between two or more samples, we basically know
that a sample file A shares a mutual code with another sample file B. This
alone is not enough information for us, because we need to know what are A and
B—are they variants or modules of the same family, do they belong to the same
actor, or most importantly, are these samples a part of different families,
written by different actors. In order to do this, we needed to have a clear
understanding of the ascription of each sample. When taking this into practice,
we tried to determine the following information about each and every sample we
gathered:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Actor—which Russian APT actor is known or probable to have written this
malware (Turla, Sofacy, GreyEnergy, …)?&lt;/li&gt;
&lt;li&gt;Family—what is the common family name that is associated with this malware?&lt;/li&gt;
&lt;li&gt;Module—many malware families are built in a modular way in which a certain
malware can load different payloads embedded within it or downloaded from a
Command and Control server. When possible, we wanted to know whether the
sample we have is a Keylogger module, a communication module, an injection
module, or anything else.&lt;/li&gt;
&lt;li&gt;Version—some malware have a clear version stamp embedded in them. We wanted
to be able to differentiate between earlier and recent versions, as well as
versions that were written to different architectures and bits.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Although on the surface it looks easy, classifying turned out to be one of the
most complicated parts of this research.&lt;/p&gt;
&lt;p&gt;Starting with this frustrating fact–there is no naming standardization for
malware and threat actors in the infosec industry. Every Russian APT actor and
every malware family have more than a few names given to them by different
vendors, researchers, and intelligence institutions. Some names will be used by
different vendors to describe different families. Some malware families are
described with different names by the same vendor. Other malware families
simply do not have a clear name. These issues and more, made us face one of the
most painful drawbacks of classification and required us to be very careful
when we classify a specific piece of malware to a family and an actor.&lt;/p&gt;
&lt;h2&gt;Code Similarities сходство кода&lt;span class="hx:absolute hx:-mt-20" id="code-similarities-сходство-кода"&gt;&lt;/span&gt;
&lt;a href="#code-similarities-%d1%81%d1%85%d0%be%d0%b4%d1%81%d1%82%d0%b2%d0%be-%d0%ba%d0%be%d0%b4%d0%b0" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Once we finished collecting and classifying all of the Russian APT samples, we
began to cluster them based on the shared unique and malicious code between the
different samples. Using Intezer’s Malware Analysis technology, we
automatically disassembled and dissected each binary file into thousands of
small pieces of assembly code, also referred to as “genes”. Then, for each and
every gene, we checked in which software/malware it was seen previously, by
referencing Intezer’s code genome database. This code genome database contains
binary genes from both previously seen malicious and legitimate software, which
helps us to focus on only the unique and malicious genes per file (without
wasting time on shared library code, for example).&lt;/p&gt;
&lt;p&gt;Intezer’s technology also helped us to automatically unpack samples which were
packed (statically or dynamically), and to ignore the irrelevant binary parts,
such as library code. Since the genome database contains all of the genes from
the files that we have collected, the output of this process was an
automatically generated connections graph, based on the unique Russian code,
for further investigation of the results as described in the following
sections.&lt;/p&gt;
&lt;h2&gt;Visualizing the Connections визуализация связей&lt;span class="hx:absolute hx:-mt-20" id="visualizing-the-connections-визуализация-связей"&gt;&lt;/span&gt;
&lt;a href="#visualizing-the-connections-%d0%b2%d0%b8%d0%b7%d1%83%d0%b0%d0%bb%d0%b8%d0%b7%d0%b0%d1%86%d0%b8%d1%8f-%d1%81%d0%b2%d1%8f%d0%b7%d0%b5%d0%b9" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Now that we have analyzed thousands of samples for code similarities, it is
time to gather and visualize all of the identified connections in one place.
Our current situation is that we essentially have two lists:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;A list of all the samples • Sha256, Label, Actor&lt;/li&gt;
&lt;li&gt;A list of found connections • sha256_sampleA, sha256_sampleB, # of shared
genes&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This is all we need in order to create an initial graph of the connections, in
which every sample is a node (vertex), and a connection between two samples is
an edge. We created the initial graph using the
&lt;a href="https://networkx.github.io/"target="_blank" rel="noopener"&gt;networkx&lt;/a&gt; library for Python and produced a .gexf
file that later can be used in our favorite graph visualizer tool, Gephi. Gephi
is an open-source interactive visualization and exploration platform for all
kinds of networks and complex systems, dynamic and hierarchical graphs.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;GEXF (Graph Exchange XML Format) is a language for describing complex
networks structures, their associated data and dynamics.&lt;/p&gt;
&lt;p&gt;Source: Gephi website&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;By loading the produced file to Gephi, we begin with a complex and crowded web
of connections. In order to make it look clearer, we would need to apply some
layout algorithms to it.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/09/russian-apt-ecosystem/images/fig2.png" title="Figure 2: The initial graph as created by Gephi" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 2: The initial graph as created by Gephi&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Without getting too deep into Graph Theory and Graph Drawing, layout algorithms
are responsible for the way that vertices and edges are arranged in the graph.
This has a direct effect on the aesthetics, understandability, and usability of
the graph. For our graph, we chose a
&lt;a href="https://en.wikipedia.org/wiki/Force-directed_graph_drawing"target="_blank" rel="noopener"&gt;Force-Directed layout algorithm&lt;/a&gt;,
or more specifically–
&lt;a href="https://github.com/gephi/gephi/wiki/Fruchterman-Reingold"target="_blank" rel="noopener"&gt;Fruchterman-Reingold algorithm&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/09/russian-apt-ecosystem/images/fig3.gif" title="Figure 3: The graph of connections after applying layout algorithms" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 3: The graph of connections after applying layout algorithms&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Now we can notice some big clusters that are created and bridges between two or
more clusters like this. Circular and complete-linkage clusters are most likely
to be collections of samples of the same family. Two clusters that are joined
together are most likely to belong to the same family (different variants) or
to the same ancestry. There are many clusters, big ones, and smaller ones. The
different sizes indicate the number of nodes in the cluster. This is something
that can be either relevant or irrelevant depending on the situation. We need
to remember, after all, a graph will present the data it was given with. Thus,
the size of the cluster is directly affected by the number of samples of the
same family that were in our dataset. The family may indeed be a big one, but
it is possible that the samples of this family were simply more accessible for
us.&lt;/p&gt;
&lt;p&gt;Now that we have the shape of the graph, let’s add another layer—text, and
colors. In our research, we want to show connections between families and
actors. Thus, for each node on the graph, we will add a label with its name and
a unique color per attributed actor.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/09/russian-apt-ecosystem/images/fig4.png" title="Figure 4: Colors applied to the graph in order to make it more readable" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 4: Colors applied to the graph in order to make it more readable&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h2&gt;Analyzing the Connections анализ связей&lt;span class="hx:absolute hx:-mt-20" id="analyzing-the-connections-анализ-связей"&gt;&lt;/span&gt;
&lt;a href="#analyzing-the-connections-%d0%b0%d0%bd%d0%b0%d0%bb%d0%b8%d0%b7-%d1%81%d0%b2%d1%8f%d0%b7%d0%b5%d0%b9" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Now that Gephi did its magic and we have a nice, yet busy, visual graph, it is
time to inspect the thousands of connections, starting from the most
interesting ones, cross-actor edges.&lt;/p&gt;
&lt;p&gt;A cross-actor edge is a line connecting two nodes that are attributed to
different actors. Such a connection, when verified, can indicate that two or
more actors share code.&lt;/p&gt;
&lt;p&gt;While there are thousands of inter-family connections on the graph (a code is
shared between samples of the same family) and cross-family connections (a code
is shared between samples of different families attributed to the same actor),
it is uncommon to see cross-actor connections.&lt;/p&gt;
&lt;p&gt;In order to analyze the graph and its connections, we used Gephi’s Python API
module. We wrote several clean-up scripts to remove and reduce false-positives
and false attributions. Then, we extracted a list of connections between
samples belonging to different actors.&lt;/p&gt;
&lt;p&gt;We then moved to our favorite part, reverse-engineering the shared genes in
order to verify the unique mutuality or to flag the connection as a
false-positive.&lt;/p&gt;
&lt;p&gt;A false-positive connection, in our terminology, would be a connection which is
indeed true (the samples do share code), but not uniquely true. Mutually shared
genes that we flagged as false-positive most-likely belong to some version of
an open-source library, such as PolarSSL, B-Zip or a fork of any other
open-source library.&lt;/p&gt;
&lt;p&gt;This part required us to analyze the mutual pieces of code that were shared by
two or more samples in order to understand the nature of the connection. By
looking at the shared code, we could understand the goal of this code, how it
is being used and in what context it was written.&lt;/p&gt;
&lt;p&gt;In this part, we also verified that our research was able to spot and detect
previously reported connections between samples and actors, be it a TTP
connection or a code-connection. In some cases, we are the first to provide
code-based evidence for the connections.&lt;/p&gt;
&lt;h2&gt;Interesting Connections интересные связи&lt;span class="hx:absolute hx:-mt-20" id="interesting-connections-интересные-связи"&gt;&lt;/span&gt;
&lt;a href="#interesting-connections-%d0%b8%d0%bd%d1%82%d0%b5%d1%80%d0%b5%d1%81%d0%bd%d1%8b%d0%b5-%d1%81%d0%b2%d1%8f%d0%b7%d0%b8" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Now, with the code connections graph in place, we were able to examine the
interesting connections between the different Russian APTs. We have observed
many connections between different tools used from the same actors, which
ranged between a specific function to a whole module. Code similarities between
samples of different actors were rare to find and those that we did find are
not unique or large enough to indicate that code or modules were actively
shared. Here are the highlights of these connections.&lt;/p&gt;
&lt;h3&gt;BlackEnergy Password Stealer &amp;lt;—&amp;gt; PinchDuke&lt;span class="hx:absolute hx:-mt-20" id="blackenergy-password-stealer--pinchduke"&gt;&lt;/span&gt;
&lt;a href="#blackenergy-password-stealer--pinchduke" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Both share credential dumping implementation for Outlook and “The Bat!”—which
is a Moldovan email client. We know that
&lt;a href="https://www.f-secure.com/documents/996508/1030745/dukes_whitepaper.pdf"target="_blank" rel="noopener"&gt;PinchDuke&lt;/a&gt;
is based on an old credential stealer called Pinch (LdPinch) that was
distributed in Russian speaking underground forums about a decade ago, and we
believe that this shared piece of code between BlackEnergy and PinchDuke has
originated from the Pinch source code. Not only that several functions are
mutual, but there are also mutual strings—as can be seen in the screenshots
below.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/09/russian-apt-ecosystem/images/fig5.png" title="Figure 5: Pinch Duke 0ce3bfa972ced61884ae7c1d77c7d4c45e17c7d767e669610cf2ef72b636b464" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 5: Pinch Duke 0ce3bfa972ced61884ae7c1d77c7d4c45e17c7d767e669610cf2ef72b636b464&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/09/russian-apt-ecosystem/images/fig6.png" title="Figure 6: Black Energy 3cf46c68dccb989fbda3f853cc19025d39d38d9ea5786f4ae6a926677d6c5f62" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 6: Black Energy 3cf46c68dccb989fbda3f853cc19025d39d38d9ea5786f4ae6a926677d6c5f62&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h3&gt;BlackEnergy &amp;lt;—&amp;gt; Energetic Bear&lt;span class="hx:absolute hx:-mt-20" id="blackenergy--energetic-bear"&gt;&lt;/span&gt;
&lt;a href="#blackenergy--energetic-bear" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;As
&lt;a href="https://securingtomorrow.mcafee.com/other-blogs/mcafee-labs/operation-dragonfly-analysis-suggests-links-to-earlier-attacks/"target="_blank" rel="noopener"&gt;published by McAfee&lt;/a&gt;,
we also observed identical self-delete functions between BlackEnergy sample
from 2015 and the newer Energetic Bear (Dragonfly) sample from 2017. Despite
the fact that self-delete functions are pretty common in malware, it is rare to
see an exact 1:1 match in the binary level, which matches only for these two
malware families out of all the malware families indexed in Intezer’s Genome
Database. We believe that this function was not actively shared between these
actors, but instead, was taken from a
&lt;a href="https://www.c-plusplus.net/forum/topic/157481/selbstl%C3%B6schende-dll-m%C3%B6glich"target="_blank" rel="noopener"&gt;public source&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/09/russian-apt-ecosystem/images/fig7.png" title="Figure 7: Black Energy 11b7b8a7965b52ebb213b023b6772dd2c76c66893fc96a18a9a33c8cf125af80" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 7: Black Energy 11b7b8a7965b52ebb213b023b6772dd2c76c66893fc96a18a9a33c8cf125af80&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/09/russian-apt-ecosystem/images/fig8.png" title="Figure 8: Energetic Bear fc54d8afd2ce5cb6cc53c46783bf91d0dd19de604308d536827320826bc36ed9" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 8: Energetic Bear fc54d8afd2ce5cb6cc53c46783bf91d0dd19de604308d536827320826bc36ed9&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h3&gt;Potao Main Module &amp;lt;—&amp;gt; X-Agent&lt;span class="hx:absolute hx:-mt-20" id="potao-main-module--x-agent"&gt;&lt;/span&gt;
&lt;a href="#potao-main-module--x-agent" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Both Potao’s main module sample from
&lt;a href="https://www.welivesecurity.com/wp-content/uploads/2015/07/Operation-Potao-Express_final_v2.pdf"target="_blank" rel="noopener"&gt;ESET&amp;rsquo;s publication&lt;/a&gt;
and X-Agent sample which was uncovered by
&lt;a href="https://twitter.com/CNMF_VirusAlert"target="_blank" rel="noopener"&gt;USCYBERCOM&lt;/a&gt; share slightly similar PE
Loader implementation. Due to the low percentage of shared code, we cannot call
if it was originated from a shared codebase or simply a generic implementation
of a PE loader function.&lt;/p&gt;
&lt;h3&gt;Industroyer &amp;lt;—&amp;gt; Exaramel&lt;span class="hx:absolute hx:-mt-20" id="industroyer--exaramel"&gt;&lt;/span&gt;
&lt;a href="#industroyer--exaramel" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;As
&lt;a href="https://www.welivesecurity.com/2018/10/11/new-telebots-backdoor-linking-industroyer-notpetya/"target="_blank" rel="noopener"&gt;published by ESET&lt;/a&gt;
we also observed similar code connecting Exaramel backdoor used by TeleBots
group to Industroyer’s main backdoor component, which suggests Exaramel is a
newer version of this backdoor.&lt;/p&gt;
&lt;h2&gt;Tools тулзы&lt;span class="hx:absolute hx:-mt-20" id="tools-тулзы"&gt;&lt;/span&gt;
&lt;a href="#tools-%d1%82%d1%83%d0%bb%d0%b7%d1%8b" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;We are happy to conclude the results of our research into two open-source
accessible tools. These tools can be an asset for any researcher and security
teams that will investigate or research Russian-related attacks.&lt;/p&gt;
&lt;h3&gt;Russian APT Map&lt;span class="hx:absolute hx:-mt-20" id="russian-apt-map"&gt;&lt;/span&gt;
&lt;a href="#russian-apt-map" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The Russian APT map is a web-based, interactive map that shows the different
families and actors that are part of the Russian APT ecosystem, as well as the
connections between them. The map is basically a one-stop-shop for anyone who
is interested to learn and understand the connections and attributions of the
samples, modules, families, and actors that together comprise this ecosystem.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/09/russian-apt-ecosystem/images/fig9.png" title="Figure 9: The map we created to show the connections inside the ecosystem" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 9: The map we created to show the connections inside the ecosystem&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The map is intuitive and rich with information. The user can get a full
overview of the ecosystem or drill down into specific connections. By clicking
on nodes in the graph, a side panel will reveal, containing information about
the malware family the node belongs to, as well as links to analysis reports on
Intezer’s platform and external links to related articles and publications.
Basically, this side-panel is a short identity-card of the entities on the map.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/09/russian-apt-ecosystem/images/fig10.png" title="Figure 10: A side panel with additional information about the nodes" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 10: A side panel with additional information about the nodes&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The map and its data are available open-sourced in our repository and we are
inviting you all to add more information and improve it.&lt;/p&gt;
&lt;p&gt;Click here to open: &lt;a href="https://apt-ecosystem.com/russia/map/"target="_blank" rel="noopener"&gt;Russian APT Map&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;APT Scanning Tool&lt;span class="hx:absolute hx:-mt-20" id="apt-scanning-tool"&gt;&lt;/span&gt;
&lt;a href="#apt-scanning-tool" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Having access to more than 3.5 million pieces of code that were shared between
the Russian APT samples we gathered, allowed us to understand which unique
genes are popular and more likely to be shared between samples, families, and
actors. We used this knowledge to write a tool that can be used by
organizations, CERT teams, researchers, and individuals to scan a specific
file, a folder, or a whole file system, and search for infections by Russian
APTs.&lt;/p&gt;
&lt;p&gt;The tool, which we named Russian APT Detector, is a set of YARA rules produced
by Intezer’s platform. The rules contain byte-sequences of popular mutual code
between one or more samples. We then wrapped it up in a binary to ease the use
of the tool. The full ruleset can be found in
&lt;a href="https://github.com/ITAYC0HEN/APT-Ecosystem/tree/master/russia/detector"target="_blank" rel="noopener"&gt;our repository&lt;/a&gt;,
and can be used
freely using your favorite YARA scanner. Don’t hesitate to integrate this
ruleset into your platform and toolset.&lt;/p&gt;
&lt;p&gt;Click here to get:
&lt;a href="https://github.com/ITAYC0HEN/APT-Ecosystem/releases/download/0.1/RussianAPTDetector.7z"target="_blank" rel="noopener"&gt;Russian APT Detector&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Results pезультаты&lt;span class="hx:absolute hx:-mt-20" id="results-pезультаты"&gt;&lt;/span&gt;
&lt;a href="#results-p%d0%b5%d0%b7%d1%83%d0%bb%d1%8c%d1%82%d0%b0%d1%82%d1%8b" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;As far as we know, this was the first time that research of this kind, size,
and comprehension was done. Using publicly known information we were able to
gather, classify, and analyze thousands of samples attributed to one of the
most active and advanced cyber-espionage ecosystems, Russia. Throughout this
research, we analyzed and investigated dozens of potential pieces of code-based
evidence that may indicate that code was shared between different Russian
military, government, and intelligence entities.&lt;/p&gt;
&lt;p&gt;The connections we analyzed clearly showed that pieces of code such as
functions, whole or partial module and, encryption schemes were shared between
different teams and projects of the same actor. That means that different
malware families of the same organization are sharing such code. This
information may suggest that different teams, belonging to the same
organization, are aware of each other’s work and operations. By sharing code
with each other, the teams can save hundreds of man-hours and a lot of money.
Instead of re-implementing capabilities that already exist, the teams can focus
on other things and re-use the code. Another benefit of using an existing code
is that most likely, the code was tested in real-life cyber operations and the
team that developed it had an experience of using and improving it. On the
other hand, the price of sharing and re-using code is that when it gets caught
by a security vendor or researchers, the shared pieces of code can be used to
find new samples and families that are using the code. Thus, one detected
family can make more operations fall apart.&lt;/p&gt;
&lt;p&gt;Interestingly, our analysis and observations demonstrate that when it comes to
cross-actor connections, in the vast majority of times, different actors do not
share code. None of the connections we analyzed indicated that some pieces of
code are shared between two or more organizations. We find it very interesting
and unexpected. While we cannot know for sure what brought the organizations in
the Russian APT ecosystem to not share code with one another, we can make some
hypotheses.&lt;/p&gt;
&lt;p&gt;A reasonable option can be that Russia, having one of the most advanced and
strong cyber-espionage capabilities, is aware of the disadvantages of
code-sharing that we listed above. By avoiding different organizations re-using
the same tools on a wide range of targets, they overcome the risk that one
compromised operation will expose other active operations, preventing a
sensitive house of cards from collapsing. According to this assumption, Russia
is willing to invest an enormous amount of money and man-power to write similar
code again and again, instead of sharing tools, libraries or frameworks,
causing redundancy in this parallel activity. If this is true, this can
indicate that operational security has a priceless meaning for the Russian
actors.&lt;/p&gt;
&lt;p&gt;Another hypothesis is that the different organizations do not share code due to
internal politics. Since we are not familiar enough with the politics and the
relationships between Russia’s intelligence organizations, this hypothesis
should be taken with caution. After the dissolution of the Soviet Union, KGB’s
SIGINT unit was succeeded by other special service organizations such as FSB
and SVR. In addition to the successors of KGB’s signal intelligence functions,
there is another organization, The Main Directorate of the General Staff of the
Armed Forces of the Russian Federation, or in short—GRU. Out of these special
services, the GRU likely possesses the finest technological and operational
capabilities. Sharing the responsibility for cyber-espionage operations between
several groups (which is not rare) might cause problems such as
miscommunication, redundant work, duplicate targets, and ego.&lt;/p&gt;
&lt;p&gt;As briefly mentioned earlier, our research confirmed connections that were
previously found by other security vendors. Some of these connections were
proved before and others were only suspected. We are now able to back these
claims with code-based evidence, such as Industroyer – TeleBots code
connections discussed previously.&lt;/p&gt;
&lt;p&gt;Finally, we concluded our research into two tools that we are publicly sharing
with the research community. The Russian APT Map and the Russian APT Detector
are thoroughly described in previous chapters in this article.&lt;/p&gt;
&lt;h2&gt;Acknowledgments благодарности&lt;span class="hx:absolute hx:-mt-20" id="acknowledgments-благодарности"&gt;&lt;/span&gt;
&lt;a href="#acknowledgments-%d0%b1%d0%bb%d0%b0%d0%b3%d0%be%d0%b4%d0%b0%d1%80%d0%bd%d0%be%d1%81%d1%82%d0%b8" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;We want to thank our team leaders, Mark Lechtik and Ari Eitan, for accompanying
us in this research, for helping us a lot and for always giving interesting and
important insights. We would also like to thank our colleagues from
&lt;a href="https://www.welivesecurity.com/"target="_blank" rel="noopener"&gt;ESET&lt;/a&gt; for providing some of the samples. And
last but not least is our colleague Paul Litvak, who helped us with completing
the APT Detector tool.&lt;/p&gt;</description></item><item><title>EvilGnome: Rare Malware Spying on Linux Desktop Users</title><link>https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/</link><pubDate>Wed, 17 Jul 2019 00:00:00 +0000</pubDate><guid>https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/</guid><description>
&lt;h2&gt;Introduction&lt;span class="hx:absolute hx:-mt-20" id="introduction"&gt;&lt;/span&gt;
&lt;a href="#introduction" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Linux desktop remains an unpopular choice among mainstream desktop users,
making up a little more than
&lt;a href="https://netmarketshare.com/operating-system-market-share.aspx?options=%7B%22filter%22%3A%7B%22%24and%22%3A%5B%7B%22deviceType%22%3A%7B%22%24in%22%3A%5B%22Desktop%2Flaptop%22%5D%7D%7D%5D%7D%2C%22dateLabel%22%3A%22Trend%22%2C%22attributes%22%3A%22share%22%2C%22group%22%3A%22platform%22%2C%22sort%22%3A%7B%22share%22%3A-1%7D%2C%22id%22%3A%22platformsDesktop%22%2C%22dateInterval%22%3A%22Monthly%22%2C%22dateStart%22%3A%222018-07%22%2C%22dateEnd%22%3A%222019-06%22%2C%22segments%22%3A%22-1000%22%7D"target="_blank" rel="noopener"&gt;2%&lt;/a&gt;
of the desktop operating system market share. This is in contrast to the web
server market share, which consists of
&lt;a href="https://w3techs.com/technologies/overview/operating_system/all"target="_blank" rel="noopener"&gt;70%&lt;/a&gt; of
Linux-based operating systems. Consequently, the Linux malware ecosystem is
plagued by financial driven crypto-miners and DDoS botnet tools which mostly
target vulnerable servers.&lt;/p&gt;
&lt;p&gt;This explains our surprise when in the beginning of July, we discovered a new,
fully undetected &lt;strong&gt;Linux backdoor implant&lt;/strong&gt;, containing rarely seen
functionalities with regards to Linux malware, targeting desktop users.&lt;/p&gt;
&lt;p&gt;Throughout our investigation, we have found evidence that shows operational
similarities between this implant and &lt;strong&gt;Gamaredon Group&lt;/strong&gt;. We have investigated
this connection and in this blog we will present a technical analysis of the
tool.&lt;/p&gt;
&lt;p&gt;We have named the implant &lt;strong&gt;EvilGnome&lt;/strong&gt;, for its disguise as a Gnome extension.
The malware is currently fully undetected across all major security solutions:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig1.png" title="Figure 1: VirusTotal detections of an EvilGnome sample" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 1: VirusTotal detections of an EvilGnome sample&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;We believe this is a test version that was uploaded to VirusTotal, perhaps by
mistake. The implant contains an unfinished keylogger functionality, comments,
symbol names and compilation metadata which typically do not appear in
production versions. EvilGnome&amp;rsquo;s functionalities include desktop screenshots,
file stealing, allowing capturing audio recording from the user&amp;rsquo;s microphone
and the ability to download and execute further modules.&lt;/p&gt;
&lt;h2&gt;Gamaredon Group Connection&lt;span class="hx:absolute hx:-mt-20" id="gamaredon-group-connection"&gt;&lt;/span&gt;
&lt;a href="#gamaredon-group-connection" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;a href="https://unit42.paloaltonetworks.com/unit-42-title-gamaredon-group-toolset-evolution/"target="_blank" rel="noopener"&gt;Gamaredon Group&lt;/a&gt;
is an alleged Russian threat group. It has been active since at least 2013, and
has targeted individuals likely involved with the Ukrainian government.
Gamaredon Group infects victims using malicious attachments, delivered via
spear phishing techniques. The group&amp;rsquo;s implants are characterized by the
employment of information stealing tools—among them being screenshot and
document stealers delivered via a SFX, and made to achieve persistence through
a scheduled task. Gamaredon Group primarily makes use of Russian hosting
providers in order to distribute its malware.&lt;/p&gt;
&lt;p&gt;Our investigation into EvilGnome yielded several similarities between the
threat actors behind EvilGnome and Gamaredon Group:&lt;/p&gt;
&lt;h3&gt;Hosting Similarities&lt;span class="hx:absolute hx:-mt-20" id="hosting-similarities"&gt;&lt;/span&gt;
&lt;a href="#hosting-similarities" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The operators of EvilGnome use a hosting provider that has been used by
Gamaredon Group for years, and continues to be used by the group.&lt;/p&gt;
&lt;p&gt;More specifically, EvilGnome&amp;rsquo;s C2 IP address (&lt;code&gt;195.62.52.101&lt;/code&gt;) was resolved two
months ago by the domains &lt;code&gt;gamework.ddns.net&lt;/code&gt; and &lt;code&gt;workan.ddns.net&lt;/code&gt;,
&lt;a href="https://x.threatbook.cn/nodev4/vb4/article?threatInfoID=1417"target="_blank" rel="noopener"&gt;associated&lt;/a&gt; with
the Gamaredon Group:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig2.png" title="Figure 2: RiskIQ EvilGnome C2 IP query" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 2: RiskIQ EvilGnome C2 IP query&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;We used &lt;a href="https://community.riskiq.com/search/gamework.ddns.net"target="_blank" rel="noopener"&gt;RiskIQ&lt;/a&gt; to map
the history of the &lt;code&gt;gamework.ddns.net&lt;/code&gt; domain:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig3.png" title="Figure 3: gamework.ddns.net DNS timeline" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 3: gamework.ddns.net DNS timeline&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The finding shows that EvilGnome operates on an IP address that was controlled
by the Gamaredon group two months ago.&lt;/p&gt;
&lt;h3&gt;Infrastructure Similarities&lt;span class="hx:absolute hx:-mt-20" id="infrastructure-similarities"&gt;&lt;/span&gt;
&lt;a href="#infrastructure-similarities" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;While investigating the EvilGnome C2, we observed that it served SSH over port
3436.&lt;/p&gt;
&lt;p&gt;We then checked for the 3436 port over three currently operating Gamaredon
Group C2 servers, and found one server with this port open, serving SSH:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig4.png" title="Figure 4: SSH served on port 3436 both on EvilGnome C2 and Gamaredons rnbo-ua.ddns.net" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 4: SSH served on port 3436 both on EvilGnome C2 and Gamaredons rnbo-ua.ddns.net&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;We proceeded to scan for this network fingerprint under EvilGnome&amp;rsquo;s host
provider and we identified two additional servers with domain names similar to
the naming pattern of Gamaredon domains (the use of the .space TTLD and ddns):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;185.158.115.44&lt;/code&gt; -&amp;gt; &lt;a href="https://community.riskiq.com/search/kotl.space"target="_blank" rel="noopener"&gt;kotl.space&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;185.158.115.154&lt;/code&gt; -&amp;gt; &lt;a href="https://community.riskiq.com/search/clsass.ddns.net"target="_blank" rel="noopener"&gt;clsass.ddns.net&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Tool Similarities&lt;span class="hx:absolute hx:-mt-20" id="tool-similarities"&gt;&lt;/span&gt;
&lt;a href="#tool-similarities" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Gamaredon Group does not use any known Linux implants. It is difficult to make
comparisons between tools built for different operating systems because they
are developed with different challenges and objectives in mind. We can,
however, observe similarities at a high-level. The techniques and modules
employed by EvilGnome—that is the use of SFX, persistence with task scheduler
and the deployment of information stealing tools—remind us of Gamaredon Group&amp;rsquo;s
Windows tools. We present a thorough analysis of EvilGnome in the following
section.&lt;/p&gt;
&lt;h2&gt;Technical Analysis&lt;span class="hx:absolute hx:-mt-20" id="technical-analysis"&gt;&lt;/span&gt;
&lt;a href="#technical-analysis" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;h3&gt;Deployment with Makeself SFX&lt;span class="hx:absolute hx:-mt-20" id="deployment-with-makeself-sfx"&gt;&lt;/span&gt;
&lt;a href="#deployment-with-makeself-sfx" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;This implant is delivered in the form of a self-extracting archive shell script
created with &lt;a href="https://github.com/megastep/makeself"target="_blank" rel="noopener"&gt;makeself&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;ldquo;&lt;a href="https://makeself.io/"target="_blank" rel="noopener"&gt;makeself.sh&lt;/a&gt; is a small shell script that generates a
self-extractable compressed tar archive from a directory. The resulting file
appears as a shell script (many of those have a &lt;code&gt;.run&lt;/code&gt; suffix), and can be
launched as is. The archive will then uncompress itself to a temporary
directory and an optional arbitrary command will be executed (for example an
installation script). This is pretty similar to archives generated with
WinZip Self-Extractor in the Windows world.&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Interestingly, the tool&amp;rsquo;s operator did not omit metadata from the generated
makeself SFX. The packaging date, development paths and the tool&amp;rsquo;s filename
were all left exposed. We can observe that the sample is very recent, created
on Thursday, July 4:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig5.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig6.png" title="Figure 5: Makeself packaging metadata and the archived files metadata" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 5: Makeself packaging metadata and the archived files metadata&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;As can be observed in the illustration above, the makeself script is instructed
to run &lt;code&gt;./setup.sh&lt;/code&gt; after unpacking.&lt;/p&gt;
&lt;p&gt;Using &lt;code&gt;makeself&lt;/code&gt;&amp;rsquo;s options, we are able to instruct the script to unpack itself
without executing:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig7.png" title="Figure 6: Unpacking Makeself" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 6: Unpacking Makeself&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The archive contains four files:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;gnome-shell-ext&lt;/code&gt; - the spy agent executable&lt;/li&gt;
&lt;li&gt;&lt;code&gt;gnome-shell-ext.sh&lt;/code&gt; - checks if &lt;code&gt;gnome-shell-ext&lt;/code&gt; is already running and if
not, executes it&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rtp.dat&lt;/code&gt; - configuration file for &lt;code&gt;gnome-shell-ext&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;setup.sh&lt;/code&gt; - the setup script that is run by makeself after unpacking&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The setup script installs the agent to
&lt;code&gt;~/.cache/gnome-software/gnome-shell-extensions/&lt;/code&gt;, in an attempt to masquerade
itself as a Gnome shell extension. Gnome shell extensions allow tweaking the
Gnome desktop and add functionalities. They are the desktop equivalent to
browser extensions.&lt;/p&gt;
&lt;p&gt;Persistence is achieved by registering &lt;code&gt;gnome-shell-ext.sh&lt;/code&gt; to run every minute
in crontab.&lt;/p&gt;
&lt;p&gt;Finally, the script executes &lt;code&gt;gnome-shell-ext.sh&lt;/code&gt;, which in turn launches the
main executable &lt;code&gt;gnome-shell-ext&lt;/code&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig8.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig9.png" title="Figure 7: setup.sh" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 7: setup.sh&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h3&gt;The Spy Agent&lt;span class="hx:absolute hx:-mt-20" id="the-spy-agent"&gt;&lt;/span&gt;
&lt;a href="#the-spy-agent" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;Analyzing the agent with Intezer Analyze demonstrated to us that the code was
never seen before by the system:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig10.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Figure 8:
&lt;a href="https://analyze.intezer.com/?utm_campaign=research-blog&amp;amp;utm_content=evilgnome-rare-malware-spying-on-linux-desktop-users&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com#/analyses/8db39fae-8f82-42b2-9816-b353a7dbb16b"target="_blank" rel="noopener"&gt;Intezer Analyze report of the Spy Agent sample&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This large amount of unique genes located within this file is not a trend we
regularly see in Linux files and therefore it seems suspicious.&lt;/p&gt;
&lt;p&gt;The Spy Agent was built in C++, using classes with an object oriented
structure. The binary was not stripped, which allowed us to read symbols and
understand the developer&amp;rsquo;s intentions.&lt;/p&gt;
&lt;p&gt;At launch, the agent forks to run in a new process. The agent then reads the
&lt;code&gt;rtp.dat&lt;/code&gt; configuration file and loads it directly into memory:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig11.png" title="Figure 9: Loading configuration from rtp.dat" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 9: Loading configuration from rtp.dat&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;We marked interesting fields within the configuration file:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig12.png" title="Figure 10: Configuration dissection" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 10: Configuration dissection&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The first four bytes are a hexadecimal representation of the C2&amp;rsquo;s IP address:&lt;/p&gt;
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;0x65343ec3 -&amp;gt; 0xc3.0x3e.0x34.0x65 -&amp;gt; 195.62.52.101&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;Modules&lt;span class="hx:absolute hx:-mt-20" id="modules"&gt;&lt;/span&gt;
&lt;a href="#modules" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The spy agent contains five modules called &amp;ldquo;Shooters&amp;rdquo;:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig13.png" title="Figure 11: Shooter modules" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 11: Shooter modules&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ShooterSound&lt;/code&gt; - captures audio from the user&amp;rsquo;s microphone and uploads to C2&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ShooterImage&lt;/code&gt; - captures screenshots and uploads to C2&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ShooterFile&lt;/code&gt; - scans the file system for newly created files and uploads them
to C2&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ShooterPing&lt;/code&gt; - receives new commands from C2&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ShooterKey&lt;/code&gt; - unimplemented and unused, most likely an unfinished keylogging
module&lt;/p&gt;
&lt;p&gt;Each module is run in a separate thread, and access to shared resources (such
as the configuration) is safeguarded by mutexes.&lt;/p&gt;
&lt;p&gt;The modules encrypt their output and decrypt data from the C2 with RC5 with the
key &amp;ldquo;&lt;code&gt;sdg62_AS.sa$die3&lt;/code&gt;&amp;rdquo;, using a modified version of a Russian open source
library
&lt;a href="https://webhamster.ru/site/page/index/articles/projectcode/157"target="_blank" rel="noopener"&gt;https://webhamster.ru/site/page/index/articles/projectcode/157&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig14.png" title="Figure 12: RC5 library" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 12: RC5 library&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;On connection failure, or if instructed by the C2, these modules store their
output at &lt;code&gt;~/.cache/gnome-software/gnome-shell-extensions/tmp/&lt;/code&gt;:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig15.png" title="Figure 13: Stored files" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 13: Stored files&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;We will now dive into each of the five modules and their options:&lt;/p&gt;
&lt;h4&gt;ShooterPing&lt;span class="hx:absolute hx:-mt-20" id="shooterping"&gt;&lt;/span&gt;
&lt;a href="#shooterping" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;p&gt;The ShooterPing module processes commands received from the C2:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig16.png" title="Figure 14: C2 commands" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 14: C2 commands&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;These include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Download &amp;amp; execute new files&lt;/li&gt;
&lt;li&gt;Set new filters for file scanning&lt;/li&gt;
&lt;li&gt;Download &amp;amp; set new runtime configuration&lt;/li&gt;
&lt;li&gt;Exfiltrate stored output to C2&lt;/li&gt;
&lt;li&gt;Stop the shooter modules from running&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The other modules run at a constant interval between each run, as defined by
one of the configuration parameters. The C2 is able to control this interval
via downloading new parameters through ShooterPing.&lt;/p&gt;
&lt;h4&gt;ShooterFile&lt;span class="hx:absolute hx:-mt-20" id="shooterfile"&gt;&lt;/span&gt;
&lt;a href="#shooterfile" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;p&gt;The ShooterFile module uses a filter list to scan the filesystem, while
ignoring specific files and folders as shown in the following illustration:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig17.png" title="Figure 15: File scanning filter" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 15: File scanning filter&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;We can see from the &lt;code&gt;filter_accepted_files&lt;/code&gt; list that the agent&amp;rsquo;s purpose is to
steal document related files. However, the list is not used by the malware and
further indicates that this is a work in progress.&lt;/p&gt;
&lt;h4&gt;ShooterAudio&lt;span class="hx:absolute hx:-mt-20" id="shooteraudio"&gt;&lt;/span&gt;
&lt;a href="#shooteraudio" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig18.png" title="Figure 16: Capturing audio with PulseAudio" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 16: Capturing audio with PulseAudio&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The ShooterAudio module uses PulseAudio to capture audio from the user&amp;rsquo;s
microphone.&lt;/p&gt;
&lt;p&gt;Using default configuration from &lt;code&gt;rtp.dat&lt;/code&gt;, the module records only a size of
80,000 bytes of audio per iteration. Consequently, the module only records
audio for a brief moment, making this module non-functional until a larger
recording size is set by the C2.&lt;/p&gt;
&lt;h4&gt;ShooterImage&lt;span class="hx:absolute hx:-mt-20" id="shooterimage"&gt;&lt;/span&gt;
&lt;a href="#shooterimage" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;p&gt;This module opens a connection to the XOrg Display Server, which is the backend
to the Gnome desktop. It uses the Cairo open source library to take screenshots
of the user&amp;rsquo;s desktop.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig19.png" title="Figure 17: Screenshot capturing using XOrg Server" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Figure 17: Screenshot capturing using XOrg Server&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;h2&gt;Prevention and Response&lt;span class="hx:absolute hx:-mt-20" id="prevention-and-response"&gt;&lt;/span&gt;
&lt;a href="#prevention-and-response" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;We recommend to Linux users who want to check whether they are infected to
check the &lt;code&gt;~/.cache/gnome-software/gnome-shell-extensions&lt;/code&gt; directory for the
&lt;code&gt;gnome-shell-ext&lt;/code&gt; executable. We have also created a custom
&lt;a href="https://github.com/intezer/yara-rules/blob/master/EvilGnome.yar"target="_blank" rel="noopener"&gt;YARA rule&lt;/a&gt;,
based on code reuse technology, for detecting future variants of EvilGnome.&lt;/p&gt;
&lt;h2&gt;Conclusion&lt;span class="hx:absolute hx:-mt-20" id="conclusion"&gt;&lt;/span&gt;
&lt;a href="#conclusion" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;EvilGnome is a rare type of malware due to its appetite for Linux desktop
users. Throughout this post, we have presented detailed infrastructure-related
evidence to connect EvilGnome to the actors behind the Gamaredon Group. We
believe this is a premature test version. We anticipate newer versions to be
discovered and reviewed in the future, which could potentially shed more light
into the group&amp;rsquo;s operations.&lt;/p&gt;
&lt;h2&gt;Genetic Analysis&lt;span class="hx:absolute hx:-mt-20" id="genetic-analysis"&gt;&lt;/span&gt;
&lt;a href="#genetic-analysis" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;The EvilGnome malware variant is now indexed in Intezer&amp;rsquo;s genetic database. If
you have a suspicious file that you suspect to be EvilGnome, you can upload it
to Intezer Analyze in order to detect code reuse to this threat family and many
others. You are welcome to
&lt;a href="https://analyze.intezer.com/?utm_campaign=research-blog&amp;amp;utm_content=evilgnome-rare-malware-spying-on-linux-desktop-users&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com#/"target="_blank" rel="noopener"&gt;try it for free in our community edition&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2019/07/evilgnome-rare-malware-spying-on-linux-desktop-users/images/fig20.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Figure 18:
&lt;a href="https://analyze.intezer.com/?utm_campaign=research-blog&amp;amp;utm_content=evilgnome-rare-malware-spying-on-linux-desktop-users&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com#/analyses/eeec2273-82ac-4190-b434-8ffb304deeef"target="_blank" rel="noopener"&gt;Intezer Analyze report of the Spy Agent sample&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;IOCs&lt;span class="hx:absolute hx:-mt-20" id="iocs"&gt;&lt;/span&gt;
&lt;a href="#iocs" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;h3&gt;EvilGnome&lt;span class="hx:absolute hx:-mt-20" id="evilgnome"&gt;&lt;/span&gt;
&lt;a href="#evilgnome" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;a21acbe7ee77c721f1adc76e7a7799c936e74348d32b4c38f3bf6357ed7e8032
82b69954410c83315dfe769eed4b6cfc7d11f0f62e26ff546542e35dcd7106b7
7ffab36b2fa68d0708c82f01a70c8d10614ca742d838b69007f5104337a4b869
195.62.52[.]101&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;Gamaredon Group&lt;span class="hx:absolute hx:-mt-20" id="gamaredon-group"&gt;&lt;/span&gt;
&lt;a href="#gamaredon-group" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;185.158.115[.]44
185.158.115[.]154
clsass.ddns[.]net
kotl[.]space&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;</description></item><item><title>NotPetya Returns as Bad Rabbit</title><link>https://research.intezer.com/blog/2017/10/notpetya-returns-bad-rabbit/</link><pubDate>Wed, 25 Oct 2017 00:00:00 +0000</pubDate><guid>https://research.intezer.com/blog/2017/10/notpetya-returns-bad-rabbit/</guid><description>
&lt;p&gt;Large scale cyber attacks seem to be happening once a month these days.
Originally discovered by
&lt;a href="https://www.welivesecurity.com/2017/10/24/kiev-metro-hit-new-variant-infamous-diskcoder-ransomware/"target="_blank" rel="noopener"&gt;ESET&lt;/a&gt;,
Ukrainian and Russian organizations have been hit with the latest ransomware
attack named Bad Rabbit. At the time of writing this post, the ransomware has
believed to have originated from compromised webpages with a fake popup for
updating Adobe Flash Player. It has been reported that much of the behavior of
Bad Rabbit has been similar to a previous ransomware known as NotPetya.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2017/10/notpetya-returns-bad-rabbit/images/fig1.png" title="Screenshot from ESET report, after ransomware has infected a computer" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Screenshot from ESET report, after ransomware has infected a computer&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Using Intezer Analyze™, we have found code reuse from NotPetya throughout
different binaries of Bad Rabbit.&lt;/p&gt;
&lt;p&gt;The Bad Rabbit loader, with the original name (install_flash_player.exe) and
metadata (Adobe Systems Incorporated as the company and Adobe Flash Player
Installer/Uninstaller), was made to look like the Adobe Flash Player installer.
You can see in the screenshot below that according to our analysis, the binary
did not contain any code from any Adobe product but does contain code from
NotPetya. In fact, we find that 27% of the code in the loader has been seen in
only NotPetya samples. Find the public report
&lt;a href="https://analyze.intezer.com/?utm_campaign=research-blog&amp;amp;utm_content=notpetya-returns-bad-rabbit&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com#/analyses/6ba279af-8ce2-46c6-8b86-5fa65a5ed42a"target="_blank" rel="noopener"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2017/10/notpetya-returns-bad-rabbit/images/fig2.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;Below is a direct comparison of function (&lt;code&gt;0x1000C244&lt;/code&gt;) of NotPetya
(&lt;code&gt;027cc450ef5f8c5f653329641ec1fed91f694e0d229928963b30f6b0d7d3a745&lt;/code&gt;) and
function (&lt;code&gt;0x4033B4&lt;/code&gt;) of the Bad Rabbit loader
(&lt;code&gt;630325cac09ac3fab908f903e3b00d0dadd5fdaa0875ed8496fcbb97a558d0da&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2017/10/notpetya-returns-bad-rabbit/images/fig3.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;Another example of code reuse in the loader from a function that seems to
initialize some type of struct.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2017/10/notpetya-returns-bad-rabbit/images/fig4.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;#BadRabbit (#NotPetya v2) unpacked DLL: infpub.dat : &lt;a href="https://t.co/Ey5Yffsn74"target="_blank" rel="noopener"&gt;https://t.co/Ey5Yffsn74&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;— hasherezade (@hasherezade)
&lt;a href="https://x.com/hasherezade/status/922867095997681664?ref_src=twsrc%5Etfw"target="_blank" rel="noopener"&gt;October 24, 2017&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The final module that gets loaded and is responsible for encrypting the files
on disk (&lt;code&gt;579fd8a0385482fb4c789561a30b09f25671e86422f40ef5cca2036b28f99648&lt;/code&gt;)
also has a code connection with NotPetya samples. According to our technology,
we can see that 13% of the code has been reused. You can find the public report
&lt;a href="https://analyze.intezer.com/?utm_campaign=research-blog&amp;amp;utm_content=notpetya-returns-bad-rabbit&amp;amp;utm_medium=referral&amp;amp;utm_source=research.intezer.com#/analyses/d41e8a98-a106-4b4f-9b7c-fd9e2c80ca7d"target="_blank" rel="noopener"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;#badrabbit found to have 13% code reuse of #notpetya #petya here&amp;rsquo;s a public
report with the unpacked sample: &lt;a href="https://t.co/NOIul4yLVT"target="_blank" rel="noopener"&gt;https://t.co/NOIul4yLVT&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;— Jay Rosenberg (@jaytezer)
&lt;a href="https://x.com/jaytezer/status/922875751174758400?ref_src=twsrc%5Etfw"target="_blank" rel="noopener"&gt;October 24, 2017&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2017/10/notpetya-returns-bad-rabbit/images/fig5.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;Below is a screenshot comparing a function (&lt;code&gt;0x1000777B&lt;/code&gt;) of NotPetya (&lt;code&gt;027cc450ef5f8c5f653329641ec1fed91f694e0d229928963b30f6b0d7d3a745&lt;/code&gt;) and a function (&lt;code&gt;0x1000733&lt;/code&gt;C) of the encryptor module of Bad Rabbit (&lt;code&gt;579fd8a0385482fb4c789561a30b09f25671e86422f40ef5cca2036b28f99648&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2017/10/notpetya-returns-bad-rabbit/images/fig6.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;The next screenshot is of another matching function between the two samples.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2017/10/notpetya-returns-bad-rabbit/images/fig7.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;As you can see in this attack, and in many other cases, malware authors constantly reuse their code. By recognizing code reuse, you force malware authors to rewrite code and come up with new techniques to avoid detection. This changes the playing field and makes it far less cost effective for malware authors and cyber crime organizations.&lt;/p&gt;
&lt;p&gt;IOCs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;630325cac09ac3fab908f903e3b00d0dadd5fdaa0875ed8496fcbb97a558d0da&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;8ebc97e05c8e1073bda2efb6f4d00ad7e789260afa2c276f0c72740b838a0a93&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;579fd8a0385482fb4c789561a30b09f25671e86422f40ef5cca2036b28f99648&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>New Variants of Agent.BTZ/ComRAT Found: The Threat That Hit The Pentagon In 2008 Still Evolving; Part 2/2</title><link>https://research.intezer.com/blog/2017/09/new-variants-of-agent-btz-comrat-found-part-2/</link><pubDate>Wed, 13 Sep 2017 00:00:00 +0000</pubDate><guid>https://research.intezer.com/blog/2017/09/new-variants-of-agent-btz-comrat-found-part-2/</guid><description>
&lt;p&gt;&lt;a href="../../../2017/08/new-variants-of-agent-btz-comrat-found/"&gt;Our previous blog&lt;/a&gt;
post was a short brief of new Agent.BTZ variants that we found. This second
part in the series will demonstrate in greater detail exactly how we discovered
these new variants.&lt;/p&gt;
&lt;h2&gt;Methodology&lt;span class="hx:absolute hx:-mt-20" id="methodology"&gt;&lt;/span&gt;
&lt;a href="#methodology" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;To begin, we used our hunting methodology, which consist of four main parts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Collection: Collect multiple samples from different versions.&lt;/li&gt;
&lt;li&gt;Analysis: Mark functions that have stayed consistent across all versions that
are likely to be a part of the next version.&lt;/li&gt;
&lt;li&gt;Creating a signature: Create a robust yet flexible YARA rule for these
functions.&lt;/li&gt;
&lt;li&gt;Hunting: Search a large repository of files with that YARA rule (VirusTotal,
for example).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Why focus on Agent.BTZ?&lt;span class="hx:absolute hx:-mt-20" id="why-focus-on-agentbtz"&gt;&lt;/span&gt;
&lt;a href="#why-focus-on-agentbtz" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;We chose to focus on Agent.BTZ for several reasons: First, This is one of the
oldest state-sponsored threat, developed and operated by the Turla group since
(at least) 2007 for dozens of targeted attacks.&lt;/p&gt;
&lt;p&gt;Second, there is also a lot of public knowledge regarding
&lt;a href="../../../2017/08/new-variants-of-agent-btz-comrat-found/"&gt;Agent.BTZ&lt;/a&gt;
specifically and Turla group in general available online, including intel
reports, technical analyses and malware samples, which we used for our
research.&lt;/p&gt;
&lt;p&gt;Third is the fact that this specific malware has remained out of public view
for the last two to three years; however, we recognized that it wasn’t likely
to disappear–it has just continued to fly under the radar.&lt;/p&gt;
&lt;h2&gt;Do the math&lt;span class="hx:absolute hx:-mt-20" id="do-the-math"&gt;&lt;/span&gt;
&lt;a href="#do-the-math" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;We based our research on an earlier publication from three years ago:
&amp;ldquo;Evolution of sophisticated spyware: from Agent.BTZ to ComRAT&amp;rdquo; by Paul
Rascagnères of GDATA (at the time). In this excellent blog post, Paul described
the evolution of Agent.BTZ to ComRAT between 2007-2014 by manually diffing
(BinDiff) two different candidates from each major internal hard-coded version
(referred by the authors as &amp;ldquo;Ch&amp;rdquo; or &amp;ldquo;PVer&amp;rdquo;).&lt;/p&gt;
&lt;p&gt;The following table shows the code’s similarity between each version to its
direct neighbors. By summing up the data in this table we can conclude that, in
general, about ~30% of the original code has been used in every version up to
the latest known version as of 2014 (marked in red).&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2017/09/new-variants-of-agent-btz-comrat-found-part-2/images/fig1.png" title="https://www.gdatasoftware.com/blog/2015/01/23927-evolution-of-sophisticated-spyware-from-agent-btz-to-comrat" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;https://www.gdatasoftware.com/blog/2015/01/23927-evolution-of-sophisticated-spyware-from-agent-btz-to-comrat&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Obviously this 30% isn’t comprised of totally unique code made by Agent.BTZ’s
developers; rather, it is a mixture made of mostly common code that can be
found in many more software products (both legit and malware). For example,
these could include C Runtime Library or any other 3rd party library such as
zlib. Using Intezer’s technology, we were able to do a ‘deep dive’ into this
code, automatically mapping all of the common, library and (most importantly)
unique pieces of code created by the malware’s authors.&lt;/p&gt;
&lt;h2&gt;Mysterious magic number&lt;span class="hx:absolute hx:-mt-20" id="mysterious-magic-number"&gt;&lt;/span&gt;
&lt;a href="#mysterious-magic-number" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;After filtering out all of the common and library code, we were left with
several unique functions that can be found in every version of the malware
since 2007. The most prominent is the following function:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2017/09/new-variants-of-agent-btz-comrat-found-part-2/images/fig2.png" title="Mysterious magic number" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Mysterious magic number&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;In the picture you can see the two, almost identical functions from the first
version (Ch 1.0) on the right and the latest version (Ch 3.26) of Agent.BTZ on
the left. This function is initially reading first four bytes of a given file,
and then comparing them for the magic number 0xAAFF1290 (marked in red). If it
matches, the function will return true; otherwise, it is false.&lt;/p&gt;
&lt;p&gt;So, what is this magic number? Which file is it? We were actually unable to
find the function that creates this file within the same binary (ver 3.26). The
function shown above is the only reference to that magic number. Luckily, while
re-reading old ThreatExpert’s Agent.BTZ analysis from 2008 we happened to
notice the following paragraph:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2017/09/new-variants-of-agent-btz-comrat-found-part-2/images/fig3.png" title="http://blog.threatexpert.com/2008/11/agentbtz-threat-that-hit-pentagon.html" alt="" loading="lazy" /&gt;
&lt;figcaption&gt;http://blog.threatexpert.com/2008/11/agentbtz-threat-that-hit-pentagon.html&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;So now we know that this function is used to verify thumb.dd files, which are
log/config files leaked over newly-connected USB drives (to overcome air-gapped
networks, like those of the Pentagon). But wait… why didn’t we found the
function which creates these files? Because the USB-infection vector was
removed few years earlier! &lt;strong&gt;And yet the adversary is still looking for these
valuable thumb.dd files…&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2017/09/new-variants-of-agent-btz-comrat-found-part-2/images/fig4.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;h2&gt;Hunting for new variants&lt;span class="hx:absolute hx:-mt-20" id="hunting-for-new-variants"&gt;&lt;/span&gt;
&lt;a href="#hunting-for-new-variants" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;So far, we know that this function exists, and it has stayed consistent across
all versions of the malware; we know what it does (verify certain magic number)
and why (detect thumb.dd files leaked from internal network by older versions
of the malware). By that information, we can tell that it’s likely to be used
in future versions as well.&lt;/p&gt;
&lt;p&gt;The next step involves writing a dedicated YARA rule(see appendix) for that
specific function and searching for new samples. The rule has to be tolerant to
minor changes between versions (mainly due to different compilation flags).
Using the VirusTotal Intelligence service, we were able to scan about 2-3
months’ worth of file uploads. As soon as the scan finished, we dug into the
results and &lt;strong&gt;discovered this first new variant of Agent.BTZ that wasn’t yet
mentioned in any public report&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2017/09/new-variants-of-agent-btz-comrat-found-part-2/images/fig5.png" title="A screenshot from the Intezer Analyze™ product displaying partial code connections between new sample to old samples of Agent.BTZ(Turla group)." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;A screenshot from the Intezer Analyze™ product displaying partial code connections between new sample to old samples of Agent.BTZ(Turla group).&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;This
&lt;a href="https://www.virustotal.com/en/file/6ad78f069c3619d0d18eef8281219679f538cfe0c1b6d40b244beb359762cf96/analysis/"target="_blank" rel="noopener"&gt;specific file&lt;/a&gt;
was supposedly compiled at 2016-07-13 (the timestamp was modified in some of
the earlier samples) and uploaded to VT 2017-05-11, which means that this
sample is at least two years newer than any previous sample.&lt;/p&gt;
&lt;h2&gt;Main differences between old(3.26) &amp;amp; new samples&lt;span class="hx:absolute hx:-mt-20" id="main-differences-between-old326--new-samples"&gt;&lt;/span&gt;
&lt;a href="#main-differences-between-old326--new-samples" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;Filename
&lt;ul&gt;
&lt;li&gt;New file names
&lt;ul&gt;
&lt;li&gt;activeds.dll – proxy dll&lt;/li&gt;
&lt;li&gt;stdole2.tlb – main payload&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Exports&lt;/li&gt;
&lt;li&gt;AddAtomS removed
&lt;ul&gt;
&lt;li&gt;Legacy stub function&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;AddAtomT removed
&lt;ul&gt;
&lt;li&gt;Legacy installation function&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;UnInstallW added
&lt;ul&gt;
&lt;li&gt;Force delete file. Used by new dropper for self delete.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;PVer(internal version tracking)
&lt;ul&gt;
&lt;li&gt;random version id(see following picture) instead of incremental, might be
due to GDATA’s 2014 publications.
&lt;ul&gt;
&lt;li&gt;For example:
&lt;ul&gt;
&lt;li&gt;0.8.1529506101&lt;/li&gt;
&lt;li&gt;0.9.1528434231&lt;/li&gt;
&lt;li&gt;…&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Persistence(COM Hijacking)
&lt;ul&gt;
&lt;li&gt;New CLSID
&lt;ul&gt;
&lt;li&gt;{DFFACDC5-679F-4156-8947-C5C76BC0B67F}&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;C2 Infrastructure&lt;/li&gt;
&lt;li&gt;Both using “Satellite Turla” infrastructure&lt;/li&gt;
&lt;li&gt;Config &amp;amp; Log Files&lt;/li&gt;
&lt;li&gt;Same 512 bytes encryption key as 3.26&lt;/li&gt;
&lt;li&gt;Different file paths:&lt;/li&gt;
&lt;li&gt;config: &lt;code&gt;%appdata%\Microsoft\Windows\PrivacIE\High\desktop.ini&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;log: &lt;code&gt;%appdata%\Microsoft\Windows\PrivacIE\High\index.dat&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Indicators of Compromise&lt;span class="hx:absolute hx:-mt-20" id="indicators-of-compromise"&gt;&lt;/span&gt;
&lt;a href="#indicators-of-compromise" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;h3&gt;Files&lt;span class="hx:absolute hx:-mt-20" id="files"&gt;&lt;/span&gt;
&lt;a href="#files" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;69690f609140db503463daf6a3699f1bf3e2a5a6049cefe7e6437f762040e548 dropper
6798b3278ae926b0145ee342ee9840d0b2e6ba11ff995c2bc84d3c6eb3e55ff4 dropper
73db4295c5b29958c5d93c20be9482c1efffc89fc4e5c8ba59ac9425a4657a88 activeds.dll
50067ebcc2d2069b3613a20b81f9d61f2cd5be9c85533c4ea34edbefaeb8a15f activeds.dll
380b0353ba8cd33da8c5e5b95e3e032e83193019e73c71875b58ec1ed389bdac activeds.dll
9c163c3f2bd5c5181147c6f4cf2571160197de98f496d16b38c7dc46b5dc1426 activeds.dll
628d316a983383ed716e3f827720915683a8876b54677878a7d2db376d117a24 activeds.dll
f27e9bba6a2635731845b4334b807c0e4f57d3b790cecdc77d8fef50629f51a2 activeds.dll
a093fa22d7bc4ee99049a29b66a13d4bf4d1899ed4c7a8423fbb8c54f4230f3c activeds.dll
6ad78f069c3619d0d18eef8281219679f538cfe0c1b6d40b244beb359762cf96 stdole2.tlb
49c5c798689d4a54e5b7099b647b0596fb96b996a437bb8241b5dd76e974c24e stdole2.tlb
e88970fa4892150441c1616028982fe63c875f149cd490c3c910a1c091d3ad49 stdole2.tlb
89db8a69ff030600f26d5c875785d20f15d45331d007733be9a2422261d16cea stdole2.tlb
0e0045d2c4bfff4345d460957a543e2e7f1638de745644f6bf58555c1d287286 other
bdcc7e900f10986cdb6dc7762de35b4f07f2ee153a341bef843b866e999d73a3 other
fac13f08afe2745fc441ada37120cebce0e0aa16d03a03e9cda3ec9384dd40f2 backdoor
bae62f7f96c4cc300ec685f42eb451388cf50a13aa624b3f2a019d071fddaeb1 other&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;Network&lt;span class="hx:absolute hx:-mt-20" id="network"&gt;&lt;/span&gt;
&lt;a href="#network" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;81.199.34[.]150
elephant.zzux[.]com
angrybear.ignorelist[.]com
bigalert.mefound[.]com
bughouse.yourtrap[.]com
getfreetools.strangled[.]net
news100top.diskstation[.]org
pro100sport.mein-vigor[.]de
redneck.yourtrap[.]com
savage.2waky[.]com
tehnologtrade.4irc[.]com
81.199.160[.]11
forums.chatnook[.]com
goodengine.darktech[.]org
locker.strangled[.]net
simple-house.zzux[.]com
specialcar.mooo[.]com
sunseed.strangled[.]net
whitelibrary.4irc[.]com
bloodpearl.strangled[.]net
getlucky.ignorelist[.]com
proriot.zzux[.]com
fourapi.mooo[.]com
nopasaran.strangled[.]net
78.138.25[.]29
showme.twilightparadox[.]com
mouses.strangled[.]net
82.146.175[.]69
mouses.strangled[.]net
178.219.68[.]242
ftp.fueldust.compress[.]to
ftp.linear.wikaba[.]com
ftp.mysterysoft.epac[.]to
ftp.scroller.longmusic[.]com
ftp.spartano.mefound[.]com
fueldust.compress[.]to
linear.wikaba[.]com
mysterysoft.epac.to
safety.deaftone[.]com
salary.flnet[.]org
scroller.longmusic[.]com
spartano.mefound[.]com
88.83.25[.]122
robot.wikaba[.]com
41.223.91[.]217
smileman.compress[.]to
decent.ignorelist[.]com
dekka.biz[.]tm
disol.strangled[.]net
eraser.2waky[.]com
filelord.epac[.]to
justsoft.epac[.]to
smuggler.zzux[.]com
sport-journal.twilightparadox[.]com
sportinfo.yourtrap[.]com
stager.ignorelist[.]com
tankos.wikaba[.]com
grandfathers.mooo[.]com
homeric.mooo[.]com
jamming.mooo[.]com
pneumo.mooo[.]com
razory.mooo[.]com
anger.scieron[.]com
gantama.mefound[.]com
letgetbad.epac[.]to
rowstate.epac[.]to
memento.info[.]tm
196.43.240[.]177
bughouse.yourtrap[.]com
news100top.diskstation[.]org
169.255.102[.]240
harm17.zzux[.]com
mountain8.wikaba[.]com&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;Related articles&lt;span class="hx:absolute hx:-mt-20" id="related-articles"&gt;&lt;/span&gt;
&lt;a href="#related-articles" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.gdatasoftware.com/blog/2014/11/23937-the-uroburos-case-new-sophisticated-rat-identified"target="_blank" rel="noopener"&gt;https://www.gdatasoftware.com/blog/2014/11/23937-the-uroburos-case-new-sophisticated-rat-identified&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.gdatasoftware.com/blog/2015/01/23927-evolution-of-sophisticated-spyware-from-agent-btz-to-comrat"target="_blank" rel="noopener"&gt;https://www.gdatasoftware.com/blog/2015/01/23927-evolution-of-sophisticated-spyware-from-agent-btz-to-comrat&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blog.threatexpert.com/2008/11/agentbtz-threat-that-hit-pentagon.html"target="_blank" rel="noopener"&gt;http://blog.threatexpert.com/2008/11/agentbtz-threat-that-hit-pentagon.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://securelist.com/satellite-turla-apt-command-and-control-in-the-sky/72081/"target="_blank" rel="noopener"&gt;https://securelist.com/satellite-turla-apt-command-and-control-in-the-sky/72081/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.symantec.com/content/en/us/enterprise/media/security_response/whitepapers/waterbug-attack-group.pdf"target="_blank" rel="noopener"&gt;https://www.symantec.com/content/en/us/enterprise/media/security_response/whitepapers/waterbug-attack-group.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://securelist.com/the-epic-turla-operation/65545/"target="_blank" rel="noopener"&gt;https://securelist.com/the-epic-turla-operation/65545/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://artemonsecurity.com/snake_whitepaper.pdf"target="_blank" rel="noopener"&gt;http://artemonsecurity.com/snake_whitepaper.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.gdatasoftware.com/blog/2015/01/23926-analysis-of-project-cobra"target="_blank" rel="noopener"&gt;https://www.gdatasoftware.com/blog/2015/01/23926-analysis-of-project-cobra&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>New Variants of Agent.BTZ/ComRAT Found: The Threat That Hit The Pentagon In 2008 Still Evolving; Part 1/2</title><link>https://research.intezer.com/blog/2017/08/new-variants-of-agent-btz-comrat-found/</link><pubDate>Mon, 07 Aug 2017 00:00:00 +0000</pubDate><guid>https://research.intezer.com/blog/2017/08/new-variants-of-agent-btz-comrat-found/</guid><description>
&lt;p&gt;Agent.BTZ–also known as ComRAT–is one of the world’s oldest known
state-sponsored threats, mainly known for the
&lt;a href="http://articles.latimes.com/2008/nov/28/nation/na-cyberattack28"target="_blank" rel="noopener"&gt;2008 Pentagon breach&lt;/a&gt;.
Technically speaking, Agent.BTZ is a sophisticated user-mode RAT developed and
operated by the Turla group in conjunction with Snake/Uroburos rootkit. In the
past few months, we conducted research on Agent.BTZ’s code-base and how it
evolved using Intezer Code Intelligence™ technology. &lt;strong&gt;Based on our research
conclusions, we were able to hunt about a dozen new samples and more than
seventy previously unknown live IP &amp;amp; DNS addresses indicating the ongoing abuse
of
&lt;a href="https://securelist.com/satellite-turla-apt-command-and-control-in-the-sky/72081/"target="_blank" rel="noopener"&gt;satellite internet providers&lt;/a&gt;
operating in both Africa &amp;amp; the Middle East&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;This is a short memo regarding our findings from the past few months; get more
details in Part 2 of this blog,
&lt;a href="../../../2017/09/new-variants-of-agent-btz-comrat-found-part-2"&gt;a whitepaper we wrote on Agent.BTZ/ComRAT&lt;/a&gt;
describing in more details how we found these new variants using our
technology, along with a thorough analysis of the new samples.&lt;/p&gt;
&lt;h2&gt;Dropper&lt;span class="hx:absolute hx:-mt-20" id="dropper"&gt;&lt;/span&gt;
&lt;a href="#dropper" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Although the code itself was written from scratch and has nothing to do with
WinRAR, the adversary tried to mimic WinRAR’s SFX installer. Resource data was
duplicated, including icons and layouts used by the original installer, as you
can see in the following screenshot:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://research.intezer.com/blog/2017/08/new-variants-of-agent-btz-comrat-found/images/fig1.png" alt="" loading="lazy" /&gt;&lt;/p&gt;
&lt;p&gt;Once executed, the dropper installs activeds.dll – a proxy dll which is loaded
directly to explorer.exe once the machine reboots. The purpose of this proxy
dll is to load the malware’s main payload – stdole2.tlb. The dropper then also
deletes any previous installation of Agent.BTZ if it exists. This is done using
a hard-coded file path:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;C:\Documents and Settings\&amp;lt;USER&amp;gt;\Application Data\Microsoft\Windows\Themes\termsvr32.dll&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;C:\Documents and Settings\&amp;lt;USER&amp;gt;\Application Data\Microsoft\Windows\Themes\pcasrc.tlb&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;**Note: These file names were first used by Agent.BTZ in late 2014, as you
can see in this
&lt;a href="https://vms.drweb.ru/virus/?i=4268384"target="_blank" rel="noopener"&gt;automatic Dr.WEB report&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Once finished, the dropper renames and self delete using the following command
line:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;C:\WINDOWS\system32\rundll32.exe C:\DOCUME~1\&amp;lt;USER&amp;gt;~1\APPLIC~1\MICROS~1\Windows\stdole2.tlb,UnInstall C:\~$.tmp&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Samples found:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;69690f609140db503463daf6a3699f1bf3e2a5a6049cefe7e6437f762040e548&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;6798b3278ae926b0145ee342ee9840d0b2e6ba11ff995c2bc84d3c6eb3e55ff4&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;stdole2.tlb&lt;span class="hx:absolute hx:-mt-20" id="stdole2tlb"&gt;&lt;/span&gt;
&lt;a href="#stdole2tlb" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;As previously mentioned, this file is the main component installed by the
fake-sfx dropper and loaded by activeds.dll. We extracted the configuration
from each sample in order to obtain the c2 address and inner version
(&amp;quot;&lt;code&gt;PVer&lt;/code&gt;&amp;quot;), which is built into every Agent.BTZ sample. In the past,
Agent.BTZ’s developers have used an incremental value to indicate the inner
build version, the last known value is 3.26 as
&lt;a href="https://www.gdatasoftware.com/blog/2014/11/23937-the-uroburos-case-new-sophisticated-rat-identified"target="_blank" rel="noopener"&gt;published by G-Data in late 2014&lt;/a&gt;,
It seems that the developers have reacted to G-Data’s publication and have
stopped using an incremental value. New variants are now using a different
numbering system of &lt;code&gt;0.8/9.&amp;lt;RANDOM_VALUE&amp;gt;&lt;/code&gt;, making it more difficult for
researchers to track the exact version of the samples.&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2017/08/new-variants-of-agent-btz-comrat-found/images/fig2.png" title="Example configuration extracted from one of the samples – PVer 0.9.1528434231." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;Example configuration extracted from one of the samples – PVer 0.9.1528434231.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Even without the PVer numbering, we were able to determine using our technology
that these samples are from a newer version, which is based on the latest known
versions of Agent.BTZ – 3.25 / 3.26. These are the two top files you can see in
the following screenshot:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.virustotal.com/en/file/4e553bce90f0b39cd71ba633da5990259e185979c2859ec2e04dd8efcdafe356/analysis/"target="_blank" rel="noopener"&gt;4e553bce90f0b39cd71ba633da5990259e185979c2859ec2e04dd8efcdafe356 (VirusTotal)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.virustotal.com/en/file/3a6c1aa367476ea1a6809814cf534e094035f88ac5fb759398b783f3929a0db2/analysis/"target="_blank" rel="noopener"&gt;3a6c1aa367476ea1a6809814cf534e094035f88ac5fb759398b783f3929a0db2 (VirusTotal)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Both of these files were uploaded almost three years ago to VT(!)&lt;/p&gt;
&lt;p&gt;&lt;figure&gt;
&lt;img src="https://research.intezer.com/blog/2017/08/new-variants-of-agent-btz-comrat-found/images/fig3.png" title="A screenshot from the Intezer Analyze™ product displaying a list of files in our database that share pieces of code with one of the new samples. These pieces of code are specific to the Turla malware family, and were not seen in any other malicious or legitimate software." alt="" loading="lazy" /&gt;
&lt;figcaption&gt;A screenshot from the Intezer Analyze™ product displaying a list of files in our database that share pieces of code with one of the new samples. These pieces of code are specific to the Turla malware family, and were not seen in any other malicious or legitimate software.&lt;/figcaption&gt;
&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Samples found:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;6ad78f069c3619d0d18eef8281219679f538cfe0c1b6d40b244beb359762cf96&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;49c5c798689d4a54e5b7099b647b0596fb96b996a437bb8241b5dd76e974c24e&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;e88970fa4892150441c1616028982fe63c875f149cd490c3c910a1c091d3ad49&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;89db8a69ff030600f26d5c875785d20f15d45331d007733be9a2422261d16cea&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Indicators of Compromise&lt;span class="hx:absolute hx:-mt-20" id="indicators-of-compromise"&gt;&lt;/span&gt;
&lt;a href="#indicators-of-compromise" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;h3&gt;Files&lt;span class="hx:absolute hx:-mt-20" id="files"&gt;&lt;/span&gt;
&lt;a href="#files" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;69690f609140db503463daf6a3699f1bf3e2a5a6049cefe7e6437f762040e548 dropper
6798b3278ae926b0145ee342ee9840d0b2e6ba11ff995c2bc84d3c6eb3e55ff4 dropper
73db4295c5b29958c5d93c20be9482c1efffc89fc4e5c8ba59ac9425a4657a88 activeds.dll
50067ebcc2d2069b3613a20b81f9d61f2cd5be9c85533c4ea34edbefaeb8a15f activeds.dll
380b0353ba8cd33da8c5e5b95e3e032e83193019e73c71875b58ec1ed389bdac activeds.dll
9c163c3f2bd5c5181147c6f4cf2571160197de98f496d16b38c7dc46b5dc1426 activeds.dll
628d316a983383ed716e3f827720915683a8876b54677878a7d2db376d117a24 activeds.dll
f27e9bba6a2635731845b4334b807c0e4f57d3b790cecdc77d8fef50629f51a2 activeds.dll
a093fa22d7bc4ee99049a29b66a13d4bf4d1899ed4c7a8423fbb8c54f4230f3c activeds.dll
6ad78f069c3619d0d18eef8281219679f538cfe0c1b6d40b244beb359762cf96 stdole2.tlb
49c5c798689d4a54e5b7099b647b0596fb96b996a437bb8241b5dd76e974c24e stdole2.tlb
e88970fa4892150441c1616028982fe63c875f149cd490c3c910a1c091d3ad49 stdole2.tlb
89db8a69ff030600f26d5c875785d20f15d45331d007733be9a2422261d16cea stdole2.tlb
0e0045d2c4bfff4345d460957a543e2e7f1638de745644f6bf58555c1d287286 other
bdcc7e900f10986cdb6dc7762de35b4f07f2ee153a341bef843b866e999d73a3 other
fac13f08afe2745fc441ada37120cebce0e0aa16d03a03e9cda3ec9384dd40f2 backdoor
bae62f7f96c4cc300ec685f42eb451388cf50a13aa624b3f2a019d071fddaeb1 other&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;Network&lt;span class="hx:absolute hx:-mt-20" id="network"&gt;&lt;/span&gt;
&lt;a href="#network" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code"&gt;
&lt;div&gt;&lt;pre&gt;&lt;code&gt;81.199.34[.]150
elephant.zzux[.]com
angrybear.ignorelist[.]com
bigalert.mefound[.]com
bughouse.yourtrap[.]com
getfreetools.strangled[.]net
news100top.diskstation[.]org
pro100sport.mein-vigor[.]de
redneck.yourtrap[.]com
savage.2waky[.]com
tehnologtrade.4irc[.]com
81.199.160[.]11
forums.chatnook[.]com
goodengine.darktech[.]org
locker.strangled[.]net
simple-house.zzux[.]com
specialcar.mooo[.]com
sunseed.strangled[.]net
whitelibrary.4irc[.]com
bloodpearl.strangled[.]net
getlucky.ignorelist[.]com
proriot.zzux[.]com
fourapi.mooo[.]com
nopasaran.strangled[.]net
78.138.25[.]29
showme.twilightparadox[.]com
mouses.strangled[.]net
82.146.175[.]69
mouses.strangled[.]net
178.219.68[.]242
ftp.fueldust.compress[.]to
ftp.linear.wikaba[.]com
ftp.mysterysoft.epac[.]to
ftp.scroller.longmusic[.]com
ftp.spartano.mefound[.]com
fueldust.compress[.]to
linear.wikaba[.]com
mysterysoft.epac.to
safety.deaftone[.]com
salary.flnet[.]org
scroller.longmusic[.]com
spartano.mefound[.]com
88.83.25[.]122
robot.wikaba[.]com
41.223.91[.]217
smileman.compress[.]to
decent.ignorelist[.]com
dekka.biz[.]tm
disol.strangled[.]net
eraser.2waky[.]com
filelord.epac[.]to
justsoft.epac[.]to
smuggler.zzux[.]com
sport-journal.twilightparadox[.]com
sportinfo.yourtrap[.]com
stager.ignorelist[.]com
tankos.wikaba[.]com
grandfathers.mooo[.]com
homeric.mooo[.]com
jamming.mooo[.]com
pneumo.mooo[.]com
razory.mooo[.]com
anger.scieron[.]com
gantama.mefound[.]com
letgetbad.epac[.]to
rowstate.epac[.]to
memento.info[.]tm
196.43.240[.]177
bughouse.yourtrap[.]com
news100top.diskstation[.]org
169.255.102[.]240
harm17.zzux[.]com
mountain8.wikaba[.]com&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0"&gt;
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
&gt;
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4"&gt;&lt;/div&gt;
&lt;/button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;Related articles&lt;span class="hx:absolute hx:-mt-20" id="related-articles"&gt;&lt;/span&gt;
&lt;a href="#related-articles" class="subheading-anchor" aria-label="Permalink for this section"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.gdatasoftware.com/blog/2014/11/23937-the-uroburos-case-new-sophisticated-rat-identified"target="_blank" rel="noopener"&gt;https://www.gdatasoftware.com/blog/2014/11/23937-the-uroburos-case-new-sophisticated-rat-identified&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.gdatasoftware.com/blog/2015/01/23927-evolution-of-sophisticated-spyware-from-agent-btz-to-comrat"target="_blank" rel="noopener"&gt;https://www.gdatasoftware.com/blog/2015/01/23927-evolution-of-sophisticated-spyware-from-agent-btz-to-comrat&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blog.threatexpert.com/2008/11/agentbtz-threat-that-hit-pentagon.html"target="_blank" rel="noopener"&gt;http://blog.threatexpert.com/2008/11/agentbtz-threat-that-hit-pentagon.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://securelist.com/satellite-turla-apt-command-and-control-in-the-sky/72081/"target="_blank" rel="noopener"&gt;https://securelist.com/satellite-turla-apt-command-and-control-in-the-sky/72081/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.symantec.com/content/en/us/enterprise/media/security_response/whitepapers/waterbug-attack-group.pdf"target="_blank" rel="noopener"&gt;https://www.symantec.com/content/en/us/enterprise/media/security_response/whitepapers/waterbug-attack-group.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://securelist.com/the-epic-turla-operation/65545/"target="_blank" rel="noopener"&gt;https://securelist.com/the-epic-turla-operation/65545/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://artemonsecurity.com/snake_whitepaper.pdf"target="_blank" rel="noopener"&gt;http://artemonsecurity.com/snake_whitepaper.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.gdatasoftware.com/blog/2015/01/23926-analysis-of-project-cobra"target="_blank" rel="noopener"&gt;https://www.gdatasoftware.com/blog/2015/01/23926-analysis-of-project-cobra&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>