A quick tool for hiding a new process running shellcode.
Not sure it adds much value compared to just migrating into an existing process, was more of an exercise for learning C++ and playing with the Windows APIs.
It will create an instance of the given process and set that process' parent to that of the ID passed in, helping hide the process.
It will then inject some shellcode (hard coded so change before compiling) into that process, using a few different methods.
Ridgway.exe <process path> <parentProcessId>
Without arguments the binary uses C:\Program Files (x86)\Internet Explorer\iexplore.exe and uses explorer.exe as the parent.
Ridgway.exe C:\Windows\syswow64\notepad.exe 1337
There's an aggressor script artifact.cna which can be loaded into Cobalt Strike so that the generated Windows Executables use this executable. Note you need to keep the default shellcode of 'A's, and may need to change the path to the encoded_payload.sh script in the artifact.cna.
For those interested it's named after Stan Ridgway, who sang this belter, as that's exactly what we're trying to do here.