On This Page

Exploit Laboratory: Black Belt

Saumil Shah | August 1-2



Overview

The Exploit Laboratory: Black Belt is an intense 2 day course carefully crafted to provide students a practical hands-on approach to exploiting modern day operating systems. The focus of the class is to bring participants up to speed on the complexities of exploit writing required for defeating modern exploit mitigation techniques.

The class begins with an introduction to browser and PDF exploits and moves quickly onto defeating exploit mitigation techniques like DEP and ASLR. Topics covered in the class include stack overflows, vtable pointer overwrites, advanced heap spraying, Return Oriented Programming (ROP) and Use-After-Free (UAF) bugs.

We end the class with a mini "Capture The Flag" contest where you shall put your newly acquired exploit writing skills to test in a near-real-world environment.

As with the popular Exploit Laboratory, all topics are delivered in a down-to-earth, learn-by-example methodology. The same trainers who brought you The Exploit Laboratory for over 10 years have been working hard in putting together advanced material based on past feedback.

NOTE: THIS CLASS CAN BE COMBINED WITH "THE EXPLOIT LABORATORY: MASTER" (https://www.blackhat.com/us-15/training/expoit-laboratory-master.html) AS A 4 DAY COURSE.

LEARNING OBJECTIVES
-------------------

  • Memory Corruption Bugs - past and present
  • Quick refresher on Stack Overflows for Linux and Windows
  • Introduction to Browser Exploits
  • Spraying the Heap for fun and profit
  • Introduction to Exploit Mitigation Techniques
  • Defeating Exploit Mitigation Techniques
  • Introduction to Return Oriented Programming
  • Defeating DEP using ROP
  • Practical ROP Exploits on Windows
  • Abusing Objects in memory - vftable overwrites
  • Use-After-Free bugs - Advanced Browser and PDF exploits
  • ROP techniques for Use-After-Free exploits
  • Extra hands-on practice for Use-After-Free exploits

DAILY CLASS OUTLINE:
--------------------

Day 1
  • Memory Corruption Bugs - past and present
  • Quick refresher on Stack Overflows
  • Browser Exploits and heap spraying
  • Defeating Exploit Mitigation Techniques
  • Introduction to Return Oriented Programming
  • Defeating DEP using ROP
  • Practical ROP Exploits

Day 2
  • Abusing Objects in memory - vftable overwrites
  • Use-After-Free bugs - Advanced Browser and PDF exploits
  • ROP techniques for Use-After-Free exploits
  • CAPTURE-THE-FLAG

Who Should Take this Course

  • Red Team members, who want to pen-test custom binaries and exploit custom built applications.
  • Bug Hunters, who want to write exploits for all the crashes they find.
  • Members of military or government cyberwarfare units.
  • Members of reverse engineering research teams.
  • Pen-testers, Security analysts, Security auditors, who want to take their skills to the next level and write their own exploits instead of borrowing them.
  • People frustrated at software to the point they want to break it!

Student Requirements

  • A clear understanding of CPU registers, stack memory and stack overflows.
  • A clear understanding of how Functions work in C.
  • Able to use a debugger such as GCC or WINDBG.
  • Working knowledge of operating systems, Win32 and Unix.
  • Not be allergic to command line tools.
  • Working knowledge of shell scripts, cmd scripts or Perl.
  • SKILL LEVEL: INTERMEDIATE/ADVANCED

TUTORIALS:
----------
The Exploit Laboratory: Black Belt edition is an advanced class. If your concepts are a bit rusty, we have prepared three tutorials that we HIGHLY recommend before coming to the class.

Operating Systems: A Primer
http://www.slideshare.net/saumilshah/operating-systems-a-primer

How Functions Work:
http://www.slideshare.net/saumilshah/how-functions-work-7776073

Introduction to Debuggers:
http://www.slideshare.net/saumilshah/introduction-to-debuggers

What Students Should Bring

HARDWARE REQUIREMENTS:
----------------------
  • A working laptop (no Netbooks, no Tablets, no iPads)
  • Intel Core 2 Duo x86/x64 hardware (or superior) required
  • 4GB RAM required, at a minimum, 8GB preferred, and anywhere in between shall be tolerated
  • Wireless network card * 20 GB minimum free Hard disk space
  • Working USB port (should not be DLP disabled!)

SOFTWARE REQUIREMENTS:
----------------------
  • Linux / Windows / Mac OS X desktop operating systems
  • VMWare Player / VMWare Workstation / VMWare Fusion

What Students Will Be Provided With

  • All target virtual machine images used in the class.
  • A well built attacker virtual machine loaded with all tools required for advanced exploit development.

Trainers

Saumil Shah, a veteran Black Hat instructor, is the founder and CEO of Net-Square, providing cutting edge information security services to clients aroudn the globe. Saumil is an internationally recognized speaker and instructor, having regularly presented at conferences like Black Hat, RSA, CanSecWest, 44CON, Hack.lu, Hack-In-The-Box, NoSuchCon, REcon and others. Saumil has been the co-developer of the wildly successful "Exploit Laboratory" courses that he teaches all over the world. He has also authored two books titled "Web Hacking: Attacks and Defense" and "The Anti-Virus Book". Saumil graduated with an M.S. in Computer Science from Purdue University, USA and a B.E. in Computer Engineering from Gujarat University. He spends his leisure time breaking software, flying kites, traveling around the world and taking pictures.