Training 2016 - Windows Kernel Exploitation
From BruCON 2016
Contents
Windows Kernel Exploitation
Course Description
This training is focused on exploitation of different Windows Kernel Mode vulnerabilities ranging from Pool Overflow to Use after Free. We will cover basics of Windows Kernel Internals and hands-on fuzzing of Windows Kernel Mode drivers. We will dive deep into exploit development of various kernel mode vulnerabilities. We will also look into different vulnerabilities in terms of code and the mitigations applied to fix the respective vulnerabilities.
Upon completion of this training, participants will be able to:
- Learn basics of Windows Internals
- Understand how to fuzz Windows Kernel mode drivers to find vulnerabilities
- Learn the exploit development process in Kernel mode
- Understand how a vulnerability looks like in driver code
- Understand how a vulnerability can be mitigated
Course contents
- Windows Kernel Debugging
- Setup Kernel Debugging
- Setup Debugging Symbols
- WinDbg-Fu
- Windows Internals
- Windows NT Architecture
- Executive
- Kernel
- Hardware Abstraction Layer (HAL)
- Privilege Rings
- Key Data Structures
- Memory Management
- Virtual Address Space
- Kernel Stack
- Memory Pool
- Pool Allocator
- Why to Attack Kernel?
- User Mode vs Privileged Mode
- User Mode Exploit Mitigations
- Windows Driver Basics
- I/O Request Packet (IRP)
- I/O Control Code (IOCTL)
- Data Buffering
- Fuzzing Windows Kernel
- IOCTL Fuzzing
- Exploitation
- Pool Overflow
- Use after Free
- Arbitrary Overwrite
- Use of Uninitialized Variable (Stack & Heap)
- Kernel Payload
- Escalation of Privilege Payload
- Kernel Recovery
- Miscellaneous
- Q/A and Feedback
Target audience
This course is intended for :
- Information Security Professionals
- Anyone with an interest in understanding Windows Kernel exploitation
- Ethical Hackers and Penetration Testers looking to upgrade their skill-set to the kernel level
Hardware/software Requirements
Trainer Biography
Prateek Gianchandani, an OWASP member and contributor has been working in the infosec industry for about 5 years. During his five years, he has performed a number of penetration tests on mobile and web applications and even developed a lot of applications for the App Store. His core focus area is iOS application pentesting and exploitation. He is also the author of the open source vulnerable application named Damn Vulnerable iOS app. He has presented and trained at Conferences like Defcon, Blackhat USA, Brucon, Hack in paris, Phdays etc.
Links :
Mon. 24 - 26 October 2016 (09:00 - 17:00) (3-day)