25.03.2017 Views

LPE vulnerabilities exploitation on Windows 10 Anniversary Update

Win10LPE

Win10LPE

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.

Useful objects/structures in GDI pool<br />

• Some USER objects/structures isn’t possible to use during <str<strong>on</strong>g>exploitati<strong>on</strong></str<strong>on</strong>g> because we can’t easily<br />

allocate/c<strong>on</strong>trol them.<br />

• We made list of potentially “exploitable” objects and structures with their pros and c<strong>on</strong>s.<br />

• Demo of usage of accelerator tables and clip data was shown at Ekoparty 2016. We’ll show alternative.<br />

• Following list is incomplete, there are other candidates.<br />

Object/structure Type Size (x64) Pros C<strong>on</strong>s<br />

Clip data USER object C<strong>on</strong>trolled C<strong>on</strong>trolled size Need clipboard access, which can be restricted by<br />

some sandboxes<br />

WinEvent USER object 0x60 Easy allocati<strong>on</strong> and destructi<strong>on</strong> Static object size<br />

Timer USER object 0x88 Easy allocati<strong>on</strong> and destructi<strong>on</strong> Static object size, need to scan user handle table to<br />

get object address as SetTimer doesn’t return handle<br />

tagCURSOR USER object 0x98 Easy allocati<strong>on</strong> and destructi<strong>on</strong> Static object size<br />

Accelerator table USER object C<strong>on</strong>trolled Easy allocati<strong>on</strong> and destructi<strong>on</strong>,<br />

c<strong>on</strong>trolled size<br />

tagCLS.lpszMenuName USER data C<strong>on</strong>trolled Easy allocati<strong>on</strong> and destructi<strong>on</strong>,<br />

c<strong>on</strong>trolled size (size of unicode string)<br />

tagCLS.pdce (tagDCE) GDI structure 0x60 Easy allocati<strong>on</strong> and destructi<strong>on</strong> Static structure size<br />

We need to count tagACCEL to calculate size of<br />

allocati<strong>on</strong>

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

Saved successfully!

Ooh no, something went wrong!