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
- Pentest Tools Url Fuzzer
- Pentest Box Tools Download
- Pentest Tools Online
- Pentest Tools Online
- Hack Tools For Mac
- Bluetooth Hacking Tools Kali
- Hacking Tools Name
- Pentest Tools Url Fuzzer
- Hack Tool Apk
- Hacking Tools 2019
- Hacking Tools For Windows Free Download
- Hacker Tools For Ios
- Hacking Tools For Windows
- Hacker Tools Free
- Hacker Hardware Tools
- Hack Rom Tools
- Hack Apps
- Pentest Tools Linux
- Growth Hacker Tools
- Hacker Tool Kit
- Hack Tools For Games
- Hacking Tools 2019
- Hacking Tools Windows
- Android Hack Tools Github
- Hacking Tools Usb
- Blackhat Hacker Tools
- Pentest Tools Url Fuzzer
- Hackrf Tools
- Hacker Tool Kit
- Hack Tools For Pc
- Hacking Tools Mac
- Blackhat Hacker Tools
- How To Make Hacking Tools
- New Hack Tools
- Hacking Tools Kit
- Hack Tools For Windows
- Bluetooth Hacking Tools Kali
- Hack And Tools
- Bluetooth Hacking Tools Kali
- Hack Tools For Ubuntu
- Hacker Tools Online
- Github Hacking Tools
- Wifi Hacker Tools For Windows
- Bluetooth Hacking Tools Kali
- Hack Tools
- Hack And Tools
- Tools For Hacker
- Pentest Tools Free
- Hacker Tools 2020
- Hack Tools
- Hacking Tools For Games
- Hacker Tools Mac
- Pentest Tools Github
- Hack Tools For Windows
- Hacking Tools For Pc
- Hacking Tools For Mac
- Hacking Tools For Games
- Pentest Tools Find Subdomains
- Pentest Tools Url Fuzzer
- Pentest Tools Bluekeep
- Hack Tools For Games
- Termux Hacking Tools 2019
- Hacker Tools Free
- Easy Hack Tools
- Hacker Tools Windows
- Hacker Tools Free Download
- Hacking Tools Download
- Github Hacking Tools
- Hacks And Tools
- Install Pentest Tools Ubuntu
- Free Pentest Tools For Windows
- Pentest Tools Alternative
- Beginner Hacker Tools
- Hacker Tools Apk
- Pentest Tools Url Fuzzer
No comments:
Post a Comment