You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: KiUserExceptionDispatcherStepOver/README.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
## Bypassing EDR Syscall Hooks with a **Custom Early Exception Handler**
1
+
## Bypassing EDR Syscall Hooks with a Early Exception Handler
2
2
3
3
The problem with the (VEH, SEH, etc..) are themselves **hooked and monitored heavily by modern EDRs**
4
4
@@ -9,17 +9,24 @@ Modern EDRs monitor **syscalls** by placing **inline hooks** (usually a `jmp` at
9
9
10
10
so when you call hooked funcitons like `NtAllocateVirtualMemory`, `NtProtectVirtualMemory`, … the EDR gets the first chance to inspect the arguments and block the call.
11
11
12
-
So we are developing our own exception handler without relying on VEH or SEH to manipulate exception handling before the VEH is called
12
+
So to avoid detection, we can develop our own exception handler without relying on VEH or SEH to manipulate exception handling before the VEH is called.
13
+
14
+
To know more about this, the Example poc has been described in detail in this blog: [Early Exception Handling](https://kr0tt.github.io/posts/early-exception-handling/)
15
+
16
+
> Note: Please note that this poc uses hardcoded SSN just for demonstration of the PoC. in your practices you can extract and use SSN using syscall techniques using Hells/halos/tartarus gate: For Syscall technique you can visit this seciton: [Indirect Syscall]()
13
17
14
-
The Amazing PoC has been described in-detail in this blog: []()
15
18
## PoC
16
19
17
-
We are going to test it on EDR Products.
20
+
We are going to test it on EDR Products. [Release Mode]
18
21
19
22

20
23
21
24

22
25
26
+
Debug print that explains how this PoC works step by step [Debug Mode]
27
+
28
+

29
+
23
30
## Usage
24
31
25
32
To compile and run in debug mode. [To understand How this works]
@@ -40,12 +47,11 @@ To compile on release mode [Final]:
0 commit comments