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

Name ▲▼ Technique ▲▼ Type ▲▼
Windows RunMRU Command Execution Indirect Command Execution Anomaly
Windows Content Copied from Browser was Executed PowerShell, Windows Command Shell, Indirect Command Execution TTP
Windows PowerShell FakeCAPTCHA Clipboard Execution PowerShell, Windows Command Shell, Malicious Link TTP
Windows PowerShell Script Block Browser Cache Access HTML Smuggling, PowerShell, Ingress Tool Transfer Anomaly
Windows DLL Module Loaded in Temp Dir Ingress Tool Transfer Hunting
Detect Use of cmd exe to Launch Script Interpreters Windows Command Shell Anomaly
Non Chrome Process Accessing Chrome Default Dir Credentials from Web Browsers Anomaly
Vbscript Execution Using Wscript App Visual Basic Anomaly
Windows Rundll32 with Non-Standard File Extension Rundll32 Anomaly
Wscript Or Cscript Suspicious Child Process Process Injection, Parent PID Spoofing, Create or Modify System Process Anomaly
Windows Non Browser Process Access Browser Cache Dir Data from Local System, HTML Smuggling, Ingress Tool Transfer Anomaly
Windows Rundll32 Load DLL in Temp Dir Rundll32 Anomaly

Data Sources

Name ▲▼ Platform ▲▼ Sourcetype ▲▼ Source ▲▼
Sysmon EventID 13 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
Sysmon EventID 24 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
CrowdStrike ProcessRollup2 Other crowdstrike:events:sensor crowdstrike
Cisco Network Visibility Module Flow Data Network icon Network cisco:nvm:flowdata:v2 not_applicable
Windows Event Log Security 4688 Windows icon Windows XmlWinEventLog XmlWinEventLog:Security
Sysmon EventID 1 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
Powershell Script Block Logging 4104 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-PowerShell/Operational
Sysmon EventID 7 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
Windows Event Log Security 4663 Windows icon Windows XmlWinEventLog XmlWinEventLog:Security

References


Source: GitHub | Version: 1