Dridex
- Type
- Banking trojan
- Capabilities
- Credential theftKeyloggingExfiltrationInitial accessDefense evasionDLL sideloadingPrivilege escalation
- Delivery
- PhishingMalspam
- Platforms
- Windows
Dridex is a modular Windows banking Trojan associated with Evil Corp, also known as Indrik Spider. It developed from the earlier Bugat and Cridex Trojans and targets financial institutions, their customers, individuals, and businesses. Its principal capabilities include stealing online-banking credentials, recording keystrokes, capturing screenshots, and downloading additional malware. Dridex monitors browser access to banking services and uses API hooking to introduce malicious functionality and capture login information. Its modules package, encrypt, and exfiltrate stolen information through peer-to-peer communications.
Dridex is commonly distributed through phishing and large-scale malicious email campaigns, including campaigns supported by the Necurs botnet. Messages frequently use urgent invoice, order, receipt, or payment themes and deliver malicious documents, scripts, archives, or download links. Infection chains have used obfuscated Office macros and exploitation of CVE-2017-0199 to execute downloaders or install the malware.
Dridex uses peer-to-peer networking and multiple layers of proxy servers to improve command-and-control resilience and conceal backend infrastructure. Operators have also abused legitimate Windows executables through DLL search-order hijacking. Beyond financial theft, Dridex has served as an initial-access and malware-delivery platform in ransomware intrusions, notably those involving BitPaymer. It shares code and implementation characteristics with related ransomware tooling, but Dridex itself is not ransomware.
Associated vulnerabilities
4 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
12 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Big Game Hunting: The Evolution of INDRIK SPIDER From Dridex Wire Fraud to BitPaymer Targeted Ransomware.
(Citation: Proofpoint TA505 Sep 2017)(Citation: Proofpoint TA505 June 2018)(Citation: IBM TA505 April 2020)
“Prior to this threat, Storm-0324 had the following range of payload distribution: ... Dridex.”
A modified version of the banking trojan Dridex – named DoppelDridex – is being delivered via payloads staged on Slack and Discord CDNs.
Typically, this group varies its payloads which appear to be targeted by region – for example, in 2021, all TA544 Ursnif campaigns have specifically targeted Italian organizations while Dridex payloads associated with this threat actor do not have specific geographic targeting.
+6 more in the app. View in Mallory
Techniques & procedures
102 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
5 techniques
Resource Development
Active since 2009, the Avalanche botnet has been used for money muling schemes, distributing a wide variety of malware, and as a fast-flux communication infrastructure for other botnets.
The Necurs botnet is the largest spam botnet in the world... Talos recently identified a significant increase in the amount of spam emails originating from the Necurs botnet.
The domains associated with the compromised URLs leveraged by Dridex are usually legitimate but compromised websites.
According to the indictment, they also used a powerful online tool known as a botnet in furtherance of the scheme.
Yakubets was the leader of the group of conspirators involved with the Bugat malware and botnet, according to the indictment. As the leader, he oversaw and managed the development, maintenance, distribution, and infection of Bugat
Initial Access
6 techniques
Initial Access
was able to infect USB media. This ability influenced the name under which the “zero” version of Cridex was detected — Worm.Win32.Cridex.
SocGholish is an advanced delivery framework used in drive-by-download and watering hole attacks.
In the first incident, the attackers exploited the ProxyShell vulnerability on the network belonging to a North American media organization, to install a remote shell on the target’s Exchange server
the Bugat malware allowed computer intruders to hijack a computer session and present a fake online banking webpage to trick a user into entering personal and financial information.
several campaigns are leveraging attachments with the Excel 4.0 sheet-style macros to fetch the initial payload
Attachment and hyperlink names vary from random sets of numbers or imitation automatic filenames from scanners to filenames purporting to reference financial records.
Execution
16 techniques
Execution
ROOT\CIMV2 SELECT * FROM Win32_Fan
<Task xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task" version="1.3"><RegistrationInfo> </RegistrationInfo><Triggers><LogonTrigger><Enabled>true</Enabled><UserId>
[Dridex](https://attack.mitre.org/software/S0384) can maintain persistence via the creation of scheduled tasks within system directories such as `windows\system32\`, `windows\syswow64,` `winnt\system32`, and `winnt\syswow64`.(Citation: Red Canary Dridex Threat Report 2021)
In other cases, macros launch scripts that extract executables imbedded in the document as opposed to downloading the payload.
Once executed, the HTA or JS file acts as a preliminary loader, collecting system information and performing anti-analysis checks before using cmd.exe or Powershell.exe to connect to a command and control server to retrieve any secondary payloads for deployment.
Once executed, the HTA or JS file acts as a preliminary loader, collecting system information and performing anti-analysis checks before using cmd.exe or Powershell.exe to connect to a command and control server to retrieve any secondary payloads for deployment.
leveraging attachments with the Excel 4.0 sheet-style macros to fetch the initial payload
Even more direct instances of post-exploitation activity, such as recently-identified use of Log4j exploitation to install Dridex or Meterpreter, requires follow-on functionality (either MSHTA in Windows environments or a Python script in Linux environments) for effectiveness.
Ces pièces jointes pouvaient notamment être des archives zip ou 7zip contenant des scripts VBS ou Javascript... Ce dernier redirige la victime vers une URL d’un site légitime mais compromis.
[Dridex](https://attack.mitre.org/software/S0384) has used the <code>OutputDebugStringW</code> function to avoid malware analysis as part of its anti-debugging technique.(Citation: Checkpoint Dridex Jan 2021)
The vulnerability allows Rich Text Format (RTF) documents to run scripts when opened.
The vulnerability allows Rich Text Format (RTF) documents to run scripts when opened.
while users received an Emotet downloader within a Word document, which once again used macros to facilitate malicious activities
[Dridex](https://attack.mitre.org/software/S0384) has relied upon users clicking on a malicious attachment delivered through spearphishing.(Citation: Checkpoint Dridex Jan 2021)
As you can see, when you call GlobalAtomGetAtomNameA in explorer.exe the program will execute the shellcode.
[Dridex](https://attack.mitre.org/software/S0384) can abuse legitimate Windows executables to side-load malicious DLL files.(Citation: Red Canary Dridex Threat Report 2021)
Persistence
6 techniques
Persistence
<Task xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task" version="1.3"><RegistrationInfo> </RegistrationInfo><Triggers><LogonTrigger><Enabled>true</Enabled><UserId>
[Dridex](https://attack.mitre.org/software/S0384) can maintain persistence via the creation of scheduled tasks within system directories such as `windows\system32\`, `windows\syswow64,` `winnt\system32`, and `winnt\syswow64`.(Citation: Red Canary Dridex Threat Report 2021)
The malware will also create a copy of itself in executable format along with a registry key in the AppData\Roaming\[random folder name] with the route in "HKCU\Software\Microsoft\Windows\CurrentVersion\Run".
In recent months, we have seen a growth in malware campaigns using malicious Microsoft Excel add-in (XLL) files to infect systems. This technique is tracked in MITRE ATT&CK as T1137.006.
Other than adding to the scheduled task, it also calls the API CreateProcessW() to run “sdclt.exe” once just after it has been deployed.
the attackers used a Makop ransomware variant with many modified elements, including added persistence via scripts in the Startup folder before triggering a reboot... Dridex then modified RUN keys to automatically start the Dridex executable
Privilege Escalation
10 techniques
Privilege Escalation
<Task xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task" version="1.3"><RegistrationInfo> </RegistrationInfo><Triggers><LogonTrigger><Enabled>true</Enabled><UserId>
[Dridex](https://attack.mitre.org/software/S0384) can maintain persistence via the creation of scheduled tasks within system directories such as `windows\system32\`, `windows\syswow64,` `winnt\system32`, and `winnt\syswow64`.(Citation: Red Canary Dridex Threat Report 2021)
The last major update from version 3 to version 4, released at the beginning of 2017, gained attention for adopting the Atom Bombing injection technique.
Dridex disposerait d’au moins cinq techniques de Web injection : DLL order hijacking, process hollowing, PE injection, thread execution hijacking et AtomBombing.
The attacker can also initiate execution of the attacker-controlled memory in the remote process through asynchronous procedure calls such as QueueUserAPC , NtQueueApcThread , ZwQueueApcThread and RtlQueueApcWow64Thread .
Process hollowing does this. The steps in process hollowing is to create a process in suspended mode, then deallocate the memory of the suspended process ... write an attacker-controlled image to the target process and then resume execution
Other than adding to the scheduled task, it also calls the API CreateProcessW() to run “sdclt.exe” once just after it has been deployed.
the attackers used a Makop ransomware variant with many modified elements, including added persistence via scripts in the Startup folder before triggering a reboot... Dridex then modified RUN keys to automatically start the Dridex executable
Through its history and development, Dridex has used several exploits and methods for execution, including modification of directory files, using system recovery to escalate privileges...
Dridex developers continue to implement new techniques for evading the User Account Control (UAC) system.
Stealth
24 techniques
Stealth
[Dridex](https://attack.mitre.org/software/S0384)'s strings are obfuscated using RC4.(Citation: Checkpoint Dridex Jan 2021)
It’s also worth mentioning that both Dridex and FriedEx use the same malware packer.
It resolves all system API calls on the fly by searching for them by hash...
In other cases, macros launch scripts that extract executables imbedded in the document as opposed to downloading the payload.
En novembre 2014, Dridex adopte aussi bien l’usurpation de la signature numérique que le protocole P2P
msinfo32.exe loads a malicious DLL from the appdata\roaming directory that masquerades as a legitimate DLL ( mfc42u.dll ). (T1036.005 Masquerading: Match Legitimate Name or Location)
The last major update from version 3 to version 4, released at the beginning of 2017, gained attention for adopting the Atom Bombing injection technique.
Dridex disposerait d’au moins cinq techniques de Web injection : DLL order hijacking, process hollowing, PE injection, thread execution hijacking et AtomBombing.
The attacker can also initiate execution of the attacker-controlled memory in the remote process through asynchronous procedure calls such as QueueUserAPC , NtQueueApcThread , ZwQueueApcThread and RtlQueueApcWow64Thread .
Process hollowing does this. The steps in process hollowing is to create a process in suspended mode, then deallocate the memory of the suspended process ... write an attacker-controlled image to the target process and then resume execution
One such anti-analysis method which is becoming increasingly popular is the malformation or complete removal of the Windows PE header from unpacked malicious payloads.
The payload performs several steps: The shellcode gets extracted into the .data section; The shellcode decrypts itself; The decrypted shellcode runs a copy of itself.
The downloaded DLL is then loaded with regsvr32.exe.
The last step of the Excel 4.0 Macro is to execute this “KgmsgJbgP.sct” file using the “mshta” command... The final command to be executed is “mshta.exe C:\ProgramData\KgmsgJbgP.sct“.
[Dridex](https://attack.mitre.org/software/S0384) can use `regsvr32.exe` to initiate malicious code.(Citation: Red Canary Dridex Threat Report 2021)
If the user is part of a domain, the VBS file will download the Dridex DLL and execute it using Rundll32.exe
Once it is run, the Trojan will proceed to verify if it is the only instance of malware running on the device... All of this is carried out by creating and opening a mutex.
Once executed, the HTA or JS file acts as a preliminary loader, collecting system information and performing anti-analysis checks...
they introduced geo-filtering wherein an IP field appeared in C&C request packets, which was then used to identify the peer’s country. If it was not on the list of target countries, the peer received an error message.
the custom Dridex executables incorporated code loops, time delays, and environment detection mechanisms
As you can see, when you call GlobalAtomGetAtomNameA in explorer.exe the program will execute the shellcode.
[Dridex](https://attack.mitre.org/software/S0384) can abuse legitimate Windows executables to side-load malicious DLL files.(Citation: Red Canary Dridex Threat Report 2021)
The shellcode has an embedded DLL, which is termed core DLL herein. With VirtualAlloc the shellcode allocates memory for the core DLL. VirtualProtect helps assign the correct memory access protection to each allocated memory region.
Denis used the IsDebuggerPresent, OutputDebugString, and SetLastError APIs to avoid debugging. Dridex has used the OutputDebugStringW function to avoid malware analysis as part of its anti-debugging technique.
Defense Impairment
4 techniques
Defense Impairment
The malware will also create a copy of itself in executable format along with a registry key in the AppData\Roaming\[random folder name] with the route in "HKCU\Software\Microsoft\Windows\CurrentVersion\Run".
/grant:r "%ws":F \NTUSER.DAT
it is looking for a DLL named snxhk.dll , which is a memory protection component of another company’s endpoint security product, in order to sabotage that protection
modification of firewall rules to facilitate peer-to-peer communication for extraction of data
Credential Access
8 techniques
Credential Access
Bugat malware was allegedly designed to automate the theft of confidential personal and financial information, such as online banking credentials, and facilitated the theft of confidential personal and financial information by a number of methods.
inject malware or keylogging software, via API hooking, to steal customer login information
As of this writing, the most recent version of Dridex is 4.80 and includes support for webinjects into Chrome version 63.
inject malware or keylogging software, via API hooking, to steal customer login information
the indictment alleges that the Bugat malware allowed computer intruders to hijack a computer session and present a fake online banking webpage to trick a user into entering personal and financial information.
Dridex is known for its capability to perform credential theft
Carberp has captured credentials when a user performs login through a SSL session. Dridex can perform browser attacks via web injects to steal information such as credentials, certificates, and cookies. IcedID has used web injection attacks to redirect victims to spoofed sites designed to harvest banking and other credentials. QakBot can use advanced web injects to steal web banking credentials. TrickBot uses web injects and browser redirection to trick the user into providing their login credentials on a fake or modified web page. Ursnif has injected HTML codes into banking sites to steal sensitive online banking information (ex: usernames and passwords).
Victims may have had their sensitive personal information stolen (e.g., user account credentials).
Discovery
10 techniques
Discovery
It obtains the installed software information one-by-one by enumerating the sub-keys under the key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” in the system registry.
The unique_account field is the concatenation of the Computer Name and the MD5 hash of the following expression: md5(computer_name + user_name + ...).
The Dridex loader checks his privilege level by comparing the current process token group SID to the local administrator SID (S-1-5-32-544). It uses the GetTokenInformation API with TokenGroups as Token Information.
[Dridex](https://attack.mitre.org/software/S0384) has collected the computer name and OS architecture information from the system.(Citation: Checkpoint Dridex Jan 2021)
One of the possible payloads is the persistent banking trojan known as DRIDEX, which attempts to harvest banking account information via browser monitoring routines.
Once executed, the HTA or JS file acts as a preliminary loader, collecting system information and performing anti-analysis checks...
they introduced geo-filtering wherein an IP field appeared in C&C request packets, which was then used to identify the peer’s country. If it was not on the list of target countries, the peer received an error message.
the custom Dridex executables incorporated code loops, time delays, and environment detection mechanisms
[Dridex](https://attack.mitre.org/software/S0384) has collected a list of installed software on the system.(Citation: Checkpoint Dridex Jan 2021)
Denis used the IsDebuggerPresent, OutputDebugString, and SetLastError APIs to avoid debugging. Dridex has used the OutputDebugStringW function to avoid malware analysis as part of its anti-debugging technique.
Lateral Movement
3 techniques
Lateral Movement
eSentire observed interactive operators arrive on the compromised asset within one hour of initial infection.
was able to infect USB media. This ability influenced the name under which the “zero” version of Cridex was detected — Worm.Win32.Cridex.
Use of Dridex banking trojan, Pentest tool Powershell Empire, credentials viewer tool Mimikatz and administration tool PsExec have been reported. After taking over the network’s administrators accounts, Threat Actors use them to deploy the ransomware
Collection
10 techniques
Collection
A system infected with Avalanche-associated malware may be subject to malicious activity including the theft of user credentials and other sensitive data, such as banking and credit card information.
Bugat malware was allegedly designed to automate the theft of confidential personal and financial information, such as online banking credentials, and facilitated the theft of confidential personal and financial information by a number of methods.
inject malware or keylogging software, via API hooking, to steal customer login information
As of this writing, the most recent version of Dridex is 4.80 and includes support for webinjects into Chrome version 63.
inject malware or keylogging software, via API hooking, to steal customer login information
Modules include provisions for capturing screenshots
Email stealer : il est utilisé pour collecter les courriels de la victime
[Dridex](https://attack.mitre.org/software/S0384) can perform browser attacks via web injects to steal information such as credentials, certificates, and cookies.(Citation: Dell Dridex Oct 2015)
steal customer login information
Dridex modules package, encrypt, and transmit captured information, screenshots, etc.
Command and Control
16 techniques
Command and Control
Many add another layer of security, such as an additional, symmetric cipher to encrypt their data, for concealment within TLS.
Over the last six years there has been an increased shift by malware authors to secure their C&C communications using the SSL/TLS protocol to stymie detection and blend in with normal traffic.
“Il protocollo HTTP/S è stato ampiamente abusato ... DanBot, Dridex, Egregor e GuLoader.”
[Dridex](https://attack.mitre.org/software/S0384) contains a backconnect module for tunneling network traffic through a victim's computer. Infected computers become part of a P2P botnet that can relay C2 traffic to other infected peers.(Citation: Dell Dridex Oct 2015)(Citation: Checkpoint Dridex Jan 2021)
"APT41 used a tool called CLASSFON to covertly proxy network communications." / "BADCALL functions as a proxy server between the victim and C2 server." / "Sandworm Team's BCS-server tool can create an internal proxy server to redirect traffic..."
[Dridex](https://attack.mitre.org/software/S0384) can use multiple layers of proxy servers to hide terminal nodes in its infrastructure.(Citation: Checkpoint Dridex Jan 2021)
"Dridex contains a backconnect module... Infected computers become part of a P2P botnet that can relay C2 traffic to other infected peers." / "Ursnif has used a peer-to-peer (P2P) network for C2."
These connections were largely unencrypted and occurred over a variety of ports and services, including ports 4664 and 9443.
Kremez told BleepingComputer in conversations that Pemex was probably targeted by an initial infection of the Emotet Trojan, which then dropped the Dridex malware.
[Dridex](https://attack.mitre.org/software/S0384) contains a module for VNC.(Citation: Dell Dridex Oct 2015)
What made the ’Avalanche’ infrastructure special was the use of the so-called double fast flux technique. The complex setup of the Avalanche network was popular amongst cybercriminals, because of the double fast flux technique offering enhanced resilience to takedowns and law enforcement action.
"...Necurs's bots consistently polled the DGA until a C&C server replied..."
Dridex contains a backconnect module for tunneling network traffic through a victim's computer... XTunnel relays traffic between a C2 server and a victim... Vasport is capable of tunneling though a proxy...
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
[Dridex](https://attack.mitre.org/software/S0384) has encrypted traffic with RC4.(Citation: Kaspersky Dridex May 2017)
[Dridex](https://attack.mitre.org/software/S0384) has encrypted traffic with RSA.(Citation: Kaspersky Dridex May 2017)
Exfiltration
3 techniques
Exfiltration
The same sort of connection can be used by malware to exfiltrate sensitive information— transmitting user credentials, passwords, cookies, and other collected data back to the malware’s operator.
Dridex modules package, encrypt, and transmit captured information, screenshots, etc., via peer-to-peer (P2P) networks in the XML format or in binary format, as seen in newer versions.
les opérateurs de DoppelPaymer se différencient ... par le fait qu’ils se sont mis à publier des données exfiltrées depuis le SI de leurs victimes
Impact
3 techniques
Impact
Kill OS : déployé sur des systèmes identifiés comme étant ceux de chercheurs ou de systèmes d’analyse automatique de codes malveillants, il efface le master boot record (MBR) du disque dur afin de saboter le poste infecté
Insurance company CNA Financial reportedly paid its attackers $40 million following a ransomware attack disclosed in March.
Last year alone, cyber-enabled Transnational Criminal Organizations stole more than $20 billion directly from Americans through rampant fraud, ransomware, and extortion schemes.
Observables
1,009 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
200 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.