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 Github
- Hacking Tools 2019
- Growth Hacker Tools
- Hack And Tools
- Hack Tool Apk No Root
- Pentest Tools Alternative
- Blackhat Hacker Tools
- Pentest Tools Find Subdomains
- Hack Tools For Windows
- Hacking Tools Download
- How To Install Pentest Tools In Ubuntu
- Hack Tools
- Pentest Tools For Mac
- Tools 4 Hack
- Hacking Tools For Mac
- Hack Apps
- Hacking Tools For Kali Linux
- Pentest Tools Nmap
- Pentest Recon Tools
- Hacking Tools Kit
- Hack Tools
- Hacking Tools Download
- Hacker Tools Windows
- Hacking Tools Github
- Hacker Tools Online
- Pentest Tools For Windows
- Hacking Tools Name
- Hacking Tools Online
- Hacker Tools For Ios
- What Are Hacking Tools
- Bluetooth Hacking Tools Kali
- Hack App
- Hacking Tools And Software
- Pentest Reporting Tools
- Pentest Tools Online
- Wifi Hacker Tools For Windows
- Pentest Tools Bluekeep
- Hacking Tools Hardware
- Hack Tools For Mac
- Pentest Tools List
- Hack Tools 2019
- Hacker Tools Free Download
- Underground Hacker Sites
- Android Hack Tools Github
- Hacking Tools Windows
- Pentest Tools Linux
- Pentest Tools Online
- Bluetooth Hacking Tools Kali
- New Hacker Tools
- Hacking Tools For Pc
- Hacker Tools For Pc
- Hack And Tools
- Hack Tools For Games
- Hack Tools Github
- Hacking Tools Download
- Pentest Tools Find Subdomains
- Best Hacking Tools 2020
- Hack App
- Top Pentest Tools
- Black Hat Hacker Tools
- Hack Tools For Windows
- Pentest Tools Nmap
- Hacker Tools Free Download
- Game Hacking
- Computer Hacker
- Hacking Tools Mac
- What Is Hacking Tools
- Hack Tools For Pc
- Hacker
- Hacking Tools Software
- Hak5 Tools
- Hacker Tools Free Download
- Pentest Tools Linux
- Hacker Tools 2020
- Hacking Tools For Mac
- Hacking Tools Usb
- Pentest Tools For Windows
- Pentest Tools Review
- Pentest Tools Apk
- Game Hacking
- Tools 4 Hack
- Hack Apps
- How To Hack
- Hacking Tools Mac
- Hackers Toolbox
- Hacking Tools And Software
- Hacker Tools Online
- Hacker Tools Mac
- Pentest Tools Bluekeep
- Easy Hack Tools
- Hacking Tools For Beginners
- Pentest Tools Download
- Pentest Tools Nmap
- Hacking Tools Github
- Pentest Tools
- Bluetooth Hacking Tools Kali
- New Hack Tools
- Hack Tools Download
- Hacking Apps
- Hacking Tools Hardware
- Hacking Tools Hardware
- Hackers Toolbox
- Pentest Tools For Ubuntu
- Pentest Tools Find Subdomains
- What Are Hacking Tools
- Tools 4 Hack
- Nsa Hack Tools Download
- Tools Used For Hacking
- Hacking Tools Github
- Hack Tool Apk No Root
- Hacker Tools
- Hacker Tools For Ios
- Hacker Tools
- Hacker Tools For Ios
- Hacking Tools For Windows 7
- Android Hack Tools Github
- Best Hacking Tools 2020
- Hacking Tools Usb
- Hacking Tools Free Download
- Top Pentest Tools
- Nsa Hack Tools
- Pentest Tools Free
- How To Install Pentest Tools In Ubuntu
- Pentest Tools List
- Game Hacking
- Pentest Tools Free
- Hackers Toolbox
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home