LiveActive security incident?Get immediate response
MITRE ATT&CK® Malware

S0140: Shamoon

Shamoon is wiper malware that was first used by an Iranian group known as the "Cutting Sword of Justice" in 2012. Other versions known as Shamoon 2 and Shamoon 3 were observed in 2016 and 2018. Shamoon has also been seen leveraging RawDisk and Filerase to carry out data wiping tasks. Analysis has linked Shamoon with Kwampirs based on multiple shared artifacts and coding patterns.[1] The term Shamoon is sometimes used to refer to the group using the malware as well as the malware itself.[2][3][4][5]

EnterpriseS0140MalwareObject v2.2Modified
Glexia's Take · Automated analysis

Security context for executives and security teams

Automation confidenceMedium

S0140: Shamoon describes [Shamoon](https://attack.mitre.org/software/S0140) is wiper malware that was first used by an Iranian group known as the "Cutting Sword of Justice" in 2012. Other versions known as Shamoon 2 and Shamoon 3 were observed in 2016 and 2018. [Shamoon](https://attack.mitre.org/software/S0140) has also been seen leveraging [RawDisk](https://attack.mitre.org/software/S0364) and Filerase to carry out data wiping tasks. Analysis has linked [Shamoon](https://attack.mitre.org/software/S0140) with [Kwampirs](https://attack.mitr...

Executive priority

S0140: Shamoon is an official MITRE ATT&CK software. Glexia treats it as defensive behavior context for prioritizing monitoring, control validation, and response planning without using the object by itself as an attribution claim.

Technical view

Security teams should validate S0140: Shamoon by reviewing the official ATT&CK relationships, mapped tactics (the mapped ATT&CK tactic context), supported platforms (Windows), and available local telemetry before making detection or mitigation decisions.

Likely telemetry

  • Official ATT&CK relationships and object metadata
  • Network, endpoint, and security-tool telemetry

Detection direction

  • Validate whether S0140: Shamoon appears in your detection coverage and tabletop scenarios.
  • Use the object to align executive risk language with SOC, incident response, and detection engineering work.
  • Do not treat ATT&CK relationship context as attribution without corroborating evidence.

Mitigation priorities

  • Map the object to existing controls and identify missing telemetry or response ownership.
  • Prioritize mitigations that reduce exposure on the listed platforms and tactics.
  • Review adjacent ATT&CK relationships before changing policy, detections, or reporting language.
Additional notes and limits

Baseline Glexia take generated from the official MITRE ATT&CK STIX object, source hash, tactics, platforms, and detection fields. It is safe to replace with a richer model-generated take for the same source hash later.

This baseline take is source-grounded and schema-validated, but it does not include environment-specific telemetry, incident evidence, or threat-intelligence corroboration.

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Official MITRE ATT&CK definition

Shamoon

Shamoon is wiper malware that was first used by an Iranian group known as the "Cutting Sword of Justice" in 2012. Other versions known as Shamoon 2 and Shamoon 3 were observed in 2016 and 2018. Shamoon has also been seen leveraging RawDisk and Filerase to carry out data wiping tasks. Analysis has linked Shamoon with Kwampirs based on multiple shared artifacts and coding patterns.[1] The term Shamoon is sometimes used to refer to the group using the malware as well as the malware itself.[2][3][4][5]

View the same entry on attack.mitre.org (MITRE-hosted reference; in-page links above use the Glexia ATT&CK library.)

Glexia analysis

How security teams should use this page

Treat this object as behavior context, not an attribution claim. Validate the related groups, software, data sources, and mitigations against official ATT&CK relationships and your own telemetry before making control-coverage decisions.

ATT&CK relationship table

Techniques used

This mirrors the MITRE pattern of making group, software, campaign, and technique relationships scannable. Relationship notes come from mirrored ATT&CK relationship text when available.

24 rows
DomainIDNameRelationship / procedure
EnterpriseT1124System Time Discovery

Shamoon obtains the system time and will only activate if it is greater than a preset date.[2][3]

EnterpriseT1561.002Disk Structure WipeSub-technique

Shamoon has been seen overwriting features of disk structure such as the MBR.[4][5][2][3]

EnterpriseT1082System Information Discovery

Shamoon obtains the victim's operating system version and keyboard layout and sends the information to the C2 server.[2][3]

EnterpriseT1012Query Registry

Shamoon queries several Registry keys to identify hard disk partitions to overwrite.[2]

EnterpriseT1021.002SMB/Windows Admin SharesSub-technique

Shamoon accesses network share(s), enables share access to the target device, copies an executable payload to the target system, and uses a Scheduled Task/Job to execute the malware.[5]

EnterpriseT1036.004Masquerade Task or ServiceSub-technique

Shamoon creates a new service named “ntssrv” that attempts to appear legitimate; the service's display name is “Microsoft Network Realtime Inspection Service” and its description is “Helps guard against time change attempts targeting known and newly discovered vulnerabilities in network time protocols.” Newer versions create the "MaintenaceSrv" service, which misspells the word "maintenance."[2]CitationMcAfee Shamoon December 2018

EnterpriseT1105Ingress Tool Transfer

Shamoon can download an executable to run on the victim.[2]

EnterpriseT1485Data Destruction

Shamoon attempts to overwrite operating system files and disk structures with image files.[4][5][2] In a later variant, randomly generated data was used for data overwrites.[3]CitationMcAfee Shamoon December 2018

EnterpriseT1543.003Windows ServiceSub-technique

Shamoon creates a new service named “ntssrv” to execute the payload. Newer versions create the "MaintenaceSrv" and "hdv_725x" services.[2][3]

EnterpriseT1016System Network Configuration Discovery

Shamoon obtains the target's IP address and local network segment.[2]CitationMcAfee Shamoon December 2018

EnterpriseT1027Obfuscated Files or Information

Shamoon contains base64-encoded strings.[2]

EnterpriseT1078.002Domain AccountsSub-technique

If Shamoon cannot access shares using current privileges, it attempts access using hard coded, domain-specific credentials gathered earlier in the intrusion.[5][3]

EnterpriseT1569.002Service ExecutionSub-technique

Shamoon creates a new service named “ntssrv” to execute the payload. Shamoon can also spread via PsExec.[2]CitationMcAfee Shamoon December19 2018

EnterpriseT1134.001Token Impersonation/TheftSub-technique

Shamoon can impersonate tokens using LogonUser, ImpersonateLoggedOnUser, and ImpersonateNamedPipeClient.CitationMcAfee Shamoon December 2018

EnterpriseT1570Lateral Tool Transfer

Shamoon attempts to copy itself to remote machines on the network.[2]

EnterpriseT1053.005Scheduled TaskSub-technique

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.[5][2]

EnterpriseT1140Deobfuscate/Decode Files or Information

Shamoon decrypts ciphertext using an XOR cipher and a base64-encoded string.[3]

EnterpriseT1112Modify Registry

Once Shamoon has access to a network share, it enables the RemoteRegistry service on the target system. It will then connect to the system with RegConnectRegistryW and modify the Registry to disable UAC remote restrictions by setting SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\LocalAccountTokenFilterPolicy to 1.[5][2]CitationMcAfee Shamoon December 2018

EnterpriseT1548.002Bypass User Account ControlSub-technique

Shamoon attempts to disable UAC remote restrictions by modifying the Registry.[2]

EnterpriseT1529System Shutdown/Reboot

Shamoon will reboot the infected system once the wiping functionality has been completed.[3]CitationMcAfee Shamoon December 2018

EnterpriseT1486Data Encrypted for Impact

Shamoon has an operational mode for encrypting data instead of overwriting it.[2][3]

EnterpriseT1018Remote System Discovery

Shamoon scans the C-class subnet of the IPs on the victim's interfaces.[5]

EnterpriseT1070.006TimestompSub-technique

Shamoon can change the modified time for files to evade forensic detection.CitationMcAfee Shamoon December 2018

EnterpriseT1071.001Web ProtocolsSub-technique

Shamoon has used HTTP for C2.[2]

Relationship explorer

All related ATT&CK context

Change history

Object version and sync metadata

The fields below describe the current mirrored snapshot. When Glexia retains multiple ATT&CK source imports, you can open the table to compare the same object across releases (hashes and MITRE timestamps). For MITRE’s own release notes and roadmap, see ATT&CK resources — Updates.

ATT&CK release
19.2
Object version
2.2
Created
Modified
Raw hash
36c912778ed1c67a...
Imported snapshots across ATT&CK releases(2)
ReleaseBundle importedObject versionModifiedStatusRaw hash
19.22.2Current bundle36c912778ed1…
19.12.2Older bundle36c912778ed1…
Raw source

Mirrored ATT&CK source object

The raw object is retained through the mirrored ATT&CK source bundle and object hash. The raw endpoint returns the exact object from the mirrored bundle when available.

Source references

External references and citations

MITRE external references are preserved separately from Glexia analysis so citations remain traceable to their original source records.

  1. [1]
    Cylera Kwampirs 2022

    Pablo Rincón Crespo. (2022, January). The link between Kwampirs (Orangeworm) and Shamoon APTs. Retrieved February 8, 2024.

    Open source URL
  2. [2]
    Palo Alto Shamoon Nov 2016

    Falcone, R.. (2016, November 30). Shamoon 2: Return of the Disttrack Wiper. Retrieved January 11, 2017.

  3. [3]
    Unit 42 Shamoon3 2018

    Falcone, R. (2018, December 13). Shamoon 3 Targets Oil and Gas Organization. Retrieved March 14, 2019.

    Open source URL
  4. [4]
    Symantec Shamoon 2012

    Symantec. (2012, August 16). The Shamoon Attacks. Retrieved March 14, 2019.

    Open source URL
  5. [5]
    FireEye Shamoon Nov 2016

    FireEye. (2016, November 30). FireEye Responds to Wave of Destructive Cyber Attacks in Gulf Region. Retrieved November 17, 2024.

    Open source URL
  6. [6]
    Disttrack

    (Citation: Palo Alto Shamoon Nov 2016)

  7. [7]
    mitre-attackS0140
    Open source URL
Source and licensing

Source: MITRE ATT&CK®. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation. Glexia is not affiliated with or endorsed by MITRE.