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
Read more
- Pentest Tools Url Fuzzer
- Pentest Tools Alternative
- Android Hack Tools Github
- Best Hacking Tools 2020
- Tools For Hacker
- Github Hacking Tools
- Physical Pentest Tools
- Wifi Hacker Tools For Windows
- Hack And Tools
- Pentest Tools For Mac
- Hacking Tools Windows 10
- Pentest Tools Website
- Hack Tools Download
- Hack Website Online Tool
- Hacking Tools Online
- Hacker Tools Mac
- Pentest Tools Find Subdomains
- Hacking Tools 2019
- Hacker Tools 2019
- Pentest Tools Windows
- Hacker Tools Apk
- Best Pentesting Tools 2018
- Hacker Hardware Tools
- Hacking Tools For Windows 7
- Hacking Tools Github
- Hacker Tools Windows
- Hack Tools Download
- Growth Hacker Tools
- Android Hack Tools Github
- Hacking Tools Kit
- Hacking Tools Windows
- Hacking Tools For Windows
- Tools 4 Hack
- Hacking Tools Windows 10
- Pentest Tools Subdomain
- Hacks And Tools
- Tools Used For Hacking
- Hacking Tools For Pc
- Pentest Tools
- Hacks And Tools
- Hacker Tools Apk Download
- Hacking Tools 2019
- Pentest Tools List
- Hacker Tools Hardware
- Pentest Tools Find Subdomains
- Hacking Tools Free Download
- Pentest Tools Linux
- Computer Hacker
- Hacking Tools Windows 10
- Hacker Tools Software
- New Hacker Tools
- Pentest Tools Framework
- Pentest Tools Subdomain
- Hack Apps
- Hacker Hardware Tools
- Pentest Tools Github
- Hacking Tools For Games
- Hackers Toolbox
- Hacking Tools 2020
- Hacker Tool Kit
- Hacking Tools Free Download
- Hacking Tools Download
- Hacker Tools For Windows
- Hacker Tools Apk
- Install Pentest Tools Ubuntu
- Hacking Tools For Windows
- Hacking Tools For Games
- Hacker Tools For Pc
- Pentest Tools Linux
- Hacking Tools Pc
- Pentest Tools Github
- Hacking Tools For Windows
- Pentest Tools Website Vulnerability
- Hacking Tools Mac
- New Hack Tools
- Best Pentesting Tools 2018
- Pentest Tools Alternative
- Pentest Tools Url Fuzzer
- Hack Website Online Tool
- What Is Hacking Tools
- Hacker Tools Github
- Termux Hacking Tools 2019
- Hack Tools 2019
- Hacking App
- Hacker Tool Kit
- Hacker Tools List
- Pentest Tools For Mac
- Top Pentest Tools
- Hacking Apps
- Hacking Tools
- Hacker Tools Hardware
- Pentest Tools Open Source
- Hack Rom Tools
- New Hacker Tools
- Ethical Hacker Tools
- Hacker Hardware Tools
- Hack Tools For Pc
- Pentest Tools Port Scanner
- Pentest Tools Review
- Pentest Tools Framework
- Hacker Tools Hardware
- Hacker Tools Apk
- Best Pentesting Tools 2018