cookie-maestro
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.
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.
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.
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.
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.
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.
Similar Threats
🛡️
Boteraser automatically detects and blocks unwanted bots — protecting your site from scrapers, DDoS bursts, and credential stuffing attacks without slowing down real visitors.
✅ Start Free ProtectionSetup takes under a minute · Free trial available
ⓘ 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.
Stay up to date with the latest from Boteraser.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.
Service URL: developers.cloudflare.com (opens in a new window)
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy Policy.