Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
MalwareUsed by 9 actors

Shamoon

Also known asDisttrack

Shamoon, also known as Disttrack, is a destructive Windows wiper malware family associated in reporting with Iran-linked activity and widely known for the 2012 Saudi Aramco incident. It targets organizations in the oil and energy sectors and has also been discussed in relation to attacks on RasGas. Reporting in the provided content states that Shamoon wiped data from about 30,000 Saudi Aramco computers in August 2012, replacing files with a burning American flag image, and that later variants displayed the message "From Iran with love – Shamoon" after overwriting the master boot record (MBR), preventing the operating system from loading.

The malware is described as a multi-component framework, including dropper, wiper, and reporter functionality. It copies an executable payload to the target system, schedules execution via an unnamed task, and creates Windows services for payload execution and persistence, including "ntssrv" and, in newer versions, "MaintenaceSrv" and "hdv_725x". Shamoon queries Registry keys to identify hard disk partitions to overwrite and can alter file modified timestamps to hinder forensic analysis.

Its core behavior is destructive: it overwrites files, recursively destroys file contents and metadata, and rewrites the MBR on connected drives to render systems unusable. Multiple sources in the content state that Shamoon uses self-propagation via shared network disks or network shares, allowing it to spread internally, including to systems not directly connected to the internet. Some reporting describes a two-stage attack in which Shamoon first scrapes or steals selected data from other systems and forwards it to another infected internal machine, then wipes the victim systems. The malware also reports infection or destruction status, including overwritten filenames, file-destruction counts, infected host IP address, and a random number, to another internal host; one analyzed case referenced local IP address 10.1.252.19.

The content states that Shamoon used the Eldos RawDisk driver to obtain direct userland access to the filesystem without relying on normal Windows APIs, and other reporting says it used a legitimately signed driver to gain low-level disk access. Development artifacts cited in the content include the path "C:\Shamoon\ArabianGulf\wiper\release\wiper.pdb".

Threat actor associations in the provided material are not fully settled, but the malware is repeatedly described as Iran-linked. The content notes that U.S. intelligence concluded the Iranian government was behind the 2012 Saudi Aramco attack, and some observers have linked APT33/Elfin to Shamoon activity, although one cited report explicitly says it found no further evidence that Elfin was responsible for a later Shamoon wave. The content also notes that the hacktivist group Twelve deployed publicly available-source-code Shamoon-like wipers in 2024, spreading them through netlogon shares, PowerShell, Group Policy, and scheduled tasks.

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

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

View more details
Twelve

The wiper rewrites the master boot record (MBR) on connected drives so when the victim next turns on the device, the “From Iran with love – Shamoon” message appears on the screen, and the operating system will not load.

via securelistsecurelist.com
APT33

Iranian attack groups mostly operate below the radar of major news coverage (with the exception of the Shamoon attacks).

via proofpointproofpoint.com
APT 33

Iranian attack groups mostly operate below the radar of major news coverage (with the exception of the Shamoon attacks).

via proofpointproofpoint.com
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
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
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

1 technique
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.

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

During the 2016 Ukraine Electric Power Attack, Sandworm Team used an arbitrary system service to load at system boot for persistence for Industroyer. They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.

Privilege Escalation

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.

T1543.003Windows ServiceEvidence1

During the 2016 Ukraine Electric Power Attack, Sandworm Team used an arbitrary system service to load at system boot for persistence for Industroyer. They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.

Stealth

7 techniques
T1014RootkitEvidence1

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

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.

T1036MasqueradingEvidence1

Aquatic Panda created new Windows services for persistence that masqueraded as legitimate Windows services via name change.

T1070.004File DeletionEvidence1

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

T1070.006TimestompEvidence1

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 InformationEvidence2

The content repeatedly describes malware and threat actors decoding, decrypting, deobfuscating, or unpacking payloads, strings, configuration data, commands, and C2 responses prior to execution or use.

T1218System Binary Proxy ExecutionEvidence1

Our analysis shows a signed driver is being used to deploy a wiper that targets Windows devices... The developers are using a tried and tested technique of wiper malware, abusing a benign partition management driver... HermeticWiper uses a similar technique by abusing a different driver, empntdrv.sys.

Defense Impairment

1 technique
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

5 techniques
T1012Query RegistryEvidence1

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 DiscoveryEvidence2

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

T1082System Information DiscoveryEvidence3

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

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

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 TransferEvidence3

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

1 technique
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.

Command and Control

3 techniques
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 and malware using HTTP and HTTPS for command and control, such as: "Sandworm Team used BlackEnergy to communicate between compromised hosts and their command-and-control servers via HTTP post requests."

T1090ProxyEvidence1

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

Impact

4 techniques
T1485Data DestructionEvidence7

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

T1490Inhibit System RecoveryEvidence1

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

T1561.001Disk Content WipeEvidence4

The wiper rewrites the master boot record (MBR) on connected drives

T1561.002Disk Structure WipeEvidence1

recursively goes through each directory... Overwrite the file contents with randomly generated bytes; Overwrite file metadata... delete it

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 app8 years ago
hash.sha1●●●●●●●●●●●●View more in app8 years ago
hash.sha1●●●●●●●●●●●●View more in app8 years ago
hash.sha1●●●●●●●●●●●●View more in app8 years ago
hash.sha1●●●●●●●●●●●●View more in app8 years ago
hash.sha1●●●●●●●●●●●●View more in app8 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 attribution9

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.