Skip to main content

Settings

Color Mode

Theme Skin

Background

Appearance preferences are saved in this browser only.

Environment

Current Environment Production

Built with JEKYLL_ENV=production. Changes require deployment.

Quick Links

Theme & Build

Jekyll v3.10.0
Last BuildNov 24, 17:25

Page Location

Page Info

Layout default
Collection wargames
Path _wargames/drifter/drifter10.md
URL /wargames/drifter/drifter10/
Date 2026-04-07

Drifter Level 10

Drifter Level 10 — additional practice with a non-executable stack, relying on careful reverse engineering.

Table of Contents

Source: This content is aggregated from overthewire (MIT). Visit the original repository for the latest version.

If you’re not a pro at this stuff yet, here’s some additional practice. Beware of the nonexec stack. Go go power reverser.

Study guide

Where it fits: Drifter level 10 of 0–15, in the privileges and practice stage of the game. The page does not say which account you start as, so check with id after connecting.

What this level teaches

Exploiting a program when the stack is non-executable.

Key ideas

  • NX stack. Injected shellcode on the stack will not run.
  • Reuse existing code. Return-to-libc or ROP chains replace shellcode.
  • Power reversing. The page urges you to reverse the program thoroughly to find what you can reuse.

How to approach it

  1. Confirm the stack protection and locate the vulnerability.
  2. Identify useful functions and gadgets.
  3. Build and test the chain in gdb.

Why it matters

Practice with non-executable memory is practice with the modern default.