Skip to main content
Mallory
Back to malware
MalwareUsed by 1 actor

EquationDrug

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

THREAT ACTORS

Groups observed using it

1 distinct threat actor attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
Equation Group

Having originally uncovered the Equation group in February 2015, we’ve taken a look at the newly released files to check for any connections with the known toolsets used by Equation, such as EQUATIONDRUG, DOUBLEFANTASY, GRAYFISH and FANNY.

via securelistsecurelist.com
MITRE ATT&CK

Techniques & procedures

30 distinct techniques documented for this family, organized by ATT&CK tactic.

Execution

4 techniques
T1047Windows Management InstrumentationEvidence1
TacticExecution

WMI information gathering.

T1059.003Windows Command ShellEvidence1
TacticExecution

Backdoor command is stored in the first byte of the decrypted request... 3 CallWinExec Disable Windows Audit and start new process via standard code injection in Winlogon.exe.

T1129Shared ModulesEvidence1
TacticExecution

Next, the module injects extra code into a newly started target process. The injected code loads the payload DLL (“mscfg32.dll”) into the target process

T1569.002Service ExecutionEvidence1
TacticExecution

The injection of code into winlogon.exe and services.exe ensures that the newly started process will have SYSTEM user privileges.

Persistence

4 techniques
T1112Modify RegistryEvidence1

The driver also maintains a persistent list of protected objects that is stored in the following registry values... These values are also protected by the rootkit.

T1205Traffic SignalingEvidence1

Magic Packet Recognition... Packets that passed through the filter are added in the end of processing queue... The backdoor command may arrive in a single packet or be split into pieces and come with several packets.

T1542Pre-OS BootEvidence1

HDD and SSD firmware manipulation.

T1547Boot or Logon Autostart ExecutionEvidence1

The platform is started by the kernel mode driver component (“msndsrv.sys” on Windows 2000 or above and “mssvc32.vxd” on Windows 9x). The driver then waits for the system to start and initiates execution of the user-mode loader “mscfg32.exe”.

T1055Process InjectionEvidence1

Next, it crafts and injects a shellcode in “services.exe” or “winlogon.exe”. The shellcode is designed to spawn the loader process from the executable called “mscfg32.exe”.

T1547Boot or Logon Autostart ExecutionEvidence1

The platform is started by the kernel mode driver component (“msndsrv.sys” on Windows 2000 or above and “mssvc32.vxd” on Windows 9x). The driver then waits for the system to start and initiates execution of the user-mode loader “mscfg32.exe”.

Stealth

8 techniques
T1014RootkitEvidence1
TacticStealth

The driver acts as the first stage of the EquationDrug platform on Windows 2000+ and implements rootkit functions for hiding the components of the platform.

T1055Process InjectionEvidence1

Next, it crafts and injects a shellcode in “services.exe” or “winlogon.exe”. The shellcode is designed to spawn the loader process from the executable called “mscfg32.exe”.

T1070.001Clear Windows Event LogsEvidence1
TacticStealth

Code Patcher The driver patches OS code to dynamically disable or enable Windows audit logging.

T1070.004File DeletionEvidence1
TacticStealth

Panic Disable packet filtering, securely delete driver file, clear related registry keys, set ClearPageFileAtShutdown flag, unbind adapters, delete devices and prepare for unloading.

T1205Traffic SignalingEvidence1

Magic Packet Recognition... Packets that passed through the filter are added in the end of processing queue... The backdoor command may arrive in a single packet or be split into pieces and come with several packets.

T1542Pre-OS BootEvidence1

HDD and SSD firmware manipulation.

T1564Hide ArtifactsEvidence1
TacticStealth

The rootkit code in the driver hooks several Native API functions that lets it hide or protect registry keys, files and running processes.

T1564.001Hidden Files and DirectoriesEvidence1
TacticStealth

The rootkit code in the driver hooks several Native API functions that lets it hide or protect registry keys, files and running processes.

T1112Modify RegistryEvidence1

The driver also maintains a persistent list of protected objects that is stored in the following registry values... These values are also protected by the rootkit.

Credential Access

4 techniques
T1040Network SniffingEvidence1

Network traffic interception for stealing or re-routing.

T1056.001KeyloggingEvidence1

Keylogging and clipboard monitoring.

T1555Credentials from Password StoresEvidence1

Collection of cached passwords.

T1555.003Credentials from Web BrowsersEvidence1

Browser history, cached passwords and form auto-fill data collection.

Discovery

5 techniques
T1040Network SniffingEvidence1

Network traffic interception for stealing or re-routing.

T1057Process DiscoveryEvidence1
TacticDiscovery

Enumeration of processes and other system objects.

T1082System Information DiscoveryEvidence1
TacticDiscovery

Collects system information: OS version, computer name, user name, locale, keyboard layout, timezone, process lists

T1083File and Directory DiscoveryEvidence1
TacticDiscovery

Computer management: Start/stop processes Load drivers and libraries Manage files and directories

T1135Network Share DiscoveryEvidence1
TacticDiscovery

Browsing network resources and enumerating and accessing shares.

Lateral Movement

1 technique
T1021.002SMB/Windows Admin SharesEvidence1

Browsing network resources and enumerating and accessing shares.

Collection

5 techniques
T1025Data from Removable MediaEvidence1

Monitoring removable storage drives.

T1056.001KeyloggingEvidence1

Keylogging and clipboard monitoring.

T1113Screen CaptureEvidence1

These include common features such as file collection and the making of screenshots.

T1115Clipboard DataEvidence1

Keylogging and clipboard monitoring.

T1560Archive Collected DataEvidence1

Sophistication is added by storing stolen data inside a custom-encrypted virtual file system before it is sent to the command and control servers.

T1071Application Layer ProtocolEvidence1

8002 wshcom.dll C&C communication using Windows sockets ... 80CA wshapi.dll C&C communications interface via Windows sockets

T1071.001Web ProtocolsEvidence1

EquationDrug Plugins: Plugin ID File name Description 800C perfcom.dll HTTP communication ... 80BE vnetapi.dll C&C communication via WinHTTP API

T1090ProxyEvidence1

Passive network backdoor (runs Equation shellcode from raw traffic).

T1205Traffic SignalingEvidence1

Magic Packet Recognition... Packets that passed through the filter are added in the end of processing queue... The backdoor command may arrive in a single packet or be split into pieces and come with several packets.

INDICATORS OF COMPROMISE

IOCs tracked for this family

26 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Network
2 tracked

IPs, domains, and DNS infrastructure linked to this family.

Hashes
24 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

TypeValueLatest sighting
domain●●●●●●●●●●●●View more in app11 years ago
hash.md5●●●●●●●●●●●●View more in app11 years ago
hash.md5●●●●●●●●●●●●View more in app11 years ago
hash.md5●●●●●●●●●●●●View more in app11 years ago
hash.md5●●●●●●●●●●●●View more in app11 years ago
hash.md5●●●●●●●●●●●●View more in app11 years ago
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching26

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution1

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping30

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.