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
- Hacker Tools Linux
- Blackhat Hacker Tools
- Best Pentesting Tools 2018
- Hacking Tools For Windows Free Download
- Hacking Tools
- Hacking Tools Online
- Hacker Tools For Pc
- Growth Hacker Tools
- Hacking Tools For Windows 7
- Hacking Tools For Beginners
- Termux Hacking Tools 2019
- Pentest Tools Free
- Pentest Tools For Mac
- Pentest Tools List
- Pentest Automation Tools
- Hacking Tools Pc
- Hacking Tools For Beginners
- Hacking Tools Hardware
- Pentest Tools Find Subdomains
- Pentest Tools Online
- Growth Hacker Tools
- Best Hacking Tools 2020
- Pentest Tools Review
- Hacker Tools Github
- Hacking Tools And Software
- Install Pentest Tools Ubuntu
- Best Hacking Tools 2019
- Hacker Tools Hardware
- Hacker Search Tools
- Pentest Tools Kali Linux
- Hack Tools Pc
- Hacking Tools Mac
- Hacking Tools For Windows
- Hacking Tools For Beginners
- Pentest Tools Github
- Hacking Tools Download
- Hacking Apps
- Hack Tools
- Hack Tools 2019
- Hacking Tools For Beginners
- Pentest Tools For Windows
- Hack Tool Apk No Root
- Beginner Hacker Tools
- Hack Tool Apk
- Hacking Tools Free Download
- New Hack Tools
- Hack App
- Hacker Tools Free
- Hacking Apps
- Pentest Tools Port Scanner
- Pentest Tools Online
- Hacking Tools For Windows 7
- Hacker Tools For Ios
- Hacker Tools Software
- Hack Tools For Windows
- Pentest Tools Kali Linux
- Best Hacking Tools 2020
- Hak5 Tools
- Hacker Tools 2020
- Hacker Tools For Windows
- Pentest Tools For Android
- Hacking Tools For Beginners
- Pentest Tools
- Hacker Tools Windows
- New Hacker Tools
- Pentest Tools Download
- Pentest Tools List
- Hacker Tools Software
- Hacking Tools For Windows Free Download
- Hacking Tools For Mac
- Hacker Techniques Tools And Incident Handling
- Hacks And Tools
- Pentest Tools For Mac
- Hacker Tool Kit
- Tools 4 Hack
- Pentest Tools Github
- Hacking Tools 2020
- Computer Hacker
- Hacker Hardware Tools
- Hacker Tools Github
- Tools 4 Hack
- Top Pentest Tools
- Hacking Tools Windows 10
- Hacking Tools Name
- Hack Tools 2019
- Pentest Recon Tools
- Hack Tools Mac
- Pentest Tools Alternative
- Hacker Tool Kit
- Hack Website Online Tool
- Hacker Tools
- Pentest Tools Alternative
- Hacker Tools
- Pentest Tools Subdomain
- Hacking Apps
- Hak5 Tools
- Best Hacking Tools 2020
- Hackrf Tools
- New Hacker Tools