Command line naming a browser session cookie store
AN1402's on-disk leg: a process created with a browser session-cookie database named on its command line. MITRE's TargetCookiePaths knob supplies the shape of what to look for — it gives the Chrome path under AppData\Local\Google\Chrome\User Data\Default\Cookies — and the three fragments matched here are authored from it, extended to the modern Chromium layout where the store moved into a per-profile Network directory, and to Firefox's cookies.sqlite. Only the copy-and-carry variant is visible this way: a stealer that opens the file through the Win32 API, or that reads the browser's memory, writes no command line at all, and the memory leg of the analytic needs Sysmon EventID 10, which is a different log source than the one this rule is written against. Security 4688 is off in a default install and needs Audit Process Creation, and its CommandLine field needs the separate Include command line in process creation events policy — without both, this rule returns nothing because nothing is being collected. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0509, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full descriptionShow less
The detection
The 4 SIEM queries below are previews produced by Siemphony’s own translator, not pySigma, and none has been executed against a real backend — review before you deploy.
detection.yml
title: Command line naming a browser session cookie storeid: 362adbe6-cd06-435e-8e41-0ad8e0e31a9fstatus: experimentaldescription: | AN1402's on-disk leg: a process created with a browser session-cookie database named on its command line. MITRE's TargetCookiePaths knob supplies the shape of what to look for — it gives the Chrome path under AppData\Local\Google\Chrome\User Data\Default\Cookies — and the three fragments matched here are authored from it, extended to the modern Chromium layout where the store moved into a per-profile Network directory, and to Firefox's cookies.sqlite. Only the copy-and-carry variant is visible this way: a stealer that opens the file through the Win32 API, or that reads the browser's memory, writes no command line at all, and the memory leg of the analytic needs Sysmon EventID 10, which is a different log source than the one this rule is written against. Security 4688 is off in a default install and needs Audit Process Creation, and its CommandLine field needs the separate Include command line in process creation events policy — without both, this rule returns nothing because nothing is being collected. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0509, not hand-written and not tested by its author. Any lab result is on this rule's own page.references: - https://attack.mitre.org/techniques/T1539 - https://attack.mitre.org/detectionstrategies/DET0509author: Siemphony pipeline (machine-derived from MITRE ATT&CK v19.2)date: 2026-08-16tags: - attack.credential-access - attack.t1539logsource: category: process_creation product: windowsdetection: selection: CommandLine|contains: - '\Network\Cookies' - '\User Data\Default\Cookies' - 'cookies.sqlite' condition: selectionfalsepositives: - "Backup, endpoint-DLP and profile-migration agents that walk the user profile by absolute path. When one of them names the cookie database on its command line the event is byte-for-byte what a stealer produces, and only the parent process and the schedule tell them apart." - "Browser support scripts that delete or reset a corrupted cookie store, and the profile-teardown steps some VDI and roaming-profile logoff scripts run at the end of every session — these recur at predictable times across the whole estate." - "Forensic and incident-response tooling run by the security team itself, which reads the same file for entirely legitimate reasons and is the most likely source of the first hit this rule ever produces." - "Browser automation and test harnesses that point a driver at a seeded profile directory, which puts a cookie path on the command line as part of an ordinary build."level: highSentinel · KQL
Run this as a search.
DeviceProcessEvents| where (ProcessCommandLine contains "\\Network\\Cookies" or ProcessCommandLine contains "\\User Data\\Default\\Cookies" or ProcessCommandLine contains "cookies.sqlite")
Splunk · SPL
Run this as a search.
index=* (CommandLine="*\\Network\\Cookies*" OR CommandLine="*\\User Data\\Default\\Cookies*" OR CommandLine="*cookies.sqlite*")Elastic · ES|QL
Run this as a search.
FROM logs-*| WHERE (TO_LOWER(process.command_line) LIKE "*\\\\network\\\\cookies*" OR TO_LOWER(process.command_line) LIKE "*\\\\user data\\\\default\\\\cookies*" OR TO_LOWER(process.command_line) LIKE "*cookies.sqlite*")
Wazuh · XML rule
Deploy to your manager — this is a rule, not a search.
<group name="sigma,windows,process_creation,"> <!-- Rule ids must be unique on your manager; 100000+ is the user range. --> <rule id="100000" level="12"> <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. --> <field name="CommandLine" type="pcre2">(?i)(\\Network\\Cookies|\\User Data\\Default\\Cookies|cookies\.sqlite)</field> <description>Command line naming a browser session cookie store</description> <mitre> <id>T1539</id> </mitre> </rule></group>
Verdicts · reactions · comments
Community
Verdicts from engineers who actually deployed it, and the conversation around it.
Nobody has run this in a real environment and said what happened.
Verdicts from engineers who deployed it
0 castNo verdicts reported yet. The first one is worth more than the tenth — say what you ran it against.
Log in to report a verdict.
Log in to join the discussion.
No comments yet. Someone who deploys this will have something to say about it.