Skip to content

Siemphony is in beta and still being built. What ships today, and what does not.

Siemphony’s repertoire

Non-browser process writes into a browser session cookie store

Siemphony@siemphonylowT1606.001unverified
Matches AN0484's observable: a process outside the browser itself creating a file inside a browser's session-cookie store. That is the forge-and-present half of this technique — a cookie value the adversary generated is injected into the store so the browser presents it as a live session — and it is deliberately a different observable from T1539's rule already in this corpus, which matches a process naming a cookie database on its command line and is the read-and-steal half. MITRE's BrowserCookiePaths knob names the paths to watch; the three fragments matched here are authored from the Chromium layout where the store sits under a per-profile Network directory, the older User Data\Default location, and Firefox's cookies.sqlite. The ProcessWhitelist knob maps onto the browser filter, which is where an approved profile-migration or backup agent belongs. Two limits are structural rather than tunable. Sysmon EventID 11 is file *creation*, so an in-place SQLite update of an existing Cookies file raises nothing by itself; what makes the write visible is the journal and WAL sidecars the engine creates alongside it, which is why the fragments are substrings rather than exact paths. And the store's own filename has no extension, so the FileCreate section of most shipped Sysmon configurations — which include by extension — will not record it unless a path rule for these directories is added first; without that this rule returns zero rows while looking healthy. This rule is written in the Sysmon-shaped file_event vocabulary (TargetFilename, Image). AN0485's Linux leg was not used: its only Linux log source is raw auditd, where the accessed path arrives on a PATH record and the accessing binary on the paired SYSCALL record, so "a process outside the browser" cannot be expressed within one record and the rule would fire on the browser itself on every launch. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0171, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full description

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

Sentinel · KQL

Run this as a search.

DeviceFileEvents| where ((FolderPath contains "\\Network\\Cookies" or FolderPath contains "\\User Data\\Default\\Cookies" or FolderPath contains "cookies.sqlite") and not ((InitiatingProcessFolderPath endswith "\\chrome.exe" or InitiatingProcessFolderPath endswith "\\msedge.exe" or InitiatingProcessFolderPath endswith "\\firefox.exe" or InitiatingProcessFolderPath endswith "\\brave.exe" or InitiatingProcessFolderPath endswith "\\opera.exe" or InitiatingProcessFolderPath endswith "\\vivaldi.exe" or InitiatingProcessFolderPath endswith "\\chromium.exe")))

Splunk · SPL

Run this as a search.

index=* ((TargetFilename="*\\Network\\Cookies*" OR TargetFilename="*\\User Data\\Default\\Cookies*" OR TargetFilename="*cookies.sqlite*") AND NOT ((Image="*\\chrome.exe" OR Image="*\\msedge.exe" OR Image="*\\firefox.exe" OR Image="*\\brave.exe" OR Image="*\\opera.exe" OR Image="*\\vivaldi.exe" OR Image="*\\chromium.exe")))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE ((TO_LOWER(file.path) LIKE "*\\\\network\\\\cookies*" OR TO_LOWER(file.path) LIKE "*\\\\user data\\\\default\\\\cookies*" OR TO_LOWER(file.path) LIKE "*cookies.sqlite*") AND NOT ((TO_LOWER(process.executable) LIKE "*\\\\chrome.exe" OR TO_LOWER(process.executable) LIKE "*\\\\msedge.exe" OR TO_LOWER(process.executable) LIKE "*\\\\firefox.exe" OR TO_LOWER(process.executable) LIKE "*\\\\brave.exe" OR TO_LOWER(process.executable) LIKE "*\\\\opera.exe" OR TO_LOWER(process.executable) LIKE "*\\\\vivaldi.exe" OR TO_LOWER(process.executable) LIKE "*\\\\chromium.exe")))

Wazuh · XML rule

Deploy to your manager — this is a rule, not a search.

<group name="sigma,windows,file_event,">  <!-- Rule ids must be unique on your manager; 100000+ is the user range. -->  <rule id="100000" level="5">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="TargetFilename" type="pcre2">(?i)(\\Network\\Cookies|\\User Data\\Default\\Cookies|cookies\.sqlite)</field>    <field name="Image" negate="yes" type="pcre2">(?i)(\\chrome\.exe$|\\msedge\.exe$|\\firefox\.exe$|\\brave\.exe$|\\opera\.exe$|\\vivaldi\.exe$|\\chromium\.exe$)</field>    <description>Non-browser process writes into a browser session cookie store</description>    <mitre>      <id>T1606.001</id>    </mitre>  </rule></group>

Verdicts · reactions · comments

Community

Verdicts from engineers who actually deployed it, and the conversation around it.

Log in to react
Not yet reported on

Nobody has run this in a real environment and said what happened.

Verdicts from engineers who deployed it

0 cast

No 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.