anti-reversing-techniques – skill Bảo mật cho agent AI
Hiểu các kỹ thuật chống dịch ngược, làm rối mã và bảo vệ gặp phải khi phân tích phần mềm. Dùng khi phân tích kỹ thuật né tránh của mã độc, khi triển khai bảo vệ chống gỡ lỗi cho thử thách CTF, khi dịch ngược binary đã đóng gói, hoặc khi xây dựng công cụ nghiên cứu bảo mật cần
Cài skill anti-reversing-techniques bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/anti-reversing-techniques-8b934.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /anti-reversing-techniques – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/anti-reversing-techniques-8b934.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $anti-reversing-techniques – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/anti-reversing-techniques-8b934.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /anti-reversing-techniques – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/anti-reversing-techniques-8b934.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /anti-reversing-techniques – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
> AUTHORIZED USE ONLY: This skill contains dual-use security techniques. Before proceeding with any bypass or analysis:
>
> 1. Verify authorization: Confirm you have explicit written permission from the software owner, or are operating within a legitimate security context (CTF, authorized pentest, malware analysis, security research)
> 2. Document scope: Ensure your activities fall within the defined scope of your authorization
> 3. Legal compliance: Understand that unauthorized bypassing of software protection may violate laws (CFAA, DMCA anti-circumvention, etc.)
>
> Legitimate use cases: Malware analysis, authorized penetration testing, CTF competitions, academic security research, analyzing software you own/have rights to
Anti-Reversing Techniques
Understanding protection mechanisms encountered during authorized software analysis, security research, and malware analysis. This knowledge helps analysts bypass protections to complete legitimate analysis tasks.
For advanced techniques, see [references/advanced-techniques.md](references/advanced-techniques.md)
---
Input / Output
What you provide:
- Binary path or sample: the executable, DLL, or firmware image under analysis
- Platform: Windows x86/x64, Linux, macOS, ARM — affects which checks apply
- Goal: bypass for dynamic analysis, identify protection type, build detection code, implement for CTF
What this skill produces:
- Protection identification: named technique (e.g., RDTSC timing check, PEB BeingDebugged) with location in binary
- Bypass strategy: specific patch addresses, hook points, or tool commands to neutralize each check
- Analysis report: structured findings listing each protection layer, severity, and recommended bypass
- Code artifacts: Python/IDAPython scripts, GDB command sequences, or C stubs for bypassing or implementing checks
---
Detailed patterns and worked examples
Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.
Troubleshooting
Detection technique works on x86 but not ARM
RDTSC and CPUID are x86-only. On ARM, use MRS x0, PMCCNTR_EL0 (requires kernel PMU access) or clock_gettime(CLOCK_MONOTONIC). PEB/TEB do not exist on ARM — replace with /proc/self/status (Linux) or task_info (macOS). Rebuild detection logic with platform-specific APIs.
False positive on legitimate debugger or analysis tool
Timing checks fire when Process Monitor or AV hooks inflate syscall latency. Calibrate the threshold at startup: measure the guarded path 3 times and use mean + 3*stddev. For ptrace checks, verify the TracerPid comm name via /proc/<pid>/comm before exiting — it may be an unrelated monitoring tool, not a debugger.
Bypass patch causes crash instead of continuing execution
Before NOPing a conditional jump, trace the "detected" branch fully. If it initializes or frees heap state needed later, patching the jump skips that setup and corrupts state. Instead, patch the comparison operand to the expected "clean" value, or use x64dbg's "Set condition to always false" on the breakpoint rather than modifying bytes.
---
Related Skills
binary-analysis-patterns— static and dynamic analysis workflows for ELF/PE/Mach-Omemory-forensics— process memory acquisition, artifact extraction, and live analysisprotocol-reverse-engineering— decoding custom binary protocols and encrypted network traffic
Skill liên quan
- bb-local-toolkit – Quy trình bug bounty hoàn chỉnh — recon (liệt kê subdomain, khám phá tài sản, nhận diện…
- antinet-security-scan – Dành cho kỹ sư an toàn thông tin và kỹ sư phát triển phần mềm khi xây dựng pipeline xử…
- bug-bounty – Bộ điều phối bug bounty toàn diện — pipeline đầy đủ: recon, học trước khi săn, săn lỗ…
- attack-tree-construction – Xây dựng cây tấn công toàn diện để trực quan hóa các đường đi của mối đe dọa. Dùng khi…
- cache-attack – Đầu độc cache CDN hoặc đánh lừa khi phát hiện header X-Cache.
- aso – Khi người dùng muốn kiểm tra hoặc tối ưu trang niêm yết trên App Store hoặc Google Play…
- cms-detection – Nhận diện CMS, framework và công nghệ server trên các host đang hoạt động.
- ai-security – Dùng khi đánh giá hệ thống AI/ML về prompt injection, lỗ hổng jailbreak, rủi ro model…