Weird-Machine Motivated Practical Page Table Shellcode
Shane Macaulay explores weird-machine motivated practical page table shellcode at DEF CON 22, examining uefi-security and practical defenses.
Summary
Architecture and Background
Weird-Machine Motivated Practical Page Table Shellcode & Finding Out What's Running on Your System Shane Macaulay DIRECTOR OF CLOUD SECURITY, IOACTIVE Windows7 & Server 2008R2 and earlier kernels contain significant executable regions available for abuse. These regions are great hiding places and more; e.g. Using PTE shellcode from ring3 to induce code into ring0.
Vulnerability Analysis
Hiding rootkits with encoded and decoded page table entries. Additional ranges/vectors, Kernel Shim Engine, ACPI/AML, boot-up resources & artifacts will also be shown to be useful for code gadgets. Understanding the state of affairs with the changes between Win7/8 and what exposures were closed and which may remain.
Exploitation and Demonstrations
APT threats abuse many of these areas to avoid inspection. By the end of this session will also show you how to walk a page table, why Windows8 makes life easier, what to look for and how to obtain a comprehensive understanding of what possible code is hiding/running on your computer. Final thoughts on using a VM memory snapshot to fully describe/understand any possible code running on a Windows system.
Remediation and Defensive Strategies
Shane “K2” Macaulay last DEF CON presentation was an offensive tool ADMmutate during DEF CON 9 but has more recently been focused on defensive techniques and helped develop an APT detection service ( used to protect Microsoft OS platforms. Shane has spent time finding ways to fully understand the state of system code to understand “What is actually running on your computer?” to aid in forensic analysis, incident response and enterprise protection capacities. Shane is currently employed by IOActive as Directory of Cloud Security and has presented at many previous security conferences/venues.
Related talks
Main Stage·43 min
XlogicX · chap0
XlogicX and chap0 explores abuse of blind automation in security tools at DEF CON 22, examining uefi-security and practical defenses.
Main Stage·45 min
Corey Kallenberg · Xeno Kovah
Corey Kallenberg and Xeno Kovah explores extreme privilege escalation on windows 8/uefi systems at DEF CON 22, examining uefi-security and practical defenses.
Main Stage·46 min
Yuriy Bulygin · Oleksandr Bazhaniul · Andrew Furtak · John Loucaides
Yuriy Bulygin and Oleksandr Bazhaniul explores summary of attacks against bios and secure boot at DEF CON 22, examining uefi-security and practical defenses.


