Skip to content

Commit bbcc50a

Browse files
committed
Early Cascade Injection
1 parent 28fac7e commit bbcc50a

File tree

8 files changed

+2096
-0
lines changed

8 files changed

+2096
-0
lines changed

Early Cascade Injection/Cargo.lock

Lines changed: 65 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Early Cascade Injection/Cargo.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[package]
2+
name = "earlycascade-injection"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
[dependencies]
7+
winapi = { version = "0.3.9", features = ["winuser","setupapi","dbghelp","wlanapi","winnls","wincon","fileapi","sysinfoapi", "fibersapi","debugapi","winerror", "wininet" , "winhttp" ,"synchapi","securitybaseapi","wincrypt","psapi", "tlhelp32", "heapapi","shellapi", "memoryapi", "processthreadsapi", "errhandlingapi", "winbase", "handleapi", "synchapi"] }
8+
ntapi = "0.4.1"
9+
user32-sys = "0.2.0"

Early Cascade Injection/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## EARLYCASCADE INJECTION IN RUST
2+
3+
This is just a simple PoC implementation of the early cascade injection technique documented by the Outflank blog post.
4+
5+
Special Thanks to [@C5pider](https://x.com/C5pider) for his POC for Early-Cascade Injection.
6+
7+
This code was tested on Microsoft Windows [Version 10.0.22631]
8+
9+
Reference / Credit:
10+
11+
* https://github.com/Cracked5pider/earlycascade-injection?tab=readme-ov-file
12+
* https://malwaretech.com/2024/02/bypassing-edrs-with-edr-preload.html
13+
* https://www.outflank.nl/blog/2024/10/15/introducing-early-cascade-injection-from-windows-process-creation-to-stealthy-injection/
14+
15+
16+
### USAGE:
17+
18+
```
19+
cd earlycascade-injection
20+
21+
cargo run --release Notepad.exe .\w64-exec-calc-shellcode.bin
22+
```
23+
24+
You can replace any shellcode if you need. I Just used calc.bin shellcode !
25+

0 commit comments

Comments
 (0)