
GIAC Exploit Researcher and Advanced Penetration Tester
Domain 1Objective 3
Return Oriented Stack-Based Exploits GXPN Practice Questions (Page 5)
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 21–25
- 21
A tester is exploiting a 64-bit binary with NX enabled and full ASLR. The binary has a stack overflow and a function that prints a libc address. The tester wants to call system('/bin/sh'). Which approach is most efficient?
Select an answer first - 22
What is the purpose of a 'ret' gadget placed at the beginning of a ROP chain on x86-64?
Select an answer first - 23
A tester is exploiting a 64-bit binary with NX and ASLR enabled. The binary has a stack overflow and a function that leaks a libc address. The tester wants to call execve('/bin/sh', NULL, NULL). Which ROP chain is most appropriate?
Select an answer first - 24
What is the primary challenge that ASLR poses to a ret2libc attack, and how is it commonly addressed?
Select an answer first - 25
During a penetration test, you find a stack buffer overflow in a 32-bit Linux binary compiled with NX enabled and ASLR active. The binary imports system() and has a writable .bss section. You plan to use a ret2libc chain. What is the most reliable way to pass the command string to system() given ASLR?
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.