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
Related posts
- Hacker Tools Free Download
- Hacker Tools Free
- Hack And Tools
- Github Hacking Tools
- Pentest Tools
- Hack Apps
- Hacker Tools For Windows
- Hack Tools For Games
- Computer Hacker
- Hacker Tools Apk Download
- Hacker Techniques Tools And Incident Handling
- Growth Hacker Tools
- Hack Website Online Tool
- Hack Tools For Ubuntu
- Hacking Tools
- Pentest Recon Tools
- World No 1 Hacker Software
- Pentest Tools
- What Are Hacking Tools
- Hacker
- Hack And Tools
- Hacking Tools And Software
- Hacking Tools Windows 10
- Hack Tools Mac
- Hacker Tools Free
- Tools For Hacker
- Hacker Tools For Pc
- Blackhat Hacker Tools
- Best Hacking Tools 2019
- Game Hacking
- Hacker Tools Apk Download
- Pentest Tools Windows
- Hackers Toolbox
- Hack Tools For Mac
- Hacker Tools Apk
- Easy Hack Tools
- Github Hacking Tools
- Pentest Tools For Android
- Game Hacking
- Hack Tools For Pc
- How To Install Pentest Tools In Ubuntu
- Pentest Tools Tcp Port Scanner
- Hack Tools Download
- Pentest Tools
- Install Pentest Tools Ubuntu
- Pentest Tools Alternative
- Pentest Recon Tools
- Hacker Tools
- Black Hat Hacker Tools
- Hacker Tools For Pc
- Hacker Tools Free Download
- Hack Tools For Pc
- Hacker Hardware Tools
- Pentest Recon Tools
- Hacking Tools 2020
- Hacker Tools Windows
- Pentest Tools Download
- Hackers Toolbox
- Growth Hacker Tools
- Pentest Tools Apk
- Pentest Tools Url Fuzzer
- Hacking Apps
- Pentest Tools Open Source
- Pentest Tools Website Vulnerability
- Hack Website Online Tool
- Hacker Tools Apk
- Best Hacking Tools 2020
- Hacking Tools Pc
- Top Pentest Tools
- Pentest Tools Online
- Pentest Tools Subdomain
- Pentest Tools Website
- Install Pentest Tools Ubuntu
- Hacker Tools For Ios
- New Hack Tools
- How To Install Pentest Tools In Ubuntu
- Hacking Tools Download
- Hacking Tools Free Download
- Hacker Tools Apk
- Hacking Tools 2020
- Hacking Tools Download
- Hacking Tools Windows
- Hacker Search Tools
- Hack Website Online Tool
- Hack Rom Tools
- How To Make Hacking Tools
- Hacker Tools Hardware
- Hacking Tools For Kali Linux
- Usb Pentest Tools
- Hack Tools For Pc
- Hacking Tools 2019
No hay comentarios:
Publicar un comentario