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 word
- Pentest Tools Bluekeep
- Pentest Tools For Mac
- Pentest Tools For Android
- Pentest Tools
- Pentest Tools Linux
- Tools Used For Hacking
- Hacking Tools Download
- Hack Tools 2019
- Hacker Tools List
- Hacker Tools For Windows
- Pentest Tools Apk
- Hack App
- Pentest Tools Find Subdomains
- Beginner Hacker Tools
- Computer Hacker
- Pentest Tools Free
- Hacker Hardware Tools
- What Is Hacking Tools
- Pentest Tools Find Subdomains
- Pentest Tools Online
- Hacking Tools Kit
- Hacker Tools Linux
- Install Pentest Tools Ubuntu
- Hak5 Tools
- Hacking Tools Pc
- Hacking Tools Software
- Hacker Search Tools
- New Hacker Tools
- Hacking Tools For Beginners
- Game Hacking
- How To Hack
- Hacking Tools Usb
- Hack App
- Pentest Tools Port Scanner
- New Hack Tools
- Hacker Tools Github
- Hack Tool Apk
- Pentest Tools Website
- Hak5 Tools
- Hacking Tools For Pc
- Best Hacking Tools 2020
- Pentest Tools
- Hacker
- Game Hacking
- How To Hack
- Hacking Tools For Games
- How To Make Hacking Tools
- Physical Pentest Tools
- Black Hat Hacker Tools
- Hacking Tools Mac
- Hacking Tools Usb
- Hacker Tools Apk
- Hack Tools For Ubuntu
- Hacker Tools Free
- Pentest Tools For Ubuntu
- Hacking Tools For Windows 7
- Pentest Tools Online
- Hacker Tools Hardware
- Hack Tools Download
- Hack App
- Hack Tools
- Hacking Tools Hardware
- Pentest Tools Open Source
- Usb Pentest Tools
- Hacker Tools Apk
- Pentest Tools Port Scanner
- Nsa Hack Tools
- Computer Hacker
- What Are Hacking Tools
- Hacker Tools Hardware
- Hacking Tools 2019
- Pentest Tools Find Subdomains
- Pentest Tools For Mac
- Hacker Tools For Windows
- Black Hat Hacker Tools
- Hacker Tools
- New Hacker Tools
- Hacker Tools Software
- Hacker Tools 2020
- Pentest Tools Apk
- Hack And Tools
- Pentest Tools Free
- Pentest Tools Website
- Hacker Tools Online
- Pentest Tools Tcp Port Scanner
- Pentest Box Tools Download
- Pentest Tools Bluekeep
- Hacking Tools For Windows Free Download
- Hack Tools Online
- Hacker Tools Free Download
- Hack Tools For Mac
- Hacking Tools For Pc
- Android Hack Tools Github
- Pentest Tools Find Subdomains
- Pentest Tools Port Scanner
- Hacker Tools Github
- Hack Rom Tools
- Android Hack Tools Github
- Hack Website Online Tool
- Hacker Tools For Ios
- Hack Tools For Ubuntu
- Hack Tools For Games
- Hacker Tools 2019
- Hacking Tools 2019
- Best Pentesting Tools 2018
- Beginner Hacker Tools
- Hack Tools Download
- Pentest Tools Open Source
No hay comentarios:
Publicar un comentario