
GIAC Exploit Researcher and Advanced Penetration Tester
Domain 1Objective 1
Linux Execution, Memory, and Shellcode Foundations GXPN Practice Questions (Page 2)
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 35 practice questions to prepare you well beyond it. (estimate)
35questions here
7free pages
9concepts
Questions 6–10
- 6
You are crafting an exploit for a 64-bit Linux binary and need to overwrite a 64-bit pointer on the stack. The target system is little-endian. You are sending the overwrite value byte-by-byte. In what order should you send the bytes of the pointer?
Select an answer first - 7
You are analyzing a 32-bit Linux binary that uses the cdecl calling convention. You have found a format string vulnerability that allows you to write to arbitrary memory. You want to overwrite the return address of a function to redirect execution. Where is the return address located relative to the stack pointer when the function is executing?
Select an answer first - 8
You are crafting shellcode for a Linux x86-64 target, but the application filters input and rejects any bytes that are null (0x00). Your shellcode contains the string /bin/sh, which includes a null terminator. How should you handle the null byte in the string to avoid detection?
Select an answer first - 9
During a penetration test, you have a buffer overflow in a Linux x86-64 application that allows you to redirect execution to a buffer you control. The application filters input and rejects any bytes that are not printable ASCII (0x20–0x7E). You need to execute a command like /bin/sh. What is the most appropriate technique to achieve code execution under these constraints?
Select an answer first - 10
You are crafting shellcode for a Linux x86-64 target. The application filters input and rejects any bytes that are not alphanumeric (0x30–0x39, 0x41–0x5A, 0x61–0x7A). You need to execute a command. Which approach is most appropriate to bypass this filter?
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.