AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Analyzing Pe Imports And Exports

skill-meltedinhex-analyst-ai-pack-analyzing-pe-imports-and-exports · by meltedinhex

Analyzes a PE file''s import and export tables to infer capability: mapping imported

No reviews yet
0 installs
36 views
0.0% view→install

Install

$ agentstack add skill-meltedinhex-analyst-ai-pack-analyzing-pe-imports-and-exports

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-meltedinhex-analyst-ai-pack-analyzing-pe-imports-and-exports)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Analyzing Pe Imports And Exports? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Analyzing PE Imports and Exports

When to Use

  • You have a Windows PE and want a fast capability read from its imported APIs.
  • You need to identify suspicious API clusters (injection, crypto, anti-analysis) before deeper

reversing.

  • You are inspecting a malicious DLL's exports to find its callable entry points.

Do not use the import table alone as a verdict — packers stub imports and malware resolves APIs dynamically; a thin IAT can hide real capability.

Prerequisites

  • pefile (pip install pefile); the sample handled inertly in the lab.

Safety & Handling

  • Parse the PE statically; never run it during import analysis.
  • Keep the sample password-protected at rest and reference it by hash.

Workflow

Step 1: Parse imports

Enumerate imported DLLs and functions from the import directory (IAT). A sparse IAT plus a GetProcAddress/LoadLibrary pair suggests dynamic resolution.

python scripts/analyst.py imports sample.exe

Step 2: Map APIs to behaviors

Cluster imports into behavior buckets: networking (Ws2_32, WinINet), process/injection (VirtualAllocEx, WriteProcessMemory, CreateRemoteThread), crypto (Crypt*, bcrypt), persistence (Reg*, service APIs), and anti-analysis (IsDebuggerPresent).

Step 3: Inspect exports

For DLLs, list exports (by name and ordinal). Unusual export names or a single exported DllRegisterServer/ordinal hint at how the module is invoked.

Step 4: Flag dynamic resolution

Note LoadLibrary/GetProcAddress, ordinal-only imports, and tiny IATs as signs that the real capability is resolved at runtime — escalate to dynamic/RE workflows.

Validation

  • Import behavior buckets are consistent with other static signals (strings, sections).
  • A thin or stubbed IAT is recognized as a packing/dynamic-resolution indicator, not "benign".
  • Exports of a malicious DLL are enumerated with their invocation method identified.

Pitfalls

  • Trusting a small IAT as low-capability when imports are resolved dynamically.
  • Ignoring delay-load and bound imports.
  • Reading ordinal-only imports without resolving them to function names.

References

  • See [references/api-reference.md](references/api-reference.md) for the import/export parser.
  • Microsoft PE/COFF spec and pefile (linked in frontmatter).

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.