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
- Tools 4 Hack
- Hacker Tools 2019
- Tools Used For Hacking
- Pentest Tools Apk
- Pentest Tools Find Subdomains
- Android Hack Tools Github
- Hack Tools 2019
- Hacker Tools 2019
- Pentest Tools Free
- Hacking Tools
- Hacker Tools For Pc
- Pentest Tools Open Source
- Hacker Tools Hardware
- Pentest Tools Find Subdomains
- What Are Hacking Tools
- Pentest Reporting Tools
- Nsa Hack Tools Download
- Pentest Recon Tools
- Hacker Tools Free Download
- Pentest Tools Kali Linux
- Pentest Tools Subdomain
- Ethical Hacker Tools
- Pentest Tools Download
- Pentest Tools For Ubuntu
- Hack Tools For Mac
- Best Hacking Tools 2019
- Bluetooth Hacking Tools Kali
- Pentest Tools Android
- Hacker Tools 2019
- Hack Tools For Windows
- Pentest Tools For Ubuntu
- Hacker Tools For Windows
- Hack Tools For Games
- Hack Tools Pc
- Hacker Tools
- Free Pentest Tools For Windows
- Termux Hacking Tools 2019
- Hacker Tool Kit
- Pentest Tools Free
- Hack Tools Online
- Pentest Tools Apk
- Growth Hacker Tools
- Hacker Tools For Ios
- Hacker Tools List
- Hacking Tools Name
- Hack Tools Mac
- Hacker Tools Apk
- Hack Apps
- Nsa Hack Tools
- Hacking Tools Usb
- Kik Hack Tools
- Pentest Tools For Android
- Hacking Tools And Software
- Hacking Tools For Pc
- Computer Hacker
- Pentest Tools Free
- Termux Hacking Tools 2019
- Pentest Tools Website
- Pentest Recon Tools
- Hacker Tools 2019
- Hacker
- Hack Rom Tools
- Hack Tools Github
- Pentest Tools Download
- Tools For Hacker
- Hacker Tools Hardware
- Hack And Tools
- Hacker Hardware Tools
- Hack Tools Pc
- Hacking Tools Windows
- Easy Hack Tools
- Pentest Tools For Mac
- Hack Apps
- How To Hack
- Pentest Tools Review
- Hacker Tools Apk
- Hacking Tools Usb
- Tools Used For Hacking
- Github Hacking Tools
- Hacking Tools Download
- Pentest Tools Bluekeep
- Pentest Tools For Mac
- Physical Pentest Tools
- Pentest Tools Framework
- Pentest Tools Subdomain
- Pentest Tools Github
- Pentest Tools Online
- Hacking Tools
- Pentest Reporting Tools
- Tools Used For Hacking
- Pentest Tools Apk
- Pentest Tools Online
- Pentest Tools Kali Linux
- Pentest Tools Alternative
- Hacking Tools Software
- Hack Tools 2019
- Pentest Tools Port Scanner
- What Are Hacking Tools
- Hacking Tools Download
- Hackers Toolbox
- Best Hacking Tools 2019
- Hacker Tools Apk Download
- Hacker Tools Apk Download
- Hacking Tools Windows 10
- Hacker Tools
- What Are Hacking Tools
- Hacking Tools
Fast Emulator For Shellcodes In Rust