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 useful for controlled security research, malware analysis labs, and educational work on PE loading behavior. Because the technique is closely related to in-memory execution, it should be handled only in authorized environments.

Features

  • PE-to-shellcode conversion
  • 32-bit and 64-bit PE support
  • Post-compilation reflective loading stub
  • Valid PE output preservation
  • In-memory loading research utility
  • Security lab and analysis use case

Project Samples

Project Activity

See All Activity >

Categories

File Managers

License

BSD License

Follow pe_to_shellcode

pe_to_shellcode Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pe_to_shellcode!

Additional Project Details

Programming Language

C++

Related Categories

C++ File Managers

Registered

2026-06-04