file offset
The position of a byte in a file, counted from zero at the start.
In more detail
YARA reports the offset where each string matched, and parsers read fields at fixed offsets, such as e_lfanew at 0x3C in a PE file. Offsets are usually written in hexadecimal.
Related terms
- hexadecimal — A way of writing numbers with sixteen digits, 0 to 9 and then a to f, so each character stands for four bits.
- RVA — Relative virtual address: a position inside a loaded program counted from its image base, used throughout PE headers.
- MZ header — The first bytes of every Windows executable, starting with the letters MZ, which point to the main PE header further in.
Taught in
- Log Parsing, Schema Normalization (OCSF/ECS) & Extraction — Security Operations & Threat Hunting (SOC)
- YARA Rule Authoring & File Signature Matching — Security Operations & Threat Hunting (SOC)
- Forensics Principles, Custody & Imaging — 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)