Skip to content

meltedinhex/analyst-ai-pack / skills/debugging-malware-with-x64dbg

debugging-malware-with-x64dbg

Verified

Uses 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.

FileKindSize
LICENSEother340 B
SKILL.mdskill md3.8 KB
references/api-reference.mdmarkdown1.2 KB
scripts/analyst.pyscript2.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)
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
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: 197kUpdated Claude CodeCodexVerifiedInstall