Offline domain credential cache file read on a Linux host
Matches a process launched with the path of an offline domain-credential cache on its command line — the SSSD cache database and the Quest authentication cache that AN1418 names, plus the SSSD secrets database, which is added here rather than taken from MITRE. The match sits on CommandLine and not on Image on purpose: AN1418 mentions tdbdump, but the file is equally readable with cat, cp, strings or tar, and on auditd SYSCALL records the `exe=` field holds the interpreter whenever the reader is wrapped in a shell script or invoked through sudo, so keying on the executable would miss most of the ways this actually happens. Two structural limits worth stating: a reader invoked from inside the directory with a bare filename writes no absolute path and is invisible here, and so is anything that opens the file through a path built at runtime — the analytic's other source, an auditd watch such as `-w /var/lib/sss/db/ -p r`, is the complement that catches both. The Windows arm of this technique is not attempted here because the command lines it would match, `reg save HKLM\SECURITY` and its variants, are already covered by the T1003.002 rule in this corpus. auditd does not record execve out of the box; without an explicit `-a always,exit -F arch=b64 -S execve` rule this returns nothing at all, and zero rows means blind rather than quiet. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0513, 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
Sentinel · KQL
Run this as a search.
DeviceProcessEvents| where (ProcessCommandLine contains "/var/lib/sss/db/cache" or ProcessCommandLine contains "/var/lib/sss/secrets" or ProcessCommandLine contains "/var/opt/quest/vas/authcache")
Splunk · SPL
Run this as a search.
index=* (CommandLine="*/var/lib/sss/db/cache*" OR CommandLine="*/var/lib/sss/secrets*" OR CommandLine="*/var/opt/quest/vas/authcache*")Elastic · ES|QL
Run this as a search.
FROM logs-*| WHERE (TO_LOWER(process.command_line) LIKE "*/var/lib/sss/db/cache*" OR TO_LOWER(process.command_line) LIKE "*/var/lib/sss/secrets*" OR TO_LOWER(process.command_line) LIKE "*/var/opt/quest/vas/authcache*")
Wazuh · XML rule
Deploy to your manager — this is a rule, not a search.
<group name="sigma,linux,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 linux so this only evaluates relevant events. --> <field name="CommandLine" type="pcre2">(?i)(/var/lib/sss/db/cache|/var/lib/sss/secrets|/var/opt/quest/vas/authcache)</field> <description>Offline domain credential cache file read on a Linux host</description> <mitre> <id>T1003.005</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.