Start free

Browse › Linux x64 Binary Exploitation

Linux x64 Binary Exploitation with Stack Canaries (Part 2)

Part of Linux x64 Binary Exploitation Topic: Cyber Security Labs

Access

Included in StationX Membership — unlimited attempts

🔒 StationX Membership — $299 / year ($24.92/mo billed annually)

Already have access? Sign in.

New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.

What you'll do

In this lab, we will continue our look at how stack canaries are used to prevent stack based buffer overflows and potential ways that they can be defeated.

  • We will be using gdb with the gef plugin to examine the binary and help develop the exploit.
  • We will then use python with pwntools to develop an exploit script.
  • In this part, we will examine how arbitrary memory reads and writes can be used to defeat canaries.
  • ⏱ About 2 h