Skip to main content
Mallory
MalwareUsed by 8 actors

Shamoon

Also known asDisttrack

Shamoon, also known as Disttrack and W32.Distrack, is a destructive Windows wiper malware family best known for the August 2012 attack on Saudi Aramco, where about 30,000 workstations were wiped; it was also discussed in connection with attacks affecting the oil and energy sector, including RasGas. The malware is designed to overwrite files and the master boot record (MBR), rendering systems unusable, and multiple reports state it was intended to make recovery difficult or impossible. Shamoon has self-propagation and lateral movement characteristics, spreading via shared network disks or network shares, and analyses describe a staged attack in which it first collects or scrapes data and file information from other systems, including reachable systems not connected to the Internet, then wipes target machines and overwrites the MBR. Symantec described Shamoon as having dropper, wiper, and reporter components; reporting also states it can send infection status, destroyed-file counts, IP address information, random identifiers, or overwritten-file information to another infected or internal machine, including observed communication to local IP 10.1.252.19. Shamoon copies an executable payload to the target system and schedules execution via an unnamed task, and it queries Registry keys to identify hard disk partitions to overwrite. It can also modify file timestamps to evade forensic detection. Technical reporting states the malware used a legitimately signed EldoS disk driver/RawDisk-style access to obtain low-level disk access and wipe disk structures including the MBR and partitions. Development artifacts included the path "C:\Shamoon\ArabianGulf\wiper\release\wiper.pdb," from which the name was derived. Some reporting states the malware overwrote critical files with an image of a burning American flag or portions of a JPEG image. High-confidence targeting in the provided content centers on oil and energy organizations, especially in Saudi Arabia and the Gulf. Multiple references in the content link Shamoon to Iranian threat activity or Iran-linked operations; the content specifically notes U.S. government and industry reporting that associated the malware with Iran, and mentions later discussion of Shamoon waves in relation to APT33/Elfin, although one cited Symantec report said it found no further evidence that Elfin was responsible for those Shamoon attacks.

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

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

View more details
Cutting Sword of Justice

The virus, named Shamoon after a word in its code, was designed to overwrite critical files with an image of a burning American flag.

via new york timesbits.blogs.nytimes.com
APT33

Elfin came under the spotlight in December 2018 when it was linked with a new wave of Shamoon attacks.

via symantec enterprise blogssymantec-enterprise-blogs.security.com
CHRYSENE

"CHRYSENE developed from an espionage campaign that first gained attention after the destructive Shamoon cyberattack in 2012 that impacted Saudi Aramco."

via dragos blogdragos.com
BlackJack

The wiper, identical to the Shamoon malware, rewrites the master boot record (MBR) on connected drives and overwrites all file contents with randomly generated bytes, effectively preventing system recovery.

via the hacker newsthehackernews.com
Twelve

The wiper, identical to the Shamoon malware, rewrites the master boot record (MBR) on connected drives and overwrites all file contents with randomly generated bytes, effectively preventing system recovery.

via the hacker newsthehackernews.com
Greenbug

Researchers have identified a possible new collaborator in the continued Shamoon attacks against Saudi organizations... helping Shamoon steal user credentials of targets ahead of Shamoon’s destructive attacks.

via threatpostthreatpost.com
Curious Serpens

Shamoon resurgence: Following its initial debut in 2012, Shamoon 2 and Shamoon 3 were deployed against Middle Eastern entities. These attacks utilized spearphishing to gain initial access, eventually relying on the Eldos RawDisk driver to bypass Windows APIs and overwrite the master boot record (MBR).

via palo alto networks unit 42 blogunit42.paloaltonetworks.com
OilRig

Shamoon resurgence: Following its initial debut in 2012, Shamoon 2 and Shamoon 3 were deployed against Middle Eastern entities. These attacks utilized spearphishing to gain initial access, eventually relying on the Eldos RawDisk driver to bypass Windows APIs and overwrite the master boot record (MBR).

via palo alto networks unit 42 blogunit42.paloaltonetworks.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1566PhishingEvidence1

2012 Attack Timeline • Targeted Phishing attack • Date Unknown

Execution

2 techniques
T1053.005Scheduled TaskEvidence2

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1203Exploitation for Client ExecutionEvidence1
TacticExecution

waste a 0-day vulnerability in order to silently install a sophisticated malware

Persistence

3 techniques
T1053.005Scheduled TaskEvidence2

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1112Modify RegistryEvidence2

The content repeatedly describes threat actors and malware modifying, creating, deleting, or storing data in Windows Registry keys and values for persistence, configuration storage, defense evasion, credential access, privilege escalation, and execution.

T1543.003Windows ServiceEvidence1

Creates the following service to start itself whenever Windows starts: Service name: TrkSvr Display name: Distributed Link Tracking Server Image path: %System%\trksvr.exe

T1053.005Scheduled TaskEvidence2

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1543.003Windows ServiceEvidence1

Creates the following service to start itself whenever Windows starts: Service name: TrkSvr Display name: Distributed Link Tracking Server Image path: %System%\trksvr.exe

Stealth

5 techniques
T1014RootkitEvidence1
TacticStealth

It also uses what appears to be a legitimate system driver to gain low-level access to a hard drive... The driver, according to Kaspersky, was digitally signed using the private cryptographic key belonging to a company called EldoS Corporation.

T1027Obfuscated Files or InformationEvidence1
TacticStealth

The content repeatedly describes malware and threat actors using obfuscated code, encrypted strings, Base64/XOR/RC4/AES encoding, VMProtect/ConfuserEx/SmartAssembly, stack strings, control-flow flattening, opaque predicates, and hidden payloads to evade analysis and detection.

T1070.004File DeletionEvidence1
TacticStealth

