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
Continue reading
- Black Hat Hacker Tools
- Underground Hacker Sites
- Tools 4 Hack
- Hacker Tool Kit
- Hacker Tools For Pc
- Hacking Tools And Software
- Hack Tools Online
- Bluetooth Hacking Tools Kali
- Hacking Tools Hardware
- Hack Tools Mac
- Hackrf Tools
- What Is Hacking Tools
- Hack Tools Pc
- Hacking Tools Windows
- Tools Used For Hacking
- Hack Tools Online
- Pentest Tools For Mac
- What Are Hacking Tools
- Hackrf Tools
- Hacking Tools 2020
- Hacker Tools Online
- Android Hack Tools Github
- What Are Hacking Tools
- Hacker Tools For Mac
- Pentest Tools For Mac
- Pentest Tools Free
- Hacker Tools Github
- Hacking Tools For Pc
- Hack Tools Github
- What Are Hacking Tools
- Wifi Hacker Tools For Windows
- Hacking Tools Usb
- Hack Tool Apk
- Hacking Tools Software
- Hack Tools
- Hacking Tools 2019
- Blackhat Hacker Tools
- Hacking Tools Download
- Pentest Automation Tools
- Hack Tools Download
- Hacking Tools
- New Hacker Tools
- Hacking Tools Github
- Hacking Tools Hardware
- Usb Pentest Tools
- Pentest Tools Nmap
- Hacking Tools Free Download
- Pentest Tools Port Scanner
- Hacker Hardware Tools
- Hacker Tools Online
- Hak5 Tools
- Pentest Tools Review
- Hack Tools Online
- Hacks And Tools
- Hak5 Tools
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Nmap
- Hacking Tools And Software
- Hackrf Tools
- Hacking Tools
- Pentest Tools Free
- Hack Apps
- Hacking Tools Hardware
- Hacking Tools Pc
- Hacking Tools For Beginners
- Hacking Apps
- Hacker Tools 2020
- Hacking Tools 2019
- Pentest Tools Find Subdomains
- How To Hack
- Hacking Tools And Software
- Pentest Recon Tools
- Hacking Tools 2019
- Hacker Tools Free
- Hacker Tools Online
- Pentest Tools Bluekeep
- Hackrf Tools
- Hack Rom Tools
- Hacking Tools Kit
- Computer Hacker
- Hacking Tools Pc
- Hack And Tools
- Hacking Tools Hardware
- Hacker Hardware Tools
- Pentest Tools Website Vulnerability
- Pentest Tools Apk
- Pentest Recon Tools
- Hack Tools For Games
- Hacking Tools
- Pentest Tools Github
- Pentest Box Tools Download
Comentarios
Publicar un comentario