Operator On The Wire
Join
← Back to Knowledge Base
BLUE TEAM / THREAT HUNT / ACTIVE DIRECTORY / CREDENTIAL ACCESS / SECRETS

LSASS

This note documents detection patterns related to LSASS Dumping within Active Directory environments.


Direct Indicators

LogEvent IDMeaningForensic ValueNotes
Security4688Process creationCriticalLook for processes spawning tools capable of dumping LSASS such as procdump.exe, rundll32.exe, comsvcs.dll, taskmgr.exe, or mimikatz. Review CommandLine and ParentProcessName.
Security4673Sensitive privilege usedHighOften appears when SeDebugPrivilege is used to access LSASS memory.
Security4656Handle requested to objectHighRequests for handle access to lsass.exe may indicate memory access attempts.
Security4663Object accessHighFile access events when dump files are written to disk.
Sysmon1Process creationCriticalIdentify suspicious command lines referencing LSASS dumping or credential extraction utilities.
Sysmon10Process accessCriticalDirect evidence of a process opening LSASS memory. Review SourceImage, TargetImage, GrantedAccess.
Sysmon11File creationHighCreation of dump files such as lsass.dmp in temporary directories.
Sysmon7Image loadedMediumLoading of dbghelp.dll or comsvcs.dll may indicate memory dumping behavior.

Indirect Indicators

IndicatorWhat To Look ForForensic ValueNotes
Process accessing LSASSNon-system process accessing lsass.exe memoryCriticalOne of the strongest indicators of credential dumping.
Suspicious dump filesFiles like lsass.dmp or memory.dmp created in user directoriesHighAttackers frequently store dumps before extracting credentials.
Execution of credential toolsExecution of mimikatz, procdump, or custom dumpersCriticalOften detected through process creation logs.
Unusual parent-child process chainsOffice apps, browsers, or scripts spawning dumping toolsHighIndicates malicious execution chain.
Post-dump credential usageSubsequent logons from accounts found in LSASS memoryCriticalEvidence attacker extracted credentials successfully.

Common Tools

ToolUsage
MimikatzExtracts credentials directly from LSASS memory.
ProcDumpUsed to create LSASS memory dumps for offline analysis.
Rundll32 comsvcs.dllBuilt-in method to dump LSASS without external tools.
NanoDumpAdvanced LSASS dumping tool designed to evade detection.
SafetyKatzModified Mimikatz implementation used in red team operations.
Cobalt StrikeOften used to execute LSASS dumping modules on compromised systems.

Relevant Artifacts

  • Windows Security logs (4688, 4673, 4656, 4663)
  • Sysmon logs (1, 10, 11)
  • EDR telemetry capturing memory access behavior
  • Dump files on disk (lsass.dmp, *.tmp)
  • Prefetch artifacts for dumping utilities
  • PowerShell logs if dumping executed through scripts
  • MFT artifacts showing dump file creation
  • Process tree relationships from endpoint monitoring

MITRE ATT&CK References

  • T1003 OS Credential Dumping
  • T1003.001 LSASS Memory
  • T1555 Credentials from Password Stores
  • T1078 Valid Accounts

Decision Tree

  1. Is the suspicious event present?
    • Look for Sysmon Event 10 showing process access to lsass.exe.
  2. What host generated the event?
    • Identify compromised workstation or server.
  3. Is the account expected to perform this action?
    • Only system components or security tools normally access LSASS.
  4. Pivot:
    • Source host → analyze executed processes and command lines.
    • Account → determine privilege escalation or credential theft.
    • Network → check for lateral movement after credential extraction.
  5. Confirm exploitation
    • Investigate if extracted credentials were used for subsequent logons.

Example Detection Templates

KQL

Sysmon
| where EventID == 10
| where TargetImage endswith "lsass.exe"
| project TimeGenerated, Computer, SourceImage, GrantedAccess
SecurityEvent
| where EventID == 4688
| where CommandLine contains "lsass"
| project TimeGenerated, NewProcessName, CommandLine, ParentProcessName

EQL

process where process.name in ("procdump.exe","mimikatz.exe","rundll32.exe")
and process.command_line like "*lsass*"

Sigma

title: LSASS Memory Dump Attempt
id: lsass-dump-detection
status: experimental
description: Detects attempts to dump LSASS memory for credential extraction
logsource:
  product: windows
  category: process_access
detection:
  selection:
    TargetImage: "*lsass.exe"
  condition: selection
fields:
  - SourceImage
  - TargetImage
  - GrantedAccess
falsepositives:
  - Legitimate security tools
  - Endpoint protection software
level: critical
tags:
  - attack.credential_access
  - attack.t1003.001

Mitigation & Hardening

Control AreaMitigationEffectivenessNotes
LSA ProtectionEnable RunAsPPL (LSA Protection)HighPrevents unauthorized access to LSASS memory.
Credential GuardEnable Windows Defender Credential GuardHighIsolates LSASS secrets from attackers.
EDR protectionDeploy endpoint security monitoring for LSASS accessHighDetects suspicious memory access attempts.
Least privilegeRestrict debug privileges to administratorsMediumReduces ability to access LSASS memory.
MonitoringAlert on Sysmon Event 10 targeting lsass.exeHighEarly detection of credential dumping attempts.