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 Windows
- Hackers Toolbox
- Nsa Hacker Tools
- Hacker Tools 2019
- Hacker Tools Software
- Github Hacking Tools
- Pentest Tools Bluekeep
- Install Pentest Tools Ubuntu
- Hack Tools Download
- Hacker Hardware Tools
- Pentest Automation Tools
- Hacking Tools Windows 10
- Hacker Tools Github
- Hacking Tools Windows 10
- Free Pentest Tools For Windows
- Pentest Tools Website Vulnerability
- Pentest Automation Tools
- Hacking Tools Pc
- Hacking Tools
- Hacking Tools For Pc
- Best Pentesting Tools 2018
- Bluetooth Hacking Tools Kali
- Pentest Tools Open Source
- Pentest Tools Linux
- Hack Apps
- Hacking Tools Download
- Hacker Tools Mac
- Black Hat Hacker Tools
- Hacking Tools Github
- Hack Website Online Tool
- Top Pentest Tools
- Hack Tool Apk
- Pentest Tools For Android
- Pentest Tools Url Fuzzer
- Pentest Tools Alternative
- Hacker Tools Free
- Bluetooth Hacking Tools Kali
- Black Hat Hacker Tools
- Hacking Tools Download
- Pentest Box Tools Download
- Hacker Tools Hardware
- Kik Hack Tools
- Hacking Tools Usb
- Nsa Hacker Tools
- Pentest Tools Github
- Hack Tools
- Hack Tool Apk No Root
- Hacker Tools Online
- Termux Hacking Tools 2019
- Hacking Tools Name
- Hacker Tools Software
- Pentest Tools List
- Physical Pentest Tools
- Hacks And Tools
- Ethical Hacker Tools
- Hack Tools For Windows
- Install Pentest Tools Ubuntu
- Pentest Tools For Mac
- Bluetooth Hacking Tools Kali
- Pentest Tools For Ubuntu
- Pentest Tools Windows
- Hack Tool Apk
- Hack Tools For Pc
- Pentest Tools Review
- Hack And Tools
- Hacking Tools For Windows
- Hacker Tools For Windows
- Hacker Tools Mac
- Pentest Tools For Ubuntu
- Pentest Tools Website
- Hacking Tools For Kali Linux
- Pentest Tools Android
- Black Hat Hacker Tools
- Hack Tools For Windows












No comments:
Post a Comment