Deletes an existing driver from the following location and overwrites it with another legitimate driver: %System%\drivers\drdisk.sys

T1070.006TimestompEvidence1
TacticStealth

APT28 has performed timestomping on victim files. APT29 has used timestomping to alter the Standard Information timestamps on their web shells to match other files in the same directory. APT32 has used scheduled task raw XML with a backdated timestamp... APT38 has modified data timestamps to mimic files that are in the same folder on a compromised host.

T1140Deobfuscate/Decode Files or InformationEvidence1
TacticStealth

The content repeatedly describes malware and threat actors decoding, decrypting, or deobfuscating payloads, strings, configuration data, commands, and C2 traffic prior to execution or use, e.g., 'APT28 macro uses the command certutil -decode to decode contents of a .txt file storing the base64 encoded payload' and 'Action RAT can use Base64 to decode actor-controlled C2 server communications.'

T1112Modify RegistryEvidence2

The content repeatedly describes threat actors and malware modifying, creating, deleting, or storing data in Windows Registry keys and values for persistence, configuration storage, defense evasion, credential access, privilege escalation, and execution.

Discovery

6 techniques
T1012Query RegistryEvidence1
TacticDiscovery

The content repeatedly describes malware and threat actors querying, enumerating, searching, reading, or checking Windows Registry keys and values, e.g., "ADVSTORESHELL can enumerate registry keys," "APT41 queried registry values to determine items such as configured RDP ports and network configurations," and "Reg may be used to gather details from the Windows Registry of a local or remote system at the command-line interface."

T1016System Network Configuration DiscoveryEvidence1
TacticDiscovery

The content repeatedly describes actors and malware using commands and APIs such as ipconfig /all, ifconfig, arp -a, route print, netsh interface show, GetAdaptersInfo, and GetIpNetTable to gather IP addresses, MAC addresses, DNS, DHCP, gateways, routing tables, ARP cache, proxy settings, and network adapter/interface details.

T1018Remote System DiscoveryEvidence1
TacticDiscovery

During the 2015 Ukraine Electric Power Attack, Sandworm Team remotely discovered systems over LAN connections. OT systems were visible from the IT network as well, giving adversaries the ability to discover operational assets.

T1082System Information DiscoveryEvidence3
TacticDiscovery

The content repeatedly describes malware and threat actors collecting host details such as OS version, hostname, architecture, CPU, memory, BIOS, domain, language, and other configuration data; e.g., "APT41 uses multiple built-in commands such as systeminfo and net config Workstation to enumerate victim system basic configuration information."

T1135Network Share DiscoveryEvidence2
TacticDiscovery

Once a system on a network is infected, the code scrapes data from other systems via network shares, including those not connected to the internet.

T1614.001System Language DiscoveryEvidence1
TacticDiscovery

Examples include "Bazar can also check if the Russian language is installed on the infected machine and terminate if it is found," "DropBook has checked for the presence of Arabic language," and "Maze has checked the language of the infected system using the GetUSerDefaultUILanguage function."

Lateral Movement

4 techniques
T1021Remote ServicesEvidence1

Through the proxy, the attacker infected the other internal machines, which were probably not connected directly to the internet.

T1021.002SMB/Windows Admin SharesEvidence2

Shamoon copies an executable payload to the target system by using SMB/Windows Admin Shares and then scheduling an unnamed task to execute the malware.

T1534Internal SpearphishingEvidence1

The fact that it was not connected to the Internet lends credence to reports that the attack may have been facilitated by a Saudi Aramco employee.

T1570Lateral Tool TransferEvidence4

Duqu ... spread laterally by copying itself to shares it has enumerated ... The remote host is then infected by using the compromised credentials to schedule a task on remote machines that executes the malware.

Collection

2 techniques
T1039Data from Network Shared DriveEvidence1

Once a system on a network is infected, the code scrapes data from other systems via network shares, including those not connected to the internet.

T1074Data StagedEvidence1

Shamoon, also known as Disttrack, is unusual as it infects a PC, steals certain data, sends the data to another infected PC and then overwrites the PC's master boot record...

T1071Application Layer ProtocolEvidence2

The malware also reports back to the attackers with information about the number of files that were destroyed, the IP address of the infected computer, and a random number.

T1071.001Web ProtocolsEvidence3

The content repeatedly describes threat actors, malware, and campaigns using HTTP and/or HTTPS for command and control, including examples such as BlackEnergy communicating with C2 over HTTP POST requests and many other families using HTTP/S for C2.

T1090ProxyEvidence1

Internal Saudi Aramco PC used as proxy by attackers • Date unknown

Impact

3 techniques
T1485Data DestructionEvidence7
TacticImpact

IT Windows based Saudi Aramco PCs >35K begin shutting down & being wiped • 15 August 2012

T1490Inhibit System RecoveryEvidence1
TacticImpact

Unlike many other contemporary viruses Shamoon/Disstrack does not attempt to steal data but instead tries to delete it irrecoverably.

T1561.001Disk Content WipeEvidence5
TacticImpact

It then wipes all the data on the target systems and overwrites the master boot record to brick the system.

INDICATORS OF COMPROMISE

IOCs tracked for this family

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

View more in app
Hashes
11 tracked

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

TypeValueLatest sighting
hash.md5●●●●●●●●●●●●View more in app7 years ago
hash.sha1●●●●●●●●●●●●View more in app7 years ago
hash.sha1●●●●●●●●●●●●View more in app7 years ago
hash.sha1●●●●●●●●●●●●View more in app7 years ago
hash.sha1●●●●●●●●●●●●View more in app7 years ago
hash.sha1●●●●●●●●●●●●View more in app7 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 matching11

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

Threat actor attribution8

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 mapping28

Every documented technique, ranked by evidence weight.

Researcher chatter

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