reverser-virtualized-protectors
What it does
It describes a cautious approach for analyzing programs protected by virtual machine style protectors. It is for reverse engineers who need to understand such a program, without expecting automatic results.
When to use it
- ✓When an analyst finds a program protected by VMProtect or Themida and cannot read its logic.
- ✓When a researcher wants to identify the entry stubs and dispatch loops in a protected file.
- ✓When a team needs realistic expectations before attempting to analyze a virtualized program.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/reverser/virtualized-protectors/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“This program uses VMProtect. Can I get its original code back automatically?”
5 new skills a week. 1 minute to read.
How it works
The skill tells the AI to identify the protector, locate the virtual machine entry points and recover control flow in small steps. It warns that automatic reversal is not promised.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
VMProtect / VMP2 / Themida Workflow
Use this for VMProtect 2, VMP2 tooling questions, Themida, CodeVirtualizer, and other VM-based protectors. Do not promise automatic devirtualization. Most wins come from disciplined recovery of VM control-flow facts.
Source Guidance
Back Engineering Labs' public VMP2/Themida work points to one durable rule: Avoid brittle VM-handler pattern matching. Handler layouts, opcode tables, and dispatch glue change too easily. Prefer incremental lifting and control-flow recovery with as little VM-specific logic as possible.
Loop
bin_identifyandbin_packerfirst; record format, arch, entropy, and protector strings.- Use
bin_r2_scriptor Ghidra to locate VMEnter stubs, handler-table references, VM context/virtual stack sections, and suspicious indirect dispatch loops. - Recover VIP movement. For VMProtect 2, track bytecode/module loads feeding the indirect jump. For Themida, expect branch state in VM context and trace the branch-taken flag through the VPC update.
- Classify VMEXIT behavior: return to native epilog, call-shaped exit, or unsupported-instruction exit. Record stack displacement evidence.
- Prefer trace/lift plans that run simple optimizations to convergence: constant promotion over VM-private ranges, constant folding, instruction combination, branch folding, dead-store/dead-dependency cleanup, and stack pointer rewrite.
- If using VMP2-style tooling, treat
vmemu/vmprofiler/vmprofiler-clioutputs as evidence, not ground truth. Re-check recovered paths in r2/Ghidra. - Write findings with exact addresses, section names, vmenter candidates, VMEXIT classification, VIP source, and unresolved symbolic branches.
Report Shape
- Protector: VMProtect / VMProtect 2 / Themida / CodeVirtualizer / unknown
- Entrypoints: candidate VMEnter addresses and why
- Dispatch: handler-table location, decrypt/transform clues, indirect jump path
- VIP: source load or Themida branch flag/VPC update evidence
- VMEXIT: stack displacement and native continuation/call target
- Recovery plan: trace, lift, or manual simplification; no fake devirt claims
FAQ
What is a virtualized protector?
It converts parts of a program's code into a custom virtual machine format that is hard to read.
Does this give automatic results?
No. The skill says not to promise automatic devirtualization.
Which tools are involved?
It uses Radare2 and Ghidra results, along with public research guidance on these protectors.
Details
Original description by the author
VMProtect, VMP2, Themida, and CodeVirtualizer reversing workflow using Radare2/Ghidra facts and Back Engineering Labs research guidance.
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #14178
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.