Skip to main content
Mallory
Malware4 associated actors

Diavol

Tracked since Nov 25, 2025 · Updated 5 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
Vulns0Associated
Actors4Associated
ATT&CK29Techniques
IOCs23Tracked
Type
Ransomware
Capabilities
ExtortionReconnaissanceScanningDefense evasion
Platforms
Windows

Diavol is a Windows ransomware family associated with the TrickBot Group, also known as Wizard Spider. First publicly reported in July 2021 following a June 2021 attack, it was initially observed deployed alongside Conti ransomware. The FBI subsequently formally linked Diavol to TrickBot Group developers. Diavol has also been delivered by the BumbleBee loader.

Diavol targets files on local drives and network shares, including SMB resources. It collects host and user information, generates victim identifiers, and registers compromised systems with command-and-control infrastructure. It can retrieve updated encryption keys, targeting rules, service and process lists, and ransom-note content. Its discovery capabilities include enumerating network shares, collecting local and external IP information, and using the ARP table to identify remote hosts for scanning.

The ransomware terminates selected processes and stops services before encrypting files. Encryption implementations vary: analyzed variants use RSA through Windows cryptographic APIs, while others combine RSA with a randomly generated XOR key reused across files. Weaknesses in some XOR-based variants permit substantial file recovery through known-plaintext techniques. Diavol supports partial-file encryption and configurable targeting and exclusion rules, leaves ransom notes, and changes the desktop wallpaper.

Diavol inhibits recovery by deleting Windows Volume Shadow Copies through native utilities or direct Volume Shadow Copy Service interfaces. It also uses resource-embedded code and shellcode-based execution to impede analysis and can delete its own executable after running. Its primary purpose is file-encryption extortion; data theft observed during associated intrusions does not establish a native exfiltration capability.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
WIZARD SPIDER

(Citation: Microsoft Ransomware as a Service)

via mitre attack structuredgithub.com
EXOTIC LILY

This threat actor quickly achieved notoriety through their ties with ransomware groups such as “Conti” and “Diavol.”

via reliaquest com threat huntingreliaquest.com
Trickbot

The FBI has formally linked the Diavol ransomware operation to the TrickBot Group... "The FBI first learned of Diavol ransomware in October 2021."

via bleeping computerbleepingcomputer.com
Stern

...Stern has transacted with addresses linked to strains like Quantum, Karakurt, Diavol, and Royal in 2022 following Conti’s demise.

via chainalysis blogchainalysis.com
MITRE ATT&CK

Techniques & procedures

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

Execution

3 techniques
T1059Command and Scripting InterpreterEvidence1

With that, it calls ShellExecuteW to execute the command “vssadmin Delete Shadows /All /Quiet >> NULL” to delete all shadow copies on the system.

T1059.003Windows Command ShellEvidence1

similarities were discovered, such as their use of asynchronous I/O operations for file encryption queuing and almost identical command-line parameters for the same functionality.

T1106Native APIEvidence3

