
GIAC Exploit Researcher and Advanced Penetration Tester
Domain 1Objective 3
Return Oriented Stack-Based Exploits GXPN Practice Questions (Page 3)
Part of the Exploitation Foundations and Memory Corruption domain, which makes up ~26% of our current practice bank. GIAC (SANS) does not publish an official question count, but from its 180-minute exam (~70–120 total, ~18–31 in this domain), expect 5–8 from this objective — we provide 29 practice questions to prepare you well beyond it. (estimate)
29questions here
6free pages
6concepts
Questions 11–15
- 11
In return-oriented programming, what is the fundamental purpose of a 'gadget'?
Select an answer first - 12
You are developing a ROP exploit for a 64-bit binary with NX and ASLR enabled. You have a stack overflow and a libc leak. You need to call execve("/bin/sh", NULL, NULL). You have found `pop rdi; ret`, `pop rsi; ret`, and `pop rdx; ret` gadgets. However, the binary crashes when you run the chain. What is the most likely cause?
Select an answer first - 13
You are building a ROP chain and need to call a function that requires stack alignment to 16 bytes before the call. You have a `ret` gadget and a `pop rdi; ret` gadget. What should you do?
Select an answer first - 14
You are analyzing a 32-bit binary with ROPgadget and need to call a function with two arguments. You have found `pop; pop; ret` and `pop; ret` gadgets. Which gadget should you use to set up the arguments for a cdecl function call?
Select an answer first - 15
You are analyzing a binary with ROPgadget and need to find a gadget that can move a value from the stack into the rdx register. Which of the following gadget patterns would you search for?
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). “GXPN” is a trademark of its owner, used for identification only.