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><br />

• If CR4.<str<strong>on</strong>g>SMEP</str<strong>on</strong>g> = 1, instructi<strong>on</strong>s may not be<br />

fetched from any user-mode address.<br />

(according to Intel)<br />

• CR4 register can be modified using standard<br />

MOV instructi<strong>on</strong>s<br />

• Clear the <str<strong>on</strong>g>SMEP</str<strong>on</strong>g> bit: mov $0x1407e0, %cr4

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

Saved successfully!

Ooh no, something went wrong!