This program is designed to load 32-bit or 64-bit shellcode and allow for execution or debugging. In addition, it can produce executable PE files based on the desired shellcode.
This can ease testing as the output binary can be used by standard reverse engineering tools (i.e. IDA Pro (even free) and debuggers).
Release binaries are available. You can view a demo of this tool on YouTube
This program provides several options for working with your shellcode:
-pause
argument to pause this program before executing the shellcode. This allows for a debugger to be attached and breakpoints to be set. -bp
argument.The only required argument is to provide the path to the file that contains your shellcode. You do that by using the -f
argument. This will be copied into memory and executed.
Additionally, you can use the -ep
argument to adjust the entry point by X bytes. This allows for shellcode that does not begin execution at the beginning of the binary blob.
Finally, -bp
determines if a breakpoint should be inserted before the shellcode. This will be done through a 0xCC
byte, which is an INT3.
This allows you to run the program under a debugger, defining the command line arguments as appropriate.
Inserting a breakpoint will allow the debugger to interrupt execution before the shellcode is executed.
If you are not running under a debugger, do not insert a breakpoint as that will cause the program to crash.
You can use the -pe
argument to produce a PE file that essentially wraps the shellcode. The shellcode is placed in the .text
section.
The entry point is defined as the beginning of the section, unless the -ep
argument is used.
This argument will define an offset from the beginning of the section and be used to update the PE files entry point (i.e. AddressOfEntry field).
Additionally, the -64
argument can be used to generate a 64-bit PE file, likely for 64-bit shellcode.
The resulting PE file can be analyzed via common reverse engineering tools such as IDA Pro, Ghidra or a debugger such as x32dbg/WinDbg/etc.
For more information click here
shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…
Extract and execute a PE embedded within a PNG file using an LNK file. The…
Embark on the journey of becoming a certified Red Team professional with our definitive guide.…
This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…
This took me like 4 days (+2 days for an update), but I got it…
MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…