DarkBit
- Type
- Ransomware
- Capabilities
- Defense evasionExtortion
- Delivery
- Lure
- Platforms
- Windows
DarkBit is a Go-based ransomware family targeting Windows systems, associated with Iranian state-linked destructive operations. It was used in the February 2023 attack against the Technion Israel Institute of Technology. The operation involved DEV-1084, subsequently tracked as Storm-1084, working with MERCURY, also known as Mango Sandstorm or MuddyWater. The DarkBit persona combined ransom demands with political messaging, presenting a disruptive operation as financially motivated ransomware.
DarkBit uses multithreaded execution to traverse the filesystem and encrypt files in chunks, with configurable encryption limits and exclusions. It stores encrypted key material with affected files, renames encrypted files, and deposits ransom notes. Before encryption, it deletes Windows volume shadow copies to impede recovery. Its evasion techniques include obfuscated library and function names and dynamic API resolution. A mutex prevents concurrent instances.
An associated delivery chain used an ISO lure containing a disguised Windows shortcut and an archive. The shortcut abused the legitimate Windows PrintBrm utility to extract a Cobalt Strike beacon, which subsequently downloaded the ransomware. DarkBit ransom notes demanded cryptocurrency and threatened publication or sale of allegedly stolen data; these claims do not independently establish an exfiltration capability in the ransomware itself.
Profero developed a DarkBit decryptor that exploits weaknesses in key generation to recover encryption keys through brute force.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Recently, we came across a tweet about DarkBit ransomware. An Iranian APT group, named MuddyWater, is reportedly behind the DarkBit ransomware.
Techniques & procedures
12 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
3 techniques
Execution
cmd.exe /c xcopy .\HR-Update.zip %TEMP% /h /y && PrintBrm.exe -r -f %TEMP%\HR-Update.zip -d %TEMP%\unzip & %TEMP%\unzip\HR-Update.exe
The shortcut was using PrintBrm.exe to unpack the HR-Update.zip and run it as shown below.
The initial lure was delivered as an ISO file. The payload included a shortcut file (with a .doc extension) and a zip file.
Stealth
5 techniques
Stealth
Further analysis revealed that they had obfuscated some dll names like advapi32.dll and functions like SystemFunction036... Its dynamically resolving API at this address. Malware authors tend to dynamically resolve API to avoid static detections.
"names": { "thumbs.db": 1, "desktop.ini": 1, "darkbit.jpg": 1, "recovery_darkbit.txt": 1, "system volume information": 1 }
As the customary prelude to file encryption, they are using vssadmin.exe to delete all the shadow copies.
The shortcut was using PrintBrm.exe to unpack the HR-Update.zip and run it as shown below. PrintBrm.exe is a windows inbuilt command line tool.
-all | Run on all without timeout counter ... -domain | Domain ... -force | Force blacklisted computers ... "hostnames": [ --- LIST OF TARGET HOSTNAMES --- ]
Discovery
2 techniques
Discovery
FindFirstFileW, FindNextFileW are used to iterate through the file system, to find the appropriate file and then encrypt it.
-all | Run on all without timeout counter ... -domain | Domain ... -force | Force blacklisted computers ... "hostnames": [ --- LIST OF TARGET HOSTNAMES --- ]
Command and Control
1 technique
Command and Control
The final ransomware payload is downloaded with the help of Cobalt Strike.
Impact
2 techniques
Impact
FindFirstFileW, FindNextFileW are used to iterate through the file system, to find the appropriate file and then encrypt it... The encrypted files are given '.darkbit' extension and also a ransom note is dropped in the respective folders.
vssadmin.exe ... delete ... shadows ... /all ... /Quiet
Observables
6 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.