Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 2.79 KB

README.md

File metadata and controls

28 lines (22 loc) · 2.79 KB

Total PE Documentation

Total PE is a viewer and analyzer for Windows executables (EXE, DLL, SYS and the rest of the PE family), and also for static libraries, COFF object files and Linux ELF files. It shows the structure of a file, disassembles and decompiles its code, and finds the drivers, COM classes, RPC interfaces and WinRT classes that the file contains. It also matches YARA rules and capability rules against the file.

Total PE showing the summary of notepad.exe

Contents

Page What it covers
Getting Started Opening files, the window layout, navigation, searching, keyboard shortcuts, options
PE Files Headers, sections, data directories, imports and exports, resources, strings, symbols, the hex view, comparing files
Code Analysis Disassembly, flow graphs, the decompiler, functions, library signatures, C++ classes, cross references
Drivers, COM, RPC and WinRT The views that recover a driver's dispatch routines, COM classes, RPC interfaces and WinRT classes
Windows API The Windows API browser, with declarations from the Win32 metadata and Microsoft's documentation
Security and Threat Analysis Security summary, signatures, anomalies, capabilities, YARA, fuzzy hashes, VirusTotal
Other File Formats ELF files, COFF object files and static libraries
The tpe Command-Line Tool Reports, batch scans, diffs, build checks and clustering from the command line
Building from Source Prerequisites, dependencies and the layout of the solution

At a glance

  • Opens PE files (32 and 64 bit, x86, x64 and ARM64), .lib / .a libraries, .obj files (regular and bigobj) and ELF files. The format is detected from the contents, not the extension.
  • Shows every header and data directory, with resources rendered (dialogs, menus, icons, bitmaps, version, manifests, type libraries, ETW manifests and more).
  • Analyzes code: disassembly with symbols and cross references, flow graphs and call graphs, and C from Ghidra's decompiler. The decompiled C gets prototypes from the Win32 metadata, __try/catch regions, and functions named by library signatures.
  • Recovers C++ classes from RTTI, kernel driver dispatch routines and IOCTLs, KMDF callbacks, minifilter callbacks, COM classes, RPC interfaces with their procedures, and WinRT classes.
  • Triage: security mitigations, Authenticode and catalog signatures, anomalies, capa-style capability rules with ATT&CK IDs, YARA, ssdeep/TLSH fuzzy hashes and VirusTotal lookups.
  • Automation: tpe.exe produces the same analyses as JSON, JSONL, CSV or text for scripts and build pipelines.