Advanced exploitation techniques, reverse engineering and malware analysis concepts!
1. What is "dynamic analysis" of malware?
💡 Dynamic analysis runs malware in a controlled sandbox to observe real-time behavior — network connections, file operations, registry changes.
2. What is "hooking" in malware?
💡 Hooking intercepts calls to OS APIs or functions, allowing malware to monitor activity, hide itself, or modify behavior of legitimate processes.
3. What is "process hollowing"?
💡 Process hollowing spawns a legitimate process, unmaps its code, injects malware code, then resumes execution — the malware runs under a trusted process name.
4. What is "ASLR" and what does it protect against?
💡 ASLR randomizes the base addresses of executables, stack, heap, and libraries, making it difficult for attackers to predict where payloads will land.
5. What is a "NOP sled" in exploitation?
💡 A NOP sled is a sequence of no-op instructions that slides execution into shellcode, compensating for imprecise address guessing in exploits.
6. What is "polymorphic shellcode"?
💡 Polymorphic shellcode changes its appearance through encryption or transformation each time while preserving its malicious functionality.
7. What is "shellcode"?
💡 Shellcode is compact machine code injected into vulnerable processes during exploitation, typically spawning a command shell or establishing a backdoor.
8. What is "format string vulnerability"?
💡 Format string vulnerabilities occur when user input is used as a printf format string, allowing attackers to read or write arbitrary memory.
9. What is "credential dumping"?
💡 Credential dumping extracts hashes or plain-text credentials from LSASS memory, SAM database, or password managers on compromised systems.
10. What is "obfuscation" in malware?
💡 Malware obfuscation disguises code through encoding, encryption, or transformation to evade static analysis and signature-based detection.
11. What is "anti-debugging" in malware?
💡 Anti-debugging techniques detect analysis environments (IsDebuggerPresent, timing checks) and alter behavior to evade security researchers.
12. What is a "sandbox" in malware analysis?
💡 A sandbox is an isolated, monitored environment where malware can run safely to observe its behaviour without affecting real systems.
13. What is "binary diffing"?
💡 Binary diffing compares different versions of binaries to identify what changed — security researchers use it to find patched vulnerabilities before patch application.
14. What is "DEP/NX" in exploit mitigation?
💡 DEP (Data Execution Prevention) / NX bit marks memory regions like the stack as non-executable, preventing injected shellcode from running.
15. What is "heap spraying"?
💡 Heap spraying fills large areas of heap memory with shellcode, making it more likely that a control flow hijack lands in malicious code.
16. What is "fuzzing" in security testing?
💡 Fuzzing automatically generates random or malformed inputs to find crashes, memory corruption, and other vulnerabilities in applications.
17. What is "code signing"?
💡 Code signing uses digital signatures to verify that software comes from a known publisher and has not been tampered with since signing.
18. What is "memory forensics"?
💡 Memory forensics examines RAM dumps to find evidence of malware, running processes, encryption keys, and attacker activity invisible to disk forensics.
19. What is "use-after-free" vulnerability?
💡 Use-after-free occurs when code accesses freed memory — if an attacker controls reallocated memory, they may gain code execution.
20. What is "supply chain attack"?
💡 Supply chain attacks compromise software/hardware before it reaches users — SolarWinds and XZ Utils are major recent examples.