Class 03 · KP 15 / 21
Why This Matters for Malware Analysis
- Recognizing functions: the prologue/epilogue pattern marks function boundaries in stripped binaries.
- Recovering locals and args:
[rbp-x] and register arguments reveal a function's data even without symbols. - Backtraces: understanding the frame chain lets you reconstruct how execution reached a suspicious call.
- Anti-analysis tricks: malware may abuse the stack (fake frames, stack pivots,
call/ret obfuscation) to confuse disassemblers. - Unpacking: tail jumps and returns into freshly written memory show up as stack manipulation.