yaklang avatar

Vm And Bytecode Reverse

When you hit a CTF challenge or malware sample with a custom VM interpreter, this walks you through the whole reversing process: finding the fetch-decode-execute dispatcher loop (switch-based, jump table, or if-chain), mapping opcodes to operations, extracting the bytecode blob, and writing a custom disassembler. It covers both stack-based and register-based VM architectures with opcode reference tables for common patterns, plus maze challenges that use position tracking and directional input. The disassembler templates are immediately useful since most VMs follow the same structural patterns even when obfuscated. If you've ever stared at a giant switch statement with 200 cases or tried to make sense of bytecode being fed into a handler table, the systematic opcode mapping approach here will save you hours of manual analysis.

skills.sh installs
4K
GitHub stars
2.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add yaklang/hack-skills --skill vm-and-bytecode-reverse --agent claude-code

Installs into .claude/skills of the current project.

Files

SKILL: VM & Bytecode Reverse Engineering — Expert Analysis Playbook

AI LOAD INSTRUCTION: Expert techniques for reversing custom virtual machines and bytecode interpreters. Covers dispatcher identification, opcode mapping, custom ISA reconstruction, disassembler/decompiler writing, maze challenges, and real-world VM protector analysis. Base models often fail to recognize the fetch-decode-execute pattern or attempt to analyze VM bytecode as native code.

0. RELATED ROUTING

Quick identification

Sponsors

Details

Repository
github.com/yaklang/hack-skills
Category
Code Review & Quality
First seen
Jun 3, 2026

More from yaklang/hack-skills

All 102
1giuseppe-trisciuoglio avatarnestjs-best-practicesgiuseppe-trisciuoglio/developer-kitProvides comprehensive NestJS best practices including modular architecture, dependency injection scoping, exception filters, DTO validation with class-validato4Kskills.sh installs
2majidmanzarpour avatarthreejs-3d-generatormajidmanzarpour/threejs-game-skillsGenerate, texture, rig, animate, stylize, convert, and download 3D assets for Three.js games using the Tripo API. Use for text-to-3D, image-to-3D, 2D concept to3.9Kskills.sh installs
3longbridge avatarlongbridge-earningslongbridge/skillsEarnings analysis — pre- and post-earnings. Pre-earnings preview: prior-guidance review, recent-events tracking, last call's Q&A, and a key-things-to-watch fram3.9Kskills.sh installs
4dotnet avatarmaui-themingdotnet/skillsGuide for theming .NET MAUI apps — light/dark mode via AppThemeBinding, ResourceDictionary theme switching, DynamicResource bindings, system theme detection, an3.9Kskills.sh installs
5wordpress avatarwp-plugin-directory-guidelineswordpress/agent-skillsUse when reviewing WordPress plugins for GPL compliance, checking license headers or compatibility, evaluating upsell/freemium/trialware patterns, validating pl3.9Kskills.sh installs
6coralogix avatarcx-platform-admincoralogix/cx-cliUse this skill when the user asks "who has access", "audit permissions", "check user roles", "list API keys", "review access controls", "rotate API keys", "crea3.9Kskills.sh installs