QakBot
- Type
- Banking trojan
- Capabilities
- Credential theftInitial accessPersistenceDefense evasionProcess injectionReconnaissanceLateral movement
- Delivery
- PhishingMalspamLanding pageLure
- Platforms
- Windows
Qakbot, also known as Qbot and Pinkslipbot, is a modular Windows banking Trojan that evolved into an information-stealing botnet and initial-access platform for ransomware operations. Active since the late 2000s, it steals credentials, including email account credentials, and enables operators to deploy additional malicious tools. It has affected organizations across multiple sectors, including healthcare, manufacturing, and government.
Qakbot is commonly distributed through malicious email campaigns that hijack existing conversations using material from compromised mailboxes. Infection chains have used links to compromised websites, compressed archives, script downloaders, malicious Office documents, and disk images containing deceptive shortcuts. It has also been distributed by Emotet and SmokeLoader. Historical propagation methods include network shares, removable drives, and exploitation of software vulnerabilities.
Its capabilities include host and network reconnaissance, process injection, and persistence through startup configuration and scheduled tasks. Variants check for security products, debugging tools, and virtualized environments, and use obfuscation to hinder analysis. Qakbot injects into legitimate Windows processes and communicates with command-and-control infrastructure that includes compromised machines. Its modular architecture supports downloading and executing additional components.
Qakbot has delivered Cobalt Strike, Brute Ratel C4, and SystemBC, providing access for follow-on intrusions and ransomware deployment. It has been associated with ProLock, Royal, and Black Basta ransomware operations, and was a prominent initial-access mechanism for Black Basta before the August 2023 disruption. That multinational law-enforcement operation seized botnet infrastructure and distributed an uninstaller through Qakbot's existing update mechanism.
Associated vulnerabilities
17 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
5 more CVEs associated with this family tracked in Mallory.
Associated threat actors
36 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Actif depuis 2008, Qakbot est à l’origine un cheval de Troie bancaire.
[Storm-1811](https://attack.mitre.org/groups/G1046) operations have included deployment of [QakBot](https://attack.mitre.org/software/S0650).(Citation: Microsoft Storm-1811 2024)
On August 29, 2023, the U.S. Department of Justice announced that a multinational operation successfully disrupted the QakBot botnet, which infected over 700,000 computers worldwide.
On August 29, 2023, the U.S. Department of Justice announced that a multinational operation successfully disrupted the QakBot botnet, which infected over 700,000 computers worldwide.
+30 more in the app. View in Mallory
Techniques & procedures
178 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
1 technique
Reconnaissance
The security questions include asking the user to enter credit card information as well as personal information.
Resource Development
9 techniques
Resource Development
Initial access techniques include malvertising, callback phishing ... and forum or blog comments containing malicious links. These lead to downloads of malware, including BATLOADER and Qakbot, which in turn deliver secondary payloads that eventually lead to ransomware deployment.
Unlike with Dridex, whose distributors have been observed hosting the malware on compromised web servers, TA551 registers new domains that are used for hosting payloads.
Resource Development - Virtual Private Server (T1583.003), Web Services (T1583.006). Группировка покупает VPS у BPH-провайдера или анонимного хостера. Здесь живут C2-серверы, фишинговые панели, лоадеры.
As it turns out, compromised websites abused by Qbot host a .htaccess file containing a rewrite rule, catching all requests under /subdir/.
On May 22, 2025, the U.S. Attorney’s Office (“USAO”) for the Central District of California filed a Complaint for Forfeiture (2:25-CV-04631) against virtual currency and currency (“defendant assets”) seized from the operators of the Qakbot botnet.
Stealing reply-chain emails is a known Emotet tactic used to camouflage malicious emails as parts of existing conversations for higher credibility and better infection rates in future spam campaigns.
some recent incidents have involved email thread hijacking. This is a technique where threat actors respond to previously compromised email threads with malicious content.
These include hijacked email threads as the initial infection, URLs with unique patterns that limit user access, and an infection chain nearly identical to what we have seen with QakBot delivery.
This C2 channel is also used to deliver secondary payloads at the discretion of the attacker.
Initial Access
10 techniques
Initial Access
Hacker gangs breach or rent access to a hacked network, take manual control of the infected host, spread laterally through the network, and then deploy the ransomware after they've maximized their access.
"Valid Accounts: Default Accounts" is listed in the report's observed techniques.
[QakBot](https://attack.mitre.org/software/S0650) has the ability to use removable drives to spread through compromised networks.(Citation: Trend Micro Qakbot May 2020)
Qakbot is usually installed on a vulnerable computer through the Sweet Orange and RIG exploit kits by exploiting unpatched vulnerabilities in Java and Adobe Flash browser plug-ins.
«Initial Access Exploit Public-Facing Application (T1190) Эксплуатация RCE для установки бота»
the NPM repository account associated with a popular node.js was briefly hijacked and used to distribute a malicious script... This attack highlights the previously-exposed hazards associated with open-source repository poisoning.
The attacker achieved initial access via a phishing email delivered to end-user inboxes—having slipped past an overly permissive security solution.
[QakBot](https://attack.mitre.org/software/S0650) has spread through emails with malicious attachments.(Citation: Trend Micro Qakbot May 2020)(Citation: Kroll Qakbot June 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: Cyberint Qakbot May 2021)(Citation: ATT QakBot April 2021)(Citation: Kaspersky QakBot September 2021)(Citation: Group IB Ransomware September 2020)(Citation: Deep Instinct Black Basta August 2022)(Citation: Microsoft Ransomware as a Service)
[QakBot](https://attack.mitre.org/software/S0650) has spread through emails with malicious links.(Citation: Trend Micro Qakbot May 2020)(Citation: Kroll Qakbot June 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: ATT QakBot April 2021)(Citation: Kaspersky QakBot September 2021)(Citation: Group IB Ransomware September 2020)(Citation: Trend Micro Black Basta October 2022)
It should be noted that some recent incidents have involved email thread hijacking. This is a technique where threat actors respond to previously compromised email threads with malicious content.
Execution
21 techniques
Execution
[QakBot](https://attack.mitre.org/software/S0650) can execute WMI queries to gather information.(Citation: Kaspersky QakBot September 2021)
Qbot injected into MSRA.exe and then created a scheduled task for privilege elevation.
[QakBot](https://attack.mitre.org/software/S0650) has the ability to create scheduled tasks for persistence.(Citation: Trend Micro Qakbot May 2020)(Citation: Kroll Qakbot June 2020)(Citation: Crowdstrike Qakbot October 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: Red Canary Qbot)(Citation: Cyberint Qakbot May 2021)(Citation: Kaspersky QakBot September 2021)(Citation: Group IB Ransomware September 2020)
The C2 can ... execute shell commands. ... MARE::rpc::handler::ExecuteShellCmd [and] ExecutePowershellCmd.
[QakBot](https://attack.mitre.org/software/S0650) can use PowerShell to download and execute payloads.(Citation: Group IB Ransomware September 2020)
[QakBot](https://attack.mitre.org/software/S0650) can use cmd.exe to launch itself and to execute multiple C2 commands.(Citation: Crowdstrike Qakbot October 2020)(Citation: ATT QakBot April 2021)(Citation: Kaspersky QakBot September 2021)(Citation: Trend Micro Black Basta October 2022)
They may also have a mechanism to run arbitrary shell commands on the infected machine.
[QakBot](https://attack.mitre.org/software/S0650) can use VBS to download and execute malicious files.(Citation: Trend Micro Qakbot May 2020) (Citation: Kroll Qakbot June 2020)(Citation: Crowdstrike Qakbot October 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: Cyberint Qakbot May 2021)(Citation: Group IB Ransomware September 2020)(Citation: Trend Micro Black Basta October 2022)
The [QakBot](https://attack.mitre.org/software/S0650) web inject module can inject Java Script into web banking pages visited by the victim.(Citation: Kaspersky QakBot September 2021)(Citation: Trend Micro Black Basta October 2022)
The maldoc then leverages Excel 4.0 macros stored in a hidden sheet, which allow an externally-hosted payload to be downloaded, written to disk and executed
[QakBot](https://attack.mitre.org/software/S0650) can use <code>GetProcAddress</code> to help delete malicious strings from memory.(Citation: ATT QakBot April 2021)
Previously, Qbot also used worm self-replication techniques to copy itself over shared drives and removable media.
Threat groups like APT40 and malware families such as the Qbot banking trojan have used BITS to transfer malicious files and set up persistence.
members of the VirusTotal community have linked it to exploitation of CVE-2022-30190, a Microsoft Support Diagnostic Tool (MSDT) vulnerability also known as Follina.
eSentire has observed Interview and Invoice themed lures to trick end-users into interacting with the malicious content.
[QakBot](https://attack.mitre.org/software/S0650) has gained execution through users opening malicious links.(Citation: Trend Micro Qakbot May 2020)(Citation: Kroll Qakbot June 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: ATT QakBot April 2021)(Citation: Kaspersky QakBot September 2021)(Citation: Group IB Ransomware September 2020)(Citation: Trend Micro Black Basta October 2022)
[QakBot](https://attack.mitre.org/software/S0650) has gained execution through users opening malicious attachments.(Citation: Trend Micro Qakbot May 2020)(Citation: Kroll Qakbot June 2020)(Citation: Crowdstrike Qakbot October 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: Cyberint Qakbot May 2021)(Citation: ATT QakBot April 2021)(Citation: Kaspersky QakBot September 2021)(Citation: Group IB Ransomware September 2020)(Citation: Deep Instinct Black Basta August 2022)(Citation: Microsoft Ransomware as a Service)
Once opened, an ISO image was found within the zipped archive; if double-clicked, the ISO was mounted to disk.
This malware also uses a named pipe to communicate to its other process running on the compromised host.
Qakbot was leveraged to remotely create a temporary service on a target host which was configured to execute a Qakbot DLL using regsvr32.exe.
[QakBot](https://attack.mitre.org/software/S0650) has the ability to use DLL side-loading for execution.(Citation: Deep Instinct Black Basta August 2022)
Persistence
13 techniques
Persistence
Qbot injected into MSRA.exe and then created a scheduled task for privilege elevation.
[QakBot](https://attack.mitre.org/software/S0650) has the ability to create scheduled tasks for persistence.(Citation: Trend Micro Qakbot May 2020)(Citation: Kroll Qakbot June 2020)(Citation: Crowdstrike Qakbot October 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: Red Canary Qbot)(Citation: Cyberint Qakbot May 2021)(Citation: Kaspersky QakBot September 2021)(Citation: Group IB Ransomware September 2020)
Hacker gangs breach or rent access to a hacked network, take manual control of the infected host, spread laterally through the network, and then deploy the ransomware after they've maximized their access.
"Valid Accounts: Default Accounts" is listed in the report's observed techniques.
[QakBot](https://attack.mitre.org/software/S0650) can modify the Registry to store its configuration information in a randomly named subkey under <code>HKCU\Software\Microsoft</code>.(Citation: Red Canary Qbot)(Citation: Group IB Ransomware September 2020)
After approximately 2 minutes, QBot attempted to exploit the PrintNightmare vulnerability by executing the Invoke-Nightmare PowerShell command to create an administrative user with the username admin1 and password Password.
Threat groups like APT40 and malware families such as the Qbot banking trojan have used BITS to transfer malicious files and set up persistence.
If it is given SYSTEM privileges, it creates a new service named fsmon
[QakBot](https://attack.mitre.org/software/S0650) can remotely create a temporary service on a target host.(Citation: NCC Group Black Basta June 2022)
Qbot later persists itself, with the help of Run registry entry, in the startup order.
[QakBot](https://attack.mitre.org/software/S0650) can maintain persistence by creating an auto-run Registry key.(Citation: Trend Micro Qakbot May 2020)(Citation: Crowdstrike Qakbot October 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: Group IB Ransomware September 2020)
Within the LNK it gives away the .cmd file that will run from within the hidden tools directory.
After a user on an infected machine successfully logs into a targeted website, Qakbot displays an error prompting the user to verify his/her identity by answering a few security questions.
Privilege Escalation
15 techniques
Privilege Escalation
Qbot injected into MSRA.exe and then created a scheduled task for privilege elevation.
[QakBot](https://attack.mitre.org/software/S0650) has the ability to create scheduled tasks for persistence.(Citation: Trend Micro Qakbot May 2020)(Citation: Kroll Qakbot June 2020)(Citation: Crowdstrike Qakbot October 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: Red Canary Qbot)(Citation: Cyberint Qakbot May 2021)(Citation: Kaspersky QakBot September 2021)(Citation: Group IB Ransomware September 2020)
[QakBot](https://attack.mitre.org/software/S0650) can inject itself into processes including explore.exe, Iexplore.exe, Mobsync.exe., and wermgr.exe.(Citation: Trend Micro Qakbot May 2020)(Citation: Kroll Qakbot June 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: Kaspersky QakBot September 2021)(Citation: Trend Micro Black Basta October 2022)
Tactics and Techniques Mitre ATT&CK ... Defense evasion ... DLL injection (T1055.001)
This activity is significant because it is indicative of Qakbot malware, which injects malicious code into legitimate processes to steal information.
[QakBot](https://attack.mitre.org/software/S0650) can use process hollowing to execute its main payload.(Citation: ATT QakBot April 2021)
Used a tool to exploit CVE-2020-1472 (also known as “ZeroLogon”) to gain Domain Administrative privileges.
Hacker gangs breach or rent access to a hacked network, take manual control of the infected host, spread laterally through the network, and then deploy the ransomware after they've maximized their access.
"Valid Accounts: Default Accounts" is listed in the report's observed techniques.
If it is given SYSTEM privileges, it creates a new service named fsmon
[QakBot](https://attack.mitre.org/software/S0650) can remotely create a temporary service on a target host.(Citation: NCC Group Black Basta June 2022)
Qbot later persists itself, with the help of Run registry entry, in the startup order.
[QakBot](https://attack.mitre.org/software/S0650) can maintain persistence by creating an auto-run Registry key.(Citation: Trend Micro Qakbot May 2020)(Citation: Crowdstrike Qakbot October 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: Group IB Ransomware September 2020)
Within the LNK it gives away the .cmd file that will run from within the hidden tools directory.
The privilege escalation mechanism we observed was when the injected explorer.exe process spawns schtasks.exe and creates a new scheduled task to run as the SYSTEM user.
Stealth
43 techniques
Stealth
"Recent variants of Win32/Qakbot employ a rootkit that hooks various APIs and hides the Qakbot installation directory and files, as well as the registry entry that loads the malware."
[QakBot](https://attack.mitre.org/software/S0650) has hidden code within Excel spreadsheets by turning the font color to white and splitting it across multiple cells.(Citation: Cyberint Qakbot May 2021)
[QakBot](https://attack.mitre.org/software/S0650) can use large file sizes to evade detection.(Citation: Trend Micro Qakbot May 2020)(Citation: Group IB Ransomware September 2020)
[QakBot](https://attack.mitre.org/software/S0650) can encrypt and pack malicious payloads.(Citation: Cyberint Qakbot May 2021)
[QakBot](https://attack.mitre.org/software/S0650) can make small changes to itself in order to change its checksum and hash value.(Citation: Crowdstrike Qakbot October 2020)(Citation: Cyberint Qakbot May 2021)
[QakBot](https://attack.mitre.org/software/S0650) has been delivered in ZIP files via HTML smuggling.(Citation: Trend Micro Black Basta October 2022)(Citation: Deep Instinct Black Basta August 2022)
Dynamic Import Table – Import table built dynamically based on encrypted strings
The first stage of this packer extracts position independent shellcode ciphtertext from an embedded PE resource using Windows resource APIs, decrypts this shellcode using the XOR key mentioned in the previous section, and executes the shellcode in memory.
[QakBot](https://attack.mitre.org/software/S0650) can use obfuscated and encoded scripts.(Citation: Cyberint Qakbot May 2021)(Citation: Trend Micro Black Basta October 2022)
[QakBot](https://attack.mitre.org/software/S0650) can store its configuration information in a randomly named subkey under <code>HKCU\Software\Microsoft</code>.(Citation: Red Canary Qbot)(Citation: Group IB Ransomware September 2020)
The downloaded payloads are DLL (Dynamic link library) files disguised as PNG and GIF images.
This activity is significant as it may indicate a malicious process attempting to masquerade as a legitimate system process.
MITRE ATT&CK Mapping ... Defense Evasion Masquerading: Match Legitimate Name T1036.005 DLL named antimalware_provider64.dll (Bitdefender)
This variant utilizes a .vbs dropper by masquerading as a .doc file, as Windows still hides the original filename extension by default.
The [QakBot](https://attack.mitre.org/software/S0650) payload has been disguised as a PNG file and hidden within LNK files using a Microsoft File Explorer icon.(Citation: Group IB Ransomware September 2020)(Citation: Trend Micro Black Basta October 2022)
[QakBot](https://attack.mitre.org/software/S0650) can inject itself into processes including explore.exe, Iexplore.exe, Mobsync.exe., and wermgr.exe.(Citation: Trend Micro Qakbot May 2020)(Citation: Kroll Qakbot June 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: Kaspersky QakBot September 2021)(Citation: Trend Micro Black Basta October 2022)
Tactics and Techniques Mitre ATT&CK ... Defense evasion ... DLL injection (T1055.001)
This activity is significant because it is indicative of Qakbot malware, which injects malicious code into legitimate processes to steal information.
[QakBot](https://attack.mitre.org/software/S0650) can use process hollowing to execute its main payload.(Citation: ATT QakBot April 2021)
This version will overwrite the portion of the initially downloaded DLL after the PE header with zeros.
[QakBot](https://attack.mitre.org/software/S0650) can delete folders and files including overwriting its executable with legitimate programs.(Citation: Kroll Qakbot June 2020)(Citation: Crowdstrike Qakbot October 2020)(Citation: ATT QakBot April 2021)(Citation: Group IB Ransomware September 2020)
Hacker gangs breach or rent access to a hacked network, take manual control of the infected host, spread laterally through the network, and then deploy the ransomware after they've maximized their access.
"Valid Accounts: Default Accounts" is listed in the report's observed techniques.
[QakBot](https://attack.mitre.org/software/S0650) can deobfuscate and re-assemble code strings for execution.(Citation: Cyberint Qakbot May 2021)(Citation: ATT QakBot April 2021)(Citation: Kaspersky QakBot September 2021)
Threat groups like APT40 and malware families such as the Qbot banking trojan have used BITS to transfer malicious files and set up persistence.
Alongside changes in the attack chain, Qakbot introduced sophisticated techniques, including Indirect Command Execution using conhost.exe
The JS file contains VB script that will read the data.txt file... and appends the contents to the parameter of the shellexecute command to load the 'port/resemblance.tmp' DLL file. In this particular email, the reconstructed command is: regSvR32 port\\resemblance.tmp
The HTA uses "curl.exe” to download the Qbot DLL, and run it with the function, “Wind”.
Below the graphic there was an attached file named attachment.hta
[QakBot](https://attack.mitre.org/software/S0650) can use MSIExec to spawn multiple cmd.exe processes.(Citation: Crowdstrike Qakbot October 2020)
[QakBot](https://attack.mitre.org/software/S0650) can use Regsvr32 to execute malicious DLLs.(Citation: Red Canary Qbot)(Citation: Cyberint Qakbot May 2021)(Citation: ATT QakBot April 2021)(Citation: Trend Micro Black Basta October 2022)(Citation: NCC Group Black Basta June 2022)(Citation: Deep Instinct Black Basta August 2022)
[QakBot](https://attack.mitre.org/software/S0650) has used Rundll32.exe to drop malicious DLLs including [Brute Ratel C4](https://attack.mitre.org/software/S1063) and to enable C2 communication.(Citation: Crowdstrike Qakbot October 2020)(Citation: Red Canary Qbot)(Citation: Cyberint Qakbot May 2021)(Citation: ATT QakBot April 2021)(Citation: Trend Micro Black Basta October 2022)
may also include additional sandbox-evasion or anti-analysis functions.
[QakBot](https://attack.mitre.org/software/S0650) can check the compromised host for the presence of multiple executables associated with analysis tools and halt execution if any are found.(Citation: Trend Micro Qakbot May 2020)(Citation: ATT QakBot April 2021)
The [QakBot](https://attack.mitre.org/software/S0650) dropper can delay dropping the payload to evade detection.(Citation: Cyberint Qakbot May 2021)(Citation: Kaspersky QakBot September 2021)
The OneNote documents contain embedded files, often hidden behind a graphic that looks like a button.
[QakBot](https://attack.mitre.org/software/S0650) has placed its payload in hidden subdirectories.(Citation: Trend Micro Black Basta October 2022)
struct hashes_18000190c { int64_t MessageBoxA ; int64_t EnumWindows ; int64_t RegisterClassExA ; int64_t CreateWindowExA ; int64_t ChangeWindowMessageFilter ; int64_t ShowWindow ; int64_t UpdateWindow ; int64_t GetMessageA ; int64_t TranslateMessage ; int64_t DispatchMessageA ; int64_t DestroyWindow ; int64_t UnregisterClassA ; int64_t PostQuitMessage ; ... }
QakBot has hidden code within Excel spreadsheets by turning the font color to white and splitting it across multiple cells. Ramsay can also embed information within document footers.
[QakBot](https://attack.mitre.org/software/S0650) has the ability to use DLL side-loading for execution.(Citation: Deep Instinct Black Basta August 2022)
QBot takes charge by reflectively injecting its DLL, stager_1.dll to a newly spawned explorer.exe instance.
Forcing exceptions to check if debugger is present
TA551 is a threat actor tracked by Proofpoint since 2016. This actor frequently leverages thread hijacking to distribute malicious Office documents via email.
Defense Impairment
6 techniques
Defense Impairment
[QakBot](https://attack.mitre.org/software/S0650) can modify the Registry to store its configuration information in a randomly named subkey under <code>HKCU\Software\Microsoft</code>.(Citation: Red Canary Qbot)(Citation: Group IB Ransomware September 2020)
[QakBot](https://attack.mitre.org/software/S0650) can use signed loaders to evade detection.(Citation: ATT QakBot April 2021)(Citation: Deep Instinct Black Basta August 2022)
[QakBot](https://attack.mitre.org/software/S0650) has been packaged in ISO files in order to bypass Mark of the Web (MOTW) security measures.(Citation: Trend Micro Black Basta October 2022)
After a user on an infected machine successfully logs into a targeted website, Qakbot displays an error prompting the user to verify his/her identity by answering a few security questions.
[QakBot](https://attack.mitre.org/software/S0650) has the ability to modify the Registry to add its binaries to the Windows Defender exclusion list.(Citation: Group IB Ransomware September 2020)
Execute shell commands to allow incoming connections in the host firewall.
Credential Access
15 techniques
Credential Access
It uses PowerShell to download and run Mimikatz (Hacktool.Mimikatz), an open-source credential stealing tool that allows attackers to move rapidly across a network once they have established an initial foothold.
Qbot will also steal Windows credentials by dumping the memory of the LSASS (Local Security Authority Server Service) process.
Web-Inject File – The file provides the injector module with a list of websites and JavaScript code that will be injected if the victim visits any of these websites.
[QakBot](https://attack.mitre.org/software/S0650) can capture keystrokes on a compromised host.(Citation: Kroll Qakbot June 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: Kaspersky QakBot September 2021)
IcedID is a banking Trojan capable of web injects... QBot ... downloads additional modules: web inject module
[QakBot](https://attack.mitre.org/software/S0650) can conduct brute force attacks to capture credentials.(Citation: Kroll Qakbot June 2020)(Citation: Crowdstrike Qakbot October 2020)(Citation: Kaspersky QakBot September 2021)
MITRE ATT&CK The tactics and techniques used by QakBot as defined by the MITRE ATT&CK framework are as follows: ... TA0006 – Credential Access T1110.001 – Brute Force: Password Guessing
[QakBot](https://attack.mitre.org/software/S0650) has the ability to capture web session cookies.(Citation: Kroll Qakbot June 2020)(Citation: Kaspersky QakBot September 2021)
– T1552 : Unsecured Credentials - Récupération des informations d’identification via le registre [11].
Agent Tesla can gather credentials from a number of browsers... APT33 has used a variety of publicly available tools like LaZagne to gather credentials... TrickBot can obtain passwords stored in files from web browsers such as Chrome, Firefox, Internet Explorer, and Microsoft Edge... SELECT action_url, username_value, password_value FROM logins; CryptUnprotectData
[QakBot](https://attack.mitre.org/software/S0650) has collected usernames and passwords from Firefox and Chrome.(Citation: Kaspersky QakBot September 2021)
After a user on an infected machine successfully logs into a targeted website, Qakbot displays an error prompting the user to verify his/her identity by answering a few security questions.
Qbot lets malicious actors piggyback on the victim’s browsing sessions, enabling them to bypass security like simple implementations of two-factor authentication.
The ICO's analysis states there were traces of Kerberos credential harvesting at play and it is likely Capita's Active Directory was compromised.
certssave Steal certificates
Discovery
28 techniques
Discovery
MITRE ATT&CK® Techniques ... Discovery T1007
[QakBot](https://attack.mitre.org/software/S0650) has the ability to enumerate windows on a compromised host.(Citation: ATT QakBot April 2021)
Use API functions of kernel32 are FindResourceA; SizeofResource; LoadResource to load the data stored in this resource ...
[QakBot](https://attack.mitre.org/software/S0650) can use <code>net config workstation</code>, <code>arp -a</code>, `nslookup`, and <code>ipconfig /all</code> to gather network configuration information.(Citation: Crowdstrike Qakbot October 2020)(Citation: Kaspersky QakBot September 2021)(Citation: Group IB Ransomware September 2020)(Citation: Trend Micro Black Basta October 2022)(Citation: Microsoft Ransomware as a Service)
[QakBot](https://attack.mitre.org/software/S0650) can measure the download speed on a targeted host.(Citation: Kaspersky QakBot September 2021)
[QakBot](https://attack.mitre.org/software/S0650) can identify remote systems through the <code>net view</code> command.(Citation: Crowdstrike Qakbot October 2020)(Citation: Kaspersky QakBot September 2021)(Citation: Trend Micro Black Basta October 2022)
[QakBot](https://attack.mitre.org/software/S0650) can identify the user name on a compromised system.(Citation: Kaspersky QakBot September 2021)(Citation: Trend Micro Black Basta October 2022)
Observed Reconnaissance Commands: ... netstat -nao
[QakBot](https://attack.mitre.org/software/S0650) can use <code>netstat</code> to enumerate current network connections.(Citation: Kaspersky QakBot September 2021)(Citation: Trend Micro Black Basta October 2022)
[QakBot](https://attack.mitre.org/software/S0650) has the ability to check running processes.(Citation: ATT QakBot April 2021)
net localgroup
[QakBot](https://attack.mitre.org/software/S0650) can use <code>net localgroup</code> to enable discovery of local groups.(Citation: Kaspersky QakBot September 2021)(Citation: Trend Micro Black Basta October 2022)
[QakBot](https://attack.mitre.org/software/S0650) can collect system information including the OS version and domain on a compromised host.(Citation: Crowdstrike Qakbot October 2020)(Citation: ATT QakBot April 2021)(Citation: Group IB Ransomware September 2020)(Citation: Microsoft Ransomware as a Service)
[QakBot](https://attack.mitre.org/software/S0650) can identify whether it has been run previously on a host by checking for a specified folder.(Citation: ATT QakBot April 2021)
whoami /all ... net localgroup ... net group "Domain Admins" /do ... net user {user} /domain
[QakBot](https://attack.mitre.org/software/S0650) can identify peripheral devices on targeted systems.(Citation: Trend Micro Qakbot May 2020)
[QakBot](https://attack.mitre.org/software/S0650) can identify the system time on a targeted host.(Citation: Kaspersky QakBot September 2021)
[QakBot](https://attack.mitre.org/software/S0650) can use <code>net share</code> to identify network shares for use in lateral movement.(Citation: Trend Micro Qakbot May 2020)(Citation: Kaspersky QakBot September 2021)
[QakBot](https://attack.mitre.org/software/S0650) can run <code>nltest /domain_trusts /all_trusts</code> for domain trust discovery.(Citation: Kaspersky QakBot September 2021)
may also include additional sandbox-evasion or anti-analysis functions.
[QakBot](https://attack.mitre.org/software/S0650) can check the compromised host for the presence of multiple executables associated with analysis tools and halt execution if any are found.(Citation: Trend Micro Qakbot May 2020)(Citation: ATT QakBot April 2021)
The [QakBot](https://attack.mitre.org/software/S0650) dropper can delay dropping the payload to evade detection.(Citation: Cyberint Qakbot May 2021)(Citation: Kaspersky QakBot September 2021)
[QakBot](https://attack.mitre.org/software/S0650) can enumerate a list of installed programs.(Citation: Group IB Ransomware September 2020)
[QakBot](https://attack.mitre.org/software/S0650) can identify the installed antivirus product on a targeted system.(Citation: Crowdstrike Qakbot October 2020)(Citation: ATT QakBot April 2021)(Citation: ATT QakBot April 2021)(Citation: Kaspersky QakBot September 2021)
In this blog, I will explain my hunting methodology with two practical examples... this methodology (JARM and HTTP Response hash) is applicable to both examples and provides great results.
At different stages, QBOT will check if the computer uses a Cyrillic language keyboard. If it does, it prevents further execution.
"QBOT performs a check to prevent execution on systems that are using" Russian, Belarusian, Kazakh, Armenian, Georgian, Uzbek, Tajik, Turkmen, Ukrainian, Bosnian, or Kyrgyz default system languages.
Forcing exceptions to check if debugger is present
Lateral Movement
7 techniques
Lateral Movement
eSentire observed interactive operators arrive on the compromised asset within one hour of initial infection.
T1021.002: SMB/Windows Admin Shares - Use of Remote Services, in particular SMB/Windows Admin Shares [16].
Hidden VNC (hVNC) module Provides hands on keyboard and lateral movement capabilities to the operators
[QakBot](https://attack.mitre.org/software/S0650) has the ability to use removable drives to spread through compromised networks.(Citation: Trend Micro Qakbot May 2020)
[QakBot](https://attack.mitre.org/software/S0650) can move laterally using worm-like functionality through exploitation of SMB.(Citation: Crowdstrike Qakbot October 2020)
used stolen credential hashes to access additional systems.
The payload has several more internal modules that we won’t elaborate on in this article such as – lateral movement capabilities
Collection
13 techniques
Collection
[QakBot](https://attack.mitre.org/software/S0650) can use a variety of commands, including esentutl.exe to steal sensitive data from Internet Explorer and Microsoft Edge, to acquire information that is subsequently exfiltrated.(Citation: Red Canary Qbot)(Citation: Kaspersky QakBot September 2021)
Web-Inject File – The file provides the injector module with a list of websites and JavaScript code that will be injected if the victim visits any of these websites.
[QakBot](https://attack.mitre.org/software/S0650) can capture keystrokes on a compromised host.(Citation: Kroll Qakbot June 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: Kaspersky QakBot September 2021)
IcedID is a banking Trojan capable of web injects... QBot ... downloads additional modules: web inject module
The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.
[QakBot](https://attack.mitre.org/software/S0650) has stored stolen emails and other data into new folders prior to exfiltration.(Citation: Kroll Qakbot June 2020)
MITRE ATT&CK® Techniques ... Collection T1113
Email Collector Module – Extracts all e-mail threads from the victim’s Outlook client by using MAPI32.dll API, and uploads it to a hardcoded remote server.
[QakBot](https://attack.mitre.org/software/S0650) can target and steal locally stored emails to support thread hijacking phishing campaigns.(Citation: Kroll Qakbot June 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: Kaspersky QakBot September 2021)
MITRE ATT&CK® Techniques ... Collection T1115
[QakBot](https://attack.mitre.org/software/S0650) can use advanced web injects to steal web banking credentials.(Citation: Cyberint Qakbot May 2021)(Citation: Kaspersky QakBot September 2021)
Qbot lets malicious actors piggyback on the victim’s browsing sessions, enabling them to bypass security like simple implementations of two-factor authentication.
We also commonly see external URLs hosting password-protected ZIP archives to bypass email-based security detections.
Command and Control
17 techniques
Command and Control
The malware can also retrieve CobaltStrike from a command-and-control site...
[QakBot](https://attack.mitre.org/software/S0650) has the ability to use HTTP and HTTPS in communication with C2 servers.(Citation: Trend Micro Qakbot May 2020)(Citation: Crowdstrike Qakbot October 2020)(Citation: Kaspersky QakBot September 2021)
Perform DNS NS query for domain... If name server not in blacklist, perform DNS A query to get IP address of domain.
Each of these bots will forward the traffic to the real C&C server or to a second-tier proxy
[QakBot](https://attack.mitre.org/software/S0650) has a module that can proxy C2 communications.(Citation: Kaspersky QakBot September 2021)
Qakbot started using compromised systems themselves as C2 servers
[QakBot](https://attack.mitre.org/software/S0650) has the ability use TCP to send or receive C2 packets.(Citation: Kaspersky QakBot September 2021)
[QakBot](https://attack.mitre.org/software/S0650) has the ability to download additional components and malware.(Citation: Trend Micro Qakbot May 2020)(Citation: Crowdstrike Qakbot October 2020)(Citation: Trend Micro Qakbot December 2020)(Citation: Cyberint Qakbot May 2021)(Citation: Kaspersky QakBot September 2021)(Citation: Group IB Ransomware September 2020)
ADVSTORESHELL C2 traffic is encrypted, then encoded with Base64 encoding. APT19 HTTP malware variant used Base64 to encode communications to the C2 server. APT33 has used base64 to encode command and control traffic.
[QakBot](https://attack.mitre.org/software/S0650) can Base64 encode system information sent to C2.(Citation: Crowdstrike Qakbot October 2020)(Citation: Kaspersky QakBot September 2021)
hVNC Plugin – Allows controlling the victim machine through a remote VNC connection.
in version 2.0.1 a DGA was added as a backup C2 channel in the event that the hardcoded C2s were unreachable.
Avalanche used fast-flux DNS, a technique to hide the criminal servers, behind a constantly changing network of compromised systems acting as proxies.
[QakBot](https://attack.mitre.org/software/S0650) can use domain generation algorithms in C2 communication.(Citation: Trend Micro Qakbot May 2020)
The [QakBot](https://attack.mitre.org/software/S0650) proxy module can encapsulate SOCKS5 protocol within its own proxy protocol.(Citation: Kaspersky QakBot September 2021)
Used by QAKBOT, BRUTEL and Cobalt Strike
[QakBot](https://attack.mitre.org/software/S0650) can RC4 encrypt strings in C2 communication.(Citation: Kaspersky QakBot September 2021)
Exfiltration
6 techniques
Exfiltration
[QakBot](https://attack.mitre.org/software/S0650) can send stolen information to C2 nodes including passwords, accounts, and emails.(Citation: Kaspersky QakBot September 2021)
Data-exfiltratie vindt vaak plaats via FTP-servers.
Qakbot versions 3.0.0 and earlier used compromised FTP servers to exfiltrate data
Ransomware groups typically gain access to a victim computer or computer network, steal victim data, and then encrypt the victim computers making them unusable.
The ransomware groups then extort the victims, seeking payment to (1) return access to the victim computers; and/or (2) stop the release of the victim’s stolen data on the internet.
Doelservers of -services bevinden zich onder meer bij Mega, pCloud, Dropbox, Sendspace, OneDrive, GitHub en Google Drive. MegaSync en Rclone worden genoemd als veelgebruikte tooling.
Impact
8 techniques
Impact
These lead to downloads of malware, including BATLOADER and Qakbot, which in turn deliver secondary payloads that eventually lead to ransomware deployment.
issues kill(pid, 9)... unlink() the binary and kill -9 the process... This targets malware that deletes itself after execution...
Mirai , a malware strain that enslaves poorly secured Internet of Things (IoT) devices like wireless routers and security cameras into a botnet for use in large cyberattacks.
features: UDP/TCP/ICMP Flooding methods ... blacknurse DNS request flood (with random dns request id per packet)
In June 2014, ProxyPipe was hit with a 300 gigabit per second DDoS attack launched by lelddos... Verisign said the 2014 attack was launched by a botnet of more than 100,000 servers running on SuperMicro IPMI boards.
Gafgyt, also known as BASHLITE and Qbot [1], was designed to infect Linux devices to launch DDoS attacks, with the original version found in 2014.
what the malicious replacement functions do in order to modify the contents of a web-page, all while supporting both HTTP and HTTP2 traffic.
The ransomware groups then extort the victims, seeking payment to (1) return access to the victim computers; and/or (2) stop the release of the victim’s stolen data on the internet.
Observables
3,099 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.