Fast Emulator For Shellcodes In Rust
I have developed a fast emulator for modern shellcodes, that perform huge loops of millions of instructions emulated for resolving API or for other stuff.
The emulator is in Rust and all the few dependencies as well, so the rust safety is good for emulating malware.
There are shellcodes that can be emulated from the beginning to the end, but when this is not possible the tool has many features that can be used like a console, a memory tracing, register tracing, and so on.
https://github.com/sha0coder/scemu
In less than two seconds we have emulated 7 millions of instructions arriving to the recv.
At this point we have some IOC like the ip:port where it's connecting and other details.
Lets see what happens after the recv() spawning a console at position: 7,012,204
target/release/scemu -f shellcodes/shikata.bin -vv -c 7012204
The "ret" instruction is going to jump to the buffer read with recv() so is a kind of stager.
The option "-e" or "--endpoint" is not ready for now, but it will allow to proxy the calls to get the next stage automatically, but for now we have the details to get the stage.
SCEMU also identify all the Linux syscalls for 32bits shellcodes:
The encoder used in shellgen is also supported https://github.com/MarioVilas/shellgen
Let's check with cobalt-strike:
In verbose mode we could do several greps to see the calls and correlate with ghidra/ida/radare or for example grep the branches to study the emulation flow.
target/release/scemu -f shellcodes/rshell_sgn.bin -vv | grep j
target/release/scemu -f shellcodes/rshell_sgn.bin -vv -c 44000 -l
Related posts
- Hacker Tools For Mac
- Pentest Tools Review
- Computer Hacker
- Pentest Tools For Mac
- Pentest Tools
- Hacking Tools Online
- Pentest Tools Download
- Hacker Tools 2019
- Best Hacking Tools 2020
- Hacking Tools For Beginners
- Pentest Automation Tools
- Hacking Tools For Mac
- Pentest Tools Subdomain
- Hack Tools
- Hack Website Online Tool
- Hacking Tools For Kali Linux
- Pentest Tools Kali Linux
- Hack Tools 2019
- Pentest Tools
- Pentest Box Tools Download
- Hackrf Tools
- Pentest Tools For Android
- Pentest Tools Online
- Pentest Tools Website Vulnerability
- Tools Used For Hacking
- Hack Tools
- Hacking Tools Usb
- Pentest Tools Subdomain
- Game Hacking
- What Is Hacking Tools
- Hack Tools Download
- Pentest Tools Apk
- Install Pentest Tools Ubuntu
- Pentest Tools For Mac
- Underground Hacker Sites
- Pentest Tools Windows
- How To Hack
- Top Pentest Tools
- Hacking Tools For Windows Free Download
- Hack Tools
- Hacking Tools Pc
- Hacker Tools Apk
- Computer Hacker
- Pentest Recon Tools
- Hacking Apps
- Pentest Automation Tools
- Best Hacking Tools 2019
- Hacker Tools List
- Pentest Tools Url Fuzzer
- Hacking Tools For Windows Free Download
- Hack Website Online Tool
- Hacking Tools Hardware
- Hacker Tools 2020
- Pentest Tools
- Pentest Tools Framework
- Pentest Tools Find Subdomains
- Pentest Automation Tools
- Hacking Tools Hardware
- Pentest Tools Subdomain
- Hacker Tools Apk Download
- Growth Hacker Tools
- Hacking Tools For Kali Linux
- Blackhat Hacker Tools
- Hack And Tools
- Hack Tools For Ubuntu
- Hacker
- Hacker Tools Windows
- How To Hack
- Pentest Tools Windows
- Hack Tools
- Pentest Tools Windows
- Hack Apps
- Hacking Tools For Games
- Tools 4 Hack
- Pentest Tools For Android
- Hacking Tools Windows
- Android Hack Tools Github
- Hacking Tools Name
- Pentest Box Tools Download
- Hacker Tools For Mac
- Hack Tools For Windows
- Blackhat Hacker Tools
- Hack Apps
- Pentest Tools Kali Linux
- Hack Tools
- Best Hacking Tools 2020
- Easy Hack Tools
- Android Hack Tools Github
- Wifi Hacker Tools For Windows
- Usb Pentest Tools
- Hack Tools Download
- What Are Hacking Tools
- Hacking App
- Hacking Tools Mac
- Hacker Tools Linux
- Hacking Tools Github
- Pentest Tools Alternative
- Top Pentest Tools
- Hacker Tools Online
- Hacks And Tools
- Hacker Tools Hardware
- Computer Hacker
- New Hacker Tools
- Pentest Tools Bluekeep
- Github Hacking Tools
- Hacker Tools Free
- Pentest Tools Website Vulnerability
- Pentest Tools Linux
- Pentest Recon Tools
- What Is Hacking Tools
- Best Hacking Tools 2020
- Hack Tools For Windows
- Hacking Tools Hardware
- Pentest Tools Framework
- Best Hacking Tools 2019
- Hacker Tools For Windows
- Hacking Tools For Windows 7
- Hackers Toolbox
- Hack Tools
- Hacking Tools For Windows Free Download
- Pentest Tools Nmap
- Hack Tool Apk No Root
- Best Hacking Tools 2020
0 Comments:
Publicar un comentario
<< Home