Credential Dumping via Sysinternals Procdump
Adversaries utilize the legitimate Sysinternals utility procdump.exe to extract sensitive credentials from the LSASS process memory to facilitate lateral movement and privilege escalation.
The abuse of the Sysinternals utility procdump.exe is a common technique employed by threat actors to perform credential dumping by accessing the memory space of the Local Security Authority Subsystem Service (LSASS). This activity involves spawning the procdump process with specific flags, such as -ma (full dump) or -mm (mini dump), aimed at a target process like lsass.exe. By extracting these memory dumps, attackers can recover cleartext passwords, NTLM hashes, and Kerberos tickets, effectively compromising the security of the Windows host. This technique is frequently observed in post-exploitation scenarios, including those associated with groups such as HAFNIUM and activities documented in CISA AA22-257A. Defenders should prioritize visibility into process-level telemetry to identify the invocation of these binaries with suspicious command-line parameters.
Attack Chain
- Attacker establishes initial access or gains sufficient privileges on a Windows host.
- Attacker stages the legitimate Sysinternals utility procdump.exe on the target file system.
- Attacker identifies the process ID (PID) of the lsass.exe service.
- Attacker executes procdump.exe with command-line arguments (e.g., -ma, -mm) targeting the lsass process.
- The Windows OS grants the process access to the LSASS memory space if the attacker has sufficient privileges.
- Procdump creates a memory dump file containing sensitive authentication material.
- Attacker exfiltrates or parses the dump file offline using tools like Mimikatz or Pypykatz to obtain credentials.
- Attacker uses extracted credentials to move laterally within the network or escalate privileges.
Impact
Successful execution of this attack allows unauthorized actors to harvest domain credentials and sensitive authentication tokens. This exposure often leads to complete environment compromise, enabling persistent lateral movement, unauthorized access to sensitive data, and further privilege escalation across the domain.
Recommendation
- Deploy the provided Sigma rule to detect process-creation events where procdump is invoked with suspicious flags targeting lsass.
- Implement endpoint monitoring for process creation events (Sysmon Event ID 1) and map these to the CIM 'Processes' node.
- Restrict access to and monitor the usage of administrative utilities like Sysinternals tools in standard user environments.
- Audit and remediate unauthorized administrative accounts that can be used to facilitate LSASS memory dumping.
Immediate actions
Deploy Sigma rule to monitor for procdump execution targeting LSASS.
Threat Hunt
Search for historical process creation logs for procdump or renamed variations.
Data: Process creation events
Detection coverage 1
Detect LSASS Memory Dumping via Procdump
highDetects the use of procdump.exe or its renamed variants with command-line arguments (-ma, -mm, -mp) targeting the LSASS process.
Detection queries are available on the platform. Get full rules →