Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Linux Heap Exploitation - Part 1
Bestseller
Highest Rated
Rating: 4.9 out of 5(905 ratings)
5,635 students

Linux Heap Exploitation - Part 1

Learn hands-on GLIBC heap exploitation with HeapLAB.
Created byMax Kamper
Last updated 7/2024
English

What you'll learn

  • Scripting exploits with pwntools
  • Introspecting the heap with pwndbg
  • The House of Force technique
  • The Fastbin Dup technique
  • The Unsafe Unlink technique
  • The Safe Unlink technique
  • The House of Orange technique
  • Using one-gadgets to drop a shell
  • Leveraging a single-byte heap overflow to drop a shell

Course content

9 sections22 lectures4h 51m total length
  • Welcome1:33

    Welcome to HeapLAB!

  • What is GLIBC?4:48

    Learn about the GNU C library, and how it's tied to Linux heap exploitation.

  • What is malloc?2:40

    Learn about "malloc", the memory allocator at the core of the GLIBC heap implementation.

  • Environment setup4:37

    In this video we set up our exploit development environment, it simply involves getting a VM started and installing a couple of tools.

Requirements

  • Familiarity with the Linux command line environment
  • Basic debugging skills
  • An x64 Linux VM or Host

Description

For nearly 20 years, exploiting memory allocators has been something of an art form. Become part of that legacy with HeapLAB.

The GNU C Library (GLIBC) is a fundamental part of most Linux desktop and many embedded distributions; its memory allocator is used in everything from starting threads to dealing with I/O. Learn how to leverage this vast attack surface via different heap exploitation techniques, from the original "Unsafe Unlink" to the beautiful overflow-to-shell "House of Orange".

In this hands-on course, students will alternate between learning new techniques and developing their own exploits based on what they've learned. We'll make use of the pwntools and pwndbg frameworks to drop shells from vulnerable practice binaries, and you'll take on challenges that test what you've learned.

Who this course is for:

  • Exploit developers
  • Capture The Flag (CTF) players
  • Those wishing to learn more about exploit dev than just stack buffer overflows
  • Anyone interested in weird machines