04.11.2016 Views

Leaking Windows Kernel Pointers

RuxCon%20-%20Leaking%20Windows%20Kernel%20Pointers

RuxCon%20-%20Leaking%20Windows%20Kernel%20Pointers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CVE-2015-0094 – The plan<br />

Create a Window<br />

Hijack the WM_NCCALCSIZE handler<br />

Replace the pointer in the TIB to our own function table<br />

Modify user32!apfnDispatch within our process<br />

Hotpatch the WM_NCCALCSIZE handler in user32<br />

Have the handler save the value of input_buffer[0x44]<br />

23<br />

Copyright 2016 Trend Micro Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!