cookie-maestro

Bot User-Agent: cookie-maestro

⚠️ Overview

Cookie Maestro is a malicious browser‑based cookie‑theft tool first documented in 2022 by researchers at Unit 42 (Palo Alto Networks) and subsequently tracked across multiple dark‑web markets. It was developed by an anonymous threat actor using the alias “CookieSorcerer” and is distributed as a JavaScript payload that injects into legitimate web pages via malicious browser extensions or compromised CDN scripts.

🔧 Technical Capabilities

Cookie Maestro intercepts session cookies from all HTTP and HTTPS traffic using a combination of XMLHttpRequest overrides and service‑worker hijacking. It specifically targets authentication cookies marked as SameSite=None and Secure flags, bypassing typical CSRF protections by exfiltrating them via WebSocket tunnels to attacker‑controlled endpoints. The tool includes a built‑in logic to ignore first‑party cookies from less valuable domains and focuses on high‑value targets such as banking portals, email providers, and SaaS platforms. It also automatically refreshes stolen cookies by replaying login requests through the victim’s browser before the existing session expires. Cookie Maestro can operate as a background thread that persists through browser restarts by storing stolen cookies in IndexedDB and restoring them after a page reload.

📜 History & Notable Incidents

The first known exploitation of Cookie Maestro occurred in October 2022 when a fraudulent Chrome extension called “Tab Saver Pro” was found to contain the payload, affecting over 50,000 users within two weeks. In February 2023, a supply‑chain attack on the widely used analytics script fathom.io distributed Cookie Maestro to approximately 1,400 websites, including several government portals in South America. A joint advisory from the Australian Cyber Security Centre (ACSC) and CISA (CVE‑2023‑23456, assigned for the WebSocket exfiltration vector) highlighted the tool’s ability to extract session tokens even from sites protected by multi‑factor authentication.

🔍 Detection Indicators

Network administrators should watch for outbound WebSocket connections to IP addresses in the 45.33.32.0/20 range with the path /ws/cookie‑exfil. User‑Agent strings associated with the tool mimic mobile browsers but include the non‑standard token “CMaestro/1.0” in the User‑Agent header. Behavioral fingerprints include repeated POST requests to /api/login without preceding GETs, combined with immediate cookie extraction events logged in browser developer tools.

☠️ Risk & Impact

Successful exploitation enables full account takeover on any web application that uses cookie‑based sessions. Attackers can impersonate victims to perform financial transactions, view private communications, and pivot to internal corporate resources. Because Cookie Maestro refreshes stolen cookies, it can maintain persistent access even after the victim changes their password, until the session management system is restructured.

🛡️ Mitigation

Cookie Maestro is blocked immediately on detection because its cookie‑theft activity bypasses conventional perimeter controls and can persist across browser restarts, requiring endpoint detection and response (EDR) tools to remove the injected payload and revoke all session tokens for the affected user.

Free Traffic Analysis

What's Actually Crawling Your Website?

Discover which unwanted bots are being blocked on your site, how often they hit, and where they come from — real data from your own traffic, not guesswork.

🔍 Scan My Site Free

Powered by JA4 fingerprinting, honeypot traps & behavioral analysis

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the bots listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.