GIAC Reverse Engineering Malware (GREM) Exam-style mock test
GIAC GREM Reverse Engineering Malware Practice Exams|Practice test
Full explanations
Exam format
Pass line 73%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Malware Analysis Fundamentals and Lab Setup
An analyst at a B2B SaaS firm receives a suspicious invoice-themed executable flagged by the email gateway. Before detonating it, the analyst wants to extract embedded strings, imports, and PE header metadata without running the sample. Which stage of the malware analysis process does this effort represent?
・Dynamic analysis, because inspecting the file surfaces runtime API calls and registry modifications as they happen on the host
Incorrect. Observing runtime API calls and registry changes requires executing the sample, which defines dynamic analysis, not pre-execution inspection.
✓Static properties analysis, which examines file attributes such as strings, imports, and headers without executing the sample
Correct. Static properties analysis inspects strings, imports, and PE headers from the file at rest, without ever executing the sample.
・Manual code reversing, where the analyst traces the disassembly instruction by instruction inside a debugger session
Incorrect. Code reversing in a debugger involves tracing instructions during execution or disassembly, a deeper phase than extracting file properties.
・Interactive behavioral analysis, where the sample runs in a sandbox and network callbacks are observed live over time
Incorrect. Behavioral analysis implies the sample is running and its actions are monitored, which contradicts the not-executed condition described.
Explanation
Extracting strings, imports, and header metadata from a file without running it is the static properties analysis stage, distinct from dynamic or interactive behavioral approaches.
Example2 · Static Analysis: PE Structure, Strings, and Disassembly
An analyst at a B2B SaaS company statically examines a suspicious invoicing utility. The PE Optional Header lists an AddressOfEntryPoint that resolves into a section whose raw size is far smaller than its virtual size, and that section is marked both writable and executable. What should the analyst conclude about the binary's structure?
✓The entry point falls in a packed or self-modifying section that unpacks additional code into memory at runtime
Correct. A small raw size versus a large virtual size plus writable+executable flags on the entry section is the classic signature of a packer that unpacks code into the oversized section at runtime.
・The entry point targets the import address table and the sample resolves all of its APIs by ordinal
Incorrect. The IAT is not an execution entry point, and entry pointing there does not explain the raw-versus-virtual size gap or the writable-executable flags.
・The binary is a signed driver and the writable-executable section holds the kernel dispatch routines
Incorrect. Signed drivers do not place dispatch routines in a writable-executable gap section, and signing status is unrelated to the size discrepancy described.
・The section is normal read-only resource data and the entry point was computed incorrectly
Incorrect. Read-only resource data is not executable and cannot host a valid entry point, so this misreads the section characteristics entirely.
Explanation
A writable+executable section with raw size much smaller than virtual size is the hallmark of a runtime unpacker stub, indicating packed or self-modifying code.
Example3 · Dynamic Analysis: Behavioral and Debugging (x64dbg)
An analyst at a B2B SaaS company detonates a suspicious invoice.exe inside an isolated analysis VM to observe its runtime behavior before loading it into x64dbg. What is the primary purpose of running this initial behavioral pass in the sandbox first?
✓To capture a quick picture of filesystem, registry, and network activity so later debugging can focus on the interesting code paths
Correct. Behavioral analysis records the high-level actions (files, registry keys, mutexes, network callbacks) so the analyst knows where to concentrate manual debugging effort.
・To obtain a verified copy of the malware's original source code so it can be recompiled and studied in a standard IDE
Incorrect. Behavioral analysis observes runtime effects; it does not recover or reconstruct the malware's original source code for recompilation.
・To permanently neutralize the malicious binary by stripping its packer and injected shellcode before any debugging session
Incorrect. Running a sample in a sandbox observes it but does not permanently strip packers or injected shellcode from the binary.
・To confirm the exact CPU registers and stack frame contents at the malware's entry point without ever attaching a debugger
Incorrect. Precise register and stack state at the entry point comes from a debugger, which is exactly the tool behavioral analysis precedes, not replaces.
Explanation
Behavioral (dynamic) analysis gives a rapid map of what the sample does so that deeper, slower debugging can be targeted efficiently.
Example4 · Assembly, Code Constructs, and Obfuscation
While disassembling a dropper that attacked a healthcare firm's billing server, an analyst sees the sequence 'xor eax, eax' immediately before a 'ret' near the end of a function. What is the most accurate interpretation of this instruction pair?
・The function performs a bitwise comparison of EAX against itself to decide which branch target to jump to afterward
Incorrect. XOR of a register with itself produces zero and sets flags, but it is not a comparison that selects a jump target here.
✓The routine clears EAX to set a zero return value, then returns control to the caller using that result
Correct. 'xor eax, eax' is the idiomatic way to zero EAX, and since EAX holds the return value by convention, the function returns zero.
・The malware encrypts the value currently held in EAX using a single-byte XOR key before exiting the routine
Incorrect. XOR-ing a register against itself always yields zero regardless of its prior contents, so no key-based encryption is occurring.
・The code pushes the contents of EAX onto the stack so the caller can read the preserved register state
Incorrect. Zeroing EAX does not place anything on the stack; a PUSH instruction would be required to preserve register state.
Explanation
Zeroing a register with 'xor reg, reg' is smaller and faster than 'mov reg, 0'; placed before RET it signals a zero return value.
Example5 · Unpacking, Anti-Analysis, and Advanced Malware Techniques
An analyst at a healthcare services firm examines a malicious binary flagged on a billing workstation. The PE has a tiny .text section, a large high-entropy section named UPX1, imports only LoadLibraryA and GetProcAddress, and the entry point sits in a different section than the bulk of the file. Which conclusion is best supported by these observations?
・The sample is a legitimately signed installer that compresses its payload for faster download and will decompress itself cleanly at runtime
Incorrect. The minimal imports, high-entropy UPX section, and relocated entry point indicate packing for obfuscation, not benign installer compression.
✓The file is packed and uses a runtime stub to decompress the real payload and rebuild the import table in memory
Correct. A small import table limited to loader APIs, a high-entropy section, and an entry point outside the main code are hallmarks of a packer stub that unpacks the payload and rebuilds imports at runtime.
・The file is a corrupted executable whose headers were damaged in transit and cannot be executed or analyzed further
Incorrect. Nothing here indicates header corruption; the structure is intentional and consistent with a functioning packed binary.
・The sample is a .NET assembly whose intermediate language is interpreted directly by the runtime at load time
Incorrect. A .NET assembly would reference mscoree and show a CLR header, which these native loader-only imports and UPX section do not.
Explanation
Packed binaries typically expose only loader APIs, carry high-entropy compressed sections, and place the entry point in a stub that restores the payload and import table in memory.
Example6 · Malware Analysis Fundamentals and Lab Setup
An analyst at a regional healthcare services firm receives a suspicious attachment flagged by the email gateway. Before executing anything, the analyst extracts strings, reviews the PE header, and inspects the imported functions to characterize the sample. Which analysis approach does this workflow best represent?
・Behavioral analysis, which runs the sample in a monitored sandbox to log file, registry, and network activity
Incorrect. Behavioral analysis requires executing the sample in a sandbox, but the analyst here deliberately avoids running the file.
✓Static analysis, which examines the file without executing it to infer capabilities from its structure
Correct. Inspecting strings, the PE header, and imports without running the binary is the defining property of static analysis.
・Dynamic analysis, where the sample is detonated and a debugger steps through the running instructions
Incorrect. Dynamic analysis involves detonation and runtime observation, which has not occurred at this stage of the workflow.
・Memory forensics, which captures a live RAM image after infection to recover injected code artifacts
Incorrect. Memory forensics analyzes a RAM capture taken after execution, not a dormant file examined at rest.
Explanation
Static analysis studies a binary's structure and content without execution; reviewing headers, strings, and imports is textbook static examination.
Example7 · Malware Analysis Fundamentals and Lab Setup
An analyst at the retailer NordVista receives a suspicious invoice executable and must quickly decide a triage path without running it first. Which activity belongs to the static properties analysis phase rather than behavioral analysis?
・Executing the sample inside an instrumented sandbox and recording the new registry keys and child processes that appear
Incorrect. Observing registry keys and spawned child processes requires execution, which is behavioral analysis.
✓Examining the file's embedded strings, imported API functions, and PE header metadata without running the binary
Correct. Reviewing strings, imports, and PE header fields inspects the file at rest without execution, the definition of static properties analysis.
・Detonating the binary and capturing the DNS queries and HTTP beacons it sends to external command-and-control hosts
Incorrect. Capturing DNS and HTTP traffic requires detonating the sample, placing it in behavioral analysis.
・Attaching a debugger to the running process and single-stepping through its unpacking stub to reach the payload
Incorrect. Single-stepping a running process in a debugger is dynamic code analysis, not static properties review.
Explanation
Static properties analysis inspects the file without running it; strings, imports, and header fields are classic static artifacts, whereas sandbox, network, and debugger activities all require execution.
Example8 · Malware Analysis Fundamentals and Lab Setup
NordVista is building a malware lab and wants to observe network callbacks safely while preventing live samples from reaching the corporate network or the internet. Which design best meets this requirement?
・Connect the analysis virtual machine directly to the production store bridge so captured traffic matches real conditions exactly
Incorrect. Bridging to production exposes the corporate network to live infection and lateral movement.
✓Place the victim VM on a host-only network served by a simulated services host that fakes DNS and HTTP responses
Correct. A host-only network with a service-simulation host (such as INetSim) lets malware resolve domains and receive fake responses while staying fully isolated.
・Allow outbound internet from the lab but block only the known command-and-control domains using a corporate proxy
Incorrect. Permitting general outbound traffic risks real command-and-control contact and blocklists are always incomplete.
・Run the sample on a physical workstation that is unplugged from all networks during the entire detonation window
Incorrect. An unplugged host blocks all callbacks, so no network behavior can be observed at all.
Explanation
A host-only segment fronted by a service simulator gives malware believable responses while containing it; bridging, selective blocking, and full air-gap each fail the dual goal of observation plus containment.
Example9 · Malware Analysis Fundamentals and Lab Setup
While triaging a NordVista loyalty-app dropper, an analyst notes a very small import table, high section entropy, and a section named UPX1 with raw size far smaller than virtual size. What does this combination most strongly indicate?
・The file has had its digital signature stripped and should be treated as an unsigned but otherwise benign installer
Incorrect. A missing signature does not explain high entropy, a tiny import table, or the UPX1 section name.
✓The binary is a packed or compressed executable whose real code is unpacked into memory at runtime
Correct. Sparse imports, high entropy, and a UPX-style section with raw size smaller than virtual size are hallmarks of a runtime-unpacking packer.
・The sample is a .NET managed assembly that the common language runtime will compile just in time
Incorrect. A managed .NET assembly shows CLR headers and mscoree imports, not high-entropy UPX sections.
・The executable is corrupted on disk and cannot be loaded or executed by the Windows loader
Incorrect. These indicators point to packing, not file corruption; corrupted files fail loading for different reasons.
Explanation
Low import counts, high entropy, and a compressed section whose virtual size exceeds its raw size are classic signs that the real payload is unpacked in memory, the signature of a packer.
Example10 · Malware Analysis Fundamentals and Lab Setup
A SOC analyst at a retail bank receives a suspicious invoice attachment and wants to inspect embedded strings, the PE header, and imported APIs without ever running the file. Which analysis approach does this describe?
・Behavioral analysis, running the sample in a sandbox to watch its registry and network activity
Incorrect. Behavioral analysis requires executing the sample to observe its runtime effects, which the analyst is explicitly avoiding here.
✓Static analysis, examining the file's properties and structure without executing it
Correct. Inspecting strings, the PE header, and imports without running the file is the definition of static analysis.
・Interactive debugging, stepping through the code one instruction at a time while it runs
Incorrect. Interactive debugging involves executing and controlling the code, not examining a dormant file.
・Memory forensics, acquiring a RAM image after the malware has fully detonated on the host
Incorrect. Memory forensics captures RAM after execution and is unrelated to pre-execution file inspection.
Explanation
Static analysis examines a sample's structure and metadata without execution; the described tasks all occur on a dormant file.
Example11 · Malware Analysis Fundamentals and Lab Setup
A financial services firm is building a malware lab on hardware that also touches the corporate payment network. To keep detonated samples from ever reaching production systems, which design choice best isolates the lab?
✓Place the analysis virtual machines on a dedicated host-only or isolated virtual network segment
Correct. A dedicated host-only or isolated segment keeps detonated samples from routing to production or the internet.
・Keep the analysis VMs on the corporate VLAN but enable the host firewall on each machine
Incorrect. Remaining on the corporate VLAN leaves a bridge to production that a host firewall alone does not reliably sever.
・Run samples directly on the analyst's daily workstation after taking a backup first
Incorrect. Detonating on a daily workstation risks infection and lateral movement even with a backup available.
・Allow outbound internet from the lab but block inbound connections at the perimeter
Incorrect. Permitting outbound traffic lets malware call home, exfiltrate, or spread despite inbound blocks.
Explanation
Network isolation via a host-only or dedicated segment is the core principle for containing malware in an analysis lab.
Example12 · Malware Analysis Fundamentals and Lab Setup
An analyst at a manufacturing distributor receives a suspicious invoice attachment and wants to examine the sample's embedded strings, imports, and hashes without ever executing it. Which category of malware analysis is the analyst performing?
・Dynamic analysis, which runs the sample in an isolated sandbox and records its runtime network and file activity
Incorrect. Dynamic analysis requires executing the sample, which contradicts the stated goal of never running it.
✓Static properties analysis, which inspects the file's metadata and contents without running it
Correct. Static properties analysis examines metadata such as strings, imports, and hashes without executing the file.
・Interactive behavioral analysis, which steps through the sample under a live debugger during controlled execution
Incorrect. Interactive behavioral analysis with a debugger involves running the code, not merely inspecting static properties.
・Automated code emulation, which models each CPU instruction to predict runtime behavior safely
Incorrect. Code emulation steps through instructions as a form of execution modeling, beyond static property inspection.
Explanation
Reviewing strings, imports, and hashes without execution is static properties analysis.
Example13 · Malware Analysis Fundamentals and Lab Setup
A manufacturing distributor builds a malware lab and insists that detonated samples must never reach the corporate ERP network or the internet. Which lab design principle most directly satisfies this requirement?
・Keeping all analysis virtual machines on the same corporate subnet so monitoring tools and domain logging can observe them
Incorrect. Sharing the corporate subnet exposes production systems to the very malware being detonated.
✓Isolating the analysis environment on a segregated network with no routable path to production or the internet
Correct. A segregated lab network with no routable path to production or the internet prevents escape and lateral spread.
・Configuring the host firewall to log outbound connections while still permitting them for threat intelligence
Incorrect. Merely logging outbound traffic still allows the malware to communicate externally, violating containment.
・Running samples only on the physical host and restoring from backup after each session completes
Incorrect. Using the physical host without network isolation risks both host compromise and outbound communication.
Explanation
Network containment requires an isolated segment with no reachable path to production or the internet.
Example14 · Malware Analysis Fundamentals and Lab Setup
A telecom operator's SOC recovers a suspicious executable from a billing server and wants an initial triage without ever letting the file run. Which characteristic best describes the static analysis approach the analyst should begin with?
・Executing the sample in a sandbox and recording the API calls, registry writes, and network beacons that the running process actually generates
Incorrect. Observing API calls, registry writes, and network beacons from a running process is behavioral dynamic analysis, not static.
・Detonating the binary on an isolated host while a kernel debugger single-steps through each instruction to observe runtime decryption
Incorrect. Single-stepping a detonated binary in a kernel debugger is dynamic, interactive analysis requiring execution.
✓Examining the file's structure, strings, imports, and headers without running it to infer capability
Correct. Static analysis inspects structure, strings, imports, and headers without execution, matching the no-run triage requirement.
・Allowing the process to run fully so its command-and-control traffic can be captured and attributed over time
Incorrect. Letting the process run to capture command-and-control traffic is dynamic network analysis and violates the no-run constraint.
Explanation
Static analysis examines a sample's artifacts (headers, strings, imports) without executing it, which fits an initial triage where the file must never be run.
Example15 · Malware Analysis Fundamentals and Lab Setup
A telecom reverse-engineering team builds an analysis lab and must stop a detonated sample from reaching the corporate network or the internet while still observing its outbound attempts. What is the primary reason the lab network is kept isolated from production?
✓To prevent the malware from spreading to or communicating with real production and internet hosts during detonation
Correct. Isolation's core purpose is containment, keeping malware from spreading to or contacting real production and internet systems.
・To guarantee that captured network packets are automatically decrypted and attributed to a known threat actor group
Incorrect. Isolation does not decrypt traffic or attribute it; that requires separate tooling and analysis.
・To ensure that the analyst's debugger can attach to the sample faster than it could on a production workstation
Incorrect. Debugger attach speed is unrelated to network isolation and is not why the lab is segregated.
・To make sure sandbox snapshots can be reverted after each run so the clean baseline is preserved for reuse
Incorrect. Snapshot reversion is a separate lab practice; it preserves a baseline but is not the reason for network isolation.
Explanation
An isolated lab network exists primarily for containment, preventing a detonated sample from spreading to or communicating with production and internet hosts.
▶ Try 10 free questions (graded)