25.03.2017 Views

LPE vulnerabilities exploitation on Windows 10 Anniversary Update

eJwXM6v

eJwXM6v

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GDI structure address leak<br />

Getting tagDCE pointer:<br />

1. RegisterClass with CS_CLASSDC style.<br />

2. Create window for this class in order to cache DC and allocate<br />

tagDCE.<br />

3. Get pointer to tagWND, then to tagCLS (tagWND.pcls) and finally<br />

tagCLS.pdce.<br />

We need to call DestroyWindow + UnregisterClass in order to free<br />

tagDCE.

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

Saved successfully!

Ooh no, something went wrong!