Automation · API / MCP 中文

Technique note · T1539

Steal Web Session Cookie

An adversary may steal web application or service session cookies and use them to gain access to web applications or Internet services as an authenticated user without needing credentials. Web applications and services often use session cookies as an authentication token after a user has authenticated to a website. Cookies are often valid for an extended period of time, even if the web application is not actively used. Cookies can be found on disk, in the process memory of the browser, and in network traffic to remote systems. Additionally, other applications on the targets machine might store sensitive authentication cookies in memory (e.g. apps which authenticate to cloud services). Session cookies can be used to bypasses some multi-factor authentication protocols. There are several examples of malware targeting cookies from web browsers on the local system. Adversaries may also steal cookies by injecting malicious JavaScript content into websites or relying on User Execution by tricking victims into running malicious JavaScript in their browser. There are also open source frameworks such as `Evilginx2` and `Muraena` that can gather session cookies through a malicious proxy (e.g., Adversary-in-the-Middle) that can be set up by an adversary and used in phishing campaigns. After an adversary acquires a valid cookie, they can then perform a Web Session Cookie technique to log in to the corresponding web application.

ATT&CK T1539 platforms — Status Active Version 20.1

An adversary may steal web application or service session cookies and use them to gain access to web applications or Internet services as an authenticated user without needing credentials. Web applications and services often use session cookies as an authentication token after a user has authenticated to a website. Cookies are often valid for an extended period of time, even if the web application is not actively used. Cookies can be found on disk, in the process memory of the browser, and in network traffic to remote systems. Additionally, other applications on the targets machine might store sensitive authentication cookies in memory (e.g. apps which authenticate to cloud services). Session cookies can be used to bypasses some multi-factor authentication protocols.1 There are several examples of malware targeting cookies from web browsers on the local system.23 Adversaries may also steal cookies by injecting malicious JavaScript content into websites or relying on User Execution by tricking victims into running malicious JavaScript in their browser.45 There are also open source frameworks such as `Evilginx2` and `Muraena` that can gather session cookies through a malicious proxy (e.g., Adversary-in-the-Middle) that can be set up by an adversary and used in phishing campaigns.67 After an adversary acquires a valid cookie, they can then perform a Web Session Cookie technique to log in to the corresponding web application.

  1. Pass The Cookie
  2. Kaspersky TajMahal April 2019
  3. Unit 42 Mac Crypto Cookies January 2019
  4. Talos Roblox Scam 2023
  5. Krebs Discord Bookmarks 2023
  6. Github evilginx2
  7. GitHub Mauraena

Groups using this technique

GroupNameCountry
grp_g0120Evilnum—
grp_g1014LuminousMothChina
grp_g1015Scattered Spider—
grp_g1044APT42Iran
grp_g1033Star Blizzard—
grp_g0030Lotus Blossom—
grp_g0094KimsukyDPRK
grp_g0034Sandworm TeamRussia

Claims

No public claim points at this technique yet.

Auto-ingested and not human-reviewed; confidence and validity read by citation.