Ransomware

[Research Summary]: Zebrocy Malware

Zebrocy malware is a Trojan used by APT28 (Sofacy) since 2015 for espionage. See its components, targets, collected file types and how it works.

Updated 4 Min Read

Zebrocy malware is a Trojan that the threat actor group APT28, also called Sofacy, has used since 2015 for espionage. It is built from a backdoor, a downloader and a dropper, and it exists in several languages including Delphi, C#, Visual C++, VB.net and Golang. This post summarizes what it does, who it targets and which files it collects.

This blog post comes from the “Zebrocy Technical Analysis Report” by the Brandefense CTI Analyst Team. For more details about the analysis, download the report.

What does the Zebrocy analysis find in brief?

In this report prepared by the Brandefense cyber intelligence team, we analyzed malware toolkits belonging to an advanced cyber threat group, Sofacy (other security providers have called it APT28, Fancy Bear, STRONTIUM, Pawn Storm, and Sednit). In the report, malicious software sets belonging to the Sofacy group were shared in more than one version.

You should not consider these anti-malware precautions unique to only Zebrocy and any other malware toolkit. The behavior of groups with a high threat profile, such as Sofacy, must be understood. The techniques we have described explain what they need to do if one becomes the target of a future offensive campaign.

We consider that the report’s attack methods and malware investigations should create cyber security awareness. In addition, TTP findings used by threat actors will contribute by feeding cybersecurity teams.

Download the Zebrocy Technical Analysis Report

What is Zebrocy malware?

Zebrocy is malware that falls into the Trojan category, which the threat actor group APT28/Sofacy has used since 2015. Zebrocy malware consists of 3 main components; Backdoor, Downloader, and Dropper. The Downloader and Dropper take responsibility for discovery processes and downloading the main malware on the systems. At the same time, Backdoor undertakes the duties such as persistence in the system, espionage, and data extraction.

Zebrocy at a glance
Type
Trojan
Used by
APT28 / Sofacy
Used since
2015
Components
Backdoor, Downloader, Dropper
Languages
Delphi, C#, Visual C++, VB.net, Golang
Also tracked as
Zekapab (MITRE ATT&CK S0251)

This malware, which is not considered new, has variants in many languages from the past to the present. These include programming languages such as Delphi, C#, Visual C++, VB.net, and Golang. Furthermore, we know advanced threat actors and groups revise their malicious software among their toolkits at certain time intervals using different languages and technologies.

It includes many social engineering techniques that direct its victims to open the attached files with a thematic fake mail trending at the malware distribution point.

Which sectors does Zebrocy target?

  • Ministries of Energy and Industry
  • Science and Engineering Centers
  • Ministry of Foreign Affairs
  • National Security and Intelligence Agencies
  • Press Services
  • Embassies and Consulates

The threat group’s focus is espionage activities aimed at critical and strategic points of states and organizations. These targets are located in countries in the Middle East, Europe, and North America.

Once the Zebrocy malware had infiltrated the target system, it first has initiated the discovery phase. Then, it starts some actions within the system within the framework of specific rules with metadata of the compromised system and a screenshot.

After the discovery phase, it transmits the files listed below to the command and control server to extract data.

Which file types does Zebrocy send out?

  • .doc, .docx
  • .xls, .xlsx
  • .ppt, .pptx
  • .exe
  • .zip, .rar
How Zebrocy runs
  1. Themed fake emailVictims are directed to open the attached files.Technique T1566.001 (MITRE ATT&CK, opens in a new tab)
  2. DiscoveryMetadata of the compromised system and a screenshot are collected.
  3. Backdoor activityPersistence, espionage and data extraction.
  4. Files sent outDocuments, spreadsheets, slides, .exe and archives go to the command and control server.Technique T1041 (MITRE ATT&CK, opens in a new tab)

We could make a general definition: The Zebrocy malware serves as a target-oriented attack campaign and contains the functions necessary for espionage activities. Furthermore, it is thought that malware is in a structure that is updated periodically and is structured to increase its capabilities with the addition of new modules to the malware.

This blog post comes from the “Zebrocy Malware Technical Analysis Report” by the Brandefense CTI Analyst Team. For more details about the analysis, download the report.

Download the IoCs and YARA Rules

Frequently Asked Questions.

What is Zebrocy malware?

Zebrocy is a Trojan that APT28/Sofacy has used since 2015. MITRE ATT&CK lists it as software S0251, also tracked as Zekapab, and notes it exists in several programming language variants.

Who uses Zebrocy?

MITRE ATT&CK lists APT28 (G0007) as the group using Zebrocy. APT28 is also known as Sofacy, Fancy Bear, Sednit, Pawn Storm and STRONTIUM, among other names.

How does Zebrocy get onto a system?

The post describes themed fake emails that push victims to open attached files. MITRE ATT&CK lists spearphishing attachment (T1566.001) among the techniques of APT28.

What data does Zebrocy collect?

After a discovery phase it collects system metadata and a screenshot, then sends files such as .doc, .xls, .ppt, .exe, .zip and .rar to the command and control server.

Sources

  1. 1 MITRE ATT&CK: Zebrocy (S0251)
  2. 2 MITRE ATT&CK: APT28 (G0007)
Share