agentleFS
th3vib3coderth3vib3coder/RevEng/skills/unpacking-analysis/SKILL.md

unpacking-analysis

Skill4 starsChanged 6 months agoMITView on GitHub

Static-first assessment of packed or obfuscated binaries and safe unpacking planning. Use when entropy, section names, import scarcity, packer signatures, UPX markers, or sandbox notes suggest a binary may unpack or decrypt code before behavior.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check entropy, file type, strings density, section names, imports, and packer signatures.

    line 18
  2. Very specific:

    If evidence indicates UPX, plan upx -d as an offline attempt and validate by comparing hashes, strings, imports, and entropy.

    line 19
  3. Distinctive:

    If static unpacking is not supported, stop at planning unless the operator approves sandbox execution.

    line 20
  4. Distinctive:

    If unpacking requires running the sample, respond:

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Unpacking Analysis

Assess packing with evidence and produce a safe unpacking plan. Do not execute the sample automatically.

Inputs

  • static_triage.py JSON
  • section/import output from tools such as objdump, readelf, diec, capa, or floss
  • optional sandbox notes provided by the analyst

Static-First Decision Tree

  1. Check entropy, file type, strings density, section names, imports, and packer signatures.
  2. If evidence indicates UPX, plan upx -d as an offline attempt and validate by comparing hashes, strings, imports, and entropy.
  3. If static unpacking is not supported, stop at planning unless the operator approves sandbox execution.

Execution Gate

If unpacking requires running the sample, respond:

PAUSE: Unpacking now requires executing the sample. Confirm isolated VM or sandbox, snapshot state, network posture, monitoring tools, dump path, and exact commands before continuing.

Output

Return:

  • verdict: packed, likely_packed, unclear, or not_packed
  • confidence and evidence excerpts
  • prioritized unpacking plan
  • artifact provenance template
  • validation criteria and next steps

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.