works on my machine
- Download and install MSBuild tools https://aka.ms/vs/17/release/vs_BuildTools.exe
- Under "Individual Components" in the installer check the latest version of MSVC and Windows 11 SDK.
- Download this repo
- Open "x64 Native Tools Command Prompt for VS 2022"
- Go to downloaded repo
- Run
powershell.exe builder.ps1 <PATH_TO_SHELLCODE> <SHELLCODE_SIZE>
(msfvenom tells you the size) - Payload will be in
<REPO LOCATION>\src\sus.exe
(dont touch anything else in there or it will explode and kill everyone in the room) - Hopefulyl it works :)
Note:
- You may need to disable defender when creating your executable as you will have to provide raw shellcode which defender will throw a fit about.