StoneDrill
- Type
- Wiper
- Capabilities
- Process injectionDefense evasionReconnaissancePost exploitation
- Platforms
- Windows
StoneDrill is Windows malware with destructive disk-wiping and backdoor capabilities, associated with Elfin, also known as APT33 or Magnallium. It can wipe an infected computer’s master boot record, rendering the system unbootable, and can open a backdoor and download additional files. It has been observed in Elfin intrusions involving organizations in Saudi Arabia.
StoneDrill queries the Windows Registry to locate the victim’s default browser and injects its payload directly into that browser’s process memory. It employs anti-emulation techniques to hinder automated analysis by emulators and sandboxes, checks for antivirus and antimalware products, and deletes temporary files after use. Additional capabilities include taking screenshots and obtaining the system’s current date and time. Its execution lifecycle incorporates VBScript and the Windows Management Instrumentation command-line utility.
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Wiper Malware : StoneDrill , similar to Shamoon2 malware, was used in some campaigns.
MAGNALLIUM ... CAPABILITIES: STONEDRILL wiper, variants of TURNEDUP malware
Techniques & procedures
16 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
2 techniques
Execution
[StoneDrill](https://attack.mitre.org/software/S0380) has used the WMI command-line (WMIC) utility to run tasks.(Citation: Kaspersky StoneDrill 2017)
[StoneDrill](https://attack.mitre.org/software/S0380) has several VBS scripts used throughout the malware's lifecycle.(Citation: Kaspersky StoneDrill 2017)
Privilege Escalation
1 technique
Privilege Escalation
[StoneDrill](https://attack.mitre.org/software/S0380) has relied on injecting its payload directly into the process memory of the victim's preferred browser.(Citation: Kaspersky StoneDrill 2017)
Stealth
5 techniques
Stealth
The content repeatedly describes payloads, strings, configuration files, scripts, URLs, and binaries being obfuscated or encoded using Base64, XOR, RC4, AES, RSA, hex encoding, custom algorithms, and other methods across many malware families and threat actors.
[StoneDrill](https://attack.mitre.org/software/S0380) has obfuscated its module with an alphabet-based table or XOR encryption.(Citation: Kaspersky StoneDrill 2017)
[StoneDrill](https://attack.mitre.org/software/S0380) has relied on injecting its payload directly into the process memory of the victim's preferred browser.(Citation: Kaspersky StoneDrill 2017)
[StoneDrill](https://attack.mitre.org/software/S0380) has been observed deleting the temporary files once they fulfill their task.(Citation: Kaspersky StoneDrill 2017)
[StoneDrill](https://attack.mitre.org/software/S0380) has used several anti-emulation techniques to prevent automated analysis by emulators or sandboxes.(Citation: Kaspersky StoneDrill 2017)
Discovery
5 techniques
Discovery
[StoneDrill](https://attack.mitre.org/software/S0380) has looked in the registry to find the default browser path.(Citation: Kaspersky StoneDrill 2017)
[StoneDrill](https://attack.mitre.org/software/S0380) has the capability to discover the system OS, Windows version, architecture and environment.(Citation: Kaspersky StoneDrill 2017)
[StoneDrill](https://attack.mitre.org/software/S0380) can obtain the current date and time of the victim machine.(Citation: Kaspersky StoneDrill 2017)
[StoneDrill](https://attack.mitre.org/software/S0380) has used several anti-emulation techniques to prevent automated analysis by emulators or sandboxes.(Citation: Kaspersky StoneDrill 2017)
[StoneDrill](https://attack.mitre.org/software/S0380) can check for antivirus and antimalware programs.(Citation: Kaspersky StoneDrill 2017)
Collection
1 technique
Collection
[StoneDrill](https://attack.mitre.org/software/S0380) can take screenshots.(Citation: Kaspersky StoneDrill 2017)
Command and Control
1 technique
Command and Control
[StoneDrill](https://attack.mitre.org/software/S0380) has downloaded and dropped temporary files containing scripts; it additionally has a function to upload files from the victims machine.(Citation: Kaspersky StoneDrill 2017)
Impact
3 techniques
Impact
[StoneDrill](https://attack.mitre.org/software/S0380) has a disk wiper module that targets files other than those in the Windows directory.(Citation: Kaspersky StoneDrill 2017)
[StoneDrill](https://attack.mitre.org/software/S0380) can wipe the accessible physical or logical drives of the infected machine.(Citation: Symantec Elfin Mar 2019)
[StoneDrill](https://attack.mitre.org/software/S0380) can wipe the master boot record of an infected computer.(Citation: Symantec Elfin Mar 2019)
Recent activity
50 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.