本文へスキップ
Skillpedia
セキュリティ6.5k · #14178

reverser-virtualized-protectors

できること

このガイドは、仮想マシン型のプロテクターで保護されたプログラムを分析する慎重な方法を説明します。自動的な結果を期待せず、そのようなプログラムを理解する必要があるリバースエンジニア向けです。

使う場面

  • ✓分析者が、VMProtectやThemidaで保護されたプログラムを見つけ、そのロジックを読めないとき。
  • ✓リサーチャーが、保護されたファイル内の入口のスタブやディスパッチループを特定したいとき。
  • ✓チームが、仮想化されたプログラムを分析する前に、現実的な期待値を持つ必要があるとき。

スキルのリンク

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/reverser/virtualized-protectors/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/reverser/virtualized-protectors/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このプログラムはVMProtectを使っています。元のコードを自動的に取り戻せますか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

このスキルはAIに、プロテクターを特定し、仮想マシンの入口を見つけ、制御の流れを小さな段階で復元するよう指示します。自動的な逆変換は約束できないと警告しています。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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

  1. bin_identify and bin_packer first; record format, arch, entropy, and protector strings.
  2. Use bin_r2_script or Ghidra to locate VMEnter stubs, handler-table references, VM context/virtual stack sections, and suspicious indirect dispatch loops.
  3. 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.
  4. Classify VMEXIT behavior: return to native epilog, call-shaped exit, or unsupported-instruction exit. Record stack displacement evidence.
  5. 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.
  6. If using VMP2-style tooling, treat vmemu/vmprofiler/vmprofiler-cli outputs as evidence, not ground truth. Re-check recovered paths in r2/Ghidra.
  7. 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
よくある質問

仮想化されたプロテクターとは何ですか?

プログラムのコードの一部を、読みにくい独自の仮想マシンの形式に変換するものです。

自動的な結果が得られますか?

いいえ。スキルは、自動的な仮想化の解除を約束しないよう述べています。

どのツールが関係しますか?

Radare2とGhidraの結果を使い、これらのプロテクターに関する公開された研究の指針を参考にします。

詳細

作者による元の説明

VMProtect, VMP2, Themida, and CodeVirtualizer reversing workflow using Radare2/Ghidra facts and Back Engineering Labs research guidance.

repo: BitterSecurity/Decepticon

人気

GitHubのスター
6.5k
ランキング
#14178
ライセンス
Apache-2.0
更新日
2026/11/1

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル