CSE 598 - Spring 2025

Exploitation Primitives

Prior modules introduced specific vulnerabilities or exploitation techniques that can be used to gain the ability to read, write, or influence control flow. These types of exploits can be categorized into exploitation primitives:

  • Arbitrary Read
  • Arbitrary Write
  • Arbitrary Call

This module explores how to create and leverage reusable exploitation primitives.

These primitives will need to be repeatedly used to "pivot" around memory. This "pivoting" can turn a pointer leak into almost any memory address a skilled hacker desires.

20 challenges

Advanced Exploitation: Introduction

Advanced Exploitation: Heap Address Disclosure via Race Conditions

Advanced Exploitation: In-Memory Forensics

Advanced Exploitation: Exploit Primitives

Advanced Exploitation: End-to-End Pwnage

Further Reading

CHALLENGE 01

level1.0

— solves

Create and use arbitrary read primitives to read from the .bss.

CHALLENGE 02

level1.1

— solves

Create and use arbitrary read primitives to read from the .bss.

CHALLENGE 03

level2.0

— solves

Create and use arbitrary read primitives to read from a thread's heap.

CHALLENGE 04

level2.1

— solves

Create and use arbitrary read primitives to read from a thread's heap.

CHALLENGE 05

level3.0

— solves

Create and use arbitrary read primitives to read from a thread's stack.

CHALLENGE 06

level3.1

— solves

Create and use arbitrary read primitives to read from a thread's stack.

CHALLENGE 07

level4.0

— solves

Create and use arbitrary read primitives to read from the .bss, now with PIE.

CHALLENGE 08

level4.1

— solves

Create and use arbitrary read primitives to read from the .bss, now with PIE.

CHALLENGE 09

level5.0

— solves

Create and use arbitrary read primitives to read from the environment.

CHALLENGE 10

level5.1

— solves

Create and use arbitrary read primitives to read from the environment.

CHALLENGE 11

level6.0

— solves

Create and use arbitrary read primitives to read from the main heap.

CHALLENGE 12

level6.1

— solves

Create and use arbitrary read primitives to read from the main heap.

CHALLENGE 13

level7.0

— solves

Create and use arbitrary read/write primitives to obtain the flag.

CHALLENGE 14

level7.1

— solves

Create and use arbitrary read/write primitives to obtain the flag.

CHALLENGE 15

level8.0

— solves

Create and use arbitrary read/write primitives to obtain the flag.

CHALLENGE 16

level8.1

— solves

Create and use arbitrary read/write primitives to obtain the flag.

CHALLENGE 17

level9.0

— solves

Create and use arbitrary read/write primitives with less control of the heap.

CHALLENGE 18

level9.1

— solves

Create and use arbitrary read/write primitives with less control of the heap.

CHALLENGE 19

level10.0

— solves

Create and use arbitrary read/write primitives with less control of the heap II.

CHALLENGE 20

level10.1

— solves

Create and use arbitrary read/write primitives with less control of the heap II.