Analytics Story: Browser Cache Smuggling
Description
Browser cache smuggling abuses browser cache behavior to stage script or executable content as ordinary web resources, then accesses or extracts that cached content outside the browser. Non-browser reads of browser cache directories can reveal the handoff from web delivery to local staging and execution.
Why it matters
Browser cache smuggling places payload content in a browser cache while presenting it as a static resource, such as an image. A later command or script searches the browser's cache files, extracts or copies the payload to a user-writable location, and may launch it with a script host or binary loader. Firefox stores cache entries individually, while Chromium-based browsers use cache data files. Detection can focus on non-browser processes accessing these cache locations and correlate that access with new files and subsequent execution. Cache access auditing requires file-system auditing on the relevant user profile directories.
Detections
Data Sources
| Name | Platform | Sourcetype | Source |
|---|---|---|---|
| Sysmon EventID 13 | XmlWinEventLog |
XmlWinEventLog:Microsoft-Windows-Sysmon/Operational |
|
| Sysmon EventID 24 | XmlWinEventLog |
XmlWinEventLog:Microsoft-Windows-Sysmon/Operational |
|
| CrowdStrike ProcessRollup2 | Other | crowdstrike:events:sensor |
crowdstrike |
| Cisco Network Visibility Module Flow Data | cisco:nvm:flowdata:v2 |
not_applicable |
|
| Windows Event Log Security 4688 | XmlWinEventLog |
XmlWinEventLog:Security |
|
| Sysmon EventID 1 | XmlWinEventLog |
XmlWinEventLog:Microsoft-Windows-Sysmon/Operational |
|
| Powershell Script Block Logging 4104 | XmlWinEventLog |
XmlWinEventLog:Microsoft-Windows-PowerShell/Operational |
|
| Sysmon EventID 7 | XmlWinEventLog |
XmlWinEventLog:Microsoft-Windows-Sysmon/Operational |
|
| Windows Event Log Security 4663 | XmlWinEventLog |
XmlWinEventLog:Security |
References
- https://sensepost.com/blog/2023/browsers-cache-smuggling/
- https://x.com/MsftSecIntel/status/2106197481960706155
Source: GitHub | Version: 1