Start free

Browse › Linux x64 Binary Exploitation

Linux x64 Binary Exploitation with ASLR and PIE

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

The final two exploit mitigation techniques that we will discuss deal with the randomization of the executable.

  • In the labs up to this point, we knew ahead of time where certain things would be located.
  • The exception to that was the stack, which could be somewhat unpredictable simply because you may not know the internal state of the program and thus not know how many frames are present on the stack.
  • The techniques of Address Space Layout Randomization and Position Independent Executable are both related to mixing things up in the executable, so that nothing is in a predictable place.
  • Also, since we are dealing with 64 bit executables, the amount of space available is huge and so trying to defeat this by guessing is infeasible.
  • ⏱ About 3 h