WarmCookie
- Type
- Backdoor
- Capabilities
- Initial accessPersistenceReconnaissanceExfiltrationDefense evasion
- Delivery
- PhishingMalspamMalvertisingFake updateLanding pageLure
- Platforms
- Windows
WarmCookie, also known as BadSpace, is a Windows backdoor observed since April 2024. It provides persistent remote access, profiles compromised systems, and enables deployment of additional malware. Distribution includes recruiting- and invoice-themed phishing, malspam, malvertising, compromised websites, and fake browser updates. Documented recruitment campaigns direct victims to personalized, CAPTCHA-gated landing pages that deliver obfuscated JavaScript. The scripts invoke PowerShell and Background Intelligent Transfer Service tooling to retrieve and launch the backdoor DLL. WarmCookie has also been distributed by CASTLEBOT and CastleLoader.
WarmCookie collects host, user, domain, processor, network, and installed-software information. Operators can capture screenshots, execute shell commands, retrieve command output, and read or write files. Newer variants add execution handlers for executable files, DLLs, and, in some builds, PowerShell scripts. Persistence uses Windows scheduled tasks created through COM interfaces; documented tasks execute the malware with SYSTEM privileges. Command-and-control communications use RC4 encryption, with encrypted host data carried in HTTP Cookie headers and screenshots or other collected information returned to the operator.
Defense-evasion features include encrypted strings, dynamic API resolution, removal of decrypted strings from memory, and processor- and memory-based sandbox checks. Later variants select legitimate company names for deceptive directories and scheduled tasks. WarmCookie supports initial-access operations and follow-on payload deployment, with observed infections followed by CSharp-Streamer-RAT and Cobalt Strike. WarmCookie-associated post-compromise activity has been linked with high confidence to TA866, also known as Asylum Ambuscade, and TA584 has also distributed the malware. Its infrastructure was targeted during Operation Endgame in May 2025, but subsequent infections and evolving variants demonstrated continued operation.
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.
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.
Techniques & procedures
34 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
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…”
Execution
10 techniques
Execution
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
Persistence
4 techniques
Persistence
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.
Privilege Escalation
3 techniques
Privilege Escalation
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.
Stealth
9 techniques
Stealth
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.
Discovery
4 techniques
Discovery
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.
Collection
2 techniques
Collection
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.
Command and Control
6 techniques
Command and Control
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.
Exfiltration
1 technique
Exfiltration
The collected screenshot is encrypted with RC4 and sent through a POST request along with the checksum data.
Observables
148 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
32 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.