pe_to_shellcode is a research-oriented tool that converts a Windows Portable Executable into a form that can be loaded from memory like shellcode. The resulting file remains a valid PE while also being modified so execution can begin from the start of the buffer. The project supports both 32-bit and 64-bit PE files. Its goal is to add a reflective loading stub after compilation, instead of requiring the developer to build the PE with reflective loading already integrated. This makes it...