













































































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 malware class is primarily designed to gain privileged access by modifying the operating system kernel? A) Trojan B) Rootkit C) Ransomware D) Worm Answer: B Explanation: Rootkits operate at the kernel or system level to hide their presence and maintain privileged access. Question 2. In a sandbox environment, which hypervisor type provides direct hardware access to the guest OS, reducing the chance of detection by malware? A) Type-0 (bare-metal) B) Type-1 (bare-metal) C) Type-2 (hosted) D) Type-3 (cloud) Answer: B Explanation: Type-1 hypervisors run directly on hardware, offering less observable virtualization artifacts than Type-2 hypervisors. Question 3. Which tool is most commonly used to simulate DNS, HTTP, and SMTP services for malware that expects internet connectivity? A) Metasploit B) INetSim C) Nmap D) Wireshark Answer: B Explanation: INetSim creates fake network services, allowing analysts to observe malware behavior without exposing a real network.
Question 4. What is the primary purpose of taking a snapshot of a virtual machine before executing a malware sample? A) To increase CPU performance B) To preserve a clean baseline for repeated testing C) To encrypt the VM disk D) To install additional analysis tools automatically Answer: B Explanation: Snapshots allow the analyst to revert the VM to a known clean state after each test, ensuring consistency. Question 5. Which of the following is an effective technique to prevent sandbox escape via shared clipboard exploitation? A) Disable USB passthrough B) Enable clipboard sharing C) Install additional guest additions D) Increase VM RAM size Answer: A Explanation: Disabling shared peripherals such as the clipboard removes a common channel for malware to move data or commands out of the sandbox. Question 6. When handling a live ransomware sample, which precaution is most critical to avoid accidental encryption of production data? A) Use a read-only network share B) Run the sample on an air-gapped system C) Enable automatic backups on the host D) Disable Windows Defender only Answer: B Explanation: An air-gapped system isolates the ransomware from any production network, preventing unintended encryption.
B) Minor variations within a malware family C) Encrypted payloads only D) Network traffic anomalies Answer: B Explanation: ssdeep generates similarity scores that can reveal related samples with small modifications. Question 11. Which of the following strings is a strong indicator that a PE file has been packed with UPX? A) “This program cannot be run in DOS mode.” B) “UPX0” and “UPX1” section names C) “MZ” at the file start D) “.rdata” section containing “printf” Answer: B Explanation: UPX inserts identifiable section names such as UPX0, UPX1, and UPX2. Question 12. High entropy in a PE section most likely indicates: A) Plain text resources B) Compressed or encrypted data C) Unused padding bytes D) Debug symbols Answer: B Explanation: Entropy close to 8 bits per byte suggests data is compressed or encrypted, a common packing technique. Question 13. Which Windows registry key is commonly abused for persistence by malicious software? A) HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run B) HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa C) HKEY_USERS.DEFAULT\Keyboard Layout
D) HKEY_CLASSES_ROOT*\Shell Answer: A Explanation: The Run key is automatically executed at user logon, making it a popular persistence mechanism. Question 14. Process hollowing is best described as: A) Injecting shellcode into a running process’s memory space B) Replacing the code of a legitimate process after it has been created C) Creating a new process with a hidden window D) Using a scheduled task to launch a process at startup Answer: B Explanation: In process hollowing, a legitimate process is started in a suspended state, its memory is emptied, and malicious code is injected before resuming. Question 15. Which network protocol is most frequently used by malware for Command-and-Control (C2) communications to blend with normal traffic? A) FTP B) SMTP C) HTTP/HTTPS D) Telnet Answer: C Explanation: HTTP/HTTPS traffic is ubiquitous, allowing C2 traffic to hide among legitimate web requests. Question 16. A malware sample checks the MAC address of the network adapter to determine if it is running in a virtual environment. This is an example of: A) Anti-debugging B) Anti-VM evasion C) Rootkit behavior D) Persistence technique
Explanation: Function ID matches code patterns against a database of known functions and suggests appropriate names. Question 20. When using a hardware breakpoint in x64dbg, which CPU register is typically modified to trigger the breakpoint? A) DR0-DR3 registers B) EAX register C) ESP register D) FLAGS register Answer: A Explanation: Hardware breakpoints use debug registers DR0-DR3 to monitor memory accesses or instruction execution. Question 21. Which Windows feature allows malware to execute code every time a new service is started, without creating a new service entry? A) Service DLL hijacking B) Service Control Manager (SCM) injection C) Service registry “ImagePath” modification D) Service “Start” type change to “Manual” Answer: A Explanation: Service DLL hijacking replaces a legitimate DLL referenced by a service, causing malicious code to run when the service loads. Question 22. The WMI event consumer “__EventFilter” is often abused for persistence because: A) It runs with SYSTEM privileges and can be triggered by many system events B) It requires no registry modifications C) It only works on Windows 10 and later D) It is automatically removed after a reboot Answer: A
Explanation: WMI event filters can execute scripts or binaries when specific system events occur, providing stealthy persistence. Question 23. Which of the following is a characteristic of a “bootkit”? A) It modifies the MBR or EFI bootloader to execute before the OS loads B) It only targets user-mode applications C) It relies on JavaScript for execution D) It encrypts files after the OS boots Answer: A Explanation: Bootkits tamper with the boot process, allowing code to run before the operating system is fully loaded. Question 24. In memory forensics, which Volatility plugin extracts the list of loaded kernel drivers? A) pslist B) modules C) netscan D) filescan Answer: B Explanation: The “modules” plugin enumerates kernel modules (drivers) present in a memory image. Question 25. API hooking performed by modifying the Import Address Table (IAT) is considered: A) Inline hooking B) IAT hooking C) VTable hooking D) Kernel hooking Answer: B Explanation: IAT hooking replaces function pointers in the Import Address Table, redirecting calls to attacker-controlled code.
Question 29. Which of the following file extensions is most commonly associated with a Windows executable that can also contain script code, often abused by malware? A) .exe B) .dll C) .scr D) .bat Answer: C Explanation: .scr files are screen saver executables; they are run by the system and can contain malicious code while appearing benign. Question 30. In the context of malware analysis, “dead code” refers to: A) Code that is never executed due to conditional logic or obfuscation B) Code that crashes the process immediately C) Code that runs only on specific hardware D) Code that is encrypted with a static key Answer: A Explanation: Dead code is inserted to confuse static analysis tools and increase entropy without affecting runtime behavior. Question 31. Which of the following is a typical indicator that a PE file has been compiled with the Microsoft Visual C++ compiler? A) Presence of the “.rdata” section only B) Import of “msvcrt.dll” C) Use of “UPX” in section names D) Lack of an export table Answer: B Explanation: The Microsoft Visual C Runtime (msvcrt.dll) is linked by default when using the Microsoft C/C++ compiler.
Question 32. The technique of “DLL side-loading” most often abuses which Windows mechanism? A) Loading a DLL from the same directory as the executable when the DLL name matches a legitimate library B) Overwriting system DLLs in the Windows\System32 folder C) Using the “LoadLibrary” API with a full path D) Registering a COM object in the registry Answer: A Explanation: Side-loading exploits the DLL search order, causing a malicious DLL with a legitimate name placed alongside the executable to be loaded. Question 33. Which of the following commands in Volatility extracts the list of active network connections from a memory dump? A) connscan B) sockets C) netstat D) netscan Answer: D Explanation: The “netscan” plugin parses network structures to reveal open sockets and connections. Question 34. A malware author encrypts strings using a simple XOR with a static key. Which static analysis technique can quickly reveal the original strings? A) Entropy calculation B) Signature scanning C) Automated XOR deobfuscation scripts D) Import table analysis Answer: C Explanation: XOR deobfuscation scripts can brute-force single-byte keys and recover the plaintext strings.
Question 38. Which of these tools is best suited for capturing raw network packets from a virtual machine’s virtual NIC? A) Process Explorer B) Wireshark C) Regedit D) Procmon Answer: B Explanation: Wireshark captures and decodes network traffic directly from the NIC interface. Question 39. The “IsDebuggerPresent” API can be bypassed by malware using which of the following techniques? A) Directly modifying the PEB’s BeingDebugged flag B) Changing the system time C) Deleting the PE header D) Using a different process account Answer: A Explanation: The BeingDebugged flag in the Process Environment Block (PEB) is what IsDebuggerPresent reads; malware can clear it to evade detection. Question 40. Which of the following is NOT a typical symptom of a VM-aware malware sample? A) Checking for the presence of “VBoxService.exe” B) Querying the CPUID instruction for hypervisor bits C) Using the “GetSystemInfo” API to retrieve CPU count D) Looking for MAC address prefixes used by virtual NICs Answer: C Explanation: Retrieving CPU count is a normal operation and does not directly indicate VM detection. Question 41. In x64 architecture, which register is used as the stack pointer?
Answer: C Explanation: RSP holds the address of the top of the stack in 64-bit mode. Question 42. The “ReflectiveLoader” function commonly found in reflective DLLs performs which action? A) Loads the DLL into a remote process via CreateRemoteThread B) Resolves imports and relocations in memory without using the OS loader C) Executes the DLL’s DllMain on a separate thread D) Registers the DLL as a COM object Answer: B Explanation: ReflectiveLoader manually resolves imports and applies relocations, enabling the DLL to run entirely in memory. Question 43. Which of the following registry locations is used by the COM Surrogate hijacking technique? A) HKLM\Software\Microsoft\Windows\CurrentVersion\Run B) HKCR\CLSID\InprocServer C) HKCU\Software\Microsoft\Windows\Shell\Bags D) HKLM\SYSTEM\CurrentControlSet\Services Answer: B Explanation: COM Surrogate hijacking registers a malicious DLL under an InprocServer32 key for a legitimate CLSID. Question 44. Which of the following indicators suggests that a malware sample employs “Process Doppelgänging”? A) Creation of a process with a mismatched parent PID
B) To detect when the code is being run inside an instruction-level emulator and alter behavior C) To encrypt the payload using a custom algorithm D) To hide network traffic from IDS systems Answer: B Explanation: Anti-emulation checks for characteristics of emulated environments (e.g., timing discrepancies) and may abort execution. Question 48. Which Ghidra feature allows analysts to view the control flow graph of a function? A) Symbol tree B) Function Graph C) ByteViewer Byte Viewer is not correct? Actually ByteViewer is not. So answer: Function Graph. Answer: B Explanation: The Function Graph window visualizes basic blocks and branching, helping understand function logic. Question 49. A malware sample uses the “LoadLibraryA” API with a relative path “..\..\temp.dll”. Which persistence technique is it most likely employing? A) Registry Run key B) DLL side-loading C) Service hijacking D) WMI event consumer Answer: B Explanation: Providing a relative path that resolves to a malicious DLL placed alongside a legitimate executable is classic side-loading. Question 50. Which of the following is a typical sign that a PE file contains a custom packer rather than a known one? A) Presence of a standard section name like .text
B) Import table contains only kernel32.dll functions C) High entropy across the entire file with no recognizable stub signature D) File size less than 10 KB Answer: C Explanation: Unknown packers often produce uniformly high entropy and lack identifiable markers found in known packers. Question 51. Which Windows API can be used by malware to enumerate all currently running processes for potential injection targets? A) EnumProcesses (from Psapi.dll) B) GetVersionEx C) SetThreadContext D) CreateMutex Answer: A Explanation: EnumProcesses returns a list of process IDs, enabling the malware to select a target for injection. Question 52. In a Linux ELF binary, the “.interp” section typically contains: A) The interpreter path (e.g., /lib64/ld-linux-x86-64.so.2) used by the loader B) Encrypted payload data C) Symbol table information D) Debugging strings Answer: A Explanation: The .interp section tells the dynamic loader which interpreter (dynamic linker) to use. Question 53. Which of the following is a primary advantage of using a Type- 2 hypervisor for malware analysis? A) Better stealth against anti-VM checks B) Ability to run on top of an existing OS without dedicated hardware
D) Enabling BitLocker encryption Answer: B Explanation: SafeDLLSearchMode changes the DLL search order to prioritize system directories, reducing hijacking risk. Question 57. Which of the following reflects a common anti-debugging technique that uses the “RDTSC” instruction? A) Measuring the number of CPU cycles taken for a loop and comparing it to a threshold B) Reading the processor brand string C) Checking the value of the EFLAGS register D) Accessing the debug registers directly Answer: A Explanation: RDTSC returns a timestamp counter; timing discrepancies can indicate a debugger’s overhead. Question 58. The “PEiD” tool is primarily used for: A) Detecting the packer or compiler used to build a PE file B) Decrypting encrypted payloads C) Monitoring network traffic of a sample D) Performing live memory acquisition Answer: A Explanation: PEiD identifies signatures of known packers, compilers, and cryptors in PE files. Question 59. Which of the following statements about “Process Hollowing” is true? A) The malicious code runs in the context of a newly created process that never executed its original code. B) The original process image is completely deleted from disk. C) It requires elevated privileges to work on 64-bit Windows.
D) It can only be performed on services, not user applications. Answer: A Explanation: Process hollowing creates a legitimate process in a suspended state, empties its memory, injects malicious code, then resumes execution. Question 60. Which Windows API is commonly used by malware to hide its window from the taskbar and Alt-Tab list? A) ShowWindow B) SetWindowDisplayAffinity C) SetWindowLongPtr with GWL_EXSTYLE and WS_EX_TOOLWINDOW flag D) CreateProcess Answer: C Explanation: Adding the WS_EX_TOOLWINDOW style hides the window from the Alt-Tab switcher and taskbar. Question 61. In the context of malware that uses “code injection”, what does “inline hooking” refer to? A) Replacing the first few bytes of a target function with a jump to malicious code B) Modifying the IAT entries of a module C) Using a separate DLL to intercept API calls D) Writing to the process’s stack memory Answer: A Explanation: Inline hooking overwrites the beginning of a function with a jump instruction that redirects execution. Question 62. Which of the following is a reliable method to detect the presence of a packed PE file without relying on known signatures? A) Checking for a low number of sections B) Measuring the entropy of each section and flagging those > 7.5 bits/byte C) Looking for the string “packed” in the file D) Verifying that the file size is less than 1 MB