p4nda0s/bin-deobf-skills/deobf-string
Claude Code and agent skill by p4nda0s/bin-deobf-skills
- community
Checking that the SKILL.md file is still in the repository.
Decrypt and recover obfuscated strings from binaries by analyzing encryption patterns and generating decryption scripts
Install
npx vskill@latest install p4nda0s/bin-deobf-skills/deobf-stringSKILL.md
Deobfuscate Strings
Prerequisites
Before starting analysis, check if IDA Pro MCP is connected. Use the MCP tool to verify the connection. If IDA Pro MCP is not available, inform the user:
IDA Pro MCP is not connected. Please open IDA Pro with the MCP plugin loaded and ensure the MCP server is running, then try again.
Workflow
Step 1: Identify Encrypted Strings
Analyze the user-provided code snippet or function to identify string encryption patterns:
- Look for byte arrays or data references that appear to be encrypted strings
- Identify the decryption routine (often called at string usage sites)
- Determine the encryption algorithm by reverse-engineering the decryption function
Common patterns:
- XOR with a single byte or key array
- Custom substitution ciphers
- RC4 or other stream ciphers
- Base64 + XOR combinations
- Stack-constructed strings with arithmetic transformations
Step 2: Analyze the Decryption Routine
Use IDA Pro MCP to:
- Decompile the decryption function
- Identify parameters: encrypted data pointer, length, key
- Determine the algorithm type and complexity
Step 3: Choose Decryption Strategy
Simple algorithms (pure computation, no external dependencies):
- Single-byte or multi-byte XOR
- ADD/SUB/ROT transformations
- Simple lookup tables
→ Write a standalone Python script to decrypt.
Complex algorithms (state-dependent, uses library functions, or too complex to reimplement):
- Custom crypto with many rounds
- Decryption depends on runtime state or global variables
- Algorithm is heavily obfuscated itself
→ Use Unicorn Engine to emulate the decryption function directly from the binary.
Step 4: Implement Decryption
Simple decryption (Python script):
Complex decryption (Unicorn emulation):
Step 5: Output Results
After decryption, present results to the user:
- Display decrypted strings with their addresses in a table format:
- Ask the user if they want to generate a patch file:
Decryption complete. Would you like me to write the results to a .patched file that replaces encrypted strings in the binary?
If yes, write a patched binary with encrypted bytes replaced by plaintext (null-terminated), saved as <original_name>.patched.
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
- SKILL.md in the repositoryCheckingskills/deobf-string/SKILL.md
Popularity
- Repository stars
- 54
- Repository forks
- 8
- 7-day trend score
- 20
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
[](https://verified-skill.com/skills/p4nda0s/bin-deobf-skills/deobf-string)