I felt inspired yesterday evening and worked late into the night last night as well as all day today to bring this to a functional level. This is my first endeavor into payload creation AND my first Python project so I am learning a hell of a lot along the way. Here is the gist of the functionality at this point:
– Tests for open outbound ports upon execution.
– builds and executes powershell payloads on the fly using the results of the port testing.
– Custom written so it should avoid easily avoid AV. It has so far with Kaspersky during testing.
– Powershell payloads generated on the fly.
This utilizes @Mattifestation’s Invoke-Shellcode in order to build and execute reverse HTTPS Meterpreter sessions based on port availability. Right now it is being compiled with Pyinstaller. I am looking into using PWNstaller.
Walk-through: