meltedinhex/analyst-ai-pack / skills/identifying-anti-debugging-techniques
identifying-anti-debugging-techniques
VerifiedIdentifies and bypasses anti-debugging and anti-analysis checks in malware: PEB flags, debugger-detection APIs, timing checks, and exception tricks, then neutralizes them to continue analysis. Activates for requests to identify anti-debugging, bypass anti-debug checks, or analyze evasion that blocks a debugger.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 340 B |
| SKILL.md | skill md | 3.3 KB |
| references/api-reference.md | markdown | 1.2 KB |
| scripts/analyst.py | script | 2.3 KB |
references/api-reference.md
View on GitHub# API Reference: Identifying Anti-Debugging Techniques
## Overview
`scripts/analyst.py` scans a binary for anti-debug API names and instruction-byte patterns
(rdtsc, int2d, PEB access) and returns findings with brief neutralization guidance. It is a
static scan and never executes the sample.
## Dependencies
| Package | Version | Purpose |
|---------|---------|---------|
| (stdlib) | — | regex, file IO |
## External tools
| Tool | Purpose |
|------|---------|
| x64dbg | Confirm checks at runtime |
| ScyllaHide | Hook and hide common anti-debug checks automatically |
## Core functions
### `scan(path)`
Returns detected API-based checks, instruction-byte patterns, per-finding guidance, and a
likelihood flag.
### `ANTIDBG_APIS` / `BYTE_PATTERNS`
The API-name and instruction-pattern signatures used for detection.
## Usage
```bash
python scripts/analyst.py scan sample.bin
```
## Sources
- Microsoft debug APIs (IsDebuggerPresent, CheckRemoteDebuggerPresent) —
https://learn.microsoft.com/windows/win32/api/debugapi/
- PEB fields BeingDebugged / NtGlobalFlag (Windows internals documentation)
- Common anti-debug instruction patterns (rdtsc timing, int2d, PEB access)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |