Inside Astaroth's New Spambot Component
Astaroth (Guildma) operators deployed a new WhatsApp Web spambot component in Q4 2025 that uses headless browser automation with stripped WebDriver indicators to silently message all contacts in a victim's WhatsApp list, turning victims into unwitting malware distributors. The spambot shares significant codebase overlap with the Vareg (WATER SACI) spambot previously used to distribute LATAM banking trojans. This represents a shift from traditional email-based spam to abuse of trusted social messaging platforms, with continued Brazil-focused targeting.
Detection / Hunteropenrouter
What Happened
A cybercriminal group known as Astaroth, which has been active since 2015 and primarily targets users in Brazil, has added a new tool to their malware: a spam bot for WhatsApp Web. When a victim's computer is infected, this bot automatically sends malicious messages to every person in the victim's WhatsApp contact list, without the victim ever seeing it happen, because it runs a hidden web browser in the background. The code for this bot is nearly identical to another spam bot used by a related group, suggesting these criminal groups are sharing or reusing software. People and organizations in Brazil are the primary targets. This matters because it abuses the trust people have in messages from friends and family on WhatsApp, making it much more likely that contacts will click on malicious links. Organizations should educate users about this risk, monitor for unusual browser automation activity on endpoints, and ensure endpoint detection tools can identify headless browser sessions being used to access WhatsApp Web.
Key Takeaways
- Astaroth (Guildma) operators introduced a WhatsApp Web spambot component in Q4 2025, shifting from email-based spam to trusted social messaging platform distribution.
- The spambot runs a headless browser instance with stripped WebDriver automation indicators, making it invisible to the victim while messaging every contact in the victim's WhatsApp list.
- Shared function names, variable names, delivery logic, and config field conventions confirm a developmental link between the Astaroth spambot and the Vareg (WATER SACI / Eternidade) spambot used in October–November 2025 LATAM banking trojan campaigns.
- Brazil-specific phone number filtering, Portuguese-language spam templates, and language-oriented HTTP headers confirm continued Brazil-focused targeting by Astaroth.
- The spambot is distributed as an additional component from Astaroth's C2 servers alongside the traditional multi-stage loader chain (LNK → JScript → AutoIt loader → Delphi DLL → core).
Affected Systems
- Windows endpoints (LNK + JScript + AutoIt + Delphi loader chain)
- WhatsApp Web users in Brazil
Vulnerabilities (CVEs)
None identified.
Attack Chain
- Initial Access: Malicious LNK file delivered to victim executes embedded JScript downloader code
- Execution: JScript downloader retrieves Astaroth installer component from C2 server
- Execution / Defense Evasion: AutoIt-based loader decodes and executes Delphi-based loader DLL in memory
- C2 / Core Execution: Delphi DLL decrypts and executes Astaroth core banking trojan component
- Component Distribution: C2 server distributes additional WhatsApp Web spambot component to infected host
- Propagation: Spambot launches headless browser with stripped WebDriver indicators, accesses WhatsApp Web, and automatically messages all contacts with malicious lures
Detection Availability
- YARA Rules: No
- Sigma Rules: No
- Snort/Suricata Rules: No
- KQL Queries: No
- Splunk SPL Queries: No
- EQL Queries: No
- Other Detection Logic: No
The article does not contain any detection rules, queries, or signatures. It is a behavioral and TTP-focused analysis.
Detection Engineering Assessment
| Dimension | Rating | Rationale |
|---|---|---|
| EDR Visibility | Medium | EDR can likely observe the LNK-to-JScript execution chain, AutoIt loader activity, and rundll32 loading a DLL in memory. However, the headless browser automation with stripped WebDriver indicators may be harder to distinguish from legitimate browser activity unless EDR inspects browser process arguments and automation flags. |
| Network Visibility | Medium | Network telemetry would show C2 communication for component retrieval and WhatsApp Web traffic from the infected host. Language-oriented HTTP headers and Brazil-specific filtering may provide network-level indicators, but WhatsApp Web traffic is encrypted and blends with legitimate usage. |
| Detection Difficulty | Moderate | The multi-stage loader chain with in-memory execution and obfuscation provides moderate evasion. The headless browser automation with stripped WebDriver indicators adds complexity, but the overall execution chain (LNK → JScript → AutoIt → Delphi DLL) is observable via process telemetry. The WhatsApp Web spambot behavior may be harder to detect without browser-level visibility. |
Required Log Sources
- Process creation events (Sysmon Event ID 1 / EDR process telemetry)
- Command line logging
- Browser process execution with arguments
- Network connection logs (Sysmon Event ID 3 / firewall / proxy logs)
- File system events for LNK and DLL creation
Hunting Hypotheses
| Hypothesis | Telemetry | ATT&CK Stage | FP Risk |
|---|---|---|---|
| Consider hunting for browser processes launched in headless mode from non-browser parent processes, which may indicate automated spambot activity using T1036 techniques. | Process creation events with command-line arguments showing headless or --headless flags on browser executables spawned by unusual parent processes | Execution / Propagation | Medium — legitimate automation testing or headless browser use by developers may generate similar patterns |
| Consider hunting for JScript execution originating from LNK file activation, which is consistent with Astaroth's initial access technique (T1059.005). | Sysmon Event ID 1 process creation showing wscript.exe/cscript.exe with .js file arguments, correlated with LNK file access events | Initial Access / Execution | Low — JScript execution from LNK is uncommon in most enterprise environments |
| Consider hunting for AutoIt interpreter execution followed by in-memory DLL loading via rundll32, which may indicate Astaroth's loader chain. | Process creation events showing AutoIt execution followed by rundll32.exe with suspicious DLL arguments or memory-only loading patterns | Execution / Defense Evasion | Low — AutoIt is rarely used in enterprise environments outside of legitimate IT administration |
| Consider hunting for browser processes accessing WhatsApp Web (web.whatsapp.com) from hosts where browser automation indicators have been stripped, which may indicate spambot activity. | Network connection logs to WhatsApp Web endpoints combined with process telemetry showing browser processes without typical user interaction patterns | Propagation | High — legitimate WhatsApp Web usage is common and distinguishing automated access requires behavioral analysis |
| Consider hunting for processes making HTTP requests with Portuguese-language HTTP headers (Accept-Language: pt-BR) from hosts outside expected geographic usage patterns, which may indicate Brazil-focused LATAM malware. | Proxy or network inspection logs showing Accept-Language headers with pt-BR values from unexpected hosts or processes | C2 / Propagation | Medium — legitimate Portuguese-language users would generate similar headers |
Control Gaps
- Traditional email-based spam filters will not detect WhatsApp Web-based spam propagation
- Network-level inspection of encrypted WhatsApp Web traffic is limited without TLS interception
- Headless browser automation with stripped WebDriver indicators may bypass browser automation detection controls
- In-memory DLL execution via the Delphi loader may evade file-based antivirus scanning
Key Behavioral Indicators
- Browser process (e.g., chrome.exe, msedge.exe) spawned with headless flags from non-browser parent process
- JScript execution (wscript.exe/cscript.exe) spawned from LNK file activation
- AutoIt interpreter execution followed by rundll32.exe in process ancestry chain
- Browser process accessing web.whatsapp.com with automation indicators stripped from WebDriver session
- Multiple rapid outbound messages via WhatsApp Web from a single host in a short time window
False Positive Assessment
Medium — The multi-stage loader chain (LNK → JScript → AutoIt → Delphi DLL) has relatively low false positive risk in enterprise environments. However, detecting the WhatsApp Web spambot component via headless browser automation carries higher false positive risk due to legitimate use of headless browsers in development and testing, and the ubiquity of WhatsApp Web usage among end users.
Recommendations
Immediate Mitigation
- Verify against your organization's incident response runbook and team escalation paths before acting. Consider reviewing endpoint telemetry for LNK-to-JScript execution chains and AutoIt loader activity consistent with Astaroth's known infection methodology.
- If your EDR supports it, consider hunting for browser processes launched in headless mode from unusual parent processes, which may indicate the WhatsApp Web spambot component.
- Consider blocking or alerting on AutoIt interpreter execution on endpoints where it is not required for legitimate business purposes.
Infrastructure Hardening
- Evaluate whether your web proxy or firewall can apply additional scrutiny to hosts making rapid sequential connections to WhatsApp Web endpoints, if supported by your tooling.
- Consider implementing application allow-listing for scripting interpreters (wscript.exe, cscript.exe) where feasible to reduce the attack surface for LNK-delivered JScript payloads.
- If your network security tools support TLS inspection, consider evaluating whether inspection of WhatsApp Web traffic is feasible and compliant with applicable privacy regulations.
User Protection
- Consider deploying endpoint detection rules that alert on headless browser execution from non-browser parent processes, if your EDR vendor supports this capability.
- Evaluate whether your endpoint security solution can detect in-memory DLL loading via rundll32 following AutoIt execution, as this is a key stage in Astaroth's loader chain.
- Consider ensuring endpoint protection is configured to detect and block LNK files containing embedded JScript payloads.
Security Awareness
- Consider incorporating awareness messaging about malicious WhatsApp messages that may appear to come from trusted contacts, as the spambot turns victims into unwitting distributors.
- If applicable to your workforce, consider reminding users in Brazil or Portuguese-speaking regions that compromised contacts may send malicious links via WhatsApp without their knowledge.
- Consider adding guidance for users to verify unexpected messages containing links or attachments even when they appear to come from known contacts.
MITRE ATT&CK Mapping
Initial Access
Execution
Stealth
Command and Control
Additional IOCs
- Command Lines:
- Purpose: LNK file executes JScript downloader to retrieve Astaroth installer component | Tools:
wscript.exe,cscript.exe| Stage: Initial Access / Execution - Purpose: AutoIt-based loader decodes and executes Delphi-based loader DLL in memory | Tools:
AutoIt,rundll32.exe| Stage: Execution / Defense Evasion
- Purpose: LNK file executes JScript downloader to retrieve Astaroth installer component | Tools: