Portable Executable
The file format of Windows programs and libraries (.exe and .dll files), with headers that describe code, data and imported functions.
In more detail
A PE file starts with an MZ header that points to the PE header, followed by section headers and data directories such as the import table. Analysts read these headers during triage without running the file.
Related terms
- MZ header — The first bytes of every Windows executable, starting with the letters MZ, which point to the main PE header further in.
- import table — The part of a PE file that lists the DLLs and functions the program calls from Windows, such as VirtualAllocEx from kernel32.dll.
- DLL — A dynamic-link library: a file of compiled code, named with the .dll extension, that programs load at run time.
- RVA — Relative virtual address: a position inside a loaded program counted from its image base, used throughout PE headers.
Taught in
- Detection as Code: Authoring & Testing Sigma Rules — Security Operations & Threat Hunting (SOC)
- Windows Event Logs, Sysmon & Linux Auditd Telemetry — Security Operations & Threat Hunting (SOC)
- YARA Rule Authoring & File Signature Matching — Security Operations & Threat Hunting (SOC)
- Detecting Persistence: Tasks, Registry & Services — Security Operations & Threat Hunting (SOC)
- Disk Forensics: MFT, UsnJrnl & Prefetch — Security Operations & Threat Hunting (SOC)
- Memory Forensics: Process Trees & Injection — Security Operations & Threat Hunting (SOC)
- Malware Triage: Hashes, Strings & Sandboxing — Security Operations & Threat Hunting (SOC)