DEF CON 27 - Xiaolong Bai - HackPac Hacking Pointer Authentication in iOS User Space

  Рет қаралды 818

HackersOnBoard

HackersOnBoard

Күн бұрын

Pointer Authentication (in short, PAuth) is the latest security mechanism in iOS. It is proposed to protect the integrity of pointers with hardware-assisted encryption, thus eliminating the threats of code-reuse attacks. In PAuth, a cryptographic signature called PAC is calculated from a pointer value and inserted into the pointer. When the pointer is about to be used, the PAC is extracted and verified whether it is consistent with the original pointer value. In this way, PAuth is able to ensure that the pointers are not tampered. iOS deployed PAuth in user-space system services, protecting pointers that may affect the control flow and preventing code-reuse attacks like ROP and JOP.
However, in our study, we found that a fatal flaw in the implementation of iOS PAuth makes user-space system services till vulnerable to code-reuse attacks. The flaw is: iOS uses the same signing key in different user-space processes. This flaw allows a signed pointer from a malicious process can be correctly verified in a system service, thus making it possible to launch JOP. In this talk, we will explain how we found the flaw and why it is inevitable. In advance, we will demonstrate how to leverage this flaw and launch JOP attacks in a PAuth-protected system service. Also, we will propose a new tool, PAC-gadget, to automatically find JOP gadgets in PAuth-protected binaries.

Пікірлер
DEF CON 27 - XiaoHuiHui - All the 4G Modules Could Be Hacked
47:22
DEF CON 27 - Patrick Wardle - Harnessing Weapons of Mac Destruction
48:51
Climbing to 18M Subscribers 🎉
00:32
Matt Larose
Рет қаралды 24 МЛН
Each found a feeling.#Short #Officer Rabbit #angel
00:17
兔子警官
Рет қаралды 7 МЛН
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 36 МЛН
Final muy inesperado 🥹
00:48
Juan De Dios Pantoja
Рет қаралды 12 МЛН
DEF CON 27 - WillC - Phreaking Elevators
40:00
HackersOnBoard
Рет қаралды 2,1 М.
NEVER lose dotfiles again with GNU Stow
14:33
typecraft
Рет қаралды 15 М.
DEF CON 27 - Panel - Hacking Congress The Enemy Of My Enemy Is My Friend
40:48
Do 10 things that don’t scale - Paul Graham
8:09
Academy of Product Management
Рет қаралды 22 М.
SDR with HackRF One, Lesson 1 - Welcome - 720p
37:56
PE1PID
Рет қаралды 233 М.
One To Three USB Convert
0:42
Edit Zone 1.8M views
Рет қаралды 438 М.
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
AI от Apple - ОБЪЯСНЯЕМ
24:19
Droider
Рет қаралды 116 М.