Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
GIAC (SANS) logo

GIAC Exploit Researcher and Advanced Penetration Tester

Domain 1Objective 1

Linux Execution, Memory, and Shellcode Foundations 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 35 practice questions to prepare you well beyond it. (estimate)

35questions here
7free pages
9concepts

Questions 11–15

  1. 11foundation · easy

    On x86-64, which instruction is commonly used in position-independent shellcode to obtain the current instruction pointer?

    Select an answer first
  2. 12foundation · easy

    Which two segments in a Linux process memory layout are typically adjacent and both used for global and static variables, with one holding initialized data and the other holding uninitialized data?

    Select an answer first
  3. 13expert · hard

    You are developing shellcode for a Linux x86-64 target that has a filter rejecting bytes outside the range 0x00–0x7F (ASCII). Your shellcode contains a byte 0x80, which is rejected. You decide to XOR-encode the shellcode with a single-byte key. Which key would you choose to ensure that the encoded payload contains no bytes above 0x7F?

    Select an answer first
  4. 14expert · hard

    You are testing a Linux binary that has ASLR enabled but NX disabled. You have a stack buffer overflow and can control the return address. The binary is not PIE. What is the most reliable exploitation strategy?

    Select an answer first
  5. 15application · medium

    You have written x86-64 shellcode that spawns a shell, but it contains null bytes that are filtered by the target application. You decide to XOR-encode the shellcode with a key. After encoding, you notice the encoded payload still contains null bytes. What should you do?

    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.