1---2name: detecting-mimikatz-execution-patterns3description: Detect Mimikatz execution through command-line patterns, LSASS access signatures, binary indicators, and in-memory detection of known modules.4license: Apache-2.05---67# Detecting Mimikatz Execution Patterns89## When to Use1011- When proactively hunting for indicators of detecting mimikatz execution patterns in the environment12- After threat intelligence indicates active campaigns using these techniques13- During incident response to scope compromise related to these techniques14- When EDR or SIEM alerts trigger on related indicators15- During periodic security assessments and purple team exercises1617## Detection Gaps & Validation1819- **String/hash signatures are trivially evaded.** Renamed binaries, in-memory execution (Invoke-Mimikatz, reflective PE load, Cobalt Strike BOFs), and renamed module strings (`sekurlsa::logonpasswords`) defeat command-line and file-hash detection. Don't anchor on `mimikatz` keywords.20- **The durable signal is LSASS access.** Hunt Sysmon **EID 10** ProcessAccess targeting `lsass.exe` with `GrantedAccess` of `0x1010`, `0x1410`, `0x143a`, or `0x1fffff` from a non-system process. Verify EID 10 is enabled and lsass is not excluded in the Sysmon config — a common gap.21- **LOLBin dumping bypasses mimikatz entirely:** `rundll32 comsvcs.dll MiniDump <pid> ...`, Task Manager "Create dump file", and `procdump -ma lsass.exe` produce a dump with no mimikatz artifacts. Hunt these command lines plus EID 11 writes of `*.dmp`.22- **Protection changes the picture:** RunAsPPL and Credential Guard block classic reads (attackers may avoid lsass). The Microsoft-Windows-Threat-Intelligence ETW provider catches suspicious lsass handle opens that user-mode logging misses.23- **Validate the rule fires:** run `procdump -ma lsass.exe` (or lab mimikatz `sekurlsa::logonpasswords`) and confirm both the EID 10 GrantedAccess query and the comsvcs/dmp query trigger.24- **Tune false positives:** AV/EDR (e.g., MsMpEng), backup, and DLP agents legitimately open lsass. Allowlist signed security tools by image path rather than suppressing all lsass access.2526## Prerequisites2728- EDR platform with process and network telemetry (CrowdStrike, MDE, SentinelOne)29- SIEM with relevant log data ingested (Splunk, Elastic, Sentinel)30- Sysmon deployed with comprehensive configuration31- Windows Security Event Log forwarding enabled32- Threat intelligence feeds for IOC correlation3334## Workflow35361. **Formulate Hypothesis**: Define a testable hypothesis based on threat intelligence or ATT&CK gap analysis.372. **Identify Data Sources**: Determine which logs and telemetry are needed to validate or refute the hypothesis.383. **Execute Queries**: Run detection queries against SIEM and EDR platforms to collect relevant events.394. **Analyze Results**: Examine query results for anomalies, correlating across multiple data sources.405. **Validate Findings**: Distinguish true positives from false positives through contextual analysis.416. **Correlate Activity**: Link findings to broader attack chains and threat actor TTPs.427. **Document and Report**: Record findings, update detection rules, and recommend response actions.4344## Key Concepts4546| Concept | Description |47|---------|-------------|48| T1003.001 | LSASS Memory |49| T1003.006 | DCSync |50| T1558.003 | Kerberoasting |51| T1558.001 | Golden Ticket |5253## Tools & Systems5455| Tool | Purpose |56|------|---------|57| CrowdStrike Falcon | EDR telemetry and threat detection |58| Microsoft Defender for Endpoint | Advanced hunting with KQL |59| Splunk Enterprise | SIEM log analysis with SPL queries |60| Elastic Security | Detection rules and investigation timeline |61| Sysmon | Detailed Windows event monitoring |62| Velociraptor | Endpoint artifact collection and hunting |63| Sigma Rules | Cross-platform detection rule format |6465## Common Scenarios66671. **Scenario 1**: Standard sekurlsa::logonpasswords credential dump682. **Scenario 2**: PowerShell Invoke-Mimikatz reflective loading693. **Scenario 3**: DCSync from non-DC host704. **Scenario 4**: Golden ticket creation for persistence7172## Output Format7374```75Hunt ID: TH-DETECT-[DATE]-[SEQ]76Technique: T1003.00177Host: [Hostname]78User: [Account context]79Evidence: [Log entries, process trees, network data]80Risk Level: [Critical/High/Medium/Low]81Confidence: [High/Medium/Low]82Recommended Action: [Containment, investigation, monitoring]83```