Techniques
Sample rules
Windows Non Browser Process Access Browser Cache Dir
- source: splunk
- technicques:
Description
This analytic detects non-browser processes accessing files in local browser cache directories using Windows Security EventCode 4663. A script or utility reading Firefox, Chrome, Edge, Brave, or Chromium cache entries may be extracting web-delivered content for staging or execution.
Detection logic
`wineventlog_security`
EventCode=4663
ObjectType="File"
ObjectName IN (
"*\\Mozilla\\Firefox\\Profiles\\*\\cache2\\entries\\*",
"*\\User Data\\*\\Cache\\Cache_Data\\*"
)
NOT ProcessName IN (
"*:\\Program Files (x86)\\*",
"*:\\Program Files\\*",
"*:\\Users\\*\\AppData\\Local\\*",
)
NOT ProcessName IN (
"*\\360se.exe",
"*\\arc.exe",
"*\\atlas.exe",
"*\\avastbrowser.exe",
"*\\avgbrowser.exe",
"*\\blpbrowser.exe",
"*\\brave.exe",
"*\\braveupdate.exe",
"*\\browser.exe",
"*\\chrome.exe",
"*\\chromium.exe",
"*\\coccoc.exe",
"*\\comet.exe",
"*\\dragon.exe",
"*\\duckduckgo.exe",
"*\\firefox.exe",
"*\\ghost.exe",
"*\\iexplore.exe",
"*\\iridium.exe",
"*\\iron.exe",
"*\\maxthon.exe",
"*\\microsoftedge.exe",
"*\\microsoftedgeupdate.exe",
"*\\msedge.exe",
"*\\msedgewebview2.exe",
"*\\opera_autoupdate.exe",
"*\\opera.exe",
"*\\perplexity.exe",
"*\\rave.exe",
"*\\safari.exe",
"*\\shift.exe",
"*\\sidekick.exe",
"*\\thorium.exe",
"*\\torch.exe",
"*\\vivaldi.exe",
"*\\waterfox.exe",
"*\\wavebrowser.exe",
"*\\whale.exe",
"*\\zen.exe"
)
| eval cache_path=lower(ObjectName)
| eval cache_family=case(
like(cache_path, "%\\mozilla\\firefox\\profiles\\%\\cache2\\entries\\%"), "Firefox",
like(cache_path, "%\\google\\chrome\\user data\\%\\cache\\cache_data\\%"), "Chrome",
like(cache_path, "%\\microsoft\\edge\\user data\\%\\cache\\cache_data\\%"), "Edge",
like(cache_path, "%\\bravesoftware\\brave-browser\\user data\\%\\cache\\cache_data\\%"), "Brave",
like(cache_path, "%\\user data\\%\\cache\\cache_data\\%"), "Chromium"
)
| stats count min(_time) as firstTime
max(_time) as lastTime
values(cache_family) as cache_family
values(AccessMask) as AccessMask
by ObjectName ObjectType ProcessName EventCode dest
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `windows_non_browser_process_access_browser_cache_dir_filter`