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
- Hack Tools Pc
- Pentest Tools Android
- Black Hat Hacker Tools
- Hacking Tools Mac
- Hacker Techniques Tools And Incident Handling
- Hack Tools For Ubuntu
- Hacking Tools For Kali Linux
- Hacking Tools For Kali Linux
- Hacking App
- Hackers Toolbox
- Hack Tools
- Hacker Tool Kit
- Pentest Recon Tools
- Pentest Tools Kali Linux
- Hack Tools For Mac
- Hacker Tools Online
- Hacker Search Tools
- Pentest Tools Bluekeep
- Hacker Tools 2020
- Hacking Tools For Windows Free Download
- Ethical Hacker Tools
- Hacker
- Best Hacking Tools 2020
- Hacking Tools Download
- Hacker Tools 2019
- Hack Tools For Games
- Hacker Search Tools
- Hack App
- Hacking Tools For Kali Linux
- How To Make Hacking Tools
- Hacker Security Tools
- What Is Hacking Tools
- Pentest Tools Online
- Hacking Tools Online
- Underground Hacker Sites
- Pentest Tools Linux
- Best Hacking Tools 2019
- Pentest Tools Review
- Hack Tools For Games
- Hack Tools
- Nsa Hacker Tools
- Hacking Tools For Kali Linux
- Hak5 Tools
- Pentest Tools Apk
- Pentest Tools Download
- Hack Tools Online
- Growth Hacker Tools
- Pentest Recon Tools
- Growth Hacker Tools
- Hacking Tools For Mac
- Kik Hack Tools
- Hacking Tools For Pc
- Hack Tools Mac
- Hacking Tools Hardware
- Hack Tools Github
- Termux Hacking Tools 2019
- Hacker Tools Hardware
- Hacking Apps
- Hacking Tools Download
- Hack Tools For Ubuntu
- Hack Tools
- Hacker Tools Windows
- What Is Hacking Tools
- Pentest Tools Port Scanner
- Pentest Tools Website
- New Hack Tools
- Growth Hacker Tools
- Pentest Tools Download
- Hacking Tools Online
- Hacker Tools For Mac
- Hacker Tools Apk Download
- Tools 4 Hack
- Pentest Tools Kali Linux
- Hack Tools 2019
- Pentest Tools Url Fuzzer
- Hack Tools Download
- Hacking Tools 2019
- Hacking Tools Kit
- Hack Tool Apk No Root
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Website Vulnerability
- Hacker Tools For Windows
No hay comentarios.:
Publicar un comentario