
GIAC Reverse Engineering Malware
Domain 2Objective 3
Malware Flow Control and Structures GREM Practice Questions (Page 7)
Part of the Core Reverse Engineering Concepts domain, which makes up ~15% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 180-minute exam (~70–120 total, ~11–18 in this domain), expect 4–6 from this objective — we provide 41 practice questions to prepare you well beyond it. (estimate)
41questions here
9free pages
10concepts
Questions 31–35
- 31
You are analyzing a function in a 32-bit malware binary. The function begins with `push ebp; mov ebp, esp` and ends with `pop ebp; ret 8`. The caller passes two arguments on the stack. Based on the epilogue, what is the calling convention, and how many bytes of arguments does the callee clean up?
Select an answer first - 32
Which assembly pattern is typical of a for loop that iterates a fixed number of times?
Select an answer first - 33
In the cdecl calling convention, who is responsible for cleaning up the stack after a function call?
Select an answer first - 34
Which calling convention passes the first two arguments in the ECX and EDX registers on 32-bit x86 systems?
Select an answer first - 35
A malware sample registers an exception handler that, when triggered, calls a function that decrypts a second-stage payload. Static analysis shows the handler is registered via a chain of SEH records, but the handler address is only written to the FS:[0] chain at runtime after an anti-debugging check passes. You need to determine the actual handler address for further analysis. Which approach is most reliable?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GIAC (SANS). “GREM” is a trademark of its owner, used for identification only.