



















































































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 Windows API is most commonly used by malware to create a new process for persistence? A) CreateFile B) RegOpenKeyEx C) CreateProcessW D) GetSystemMetrics Answer: C Explanation: CreateProcessW launches a new executable, allowing malware to start a copy of itself or another payload at system boot. Question 2. In a PE file, the section that typically contains the import address table is: A) .text B) .rdata C) .data D) .edata Answer: B Explanation: The .rdata section stores read‑only data such as the import address table (IAT) and other constants. Question 3. Which of the following hash algorithms is considered collision‑resistant for malware identification? A) MD B) SHA‑ 1 C) SHA‑ 256 D) CRC Answer: C
Explanation: SHA‑256 provides a far larger hash space than MD5 or SHA‑1, making collisions extremely unlikely. Question 4. A malware sample that modifies the “Run” registry key under HKCU\Software\Microsoft\Windows\CurrentVersion\Run is using which persistence technique? A) WMI Event Consumer B) Registry Run Key C) Service Installation D) DLL Side‑Loading Answer: B Explanation: The Run key is automatically executed at user logon, providing a simple persistence method. Question 5. Which tool is specifically designed to simulate internet services for sandboxed malware analysis? A) Wireshark B) INetSim C) Volatility D) RegRipper Answer: B Explanation: INetSim mimics DNS, HTTP, SMTP, and other services, allowing malware to believe it has network connectivity. Question 6. The presence of a high entropy value (>7.5) in a PE section most likely indicates: A) Debug symbols B) Packed or encrypted data
A) pslist B) dlllist C) driverscan D) svcscan Answer: C Explanation: driverscan scans memory for kernel driver structures, revealing hidden or malicious drivers. Question 10. A malware that uses SetWindowsHookEx to intercept keyboard input is employing which technique? A) Process Hollowing B) Inline Hooking C) API Hooking via Windows Hooks D) Reflective DLL Injection Answer: C Explanation: SetWindowsHookEx installs a user‑mode hook, allowing the malware to capture keystrokes. Question 11. Which of the following is a characteristic of a logic bomb? A) Propagates automatically across networks B) Executes when a specific condition is met C) Encrypts files for ransom D) Modifies the boot sector Answer: B Explanation: Logic bombs remain dormant until a trigger (date, event, or condition) activates them.
Question 12. The primary purpose of the FakeNet-NG tool in a malware lab is to: A) Capture memory dumps B) Emulate DNS and HTTP services C) Perform static PE analysis D) Generate fuzzy hashes Answer: B Explanation: FakeNet‑NG creates fake network services to observe malware’s outbound communications. Question 13. Which of the following packers is known for providing a “virtual machine” layer for protected code? A) UPX B) Themida C) PECompact D) ASPack Answer: B Explanation: Themida uses a custom VM to obfuscate code flow, making static analysis difficult. Question 14. In IDA Pro, the “Pseudocode” view is generated by which plugin? A) Hex-Rays Decompiler B) Ghidra Bridge C) Hopper Engine D) Binary Ninja API Answer: A Explanation: The Hex‑Rays Decompiler translates assembly into C‑like pseudocode for easier understanding.
Question 18. Which of the following file formats is native to macOS and requires analysis of Mach‑O headers? A) PE B) ELF C) Mach-O D) COFF Answer: C Explanation: Mach‑O is the executable format used by macOS and iOS. Question 19. In a sandbox, the technique of “snapshot management” is used to: A) Record network traffic B) Capture memory dumps C) Restore the system to a known clean state D. Generate hash values Answer: C Explanation: Snapshots allow analysts to revert the VM to a pristine state after each test. Question 20. Which of the following is a common indicator that a PE file has been packed with UPX? A) Section name “UPX0” B) High number of imports C) Presence of a .debug section D. Large .rsrc section Answer: A Explanation: UPX adds sections named UPX0, UPX1, etc., to store compressed code.
Question 21. The dlllist Volatility plugin is used to: A) List running processes B) Enumerate loaded DLLs per process C) Extract network sockets D. Scan for hidden files Answer: B Explanation: dlllist shows which DLLs each process has loaded, useful for spotting injected modules. Question 22. Which of the following is a typical sign of reflective DLL injection? A) Creation of a new file on disk B) Use of LoadLibrary API C) Mapping of a PE image into memory without using the loader D. Modification of the registry Run key Answer: C Explanation: Reflective injection loads a DLL from memory, bypassing the normal Windows loader. Question 23. In dynamic analysis, which Wireshark filter would isolate DNS queries from a malware sample? A) http B) tcp.port==80 C) udp.port==53 D. icmp Answer: C Explanation: DNS uses UDP port 53; the filter captures only DNS traffic.
Question 27. Which of the following indicates that a malware sample is using a “sandbox detection” technique based on CPU core count? A) Checking GetSystemInfo for dwNumberOfProcessors less than 2 B) Querying the BIOS serial number C) Measuring disk I/O latency D. Looking for the presence of virtualization drivers Answer: A Explanation: Sandboxes often allocate a single CPU core; malware may abort if it detects a low core count. Question 28. In the context of memory forensics, a “hidden process” can be discovered by which Volatility command? A) pslist B) psscan C) filescan D. netscan Answer: B Explanation: psscan scans raw memory for process structures, revealing processes not linked in the active list. Question 29. Which of the following is NOT a typical characteristic of an APT (Advanced Persistent Threat)? A) Short‑lived, opportunistic attacks B) Use of custom, modular malware C) Targeted, long‑term espionage D. Sophisticated evasion techniques Answer: A
Explanation: APTs are persistent and strategic, unlike short‑lived opportunistic attacks. Question 30. The RegQueryValueEx API is used by malware to: A) Create a new file B) Read a value from the registry C) Open a network socket D. Execute a remote command Answer: B Explanation: RegQueryValueEx retrieves data stored in a registry value, often for configuration or persistence. Question 31. Which of the following is a common indicator of a “process hollowing” technique? A) Creation of a new executable on disk B) Loading a legitimate process, then replacing its memory with malicious code C) Modifying the system PATH variable D. Using wget to download payloads Answer: B Explanation: Process hollowing starts a benign process, then overwrites its memory with malicious code. Question 32. In a Linux ELF file, the entry point address is stored in which header field? A) e_shoff B) e_entry C) e_phnum D. e_flags Answer: B
D. CreateProcess Answer: B Explanation: Manipulating the SystemProcessInformation structure via undocumented NT APIs can hide processes. Question 36. The term “DLL side‑loading” refers to: A) Loading a DLL from a remote server B) Placing a malicious DLL in a directory where a legitimate executable will load it first C) Using LoadLibrary with an obfuscated path D. Encrypting a DLL before execution Answer: B Explanation: Side‑loading exploits the search order of DLL loading to make a benign program load a malicious DLL. Question 37. Which of the following is a typical way for ransomware to obtain the encryption key? A) Hard‑coded static key B) Generating a random symmetric key and encrypting it with the attacker’s public RSA key C. Using MD5 of the victim’s hostname D. Deriving it from the system’s BIOS hash Answer: B Explanation: Modern ransomware creates a random symmetric key for file encryption and protects it with an asymmetric key. Question 38. In the context of sandbox escape, which Windows feature is often abused to gain elevated privileges? A) Windows Defender
B) UAC (User Account Control) bypass via auto‑elevated COM objects C. Windows Media Player D. PowerShell logging Answer: B Explanation: Auto‑elevated COM objects can be abused to run code with higher privileges, facilitating sandbox escape. Question 39. Which Volatility plugin extracts the list of open network sockets from a memory image? A) filescan B) netscan C) pslist D. svcscan Answer: B Explanation: netscan enumerates socket structures, showing IP/port information for active connections. Question 40. The presence of the string “/bin/sh - c” in a Linux ELF binary most likely indicates: A) Use of a custom encryption routine B) Execution of a shell command, possibly for privilege escalation C. Embedded configuration data D. A hard‑coded file path for logs Answer: B Explanation: /bin/sh - c is used to invoke a shell command, a common technique for executing additional payloads.
Question 44. The regsvr32.exe /i: command is often abused by malware to: A. Register a malicious COM object silently B. Create a scheduled task C. Modify the firewall rules D. Dump the SAM database Answer: A Explanation: regsvr32 can load and execute a DLL, and the /i: switch runs the DLL’s DllInstall entry point, allowing code execution. Question 45. Which of the following best describes “Process Doppelgänging”? A. Creating a duplicate process with the same PID B. Using NTFS transaction to replace a legitimate process image with malicious code without touching the file system C. Forking a process and injecting shellcode D. Hijacking a process’s network sockets Answer: B Explanation: Process Doppelgänging leverages NTFS transaction APIs to execute malicious code while evading file‑based detection. Question 46. In a sandbox, the appearance of the registry key HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA set to 0 suggests: A. The malware is attempting to disable UAC B. The system is running in Safe Mode C. The attacker is enabling Windows Defender D. The sandbox is detecting virtualization
Answer: A Explanation: Setting EnableLUA to 0 disables User Account Control, reducing prompts for privilege escalation. Question 47. Which of the following is the most reliable way to detect a packed PE file? A. Checking for the presence of a .text section B. Analyzing the import table for a small number of imports C. Verifying the digital signature of the file D. Measuring the file’s MD5 hash against known databases Answer: B Explanation: Packers often strip most imports, leaving only a few stub functions; a minimal import table is a strong indicator. Question 48. The GetProcAddress API is used by malware to: A. Retrieve the address of a function exported by a DLL at runtime B. Enumerate all running processes C. Write to the registry D. Create a new thread Answer: A Explanation: GetProcAddress resolves function names to addresses, enabling dynamic API usage and evasion. Question 49. Which of the following is a typical sign that a Linux rootkit has loaded a kernel module clandestinely? A. Presence of a new entry in /etc/passwd B. Unexpected lsmod output showing a module with a random name C. Creation of a hidden file in /tmp
B. Identifying packers and compilers used on a PE file C. Dumping process memory D. Extracting strings from binaries Answer: B Explanation: PEiD analyses PE headers to detect known packer signatures and compiler fingerprints. Question 53. Which of the following is an indicator that a malware sample is employing “API Hooking” via the Import Address Table (IAT)? A. Overwriting function prologues in memory B. Modifying entries in the IAT to point to malicious code C. Using SetWindowsHookEx to install a hook D. Injecting a DLL that patches the kernel Answer: B Explanation: IAT hooking changes the address stored for imported functions, redirecting calls to attacker‑controlled code. Question 54. In a Windows environment, the WMI class __EventFilter is often abused for: A. File encryption B. Persistent execution of malicious scripts via event consumers C. Network packet sniffing D. Disabling Windows Defender Answer: B Explanation: __EventFilter defines conditions that trigger actions; combined with __EventConsumer, it provides persistence.
Question 55. Which of the following is a typical sign of a “fileless” malware infection? A. Presence of a new executable on disk B. Malicious code residing only in memory, often launched via PowerShell scripts C. Modification of the MBR D. Creation of a scheduled task that points to a file Answer: B Explanation: Fileless malware avoids writing binaries to disk, leveraging legitimate tools like PowerShell to execute payloads directly in memory. Question 56. The ntoskrnl.exe module is associated with which layer of the Windows operating system? A. User‑mode API B. Kernel‑mode core C. Network stack only D. Graphics subsystem Answer: B Explanation: ntoskrnl.exe is the Windows NT operating system kernel, handling low‑level system functions. Question 57. Which of the following commands would you use in a Windows sandbox to view all currently loaded services? A. netstat - an B. sc query type= service state= all C. tasklist /svc D. wmic process list brief Answer: B