impacket_secretsdump
Dump SAM, NTDS, and LSA secrets from Windows systems to retrieve credential hashes for authorized penetration testing.
Instructions
Dump SAM, NTDS, and LSA secrets from a Windows target using Impacket secretsdump.
Extracts credential hashes from the SAM database (local accounts), NTDS.dit (domain accounts), and LSA secrets (service account passwords, cached credentials).
Args: target: Target IP address or hostname. domain: Domain name (use "." for local accounts). username: Username for authentication. password: Password for authentication (redacted in logs). hashes: NTLM hash for pass-the-hash (format: LM:NT). Alternative to password. timeout: Override scan timeout in seconds.
Returns: Extracted credential hashes organized by type (SAM, NTDS, LSA secrets).
WARNING: - This is a destructive/intrusive operation detectable by EDR solutions. - Requires admin credentials on the target system. - Target must be in tengu.toml [targets].allowed_hosts. - Requires explicit human authorization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| hashes | No | ||
| target | Yes | ||
| timeout | No | ||
| password | No | ||
| username | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||