From 4847957ed58ec176917a352196f17200b29bef9d Mon Sep 17 00:00:00 2001 From: _xeroxz Date: Tue, 23 Feb 2021 21:34:24 +0000 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 357280a..f93cd15 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,12 @@ ROP or return-oriented programming, is a technique where an attacker gains contr SMEP or Supervisor Mode Execution Protection, prevents a logical processor with a lower CPL from executing code mapped into virtual memory with super supervisor bit set. This is relevant to this project as one could not simply set LSTAR to a user controlled page. However, with ROP one could disable SMEP by executing the following gadgets: -```asm +```nasm pop rcx ret ``` -```asm +```nasm mov cr4, rcx ret ```