We will be looking at Buffer Overflows in the lab.

 

Setup

Make sure you have all tooling installed.

 

Demo

In lab 2, your tutor will work through this challenge with you.

 

Prac

You will be working on this challenge in groups.

Try to solve the challenges without viewing the source at first. If you get stuck view the source.

 

Challenge 1

Get the binary above to print “WINNNER WINNER CHICKEN DINNER” by “guessing” the random number.

 

Challenge 2

Pop a shell in the binary above :).