[Diavol](https://attack.mitre.org/software/S0659) has used several API calls like `GetLogicalDriveStrings`, `SleepEx`, `SystemParametersInfoAPI`, `CryptEncrypt`, and others to execute parts of its attack.(Citation: Fortinet Diavol July 2021)

Persistence

1 technique
T1112Modify RegistryEvidence1

it calls RegOpenKeyExW to retrieve the registry key using the sub key “Control Panel\Desktop”. With the registry key, the malware calls RegQueryValueExW... and RegSetValueExW to set that path as the value of “WallpaperOld”.

Stealth

5 techniques
T1027Obfuscated Files or InformationEvidence8

[Diavol](https://attack.mitre.org/software/S0659) has Base64 encoded the RSA public key used for encrypting files.(Citation: Fortinet Diavol July 2021)

T1027.003SteganographyEvidence3

[Diavol](https://attack.mitre.org/software/S0659) has obfuscated its main code routines within bitmap images as part of its anti-analysis techniques.(Citation: Fortinet Diavol July 2021)

T1027.007Dynamic API ResolutionEvidence1

The malware loads a “JPEG” with the same name in the resource section, extracts a list of imported functions with their corresponding DLL, and manually calls LoadLibraryA and GetProcAddress to resolve it for the shellcode.

T1070.004File DeletionEvidence1

After finishing file encryption and changing the wallpaper, the malware deletes its own executable... execute the parameter above to delete its own executable. | If the filename is in the configuration’s file to wipe list, the malware calls DeleteFileW to delete it.

T1497.001System ChecksEvidence1

For anti-analysis, DIAVOL loads shellcode containing its core functions into memory and executes it dynamically, which makes static analysis a bit harder.

Defense Impairment

2 techniques
T1112Modify RegistryEvidence1

it calls RegOpenKeyExW to retrieve the registry key using the sub key “Control Panel\Desktop”. With the registry key, the malware calls RegQueryValueExW... and RegSetValueExW to set that path as the value of “WallpaperOld”.

T1685Disable or Modify ToolsEvidence4

[Diavol](https://attack.mitre.org/software/S0659) can attempt to stop security software.(Citation: Fortinet Diavol July 2021)

Discovery

9 techniques
T1016System Network Configuration DiscoveryEvidence9

[Diavol](https://attack.mitre.org/software/S0659) can enumerate victims' local and external IPs when registering with C2.(Citation: Fortinet Diavol July 2021)

T1018Remote System DiscoveryEvidence4

[Diavol](https://attack.mitre.org/software/S0659) can use the ARP table to find remote hosts to scan.(Citation: Fortinet Diavol July 2021)

T1033System Owner/User DiscoveryEvidence8

[Diavol](https://attack.mitre.org/software/S0659) can collect the username from a compromised host.(Citation: Fortinet Diavol July 2021)

T1057Process DiscoveryEvidence7

[Diavol](https://attack.mitre.org/software/S0659) has used `CreateToolhelp32Snapshot`, `Process32First`, and `Process32Next` API calls to enumerate the running processes in the system.(Citation: Fortinet Diavol July 2021)

T1082System Information DiscoveryEvidence11

[Diavol](https://attack.mitre.org/software/S0659) can collect the computer name and OS version from the system.(Citation: Fortinet Diavol July 2021)

T1083File and Directory DiscoveryEvidence7

[Diavol](https://attack.mitre.org/software/S0659) has a command to traverse the files and directories in a given path.(Citation: Fortinet Diavol July 2021)

T1135Network Share DiscoveryEvidence5

[Diavol](https://attack.mitre.org/software/S0659) has a `ENMDSKS` command to enumerates available network shares.(Citation: Fortinet Diavol July 2021)

T1497.001System ChecksEvidence1

For anti-analysis, DIAVOL loads shellcode containing its core functions into memory and executes it dynamically, which makes static analysis a bit harder.

T1614.001System Language DiscoveryEvidence1

Another clue pointing to the Russian threat actors is code for checking the language on the compromised system to filter out victims in Russia or the Commonwealth of Independent States (CIS) region.

Lateral Movement

1 technique
T1021.002SMB/Windows Admin SharesEvidence4

[Diavol](https://attack.mitre.org/software/S0659) can spread throughout a network via SMB prior to encryption.(Citation: Fortinet Diavol July 2021)

Command and Control

3 techniques
T1071Application Layer ProtocolEvidence3

The researchers also note that the HTTP headers for the command and control (C2) server communication were “set to prefer Russian language content,” also favored by TrickBot operators.

T1071.001Web ProtocolsEvidence8

[Diavol](https://attack.mitre.org/software/S0659) has used HTTP GET and POST requests for C2.(Citation: Fortinet Diavol July 2021)

T1105Ingress Tool TransferEvidence4

[Diavol](https://attack.mitre.org/software/S0659) can receive configuration updates and additional payloads including wscpy.exe from C2.(Citation: Fortinet Diavol July 2021)

Exfiltration

1 technique
T1567Exfiltration Over Web ServiceEvidence1

Your company is a victim of double extortion ransomware attack... not only your data is encrypted, but it's also have been exfiltrated from your network.

Impact

6 techniques
T1485Data DestructionEvidence4

[Diavol](https://attack.mitre.org/software/S0659) can delete specified files from a targeted system.(Citation: Fortinet Diavol July 2021)

T1486Data Encrypted for ImpactEvidence20

[Diavol](https://attack.mitre.org/software/S0659) has encrypted files using an RSA key though the `CryptEncrypt` API and has appended filenames with ".lock64". (Citation: Fortinet Diavol July 2021)

T1489Service StopEvidence4

[Diavol](https://attack.mitre.org/software/S0659) will terminate services using the Service Control Manager (SCM) API.(Citation: Fortinet Diavol July 2021)

T1490Inhibit System RecoveryEvidence8

[Diavol](https://attack.mitre.org/software/S0659) can delete shadow copies using the `IVssBackupComponents` COM object to call the `DeleteSnapshots` method.(Citation: Fortinet Diavol July 2021)

T1491.001Internal DefacementEvidence4

After encryption, [Diavol](https://attack.mitre.org/software/S0659) will capture the desktop background window, set the background color to black, and change the desktop wallpaper to a newly created bitmap image with the text “All your files are encrypted! For more information see “README-FOR-DECRYPT.txt".(Citation: Fortinet Diavol July 2021)

T1657Financial TheftEvidence1

"Because ransomware payments are demanded in cryptocurrency – usually Bitcoin..." and "strains related to Trickbot have extorted at least $724 million worth of cryptocurrency"

Indicators of compromise

Observables

23 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

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 matching23Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors4Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping29Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.