






















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























































































Question 1. Which virtualization platform is most commonly recommended for building a low‑cost, isolated malware analysis lab? A) Hyper‑V B) VMware Workstation/Player C) Docker D) Parallels Desktop Answer: B Explanation: VMware Workstation/Player provides full hardware virtualization, snapshot capabilities, and easy network isolation, making it ideal for malware labs. Question 2. During dynamic analysis, which tool is best suited for capturing real‑time registry modifications? A) Process Hacker B) Procmon (Process Monitor) C) Wireshark D) Ghidra Answer: B Explanation: Procmon logs registry, file system, and process activity in real time, allowing analysts to see exact changes made by malware. Question 3. In static analysis, the presence of the “MZ” magic number at the start of a file indicates it is a: A) PDF document B) Portable Executable (PE) file C) Java class file D) ELF binary Answer: B
Explanation: “MZ” is the DOS header signature for Windows PE files; it appears at offset 0 of every executable. Question 4. Which of the following best describes the purpose of a “theory development” step in malware analysis? A) Executing the sample to observe behavior B) Forming hypotheses about capabilities based on initial observations C) Packing the malware for distribution D) Decompiling the binary to source code Answer: B Explanation: Theory development uses early data (static or dynamic) to hypothesize what the malware can do, guiding further analysis steps. Question 5. In x86 architecture, which register typically holds the address of the next instruction to execute? A) EAX B) ESP C) EIP D) EBX Answer: C Explanation: EIP (Instruction Pointer) contains the memory address of the next instruction to fetch and execute. Question 6. Which instruction is used to compare two values and set the Zero Flag (ZF) accordingly? A) MOV B) CMP C) PUSH
A) CreateFile B) WriteProcessMemory C) GetVersionEx D) SetFilePointer Answer: B Explanation: WriteProcessMemory allows a process to modify the address space of another process, a key step in code injection. Question 10. Process hollowing primarily involves which two actions? A) Creating a new thread and terminating the original process B) Allocating memory and encrypting it with XOR C) Creating a legitimate process, unmapping its sections, and writing malicious code into it D) Hooking system calls and redirecting them to malicious functions Answer: C Explanation: Process hollowing starts a legitimate process, removes its executable sections, and injects malicious payload, then resumes execution. Question 11. Which of the following API functions is used to create a new thread in a remote process? A) CreateThread B) BeginThread C) CreateRemoteThread D) OpenThread Answer: C Explanation: CreateRemoteThread creates a thread in the address space of another process, enabling code execution there.
Question 12. In IDA Pro, the “Xrefs” view is most useful for: A) Viewing the raw hex dump of a file B) Finding cross‑references to a particular address or function C) Editing assembly instructions directly D) Performing network traffic analysis Answer: B Explanation: Xrefs (cross‑references) show where a function or address is referenced elsewhere in the binary, helping trace control flow. Question 13. A macro‑enabled Word document with the .docm extension typically contains malicious code written in: A) PowerShell B) JavaScript C) VBA (Visual Basic for Applications) D) Python Answer: C Explanation: VBA is the scripting language embedded in Microsoft Office documents, and .docm files are specifically macro‑enabled. Question 14. Which PDF object type is most frequently abused to execute JavaScript when the document is opened? A) /Catalog B) /Pages C) /JavaScript D) /Metadata Answer: C
C) OpenProcessToken D) SetUnhandledExceptionFilter Answer: A Explanation: IsDebuggerPresent returns a non‑zero value if the process is being debugged, allowing malware to alter its behavior. Question 18. A timing check that measures the duration of a Sleep(5000) call can be used to detect: A) Low‑memory conditions B) Virtual machines with slowed timers C) Network latency D) Disk fragmentation Answer: B Explanation: Some sandbox environments alter timer resolution; if Sleep takes less than expected, the malware can infer it is being analyzed. Question 19. Which MAC address prefix is commonly associated with VMware virtual NICs? A) 00:05: B) 00:0C: C) 00:1A:2B D) 00:16:3E Answer: B Explanation: VMware NICs often use the OUI 00:0C:29, which can be checked by malware to detect a virtual environment. Question 20. An opaque predicate in obfuscated code is: A) A conditional that always evaluates to true or false but is designed to look non‑trivial
B) A function that encrypts data using a secret key C) A system call that hides the process from the task manager D) A macro that expands to multiple instructions at compile time Answer: A Explanation: Opaque predicates are deliberately complex conditions that yield a known result, confusing static analysis. Question 21. Which of the following is NOT a typical symptom of a successful code injection attack? A) Creation of a new remote thread B) Modification of the target process’s IAT (Import Address Table) C) Overwriting the target’s entry point with malicious code D) Immediate termination of the target process Answer: D Explanation: Code injection usually keeps the target process alive; terminating it defeats the purpose of stealthy injection. Question 22. In a PE file, the “Import Address Table” (IAT) is used for: A) Storing string literals B) Resolving addresses of external functions at load time C) Holding encrypted payload data D) Defining the entry point of the executable Answer: B Explanation: The IAT contains pointers that the loader fills with the actual addresses of imported API functions. Question 23. Which of the following strings in a binary most likely indicates the presence of a packed executable?
Question 26. The “GetProcAddress” API is frequently used by malware to: A) Retrieve the address of a function dynamically, often to avoid static imports B) Open a network socket for command‑and‑control traffic C) Encrypt files on disk D) Enumerate running processes Answer: A Explanation: By resolving function addresses at runtime, malware can hide its API usage from static analysis. Question 27. In the context of Windows hooks, which API function installs a hook procedure into another process’s address space? A) SetWindowsHookEx B) RegisterHotKey C) SetUnhandledExceptionFilter D) CreateMutex Answer: A Explanation: SetWindowsHookEx can install global or thread‑specific hooks, enabling code execution in other processes. Question 28. Which of the following is a reliable indicator that a document contains an embedded OLE object used for exploitation? A) Presence of “/JavaScript” in the PDF structure B) “\objclass” field referencing “Word.Document.12” in an RTF file C) Use of “eval” in VBA macros D) Inclusion of “ Explanation: The \objclass tag specifies the OLE object type; “Word.Document.12” indicates an embedded Word object that may carry exploits. Question 29. When a malware sample checks for the presence of the “C:\Windows\System32\drivers\VBoxMouse.sys” file, it is attempting to detect: A) A Windows Update patch B) A VirtualBox virtual machine environment C) An antivirus product D) A network share Answer: B Explanation: VBoxMouse.sys is a driver installed by VirtualBox; its presence is a common anti‑VM check. Question 30. Which of the following assembly directives defines a data segment that is readable and writable but not executable? A) .text B) .data C) .bss D) .rdata Answer: B Explanation: The .data section holds initialized global variables and is marked RW (read/write) but not executable. Question 31. The “NtQueryInformationProcess” function can be abused by malware to: A) Retrieve the current process’s command line arguments B) Enumerate all running processes C) Detect if the process is being debugged via the ProcessDebugPort information class D) Open a remote thread in another process
D) Assignment of a string to a cell value Answer: B Explanation: URLDownloadToFile directly downloads a remote file to a local path, frequently used by malicious macros. Question 35. When a malware binary contains the string “.text:00401000” in its disassembly, this most likely indicates: A) A reference to a data variable B) A hard‑coded absolute address for code execution C) An imported function name D) An encrypted payload marker Answer: B Explanation: “.text:00401000” denotes an absolute virtual address within the .text (code) section, often used in jumps or calls. Question 36. Which of the following is a typical side effect of enabling “ASLR” (Address Space Layout Randomization) on malware analysis? A) Fixed function addresses across runs, simplifying debugging B) Randomized base addresses, making static offsets unreliable C) Disabling all API calls related to memory allocation D) Preventing the use of any DLLs in the process Answer: B Explanation: ASLR randomizes the load address of modules, causing offsets to change each execution, complicating analysis. Question 37. A “sandbox evasion” technique that involves detecting the presence of a specific hardware device ID is an example of:
A) Anti‑debugging B) Anti‑VM/anti‑sandbox detection C) Code obfuscation D) Process hollowing Answer: B Explanation: Checking hardware identifiers (e.g., virtual NIC MACs) is a method to determine if the environment is virtualized or sandboxed. Question 38. Which of the following statements about the “PEB” (Process Environment Block) is true? A) It stores the list of loaded modules and can be queried to locate kernel32.dll without using API calls B) It contains the network socket table for the process C) It is only present in 64‑bit processes D) It is used to store encrypted configuration data by malware Answer: A Explanation: The PEB holds information such as the InLoadOrderModuleList, allowing code to locate modules like kernel32.dll manually. Question 39. When a malware sample uses “CreateFileMapping” followed by “MapViewOfFile,” it is typically attempting to: A) Open a network connection B) Share memory between processes or allocate a large buffer C) Write to the system registry D) Enumerate files in a directory Answer: B Explanation: CreateFileMapping creates a memory‑mapped file or section object; MapViewOfFile maps it into the process address space for sharing or allocation.
Explanation: Hooking GetProcAddress reveals which functions malware resolves dynamically, exposing its behavior despite hidden imports. Question 43. A “dead code” insertion in a malware binary primarily serves to: A) Increase the speed of execution B) Confuse static analysis tools and increase code size C) Provide additional functionality to the attacker D) Bypass user‑account control (UAC) Answer: B Explanation: Dead code (unused instructions) inflates the binary and creates misleading control‑flow paths, hindering analysis. Question 44. When a malicious document uses the “Object” tag with “ClassID” set to “{0D43FE01- F093-11CF- 8940 - 00A0C9054228},” it is attempting to embed which type of object? A) A Flash movie B) An ActiveX control for a PDF viewer C) A Windows Media Player object D) An Internet Explorer WebBrowser control Answer: D Explanation: The GUID corresponds to the WebBrowser ActiveX control, often used to load remote content or execute scripts. Question 45. Which of the following is the best practice for capturing memory snapshots of a running malware process? A) Using the “tasklist” command B) Using “Process Explorer” to dump the process memory C) Taking a screenshot of the desktop
D) Editing the binary on disk with a hex editor Answer: B Explanation: Process Explorer (or ProcDump) can create a full memory dump of a process, preserving its runtime state for analysis. Question 46. In the context of anti‑debugging, the “CheckRemoteDebuggerPresent” API differs from “IsDebuggerPresent” because: A) It can detect debuggers attached to other processes, not just the current one B) It only works on Windows XP C) It returns the name of the debugger instead of a boolean D) It requires elevated privileges to call Answer: A Explanation: CheckRemoteDebuggerPresent allows a process to query whether another specified process is being debugged. Question 47. Which of the following is a hallmark of “DLL Side‑Loading” used by malware? A) Placing a malicious DLL with the same name as a legitimate one in the same directory as a trusted executable B) Encrypting the DLL with AES before loading C) Using the “LoadLibraryEx” flag LOAD_LIBRARY_AS_DATAFILE D) Renaming the DLL to a .exe extension Answer: A Explanation: Side‑loading exploits the DLL search order; a malicious DLL placed alongside a trusted executable can be loaded unintentionally. Question 48. When analyzing a malicious PowerShell script, which cmdlet is most commonly used to download additional payloads?
Question 51. In assembly, the instruction “LEA EAX, [EBX+4ECX]” is primarily used for:* A) Loading a value from memory into EAX B) Performing a logical AND operation C) Calculating an address without accessing memory (address arithmetic) D) Jumping to a new code location Answer: C Explanation: LEA (Load Effective Address) computes the address expression and stores it in a register without performing a memory read. Question 52. Which of the following is the most common method for a malware author to hide strings from static analysis? A) Storing them in clear text in the .rdata section B) Encrypting them and decrypting at runtime C) Using Unicode encoding only D) Placing them in the .reloc section Answer: B Explanation: Encrypting or encoding strings prevents tools like “strings” from revealing them, requiring decryption during execution. Question 53. When a malicious PDF contains an embedded “Launch” action that points to “C:\Windows\System32\cmd.exe /c …”, what is the likely goal? A) Open a web page in the default browser B) Execute a command prompt to run additional commands on the victim’s system C) Display a PDF form to the user D) Embed a video player Answer: B
Explanation: The Launch action runs the specified executable (cmd.exe) with arguments, enabling the attacker to execute arbitrary commands. Question 54. Which Windows registry hive is commonly targeted for storing malicious autorun entries for all users? A) HKEY_CURRENT_USER (HKCU) B) HKEY_LOCAL_MACHINE (HKLM) C) HKEY_CLASSES_ROOT (HKCR) D) HKEY_USERS (HKU) Answer: B Explanation: HKLM\Software\Microsoft\Windows\CurrentVersion\Run affects all users on the system, making it a preferred persistence location. Question 55. A malware sample that uses “NtSetInformationThread” with the ThreadHideFromDebugger flag is attempting to: A) Increase the thread’s priority B) Conceal the thread from debugger detection mechanisms C) Terminate the thread gracefully D) Change the thread’s CPU affinity Answer: B Explanation: The ThreadHideFromDebugger flag tells the OS to hide the thread from debuggers, evading detection. Question 56. Which of the following tools is specifically designed for deobfuscating VBA macros? A) oletools (olevba) B) IDA Pro C) Ghidra