mcpField
R
reverse-engineering

reverse-engineering

github.com/transilienceaiSecurity600192 installsUpdated 13w ago
Repository

About reverse-engineering

A reverse-engineering skill for CTF and malware-analysis work on native binaries and bytecode. It focuses on static analysis of custom virtual machines and obfuscation to recover algorithms or build solvers in Python.

Key features

  1. 01Analyze ELF, PE, Mach-O, and bytecode
  2. 02Recognize and invert custom virtual machines
  3. 03Linearize control-flow obfuscation
  4. 04Inspect mixed boolean-arithmetic obfuscation
  5. 05Statically recover algorithms and check functions

Use cases

  1. 01Analyze a binary alongside its program data file
  2. 02Recover a validation algorithm when execution is unavailable
  3. 03Deobfuscate programs with encrypted handlers

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/transilienceai/communitytools --skill reverse-engineering

After installing, type/reverse-engineeringin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

reference/
custom-vm-bytecode.md
INDEX.md
reverse-engineering-principles.md
reference/scenarios/anti-debug/
int3-detection-bypass.md
isdebuggerpresent-bypass.md
ptrace-bypass.md
timing-checks-bypass.md
reference/scenarios/custom-vm/
bytecode-disassembly.md
reference/scenarios/dynamic-analysis/
frida-hooking.md
gdb-scripting.md
ltrace-strace.md
reference/scenarios/firmware/
esp32-xtensa-flash-dump.md
reference/scenarios/kernel/
kernel-rootkit-module.md
reference/scenarios/obfuscation/
callfuscation.md
d-fiber-callfuscation.md
hash-dispatcher-chain.md
mba-deobfuscation.md
packed-binaries.md
python-bytecode-payload.md
string-obfuscation.md
reference/scenarios/static-analysis/
disassembly-recipe.md
elf-analysis.md
pe-analysis.md
string-extraction.md
unity-il2cpp-recipe.md

Details

From the project README

Reverse Engineering

Scope

Reverse engineering compiled binaries (ELF, PE, Mach-O) and bytecode artifacts to recover algorithms, validate inputs, or build static solvers. Focused on the recurring CTF / malware-analysis pattern of a host binary that loads a "program" file under a custom ISA — recognising the dispatcher loop, mapping opcodes to Python lambdas, and inverting the transformation chain in pure Python without executing the host. Also covers callfuscation (control-flow chunking), MBA (mixed boolean-arithmetic) operator obfuscation, encrypted-handler tricks, and three-layer deobfuscation pipelines.

When to use

  • A binary plus a "program data" file are delivered together and the binary appears to be an interpreter (themed opcode names, dispatcher switch / jump table).
  • Disassembly reveals a while(true){ op = mem[pc++]; switch(op){...}; } style loop or jump-table indexed by opcode.
  • The binary is heavily obfuscated (callfuscation, MBA wrappers, encrypted handlers in .data decrypted to RWX at startup).
  • You need to recover an algorithm or check function from native code without dynamic execution (anti-debug, wrong arch, no TTY).
  • Static-first reverse engineering is preferred (faster, more reliable than emulator chains).

References

  • reference/custom-vm-bytecode.md — recognising and inverting custom stack/register/tape VMs; callfuscation linearization; MBA operator identification; encrypted-handler decryption.

Comments

Markdown supported