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
More articles
- Hacking Tools For Games
- Best Pentesting Tools 2018
- Pentest Tools Nmap
- Black Hat Hacker Tools
- Hacker
- Hack Tools
- Hack Tools 2019
- Hacker Tools Free
- Top Pentest Tools
- Pentest Tools Alternative
- Hacker Tools 2020
- Nsa Hack Tools
- Hacker Tools Linux
- Hacking Tools Github
- Easy Hack Tools
- Hacking Tools Software
- Hacker Tools 2019
- What Is Hacking Tools
- What Are Hacking Tools
- Pentest Tools Subdomain
- Usb Pentest Tools
- Hak5 Tools
- Pentest Tools Linux
- How To Make Hacking Tools
- Hacking Tools Windows
- Best Hacking Tools 2019
- Hacker Tools Windows
- Pentest Tools Website Vulnerability
- Hacking Tools For Windows
- Hack Tools For Pc
- Hacker Tools For Windows
- Hack Apps
- How To Install Pentest Tools In Ubuntu
- Hacking Tools For Beginners
- Hack Tools For Mac
- Growth Hacker Tools
- Hacking Tools
- Pentest Tools Find Subdomains
- Hacking Tools
- Hacker Tools Github
- Hack Tools Online
- Pentest Tools Url Fuzzer
- Hack Tools 2019
- Hacking Tools For Pc
- Pentest Tools For Windows
- Termux Hacking Tools 2019
- Hack Tools For Mac
- Hack Tool Apk No Root
- Pentest Tools Nmap
- Tools Used For Hacking
- Hack Tools Mac
- Hacker Tools Free Download
- Hack Tool Apk
- Hackers Toolbox
- Pentest Reporting Tools
- Pentest Tools Download
- Hacker Tools
- Computer Hacker
- Hacker Tools Windows
- Pentest Tools For Mac
- Best Pentesting Tools 2018
- Hacker Techniques Tools And Incident Handling
- Hack Tools 2019
- Tools For Hacker
- What Is Hacking Tools
- Pentest Tools Online
- Hacker Tools For Pc
- Hacking Tools Mac
- Computer Hacker
- Pentest Tools Bluekeep
- Hacking Apps
- Hack Tools Online
- Hacker Security Tools
- Hack Tools For Games
- Hacker Tools For Pc
- Pentest Reporting Tools
- Hacker Tools Hardware
- Hacking Tools Online
- Pentest Tools Android
- Hack Apps
- Hack Tools For Mac
- Hacking Tools Free Download
- Nsa Hack Tools Download
- Pentest Tools
- Hacker Tools Apk Download
- Pentest Tools Online
- Hacker
- World No 1 Hacker Software
- Hacking Tools For Games
- Pentest Tools Github
- Hack Tool Apk No Root
- Hacking Tools Github
- Kik Hack Tools
- Hack Tools For Pc
- Pentest Tools Alternative
- Hack Tools Download
- Game Hacking












No comments:
Post a Comment