Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Shellcode

Tools on REMnux for running and emulating shellcode, including scdbg, Speakeasy, Qiling, and shcode2exe for converting shellcode into an executable.

shcode2exe

Convert 32 and 64-bit shellcode to a Windows executable file.

Website: https://github.com/accidentalrebel/shcode2exe Author: Karlo Licudine: https://x.com/accidentalrebel License: GNU General Public License (GPL) v3.0: https://github.com/accidentalrebel/shcode2exe/blob/master/LICENSE Available on: Intel/AMD (amd64) and ARM (arm64) State File: remnux.scripts.shcode2exe

shellcode2exe.bat

Convert 32 and 64-bit shellcode to a Windows executable file.

Website: https://github.com/repnz/shellcode2exe Author: Ori Damari: https://x.com/0xrepnz License: Free, unknown license Available on: Intel/AMD (amd64) only Alternative on arm64: Use speakeasy or qiling instead. Notes: Use full path name to specify the input file; look for the output file in /usr/local/shellcode2exe-bat State File: remnux.tools.shellcode2exe-bat

scdbg

Analyze shellcode by emulating its execution.

Website: http://sandsprite.com/blogs/index.php?uid=7&pid=152 Author: David Zimmer License: Free, unknown license Available on: Intel/AMD (amd64) only Alternative on arm64: Use speakeasy or qiling instead. Notes: scdbg (GUI), scdbgc (console). State File: remnux.packages.scdbg

runsc

Run shellcode to trace and analyze its execution.

Website: https://github.com/edygert/runsc Author: Evan Dygert: https://x.com/edygert License: MIT License: https://github.com/edygert/runsc/blob/main/LICENSE Available on: Intel/AMD (amd64) only Alternative on arm64: Use speakeasy or qiling instead. Notes: Use the tracesc command to execute runsc within Wine in a way that traces the execution of shellcode. WARNING! This wrapper will actually execute the shellcode on the system, which might lead to your system becoming infected. Only use this wrapper in a properly configured, isolated laboratory environment, which you can return to a pristine state at the end of your analysis. State File: remnux.packages.runsc

Speakeasy

Emulate code execution, including shellcode, Windows drivers, and Windows PE files.

Website: https://github.com/mandiant/speakeasy Author: Mandiant, Andrew Davis License: MIT License: https://github.com/mandiant/speakeasy/blob/master/LICENSE.txt Available on: Intel/AMD (amd64) and ARM (arm64) Notes: To run the tool, use speakeasy, emu_exe.py, and emu_dll.py commands. State File: remnux.python3-packages.speakeasy

Qiling

Emulate code execution of PE files, shellcode, etc. for a variety of OS and hardware platforms.

Website: https://www.qiling.io Author: https://github.com/qilingframework/qiling/blob/master/AUTHORS.TXT License: GNU General Public License (GPL) v2.0: https://github.com/qilingframework/qiling/blob/master/COPYING Available on: Intel/AMD (amd64) and ARM (arm64) Notes: Use qltool to analyze artifacts. Before analyzing Windows artifacts, gather Windows DLLs and other components using the dllscollector.bat script. Read the tool's documentation to get started. State File: remnux.python3-packages.qiling

libemu

A library for x86 code emulation and shellcode detection.

Website: https://github.com/buffer/libemu Author: https://github.com/buffer/libemu/blob/master/AUTHORS License: Free, unknown license Available on: Intel/AMD (amd64) and ARM (arm64) State File: remnux.packages.libemu

XORSearch

Locate and decode strings obfuscated using common techniques.

Website: https://blog.didierstevens.com/programs/xorsearch/ Author: Didier Stevens: https://x.com/DidierStevens License: Public Domain Available on: Intel/AMD (amd64) and ARM (arm64) Notes: xorsearch State File: remnux.packages.xorsearch

Last updated