Threaticon
Toggle sidebar

You're viewing a limited, public preview. Log in for full access.

Log in User Guide
Log in Get started
Detection Strategies DET0171 — Detection Strategy for Forged Web Cookies
DET0171

Detection Strategy for Forged Web Cookies

5 analytic(s) · 1 technique(s) detected

Analytics

5
AN0483 Analytic 0483
IaaS

Forged cookies in IaaS environments may appear as authentication attempts that bypass MFA, leveraging AssumeRole or session APIs with cookies that were never legitimately issued. Defenders should correlate cloud logs for cookie-based sessions without prior valid authentication, often followed by resource access from unfamiliar IP addresses.

AWS:CloudTrail Web console logins using session cookies without corresponding MFA event AWS:CloudTrail GetSessionToken, AssumeRoleWithWebIdentity
[GeoVelocityThreshold] Flag logins from geographically distant locations in a short timeframe.
[AuthorizedCookieIssuers] Expected systems and services that may legitimately mint session cookies.
AN0484 Analytic 0484
Windows

Forged web cookies on Windows endpoints can be detected by monitoring unusual modifications of browser cookie stores (e.g., Chrome SQLite DB, Edge cache) by processes outside of browsers, followed by authentication events to SaaS or IaaS services. Defenders may observe processes writing directly to cookie storage paths or injecting tokens into browser sessions.

WinEventLog:Sysmon EventCode=11 WinEventLog:Security EventCode=4624, 4648
[BrowserCookiePaths] List of monitored cookie file paths on Windows systems.
[ProcessWhitelist] Approved processes allowed to write to browser cookie stores.
AN0485 Analytic 0485
Linux

On Linux, defenders may observe forged cookie activity as unauthorized modifications to browser cookie databases (e.g., ~/.mozilla/firefox/*/cookies.sqlite, ~/.config/chromium/Default/Cookies) or scripted injection of session tokens. Suspicious usage includes curl/wget commands embedding forged cookies in headers, correlated with abnormal session activity in SaaS or IaaS logs.

auditd:SYSCALL Unusual processes accessing or modifying cookie databases WinEventLog:Sysmon EventCode=3, 22
[CredentialFilePaths] Paths to cookie/session storage files to monitor.
AN0486 Analytic 0486
macOS

Forged cookies on macOS may show up as abnormal access to Safari/Chrome cookie databases in ~/Library/Cookies, combined with unexpected logon sessions authenticated by those cookies. Unified Logs may show cookie injection events or abnormal access patterns to Keychain when linked to browser authentication flows.

macos:unifiedlog Abnormal process access to Safari or Chrome cookie storage macos:unifiedlog New session initiated using cookies without normal MFA or password validation
[AuthorizedKeychainApps] Applications permitted to use Keychain to generate cookies or tokens.
AN0487 Analytic 0487
SaaS

Forged cookies in SaaS environments manifest as valid web sessions without matching login activity, MFA enforcement bypass, or cookies reused across multiple devices/IPs. Defenders should look for cookie replay, concurrent sessions from multiple geographies, or session tokens generated by unrecognized apps.

m365:unified Session activity without correlated login event saas:access Multiple concurrent logins using same cookie from different locations
[TokenReplayThreshold] Number of concurrent uses of a cookie that should trigger an alert.
[GeoLocationAlerts] Unusual SaaS logins from geographically distant locations in short timeframes.

Detected Techniques

1

Credential Access (1)

Details

MITRE ID
DET0171
STIX ID
x-mitre-detection-strategy--e1854c9f-2b70-4311-9a46-a420f6c0b6d0
Analytics
5
Techniques Detected
1
By Tactic
Credential Access
1
Leaving Threaticon

This link opens an external site that isn't part of the platform.