Extracting and classifying strings

From meltedinhex/analyst-ai-pack · View interactive version

Extracting and classifying strings is an AI agent skill from the GitHub repository meltedinhex/analyst-ai-pack. Extracts ASCII and Unicode strings from a binary and classifies them into investigative categories: URLs, IPs, file paths, registry keys, mutexes, commands, and API names, prioritizing the analyst''s attention. Activates for requests to extract strings, classify strings output, or pull human-readabl

How to use this skill

Skill file

Extracting and Classifying Strings

When to Use

Do not use plaintext strings as the whole story for packed/obfuscated samples — the useful

strings may be encrypted; pair with entropy checks and deobfuscation (FLOSS) when the dump is

sparse.

Prerequisites

Safety & Handling

Workflow

Step 1: Extract ASCII and Unicode strings

Pull printable runs at a minimum length (default 4–5) for both ASCII and UTF-16LE encodings to

avoid missing Windows wide strings.

python scripts/analyst.py strings sample.bin --min-len 5

Step 2: Classify by category

Bucket strings into URLs, IPs, domains, file paths, registry keys, mutex/event names, suspicious

commands, and API names so leads surface immediately.

Step 3: Prioritize leads

Promote network indicators, command lines, and suspicious API references to the top; defang

network artifacts for safe handling.

Step 4: Recognize obfuscation

A near-empty or junk-only dump signals packing/string obfuscation; route to entropy analysis and

FLOSS/manual deobfuscation.

Validation

Pitfalls

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.