secretsdump.py
The most comprehensive credential dumping tool. Extracts SAM, LSA secrets, cached credentials, and NTDS.dit without executing code on the target.Dump Methods
- Remote Dumping
- DCSync (Domain Controller)
- Local Files
- VSS Method
Advanced Options
Filtering & Selection
Filtering & Selection
Output Options
Output Options
Execution Methods
Execution Methods
Example Output
Common Use Cases
- Domain Compromise
- Local Admin Access
- Offline Analysis
Get-GPPPassword.py
Extracts credentials from Group Policy Preferences (GPP) in SYSVOL. Finds passwords stored in Groups.xml.Usage
Example Output
GetLAPSPassword.py
Retrieves LAPS (Local Administrator Password Solution) passwords from Active Directory.Usage
Example Output
Additional Tools
dpapi.py
Decrypt DPAPI-protected data (credentials, certificates, keys).mimikatz.py
Execute Mimikatz-style DPAPI operations.ntlmrelayx.py
Relay NTLM authentication to dump credentials (advanced).Password Cracking
After dumping credentials, crack them with John the Ripper or Hashcat:- John the Ripper
- Hashcat
- Pass-the-Hash
Detection & Evasion
Detection Indicators
Event Logs Generated
Event Logs Generated
- Event ID 4688: Process creation (reg.exe, vssadmin.exe)
- Event ID 4663: Registry access to SAM/SECURITY/SYSTEM
- Event ID 5145: Network share access (ADMIN)
- Event ID 4662: Directory Service Access (DCSync)
- Event ID 4624/4672: Privileged logon
Network Indicators
Network Indicators
- SMB connections to ADMIN shares
- RPC calls to SAMR/DRSUAPI
- Registry service activation
- Volume Shadow Copy creation
Evasion Techniques
Evasion Techniques
Common Issues
Access Denied / Insufficient Privileges
Access Denied / Insufficient Privileges
Remote Registry Service
Remote Registry Service
DCSync Errors
DCSync Errors
Best Practices
Authorization
Only dump credentials on systems you’re authorized to test
Secure Storage
Encrypt and securely store dumped credentials
Clean Up
Remove artifacts and restore services to original state
Documentation
Document all dumps for audit trail and reporting
Next Steps
Kerberos Attacks
Use dumped credentials for Kerberos attacks
Remote Execution
Execute commands with dumped credentials
Lateral Movement
Move across the network with credentials