ExamDumpster

Free GXPN sample questions

Below are free GXPN sample questions with worked answers and explanations. They cover ROP chains, Windows heap overflows and fuzzing. Use them to see which exploit techniques you have mastered.

Try them in the simulator Same questions, with study, timed and flashcard modes.

Showing 10 of 20 free sample questions.

Question 1Choose one

You are writing x64 shellcode for a Linux exploit. The input buffer is processed by a `strcpy` function, which terminates on a null byte (`0x00`). You need to set the `rax` register to value 59 (execve syscall) without introducing null bytes. Which assembly instruction sequence achieves this most efficiently while avoiding null bytes?

Question 2Choose one

In a standard Linux process memory layout on x86 architecture, towards which direction does the Stack grow and towards which direction does the Heap grow?

Question 3Choose one

Case Study: You are conducting a penetration test on an IPv6-enabled internal network. You notice that hosts are configuring their addresses using Stateless Address Autoconfiguration (SLAAC). You decide to perform a Man-in-the-Middle (MITM) attack by advertising yourself as a rogue router. Which specific ICMPv6 message type must you craft and broadcast to the local segment to convince clients to route traffic through your machine?

Question 4Choose one

When performing an ARP Cache Poisoning attack using a tool like `arpspoof` or `ettercap`, why is it critical to enable IP forwarding on the attacker's machine?

Question 5Choose one

A Padding Oracle attack against CBC mode encryption relies on the server leaking information about whether a decrypted ciphertext has valid PKCS#7 padding. If you modify the last byte of the second-to-last ciphertext block ($C_{N-1}$) and send it to the oracle, what information are you attempting to deduce about the last block ($C_N$)?

Question 6Choose one

Which cryptographic vulnerability allows an attacker to append data to a message and generate a valid new signature/hash without knowing the secret key, provided the hashing algorithm (like MD5 or SHA-1) uses the Merkle-Damgård construction?

Question 7Choose one

You are writing a Python script using the Scapy library to fuzz a proprietary TCP protocol. You want to send a packet with a randomized TCP Sequence Number. Which Scapy syntax correctly generates a TCP packet with a random sequence number between 1000 and 5000 sent to IP 192.168.1.50?

Question 8Choose one

You are developing a Python script to interact with the Windows API to allocate memory and execute shellcode. Which standard Python library allows you to load DLLs (like `kernel32.dll`) and call C data types and functions directly?

Question 9Choose one

In the context of the Sulley or Boofuzz fuzzing frameworks, what is the primary purpose of defining a `s_block_start` and `s_block_end` structure?

Question 10Choose one

Which of the following statements accurately describes the key difference between Generation-based and Mutation-based fuzzing?

10 more free samples are waiting

Create a free account to unlock the whole GXPN sample bank, or get full access to all 218 practice questions in the simulator.

Create account