06.11.2015 Views

Practical SMEP bypass techniques on Linux

RUXCON15-Vitaly

RUXCON15-Vitaly

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.

<str<strong>on</strong>g>SMEP</str<strong>on</strong>g> Bypass<br />

• FAKE STACK payload<br />

• Opti<strong>on</strong> #1: disable <str<strong>on</strong>g>SMEP</str<strong>on</strong>g> and execute<br />

escalate_privs() in user space<br />

• Opti<strong>on</strong> #2: disable <str<strong>on</strong>g>SMEP</str<strong>on</strong>g> and execute<br />

commit_creds(prepare_kernel_cred(0)) using<br />

ROP

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

Saved successfully!

Ooh no, something went wrong!