





















































































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. What is the primary purpose of the triage phase in the malware analysis process? A) Generate YARA signatures B) Determine the malware’s persistence mechanisms C) Quickly assess the sample to decide the depth of analysis required D) Produce a detailed C2 protocol decryption routine Answer: C Explanation: Triage is a rapid initial assessment that helps analysts decide whether a sample needs basic, advanced, or no further analysis. Question 2. Which Windows API is most commonly used by malware to create a new process for execution? A) RegCreateKeyEx B) CreateRemoteThread C) WinExec D) CreateProcessA Answer: D Explanation: CreateProcessA (or CreateProcessW) directly creates a new process, whereas WinExec is legacy and less flexible. Question 3. In a PE file, which section typically contains the executable code? A) .rsrc B) .text C) .data D) .idata Answer: B
Explanation: The .text section stores the compiled machine instructions of the program. Question 4. Which virtualization technology provides “snapshot” capabilities that allow quick rollback to a clean state? A) Docker B) VirtualBox C) QEMU without KVM D) WINE Answer: B Explanation: VirtualBox, like VMWare and Hyper‑V, supports snapshots for restoring a VM to a previous state. Question 5. Which hash algorithm is considered collision‑resistant and is recommended for malware hash sharing? A) MD B) SHA‑ 1 C) SHA‑ 256 D) CRC Answer: C Explanation: SHA‑256 provides strong collision resistance, unlike MD5 and SHA‑1 which are deprecated. Question 6. When performing static analysis, a high‑entropy section with no imports most likely indicates: A) An encrypted payload or packer B) A benign resource file
A) .data B) .bss C) .text D) .rodata Answer: C Explanation: The .text segment holds executable code, and its start address is used as the entry point. Question 10. Which tool is primarily used to capture live network traffic from a malware sandbox? A) ProcMon B) Wireshark C) IDA Pro D) RegShot Answer: B Explanation: Wireshark captures and analyzes packets on the network interface in real time. Question 11. What does the Windows API IsDebuggerPresent return when a debugger is attached? A) FALSE B) TRUE C) NULL D) 0xDEADBEEF Answer: B Explanation: IsDebuggerPresent returns a non‑zero value (TRUE) if the calling process is being debugged.
Question 12. Which of the following is a typical indicator of a downloader Trojan? A) Immediate encryption of user files B) Network request to retrieve a second-stage payload C) Creation of a kernel driver D) Modification of the MBR Answer: B Explanation: Downloaders first contact a C2 server to fetch additional malicious components. Question 13. Which calling convention cleans the stack by the callee? A) cdecl B) stdcall C) fastcall D) thiscall Answer: B Explanation: In stdcall, the called function removes the arguments from the stack before returning. Question 14. Which of these is a legitimate reason to use a “sandbox” environment in malware analysis? A) To execute malware on production servers safely B) To observe malicious behavior without affecting the analyst’s host C) To permanently install ransomware for testing D) To hide malware from all network monitoring tools Answer: B
D) Signing the executable with a valid certificate Answer: C Explanation: Packing compresses and encrypts the binary, making static signatures harder to generate. Question 18. Which of these tools can be used to generate a control flow graph (CFG) from a PE binary? A) RegRipper B) Ghidra C) Process Explorer D) Netcat Answer: B Explanation: Ghidra can analyze binaries and produce CFGs for functions. Question 19. Which registry hive is typically modified by malware to achieve persistence across reboots for all users? A) HKEY_CURRENT_USER B) HKEY_USERS C) HKEY_LOCAL_MACHINE D) HKEY_CLASSES_ROOT Answer: C Explanation: HKEY_LOCAL_MACHINE affects the entire system and is commonly used for global persistence. Question 20. Which technique allows malware to detect that it is running inside a virtual machine?
A) Checking the BIOS vendor string for “VirtualBox” B) Reading the system time with GetSystemTime C) Querying the user’s desktop wallpaper D) Enumerating USB devices only Answer: A Explanation: VM hypervisors often leave identifiable strings in the BIOS or hardware identifiers. Question 21. What is the purpose of the Import Address Table (IAT) in a PE file? A) Store encrypted payloads B) List the addresses of imported functions at load time C) Define custom resource sections D) Hold digital signatures Answer: B Explanation: The IAT is filled by the loader with the actual addresses of imported APIs. Question 22. Which of the following is a typical sign of process injection in dynamic analysis logs? A) A new service creation B) A DLL being loaded into a foreign process’s address space C) Creation of a scheduled task D) Modification of the hosts file Answer: B Explanation: Process injection involves inserting malicious code into another process, often via DLL injection.
Explanation: DGAs compute pseudo‑random domain names, often changing daily, to evade blacklisting. Question 26. Which Windows API can be used by malware to create a new registry key for persistence? A) RegOpenKeyEx B) RegSetValueEx C) RegCreateKeyEx D) RegDeleteKey Answer: C Explanation: RegCreateKeyEx creates a new key, which can be used to store Run entries. Question 27. Which of the following file formats is NOT natively executable on Windows? A) PE B) ELF C) EXE D) DLL Answer: B Explanation: ELF is the executable format for Linux/Unix systems, not Windows. Question 28. What does the “-s” switch do in the “file” command when analyzing a sample? A) Show the file’s size B) Suppress error messages C) Follow symbolic links D) Display a brief description of the file type
Answer: D Explanation: The “-s” option provides a short description of the detected file type. Question 29. Which technique is commonly used by ransomware to ensure the encrypted files cannot be recovered without the key? A) Using a reversible XOR cipher B) Encrypting with a fixed, public key C) Generating a random symmetric key per victim and encrypting it with an RSA public key D) Compressing files with ZIP Answer: C Explanation: Per‑victim symmetric keys encrypted with an attacker’s RSA public key prevent decryption without the private key. Question 30. Which of the following is a legitimate use of the Windows API VirtualAllocEx in benign software? A) To allocate memory in a remote process for DLL injection B) To allocate memory within the calling process’s address space C) To change file permissions on disk D) To query the system’s CPU temperature Answer: B Explanation: VirtualAllocEx can allocate memory in the current process; malware often abuses it for remote injection, but it is also used legitimately. Question 31. Which of the following is a typical artifact left by a rootkit in the kernel? A) Modified Service Control Manager entries only B) Hidden device drivers loaded via the Service Registry
A) Presence of the “.rdata” section only B) Import of __security_cookie and __imp__CrtDbgReport C) Use of the “_start” symbol as entry point D) Absence of any import table Answer: B Explanation: Visual C++ adds runtime support functions like __security_cookie and CRT debug functions. Question 35. Which of the following is a common anti‑analysis technique that checks for the presence of a debugger by measuring execution time? A) Using GetTickCount before and after a Sleep call B) Querying the Process Environment Block (PEB) flag C) Reading the “BeingDebugged” byte in the PEB D) Attempting to write to a protected memory region Answer: A Explanation: Timing discrepancies caused by debugger stepping can be detected using GetTickCount or similar timers. Question 36. Which of the following best describes “DLL side‑loading”? A) Loading a malicious DLL from the system directory by name collision B) Overwriting a legitimate DLL with a malicious one on disk C) Using SetWindowsHookEx to inject code into another process D) Registering a COM object that loads a malicious DLL Answer: A Explanation: Side‑loading exploits the DLL search order to load a malicious DLL that shares the name of a legitimate one.
Question 37. Which of the following is a primary advantage of using YARA over Snort for host‑based malware detection? A) YARA can inspect network packets directly B) YARA supports complex string and binary pattern matching on files C) Snort can generate hashes of files automatically D) YARA is limited to Windows environments only Answer: B Explanation: YARA is designed for file‑based pattern matching, while Snort focuses on network traffic. Question 38. Which of the following cryptographic primitives is most likely to be found in a ransomware’s encryption routine? A) MD5 hash for key derivation B) RSA‑1024 for encrypting the symmetric key C) DES for bulk file encryption D) SHA‑1 for integrity verification only Answer: B Explanation: RSA (often 2048‑bit, but older families use 1024‑bit) encrypts the per‑victim symmetric key. Question 39. Which of the following is a typical indicator that a malware sample uses a custom packer rather than a known packer like UPX? A) Presence of the string “UPX0” in the binary B) The PE header shows a valid checksum C) The file’s entropy is high, but the import table contains only a few Windows API calls
C) Using a debugger to step through the code line by line D) Capturing network traffic to decode encrypted payloads Answer: B Explanation: Static deobfuscation involves reverse‑engineering the obfuscation techniques without executing the sample. Question 43. Which of the following is a common method for a malware sample to evade detection by Windows Defender’s real‑time protection? A) Signing the binary with a valid Microsoft code signing certificate B) Using only benign API calls C) Renaming the executable to “svchost.exe” and placing it in System D) Disabling the Windows Firewall via netsh Answer: C Explanation: Masquerading as a legitimate system process helps bypass casual user scrutiny and some AV heuristics. Question 44. Which of the following tools can be used to automatically generate YARA rules from a set of malware samples? A) yara-gen B) radare C) RegRipper D) Process Hacker Answer: A Explanation: yara-gen (or similar utilities) can create YARA signatures based on common strings and byte patterns.
Question 45. Which of the following is a typical indicator that a malware family uses a peer‑to‑peer (P2P) command and control architecture? A) Fixed hard‑coded IP address in the binary B) Frequent DNS queries for a single domain name C) Randomized connections to multiple peers on non‑standard ports D) Use of HTTP GET requests only Answer: C Explanation: P2P C2 involves connecting to many random peers, often on obscure ports. Question 46. Which of the following Windows APIs can be used by malware to manipulate the system’s time for anti‑analysis purposes? A) SetSystemTime B) GetSystemInfo C) GetTickCount D) SleepEx Answer: A Explanation: SetSystemTime changes the OS clock, potentially confusing time‑based detection mechanisms. Question 47. Which of the following is the most appropriate method for extracting embedded resources from a PE file? A) Using the “strings” command only B) Parsing the .rsrc section with Resource Hacker or pefile library C) Opening the file in Notepad D) Running the binary and capturing stdout Answer: B
C) Process Explorer D) RegRipper Answer: A Explanation: Volatility’s drivers plugin enumerates kernel drivers from a memory image. Question 51. Which of the following is a typical sign that a malware sample is using “process hollowing”? A) Creation of a new service that points to a malicious binary B) A legitimate process is started, its memory is unmapped, and malicious code is written into it C) Direct modification of the MBR sector D) Use of the Windows Registry to store encrypted data Answer: B Explanation: Process hollowing starts a benign process, then replaces its code with malicious payload. Question 52. Which of the following is a primary reason for using “host‑only” networking in a sandbox? A) To allow the malware to reach the internet for C2 communication B) To isolate the VM while still permitting communication with the host for analysis tools C) To share the host’s IP address with the VM D) To enable bridging to the corporate network automatically Answer: B Explanation: Host‑only provides isolation from external networks while allowing the analyst’s tools on the host to interact with the VM. Question 53. Which of the following is a typical feature of a “bootkit”?
A) It runs only after user login. B) It modifies the Master Boot Record (MBR) or EFI partition to execute before the OS loads. C) It uses only user‑mode APIs. D) It stores its payload in the %APPDATA% folder. Answer: B Explanation: Bootkits infect the boot process to gain control before the operating system starts. Question 54. Which of the following is an effective way to detect a malware’s attempt to disable Windows Defender? A) Monitoring for calls to SetProcessMitigationPolicy B) Watching for registry modifications under HKLM\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection\DisableAntiSpyware C) Checking for new services named “DefenderService” D) Observing changes to the system’s wallpaper Answer: B Explanation: Disabling real‑time protection is often done by setting the “DisableAntiSpyware” registry value. Question 55. Which of the following is a common method for malware to hide its strings from static analysis? A) Storing them in plain text within the .data section B) Encoding them using Base64 and decoding at runtime C) Using Unicode literals only D) Placing them in the PE header Answer: B