HackTool - Mimikatz Execution
A Sigma rule for process creation on Windows, by Teymur Kheirkhabarov, oscd.community, David ANDRE (additional keywords), Tim Shelton.
high 5 ATT&CK techniques 41 everyday examples trip it
What it looks for
detection:
selection_function_names:
CommandLine|contains:
- '::aadcookie'
- '::detours'
- '::memssp'
- '::mflt'
- '::ncroutemon'
- '::ngcsign'
- '::printnightmare'
- '::skeleton'
- '::preshutdown'
- '::mstsc'
- '::multirdp'
selection_module_names:
CommandLine|contains:
- 'rpc::'
- 'token::'
- 'crypto::'
- 'dpapi::'
- 'sekurlsa::'
- 'kerberos::'
- 'lsadump::'
- 'privilege::'
- 'process::'
- 'vault::'
selection_tools_name:
CommandLine|contains:
- 'DumpCreds'
- 'mimikatz'
condition: 1 of selection_*
The rule’s detection, its selections and fields in order of name. The whole rule, with its references and false positives, is on SigmaHQ, by Teymur Kheirkhabarov, oscd.community, David ANDRE (additional keywords), Tim Shelton, under the Detection Rule License 1.1. CmdID evaluates it on a command line alone: a test on what a command line cannot show, such as the parent process or the user, is not met.
Command lines that trip it
Enable debug privileges (needed for most operations) on the page for mimikatz
mimikatz "privilege::debug"IdentifyDump plaintext passwords, NTLM hashes, and Kerberos tickets from memory on the page for mimikatz
mimikatz "sekurlsa::logonpasswords"IdentifyPass-the-Hash with a specific NTLM hash and launch a command on the page for mimikatz
mimikatz "sekurlsa::pth /user:username /domain:domain /ntlm:hash /run:cmd"IdentifyExtract Kerberos tickets and export to a file on the page for mimikatz
mimikatz "kerberos::list /export"IdentifyList cryptographic providers on the page for mimikatz-crypto
mimikatz "crypto::providers"IdentifyList keys in a cryptographic provider on the page for mimikatz-crypto
mimikatz "crypto::capi"IdentifyExport certificates and keys on the page for mimikatz-crypto
mimikatz "crypto::certificates /export"IdentifyList master keys on the page for mimikatz-dpapi
mimikatz "dpapi::masterkey /list"IdentifyDecrypt a DPAPI blob on the page for mimikatz-dpapi
mimikatz "dpapi::blob /in:blob_file.bin"IdentifyRetrieve Chrome credentials using DPAPI on the page for mimikatz-dpapi
mimikatz "dpapi::chrome /in:Login Data"IdentifyAnd 29 more examples on CmdID’s program pages.