March 2022
Intermediate to advanced
752 pages
18h 47m
English
In this chapter, we cover the following topics:
• Return-to-user (ret2usr)
• Defeating Stack Canaries
• Bypassing Supervisor Mode Execution Protection (SMEP) and Kernel Page-Table Isolation (KPTI)
• Bypassing Supervisor Mode Access Prevention (SMAP)
• Defeating kernel address space layout randomization (KASLR)
The Linux kernel offers an enormous opportunity for exploitation. Despite it being a bit intimidating, the exploitation principles remain the same as user-space memory corruption bugs and its unconstrained access to memory and other resources provide attackers with unlimited power over affected systems. The vulnerable code and security bugs can be found on kernel modules, drivers, system calls, ...
Read now
Unlock full access