WarmCookie, also known as BadSpace, is an actively developed Windows DLL backdoor first observed in 2024. It provides persistent remote access, profiles compromised hosts, receives operator commands, captures screenshots, executes shell commands, reads and writes files, and delivers and launches additional payloads. Later variants added execution handlers for PE files, DLLs, and PowerShell scripts. It uses encrypted HTTP-based command-and-control communications and incorporates anti-analysis checks, dynamically resolved APIs, encrypted strings, and legitimate-looking randomized names for persistence artifacts to hinder detection.
WarmCookie commonly establishes persistence through Windows Task Scheduler using COM interfaces and can execute with SYSTEM privileges. It has been distributed through recruiting and invoice-themed phishing, malspam, malvertising, and malicious-download chains. Observed infection flows have used CAPTCHA-gated landing pages and obfuscated JavaScript that invokes PowerShell and BITS to retrieve and launch the backdoor. CASTLEBOT/CastleLoader has also been reported as a distribution mechanism.
WarmCookie is used as an initial-access and post-compromise implant, frequently preceding deployment of tools such as Cobalt Strike and CSharp-Streamer-RAT. Activity involving WarmCookie/BadSpace has been assessed with high confidence as related to prior TA866 post-compromise operations, and its development has notable links to the Resident backdoor. Follow-on activity associated with this ecosystem has affected organizations internationally, with observed cases concentrated in the United States and particularly affecting manufacturing, government, and financial-services organizations.
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.
We assess with high confidence that recent post-compromise intrusion activity associated with WarmCookie/BadSpace is related to previous post-compromise activity that we attribute to TA866.
These malware families are frequently observed as initial infection vectors that deliver a wide range of secondary payloads, including SectopRAT, WarmCookie, HijackLoader, NetSupport RAT...
"...a new backdoor “BadSpace”..."; "...the malware’s alias name WarmCookie."
Proofpoint says TA584 has used a large number of payloads over the years, including Ursnif, LDR4, WarmCookie, Xeno RAT, Cobalt Strike, and DCRAT.
34 distinct techniques documented for this family, organized by ATT&CK tactic.
WARMCOOKIE was deployed through recruiting-themed phishing campaigns and remains active in malvertising and spam campaigns.
Victims [are enticed] to pursue new job opportunities by clicking a link to an internal system to view a job description.
“The currently prevalent attack chain begins with emails sent from hundreds of compromised, aged accounts, delivered via SendGrid and Amazon Simple Email Service (SES). The emails include unique URLs for each target…”
WARMCOOKIE uses legitimate-company names for "folder paths and scheduled task names"; its /u command-line parameter determines whether a scheduled task must be created.
Stage 1 copies the downloaded DLL ... at C:\ProgramData\RtlUpd\RtlUpd.dll. After the copy, the malware sets up persistence using COM with the Windows Task Scheduler.
The obfuscated JavaScript downloader, often delivered as a compressed ZIP, triggers a PowerShell command
New handlers provide "PowerShell script execution" and execute the temporary file using "PowerShell.exe."
The MITRE ATT&CK mapping explicitly lists "Command and Scripting Interpreter: Windows Command Shell."
The obfuscated JavaScript downloader, often delivered as a compressed ZIP, triggers a PowerShell command
The PowerShell script abuses the Background Intelligent Transfer Service (BITS) to download WARMCOOKIE.
Warm Cookie - is a backdoor distributed via phishing emails and malicious downloads. It uses deceptive lures, such as job-related attachments, to trick users into executing malicious payloads.
The MITRE ATT&CK mapping explicitly lists "User Execution: Malicious Link."
The obfuscated JavaScript downloader, often delivered as a compressed ZIP, triggers a PowerShell command that uses Bitsadmin to download and execute the WarmCookie DLL
WARMCOOKIE uses legitimate-company names for "folder paths and scheduled task names"; its /u command-line parameter determines whether a scheduled task must be created.
Stage 1 copies the downloaded DLL ... at C:\ProgramData\RtlUpd\RtlUpd.dll. After the copy, the malware sets up persistence using COM with the Windows Task Scheduler.
The PowerShell script abuses the Background Intelligent Transfer Service (BITS) to download WARMCOOKIE.
WARMCOOKIE has also been fortified with PE file, DLL, and PowerShell script execution capabilities.
WARMCOOKIE uses legitimate-company names for "folder paths and scheduled task names"; its /u command-line parameter determines whether a scheduled task must be created.
Stage 1 copies the downloaded DLL ... at C:\ProgramData\RtlUpd\RtlUpd.dll. After the copy, the malware sets up persistence using COM with the Windows Task Scheduler.
WARMCOOKIE has also been fortified with PE file, DLL, and PowerShell script execution capabilities.
Once the CAPTCHA is solved, an obfuscated JavaScript file is downloaded from the page. WARMCOOKIE protects its strings using a custom string decryption algorithm.
It uses deceptive lures, such as job-related attachments, to trick users into executing malicious payloads.
The string bank is used "for defense evasion purposes, allowing the malware to relocate to more legitimate-looking directories."
"New variants now embed two separate GUID-like mutexes, which are used for better control over initialization and synchronization"
This is done for defense evasion purposes, allowing the malware to relocate to more legitimate-looking directories.
The script defines rc4crypt(data, key) and iterates over references to decryption functions to recover strings: 'encrypted_data = data[offset+4:offset+4+length]' and 'dec_data = rc4crypt(encrypted_data,rc4_key)...decode()'.
The PowerShell script abuses the Background Intelligent Transfer Service (BITS) to download WARMCOOKIE.
rundll32.exe $p; ... WARMCOOKIE [is executed] using the Start export.
If the number of processors is greater than or equal to 4 and the calculated value from the GlobalMemoryStatusEx call is greater than or equal to 0xF00, the malware will continue execution.
This handler fingerprints and identifies the victim machines by collecting the IP address and CPU information.
The MITRE ATT&CK mapping explicitly lists "System Information Discovery."
If the number of processors is greater than or equal to 4 and the calculated value from the GlobalMemoryStatusEx call is greater than or equal to 0xF00, the malware will continue execution.
This handler enumerates the installed programs on the victim machine via the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall.
This handler can read file content from machines infected with WARMCOOKIE. The threat actor needs to provide the file path as the argument.
The ability to capture screenshots from victim machines ... [uses] BitBlt, CreateCompatibleBitmap, and GetSystemMetrics to generate the screenshot.
The infrastructure linked to TAG-150 includes both victim-facing Tier 1 components, such as IP addresses and domains used as command-and-control (C2) servers for multiple malware families...
WARMCOOKIE samples communicate over HTTP with a hardcoded IP address ... The first request to the C2 server is sent through a GET request.
WARMCOOKIE can drop files on the victim machine; the threat actors provide the file path and file data.
The family uses a combination of RC4 and Base64 to protect its network traffic.
Warm Cookie - is a backdoor... Once active, it enables remote access, data theft, and further malware deployment via a botnet command and controller.
The family uses a combination of RC4 and Base64 to protect its network traffic. The RC4 key is embedded in each sample.
The collected screenshot is encrypted with RC4 and sent through a POST request along with the checksum data.
148 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
31 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.