CHFI Mobile and Malware Forensics Practice Question
A forensic analyst is examining a Windows malware sample using static analysis. Which tool is BEST suited for viewing the PE header structure, including sections, imports, and exports?
⚠ Common exam trap
EC-Council often tests the distinction between a specialized PE header analysis tool (PEiD) and general-purpose reverse-engineering tools (Ghidra, IDA Pro), leading candidates to choose a more complex tool when a simpler, purpose-built one is correct.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
PEiD
PEiD is specifically designed to analyze PE (Portable Executable) headers, making it ideal for quickly viewing section tables, import/export tables, and detecting packers or compilers. It parses the IMAGE_NT_HEADERS structure directly, providing a concise summary of the PE layout without requiring disassembly or decompilation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Strings
Why it's wrong here
The `strings` utility (or Sysinternals Strings) scans a binary for ASCII/Unicode character sequences, making it useful for spotting embedded filenames, URLs, or registry keys, but it performs no structural parsing of the PE format. It cannot reveal header fields such as the `IMAGE_FILE_HEADER` machine type, section table, or data directory entries, nor does it detect packers or compilers. Therefore, it is the wrong tool for examining PE header details in a malware sample.
- ✗
Ghidra
Why it's wrong here
Ghidra is a reverse engineering framework developed by the NSA that focuses on disassembly, decompilation, and project-based analysis with a heavy emphasis on program behavior. While it can display PE header structures through its listing and data type manager, its primary workflow is to understand and reverse-engineer code, not to perform a quick, targeted inspection of the PE header or to detect packers and protectors. Using Ghidra for header inspection is akin to using a full decompiler to read a file timestamp; it parses headers internally but does not present them as a packer/header forensic analysis tool.
- ✗
IDA Pro
Why it's wrong here
IDA Pro is a professional disassembler and decompiler designed for static code analysis, and it does parse PE headers to resolve sections, imports, and the entry point for its listing. However, its output is centered on the disassembly listing, control flow graphs, and decompiled pseudocode, not on a dedicated PE header inspection view. Most critically, IDA Pro lacks the packer signature database and one-click heuristic scanning that PEiD offers, so it is not the appropriate choice for identifying whether a malware sample is packed with UPX, Themida, ASProtect, or another protector.
- ✓
PEiD
Why this is correct
PEiD (Portable Executable Identifier) is a specialized forensic and reverse-engineering tool that statically parses PE files to identify the compiler, linker, and—most importantly—the packer or protector used. It extracts and displays PE header details such as the entry point, the section table with names and sizes, and optional header fields, then cross-references them against a signature database of known packers (e.g., UPX, ASPack, Themida) using byte patterns and section heuristics. For a malware analyst performing triage, PEiD instantly reveals whether a binary is packed and which tool packed it, making it the correct choice for PE header and packer analysis.
Go deeper
Related to this question
About these practice questions
Courseiva writes every CHFI question from scratch — 205 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CHFI practice question is part of Courseiva's free EC-Council certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CHFI exam.