meltedinhex/analyst-ai-pack / skills/debugging-malware-with-x64dbg
debugging-malware-with-x64dbg
VerifiedUses x64dbg to dynamically debug Windows malware: setting strategic breakpoints on APIs, stepping through unpacking and decryption, dumping memory at the right moment, and manipulating execution to reach hidden code. Activates for requests to debug malware with x64dbg, set API breakpoints, or step through unpacking in a debugger.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 340 B |
| SKILL.md | skill md | 3.8 KB |
| references/api-reference.md | markdown | 1.2 KB |
| scripts/analyst.py | script | 2.5 KB |
references/api-reference.md
View on GitHub# API Reference: Debugging Malware with x64dbg
## Overview
`scripts/analyst.py` generates an x64dbg command script of strategic API breakpoints for a
chosen goal (unpacking, injection, crypto, network, persistence). The output is a text script
to load in x64dbg; the tool does not run any process.
## Dependencies
| Package | Version | Purpose |
|---------|---------|---------|
| (stdlib) | — | argument handling, text output |
## External tools
| Tool | Purpose |
|------|---------|
| x64dbg | Windows user-mode debugging |
| Scylla (x64dbg plugin) | Dump memory and rebuild import tables when unpacking |
## Core functions
### `build_script(presets)`
Returns an x64dbg `.txt` script of `bp` commands for the selected presets, de-duplicating APIs
across presets.
### `PRESETS`
Maps each analysis goal to the relevant Windows APIs.
## Usage
```bash
python scripts/analyst.py breakpoints --preset unpacking > bp.txt
python scripts/analyst.py breakpoints --preset injection --preset crypto > bp.txt
# in x64dbg: scriptload bp.txt
```
## Sources
- x64dbg documentation — https://help.x64dbg.com/
- Windows API reference — https://learn.microsoft.com/windows/win32/api/
- Common API-breakpoint strategy for manual unpacking (standard RE practice)
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: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | 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 |