Bandook
- Type
- RAT
- Capabilities
- Credential theftKeyloggingExfiltrationDefense evasionProcess injectionReconnaissance
- Delivery
- Lure
- Platforms
- Windows
Bandook is a commercially available Windows remote access trojan used by multiple threat actors since 2007, including the Lebanon-linked cyberespionage group Dark Caracal. It provides remote access and surveillance capabilities, including keystroke logging, local-file collection, and capture and upload of desktop screenshots. It can retrieve a compromised system’s public IP address and supports command-and-control communication through raw TCP sockets. An updated variant also collects browser credentials from Chrome, Brave, and Firefox.
Bandook delivery and execution chains have used malicious document lures that persuade users to enable VBA macros, PowerShell loaders, and Delphi loaders. It has been executed through process hollowing by launching an Internet Explorer process and replacing its memory with the malicious payload. Evasion features in an updated variant include randomized command identifiers and obfuscated plugin export names, complicating analysis and signature-based detection.
Dark Caracal uses a customized version of Bandook within its espionage toolkit. In a June 2026 intrusion at a Venezuelan communications organization, Bandook was deployed alongside the GoCaracal framework through a Delphi loader. Their concurrent deployment demonstrates continued operational use of Bandook rather than its replacement by GoCaracal.
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.
(Citation: Lookout Dark Caracal Jan 2018)(Citation: CheckPoint Bandook Nov 2020)
The infection chain features a PDF containing a URL that leads to an encrypted RAR file which installs Bandook malware. The group uses Spanish-languages lures to distribute a known – but infrequently used – remote access trojan (RAT) called Bandook.
The infection chain features a PDF containing a URL that leads to an encrypted RAR file which installs Bandook malware. The group uses Spanish-languages lures to distribute a known – but infrequently used – remote access trojan (RAT) called Bandook.
Techniques & procedures
56 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
4 techniques
Initial Access
“Their tactics include phishing, malicious websites, and trojanized mobile applications.”
“The campaign begins with Spanish-language financial and tax lures sent through phishing emails.”
[Bandook](https://attack.mitre.org/software/S0234) is delivered via a malicious Word document inside a zip file.(Citation: CheckPoint Bandook Nov 2020)
« Fichiers SVG weaponisés contenant des liens raccourcis redirigeant vers des sites d’hébergement de payloads » ; « T1566.002 — Phishing: Spearphishing Link ».
Execution
10 techniques
Execution
[Bandook](https://attack.mitre.org/software/S0234) can support commands to execute Java-based payloads.(Citation: CheckPoint Bandook Nov 2020)
[Bandook](https://attack.mitre.org/software/S0234) has used PowerShell loaders as part of execution.(Citation: CheckPoint Bandook Nov 2020)
[Bandook](https://attack.mitre.org/software/S0234) is capable of spawning a Windows command shell.(Citation: EFF Manul Aug 2016)(Citation: CheckPoint Bandook Nov 2020)
[Bandook](https://attack.mitre.org/software/S0234) has used malicious VBA code against the target system.(Citation: CheckPoint Bandook Nov 2020)
[Bandook](https://attack.mitre.org/software/S0234) can support commands to execute Python-based payloads.(Citation: CheckPoint Bandook Nov 2020)
Bandook can support commands to execute Java-based payloads.
[Bandook](https://attack.mitre.org/software/S0234) has used the ShellExecuteW() function call.(Citation: CheckPoint Bandook Nov 2020)
has attempted to get victims to launch malicious Microsoft Word attachments delivered via spearphishing emails... has required user execution of a malicious MSI installer... has been executed through user installation of an executable disguised as a flash installer.
The attackers use URL shorteners such as Rebrandly or Bitly in their PDF attachments. The shortened URLs redirect to cloud storage services ... from where the malware is downloaded.
[Bandook](https://attack.mitre.org/software/S0234) has used lure documents to convince the user to enable macros.(Citation: CheckPoint Bandook Nov 2020)
Persistence
3 techniques
Persistence
Before the injection, a registry key is created to control the behavior of the payload. The key name is the PID of msinfo32.exe, and the value contains the control code for the payload.
The content repeatedly describes malware and threat actors establishing persistence by adding values under Registry Run keys such as HKCU\Software\Microsoft\Windows\CurrentVersion\Run and HKLM\Software\Microsoft\Windows\CurrentVersion\Run, and by placing shortcuts or files in Startup folders.
Software\Microsoft\Windows NT\CurrentVersion\Winlogon Key name: shell Value: explorer.exe, %APPDATA%\SMC\SMC.exe
Privilege Escalation
4 techniques
Privilege Escalation
The injector component decrypts the payload in the resource table and injects it into msinfo32.exe.
[Bandook](https://attack.mitre.org/software/S0234) has been launched by starting iexplore.exe and replacing it with [Bandook](https://attack.mitre.org/software/S0234)'s payload.(Citation: Lookout Dark Caracal Jan 2018)(Citation: EFF Manul Aug 2016)(Citation: CheckPoint Bandook Nov 2020)
The content repeatedly describes malware and threat actors establishing persistence by adding values under Registry Run keys such as HKCU\Software\Microsoft\Windows\CurrentVersion\Run and HKLM\Software\Microsoft\Windows\CurrentVersion\Run, and by placing shortcuts or files in Startup folders.
Software\Microsoft\Windows NT\CurrentVersion\Winlogon Key name: shell Value: explorer.exe, %APPDATA%\SMC\SMC.exe
Stealth
10 techniques
Stealth
“Sequential command identifiers ... were replaced with randomised strings, and plugin export names were obfuscated with generic labels.”
"Sandworm Team used UPX to pack a copy of Mimikatz"; "APT38 has used several code packing methods such as Themida, Enigma, VMProtect, and Obsidium"; "Lazarus Group packed malicious .db files with Themida to evade detection."
[Bandook](https://attack.mitre.org/software/S0234) has used .PNG images within a zip file to build the executable. (Citation: CheckPoint Bandook Nov 2020)
Figure 4: Traffic capture and AES decrypted data of the victim information.
The phishing... often took the form of an email purporting to contain an invoice or a legal document with an attachment containing a blurry image.
The injector component decrypts the payload in the resource table and injects it into msinfo32.exe.
[Bandook](https://attack.mitre.org/software/S0234) has been launched by starting iexplore.exe and replacing it with [Bandook](https://attack.mitre.org/software/S0234)'s payload.(Citation: Lookout Dark Caracal Jan 2018)(Citation: EFF Manul Aug 2016)(Citation: CheckPoint Bandook Nov 2020)
[Bandook](https://attack.mitre.org/software/S0234) has a command to delete a file.(Citation: CheckPoint Bandook Nov 2020)
[Bandook](https://attack.mitre.org/software/S0234) has decoded its PowerShell script.(Citation: CheckPoint Bandook Nov 2020)
JRat also employs anti-virtualization features to detect and shut down if it is being run in VirtualBox, VMware, or other virtualization software.
Defense Impairment
2 techniques
Defense Impairment
Before the injection, a registry key is created to control the behavior of the payload. The key name is the PID of msinfo32.exe, and the value contains the control code for the payload.
[Bandook](https://attack.mitre.org/software/S0234) was signed with valid Certum certificates.(Citation: CheckPoint Bandook Nov 2020)
Credential Access
5 techniques
Credential Access
In the meantime, Thread_Control receives coordinates and control codes from the server.
[Bandook](https://attack.mitre.org/software/S0234) contains keylogging capabilities.(Citation: BH Manul Aug 2016)
This command asks Bandook to parse cookies from the browser specified by the C2, including Chrome, Edge, and Firefox, and save the result as Default.json in a .zip file.
Selection of Bandook Commands ... ClearCred ... SignoutSkype ... ChromeInject
Collection: file download, browser-cookie and login-database collection... The [Bandook] sample also included functionality for collecting browser credentials from Chrome, Brave, and Firefox.
Discovery
7 techniques
Discovery
[Bandook](https://attack.mitre.org/software/S0234) has a command to get the public IP address from a system.(Citation: CheckPoint Bandook Nov 2020)
Bandook uses Windows API functions to discover running processes on victim’s machines.
The content repeatedly describes malware and threat actors collecting OS version, computer name, architecture, CPU, memory, disk, language, and other host details; examples include use of commands such as ver, systeminfo, hostname, uname -m, sw_vers -productVersion, and fsutil.
[Bandook](https://attack.mitre.org/software/S0234) has a command to list files on a system.(Citation: CheckPoint Bandook Nov 2020)
[Bandook](https://attack.mitre.org/software/S0234) can detect USB devices.(Citation: EFF Manul Aug 2016)
JRat also employs anti-virtualization features to detect and shut down if it is being run in VirtualBox, VMware, or other virtualization software.
[Bandook](https://attack.mitre.org/software/S0234) can collect information about the drives available on the system.(Citation: CheckPoint Bandook Nov 2020)
Collection
8 techniques
Collection
[Bandook](https://attack.mitre.org/software/S0234) can collect local files from the system .(Citation: CheckPoint Bandook Nov 2020)
dec.dll has a set of functions that enable spying on the victim’s machine... and of stealing information from a USB Drive.
In the meantime, Thread_Control receives coordinates and control codes from the server.
[Bandook](https://attack.mitre.org/software/S0234) contains keylogging capabilities.(Citation: BH Manul Aug 2016)
[Bandook](https://attack.mitre.org/software/S0234) is capable of taking an image of and uploading the current desktop.(Citation: Lookout Dark Caracal Jan 2018)(Citation: CheckPoint Bandook Nov 2020)
[Bandook](https://attack.mitre.org/software/S0234) has modules that are capable of capturing audio.(Citation: EFF Manul Aug 2016)
[Bandook](https://attack.mitre.org/software/S0234) has modules that are capable of capturing video from a victim's webcam.(Citation: EFF Manul Aug 2016)
This command asks Bandook to parse cookies from the browser specified by the C2, including Chrome, Edge, and Firefox, and save the result as Default.json in a .zip file.
Command and Control
9 techniques
Command and Control
Examples include: "ChChes communicates to its C2 server over HTTP and embeds data within the Cookie HTTP header," "UPPERCUT has used HTTP for C2, including sending error codes in Cookie headers," and "GoldMax has used HTTPS and HTTP GET requests with custom HTTP cookies for C2."
First, Bandook sends victim information to its C2 server... If the C2 server is available, Bandook receives commands from the server, including *DJDSR^, @0001, @0002, and so on.
The content repeatedly describes threat actors and malware using HTTP and HTTPS for command and control, such as: "Sandworm Team used BlackEnergy to communicate between compromised hosts and their command-and-control servers via HTTP post requests."
[Bandook](https://attack.mitre.org/software/S0234) has a command built in to use a raw TCP socket.(Citation: CheckPoint Bandook Nov 2020)
[Bandook](https://attack.mitre.org/software/S0234) can download files to the system.(Citation: CheckPoint Bandook Nov 2020)
Examples include 'Dark Caracal's version of Bandook communicates ... using HTTP payloads Base64 encoded,' 'BBSRAT ... send ZLIB compressed data back to the C2 server,' and 'FRAMESTING ... from decompressed zlib data within the request's POST data.'
The commands include capabilities such as: turning on the webcam, adding or removing files from the computer, taking control of the mouse, recording the screen, starting a remote desktop session...
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.
[Bandook](https://attack.mitre.org/software/S0234) has used AES encryption for C2 communication.(Citation: CheckPoint Bandook Nov 2020)
Exfiltration
2 techniques
Exfiltration
[Bandook](https://attack.mitre.org/software/S0234) can upload files from a victim's machine over the C2 channel.(Citation: CheckPoint Bandook Nov 2020)
This information is exfiltrated to a different URL located in the global variables of the payload. In our sample this URL was: https://pronews[.]icu/gtwwfggg/get.php?action=gc1
Observables
339 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
82 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.