
Overview
PEAK is a Portable Executable Analysis Kit: a single Windows application that opens an .exe or .dll and shows you what is inside it. Structure, headers, imports, exports, resources, strings, .NET metadata, compiler and packer identification, YARA matches, disassembly, decompilation, and extracted capabilities — all in one self-contained window, with no external tools to install and nothing sent anywhere unless you ask it to.
Two design decisions shape everything else. First, the analysis intelligence lives in data-driven knowledge bases (XML and JSON) rather than being hard-coded into the program, so adding a check or a function description is an edit to a file, not a rebuild. Second, every analysis engine runs in-process: the disassembler, the code analysis, the decompiler, the capability detector and the string extractor are compiled into PEAK rather than invoked as separate programs.
Key Features
- One file, every view – Structure, intelligence and code analysis share the same window and the same parsed file, so switching between a header table and a decompiled function never re-parses or re-opens anything.
- Data-driven intelligence – Anomaly checks, severity levels, MITRE technique mappings and function descriptions come from knowledge-base files. PEAK’s findings are auditable and extensible without touching the binary.
- Native engines, statically linked – Capstone, vivisect, Sleigh, Capa, Floss and YARA are built from vendored source and statically linked. The Release build is a single executable with no redistributable dependencies.
- Toolchain identification – Compiler, linker, installer, packer and language detection, including a packed verdict, shown as part of the file view.
- VirusTotal without uploading – Reports are fetched by SHA-256 hash. Your sample never leaves the machine; only the hash is sent.
- Sessions and tabs – Multiple files open as tabs in one window, and a session can be saved as a
.peakproject that re-opens the referenced binaries and restores the saved view state.
What You Can Inspect
Every PE data directory gets its own table, so nothing is hidden behind a “show more”:
- File – name, MD5 / SHA-1 / SHA-256, imphash, entropy, machine, subsystem, compile timestamp, .NET flag, and the detected toolchain with its packed verdict
- Header – merged DOS stub, File Header and Optional Header, with exact file offsets and expanded characteristics flags
- Directories, Sections, Libraries, Imports, Exports, Resources, Rich, Certificate, Overlay, Relocations, Exceptions – the full structural picture, each with its own view
- Strings – extracted with entropy scoring and knowledge-base flagging
- Hex viewer – byte-level access with goto-offset and selection
Intelligence and Scoring
- Indicators – knowledge-base anomaly checks graded malicious, suspicious or informational, each linked to the relevant MITRE technique and rendered with a detail template filled from the parsed file
- MITRE, Footprints, Score and Report – ATT&CK mapping and the aggregated risk score, with a report view for the whole analysis
- VirusTotal – detection ratio, per-vendor table (vendor, score, definition date and age), last analysis date, and the score surfaced in the status bar. Add an API key under Settings > Network > VirusTotal; without one, PEAK falls back to opening a browser hash search
- Functions and Libraries – a known import database with blacklist flags and descriptions, so an unfamiliar API call explains itself
Code Analysis
The code-analysis stack is in-process and shares PEAK’s runtime, which is why the views stay linked: a function selected in the disassembly can be decompiled or checked for capabilities without exporting anything to another program.
- Disassembler – Capstone-based x86 and x64 disassembly with cross-reference navigation and history
- Code Analysis – an in-process code analysis to detect basic blocks, functions and cross references
- Decompiler – Sleigh-based decompilation (Ghidra’s p-code compiler)
- Capa – capability detection, with rules matched
- Floss – obfuscated string extraction
- YARA – scan the file with your own rules from
%USERPROFILE%\.peak\yara-rules\ - Address Converter – RVA, file offset and virtual address conversions in either direction
Toolchain Detection
Identifying what built a binary is often more informative than any single section table. PEAK includes a native port of retdec’s cpdetect, reimplemented for PE on x86 and x64 with no LLVM, ELF or Mach-O dependencies. It combines section-name tables, entry-point stub signatures, packer magics (UPX, FSG, PECompact, VMProtect, PEtite, Morphine and others), the MSVC linker-version to Visual Studio mapping, DOS-header fingerprinting, and signatures for Delphi, .NET, Go, AutoIt, NSIS and StarForce — then merges and de-duplicates the results.
The bundled retdec tool-detection YARA rules feed this engine internally. They are deliberately kept separate from the YARA view, which only ever scans the rules you supply.
.NET Assemblies
Managed binaries are parsed through dnlib: .NET header, streams, metadata tables and user strings, with namespaces flagged from the knowledge base. A .NET assembly is not treated as an opaque blob with a packer verdict.
Running PEAK
Open a file from the menu or drag it onto the window. Several files can be open at once as tabs, and a session can be saved as a .peak project (JSON) that re-opens the referenced binaries and restores the view state.
A headless mode is available for scripting and CI:
peak --dump sample.exe
Optional environment hooks automate the GUI for regression testing:
| Variable | Effect |
|---|---|
PEAK_AUTOLOAD=<path> | Open a file on startup |
PEAK_AUTOSTART_ANALYSIS | Begin code analysis as soon as the file loads |
PEAK_AUTOCAPA, PEAK_AUTOFLOSS | Run capability detection or hidden-string extraction automatically |
PEAK_AUTODECOMP | Decompile every function, or a single address |
PEAK_SELFCLOSE, PEAK_AUTOSAVE_PROJECT | Quit after a few frames, or save the session — for CI |
Requirements
- Windows – Win32 front end with a DirectX 11 renderer
Availability
PEAK is a standalone analysis tool with no runtime dependencies. It pairs naturally with PackerBreaker: PEAK tells you what a binary is and what it can do, PackerBreaker recovers the code hidden behind a packer. Builds, licensing and evaluation copies are available on request — contact us.
