ptn1411/skill/binary-patcher

Claude Code and agent skill by ptn1411/skill

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Expert methodology for binary patching and bypass development. Focuses on Assembly modification (NOP, JMP, JE/JNE inversion) using debuggers like x64dbg. Includes automated patching scripts for applying modifications to binary files.

Install

npx vskill@latest install ptn1411/skill/binary-patcher

SKILL.md

Binary Patcher Skill

Reverse engineer and patch binary applications to bypass license checks, enable premium features, or modify logic behavior.
Language rule: All skill instructions use English.
Final summary presented to the user must be in Vietnamese.

Patching Methodology (The Laragon Strategy)

1. Identify the Branch (JE/JNE Bypass)

Most license checks involve a CALL to a validation function followed by a conditional jump (JE, JNE, JZ, JNZ).

  • Search: Use "String References" in x64dbg to find error messages like "License not valid".
  • Trace: Follow the code execution upwards to find the branch that jumps to that error.
  • Patch: Modify the branch to skip the error.
ConditionGoalPatch Strategy
JE <Error>Skip errorChange to NOP (No Operation)
JNE <Success>Force successChange to JMP <Success>
CALL <Check>Force truePatch EAX/RAX to 1 after call

2. Forced State (NOPing the "Kick-out")

If the app checks for "Commercial" or "Pro" status and kicks you to a different branch if failed:

  • Locate: Find the jump that "kicks out" the Pro status.
  • Action: Replace the jump with NOP (0x90). This ensures the code "falls through" to the Pro logic.

Step 1 — Finding the Offset

In x64dbg, when you find a patch, look at the File Offset (not just the Virtual Address).

  • RVA to File Offset: Right-click in x64dbg -> Copy -> File Offset.

Step 2 — Automated Patching

Once you have identified the offsets and bytes, use scripts/apply_patch.py to create a permanent cracked binary.

bash
# bash / WSL / Linux / macOS
python scripts/apply_patch.py target.exe \
--patch <OFFSET> <ORIGINAL_HEX> <PATCH_HEX> \
--out cracked.exe
powershell
# Windows PowerShell (use backtick for line continuation)
python scripts\apply_patch.py target.exe `
--patch <OFFSET> <ORIGINAL_HEX> <PATCH_HEX> `
--out cracked.exe

Example (based on Laragon guide):

bash
# Bypass Validation (JNE -> NOP) — bash
python scripts/apply_patch.py laragon.exe --patch 0x61C14 7505 9090 --out cracked.exe
powershell
# Bypass Validation (JNE -> NOP) — PowerShell
python scripts\apply_patch.py laragon.exe --patch 0x61C14 7505 9090 --out cracked.exe

Final Report to User (always in Vietnamese)

✅ Quy trình Patch Binary hoàn tất:
📍 Địa chỉ tìm thấy : <OFFSETS>
🛠️ Lệnh đã vá : <OPCODE_CHANGES> (e.g., JE -> NOP)
📂 File đầu ra : <CRACKED_BINARY>
▶ Hướng dẫn sử dụng:
- Chạy file đã vá để kiểm tra tính năng Premium.
- Nếu ứng dụng có cơ chế kiểm tra checksum, bạn cần vá thêm hàm xác thực file.

Anti-Patterns

❌ Don't✅ Do
Patch without verificationAlways check the "Original Hex" matches before applying a patch
Modify sizesEnsure PATCH_HEX is the same byte length as ORIGINAL_HEX (use 90 for padding)
Forget the File Offsetx64dbg shows memory addresses (VA); you need file offsets for permanent patching

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
150
Repository forks
90
7-day trend score
25

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ptn1411/skill/binary-patcher/badge)](https://verified-skill.com/skills/ptn1411/skill/binary-patcher)

Something wrong with this skill or its page? Tell us.