一键导入
binary-modification
Modify binary behavior using natural language — explore, plan, patch, save
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Modify binary behavior using natural language — explore, plan, patch, save
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Next-generation 0day discovery & exploit development — comprehensive code analysis, allocator vulnerabilities, compiler-induced bugs, SIMD/vector issues, JIT vulnerabilities, custom allocator attacks, ASLR/kASLR bypass, UAF, OOB, RCE with exploit generation, privilege escalation, backdoor establishment
Next-generation 0day discovery — novel overflow patterns, allocator exploits, compiler-induced bugs, bounds-check bypass, SIMD/vector overflows, JIT vulns, custom allocator attacks, ASLR/kASLR bypass, UAF, OOB, RCE with weaponized exploit generation, privilege escalation, backdoor establishment
Container escape vulnerability discovery — Docker, Kubernetes, container runtime exploitation, namespace isolation bypass, privilege escalation through container boundaries
Crypto implementation analysis — weak algorithms, side-channels, key management flaws, padding oracles, random generation failures, implementation bugs
IoT device security analysis — firmware extraction, RTOS exploits, hardware interfaces, protocol vulnerabilities, side-channel attacks, update mechanism exploitation
Industrial control system security — Modbus, DNP3, IEC 104, Ethernet/IP, PLC exploitation, control logic manipulation, sensor/actuator attacks, ICS protocol analysis
| name | Binary Modification |
| description | Modify binary behavior using natural language — explore, plan, patch, save |
| tags | ["modification","patching","exploration","game-hacking","binary"] |
| mode | exploration |
| author | Spectra |
| version | 1 |
Task: Modify the binary's behavior based on the user's natural language description. You will autonomously explore the binary to understand it, formulate a concrete plan, and apply minimal patches.
Your goal is to build enough understanding of the binary to know WHERE and HOW to make the requested change. Use exploration_report to log every significant finding.
get_binary_info — architecture, format, sizelist_imports + list_exports — what APIs does the binary use?search_strings / list_strings_filter with keywords from the user's request
xrefs_to to find which functions reference themxrefs_to to find call sitessearch_functions for names containing relevant keywordsexploration_report(category="function_purpose")decompile_function on the most promising candidatesget_il for detailed intermediate representation when neededexploration_report(category="hypothesis")
phase_transition(to_phase="plan")ask_user to get hintsWhen you transition to the PLAN phase, you will receive a synthesis prompt with your accumulated findings. Create a numbered plan where each step specifies:
Be precise. The plan will be shown to the user for approval before execution.
Example format:
1. Change snake initial length constant at 0x401248 from 3 to 6 (mov eax, 3 -> mov eax, 6)
2. Double score increment at 0x4015C2: change `add [score], 10` to `add [score], 20`
The agent host determines which patching skill to use:
smart-patch-ida via activate_skillsmart-patch-binja via activate_skillThe host is visible in the system prompt context. Activate the correct skill at the start of Phase 3, then follow its workflow for each planned change.
After each patch, you MUST call:
exploration_report(category="patch_result", address=..., summary="...", original_hex="...", new_hex="...")
This is required for the Phase 4 save gate to know what was applied.
Leverage Spectra's security and navigation features during binary modification:
Suspicious API Highlighting:
Findings Bookmarking:
[FINDING:0x401000|Score multiplier constant]Hex Address Navigation:
Development Workflow:
Ctrl+Shift+R in IDA when iterating on patches