CSE 466 - Fall 2026

Program Security

In the realm of cybersecurity, your journey mirrors that of a martial artist mastering the art of defense and attack. The “Program Security” module is where you will train in the ancient techniques of shellcoding and memory corruption. Like a skilled martial artist wielding precise strikes, you will learn to craft shellcode that slips past defenses with the agility of a shadow. You will also study memory corruption vulnerabilities, discovering how to exploit pinpoint weaknesses with the precision of a pressure point strike.

39 challenges

Shellcoding Resources

Shellcode Injection: Introduction

Shellcode Injection: Common Challenges

Shellcode Injection: Data Execution Prevention

Shellcoding Tips and Tricks

Further Reading

Lots of external resources are referred to in the module videos. Additionally, the following reading material is useful:

Shellcoding challenges

CHALLENGE 01

Ello Ackers

— solves

Write and execute shellcode to read the flag, but your inputted data is filtered before execution.

CHALLENGE 02

Syscall Smuggler

— solves

Write and execute shellcode to read the flag, but the inputted data cannot contain any form of system call bytes (syscall, sysenter, int), can you defeat this?

CHALLENGE 03

Syscall Shenanigans

— solves

Write and execute shellcode to read the flag, but the inputted data cannot contain any form of system call bytes (syscall, sysenter, int), this challenge adds an extra layer of difficulty!

CHALLENGE 04

Byte Budget

— solves

Write and execute shellcode to read the flag, but you only get 18 bytes.

CHALLENGE 05

Clobbercode

— solves

Write and execute shellcode to read the flag, but your input has data inserted into it before being executed.

CHALLENGE 06

Diverse Delivery

— solves

Write and execute shellcode to read the flag, but every byte in your input must be unique.

CHALLENGE 07

Pocket Payload

— solves

Write and execute shellcode to read the flag, but this time you only get 12 bytes!

CHALLENGE 08

Micro Menace

— solves

Write and execute shellcode to read the flag, but this time you only get 6 bytes :)

Memory Corruption Resources

Memory Errors: Introduction

Memory Errors: High-level Problems

Memory Errors: Smashing the Stack

Memory Errors: Causes of Corruption 1

Memory Errors: Causes of Corruption 2

Memory Errors: Stack Canaries

Memory Errors: ASLR

Memory Errors: Causes of Disclosure

Memory Errors: Tips and Tricks

Memory Errors: The Global Offset Table

Further Reading

Memory Corruption Challenges

CHALLENGE 09

Login Leakage Easy

— solves

Leverage memory corruption to satisfy a simple constraint

CHALLENGE 10

Login Leakage Hard

— solves

Leverage memory corruption to satisfy a simple constraint

CHALLENGE 11

Bounds Breaker Easy

— solves

Overflow a buffer and smash the stack to obtain the flag, but this time bypass a check designed to prevent you from doing so!

CHALLENGE 12

Bounds Breaker Hard

— solves

Overflow a buffer and smash the stack to obtain the flag, but this time bypass a check designed to prevent you from doing so!

CHALLENGE 13

Casting Catastrophy Easy

— solves

Overflow a buffer and smash the stack to obtain the flag, but this time bypass another check designed to prevent you from doing so!

CHALLENGE 14

Casting Catastrophy Hard

— solves

Overflow a buffer and smash the stack to obtain the flag, but this time bypass another check designed to prevent you from doing so!

CHALLENGE 15

Pointer Problems Easy

— solves

Leverage memory corruption to leak the flag.

CHALLENGE 16

Pointer Problems Hard

— solves

Leverage memory corruption to leak the flag.

CHALLENGE 17

Anomalous Array Easy

— solves

Leverage an Array to obtain the flag.

CHALLENGE 18

Anomalous Array Hard

— solves

Leverage an Array to obtain the flag.

CHALLENGE 19

Now You Got It Easy

— solves

Leverage an Array to obtain the flag.

CHALLENGE 20

Now You Got It Hard

— solves

Leverage an Array to obtain the flag.

CHALLENGE 21

Loop Lunacy Easy

— solves

Overflow a buffer and smash the stack to obtain the flag, but this time in a PIE binary with a stack canary. Be warned, this requires careful and clever payload construction!

CHALLENGE 22

Loop Lunacy Hard

— solves

Overflow a buffer and smash the stack to obtain the flag, but this time in a PIE binary with a stack canary. Be warned, this requires careful and clever payload construction!

CHALLENGE 23

Nosy Neighbor Easy

— solves

Overflow a buffer and leak the flag. Be warned, this requires careful and clever payload construction!

CHALLENGE 24

Nosy Neighbor Hard

— solves

Overflow a buffer and leak the flag. Be warned, this requires careful and clever payload construction!

CHALLENGE 25

Recursive Ruin Easy

— solves

Defeat a stack canary in a PIE binary by utilizing a bug left in the binary.

CHALLENGE 26

Recursive Ruin Hard

— solves

Defeat a stack canary in a PIE binary by utilizing a bug left in the binary.

CHALLENGE 27

Lingering Leftover Easy

— solves

Leak data left behind unintentionally by utilizing clever payload construction.

CHALLENGE 28

Lingering Leftover Hard

— solves

Leak data left behind unintentionally by utilizing clever payload construction.

CHALLENGE 29

Latent Leak Easy

— solves

Leak data left behind unintentionally to defeat a stack canary in a PIE binary.

CHALLENGE 30

Latent Leak Hard

— solves

Leak data left behind unintentionally to defeat a stack canary in a PIE binary.

CHALLENGE 31

Fork Foolery Easy

— solves

Defeat a stack canary in a PIE binary by utilizing a network-style fork server in the target binary.

CHALLENGE 32

Fork Foolery Hard

— solves

Defeat a stack canary in a PIE binary by utilizing a network-style fork server in the target binary.

Complex Corruption

Complex Corruption

Exploitation begins at the intersection of two core ideas: corrupting program memory and gaining control-flow. Memory corruption provides the foothold, allowing control over a program’s execution by overwriting critical data such as return addresses or other valuable pointers. Shellcode provides the payload, a carefully crafted sequence of instructions designed to carry out specific actions once execution is redirected. When combined, these concepts illustrate the foundation of software exploitation: not just crashing a program, but deliberately shaping its behavior to execute attacker-controlled code.

Complex Corruption Class Stream

Memory Corruption Class Streams

Follow along with a live class with the same demo the instructor used.

Complex Corruption Challenges

CHALLENGE 33

Canary Conundrum Easy

— solves

Write a full exploit involving injecting shellcode and a method of tricking the challenge into executing it by utilizing clever payload construction.

CHALLENGE 34

Canary Conundrum Hard

— solves

Write a full exploit involving injecting shellcode and a method of tricking the challenge into executing it by utilizing clever payload construction.

CHALLENGE 35

Crafty Clobber Easy

— solves

Write a full exploit involving injecting shellcode, and a method of tricking the challenge into executing your payload.

CHALLENGE 36

Crafty Clobber Hard

— solves

Write a full exploit involving injecting shellcode, and a method of tricking the challenge into executing your payload.

CHALLENGE 37

Can It Fizz

— solves

Exploit the binary to obtain the flag!

CHALLENGE 38

Does It Buzz

— solves

Exploit the binary to obtain the flag!

CHALLENGE 39

Make It Fizzbuzz

— solves

Exploit the binary to obtain the flag!