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 links
- Hacking Tools For Beginners
- Pentest Tools Kali Linux
- Hacker Tools Free Download
- Pentest Tools Free
- Nsa Hack Tools
- Pentest Tools Github
- Install Pentest Tools Ubuntu
- Hack And Tools
- How To Hack
- Hack App
- Hack Apps
- Hacker Search Tools
- Pentest Tools Open Source
- Hack Tools For Windows
- Growth Hacker Tools
- Hack Tools Github
- Pentest Tools Apk
- Hack Tool Apk
- Hacking App
- Hacker Tools List
- Hack Tool Apk
- Hack Tools Pc
- Hacker Tools Free Download
- Hack Tools 2019
- Hack App
- Pentest Tools Framework
- Hacking Tools Windows 10
- New Hack Tools
- Wifi Hacker Tools For Windows
- Hackrf Tools
- Hack Tools
- Pentest Tools Subdomain
- Hack App
- Black Hat Hacker Tools
- Pentest Tools Apk
- Growth Hacker Tools
- Hack Tools For Pc
- Hack And Tools
- Hacking Tools For Games
- Hacking Tools Software
- Blackhat Hacker Tools
- Hacker Tools Online
- Pentest Tools Framework
- Hacking Tools Online
- Hacking App
- Hackrf Tools
- Hack Tools For Games
- Hacking Tools For Kali Linux
- Hacking Tools For Mac
- Hacking Tools Kit
- Hack Tools Mac
- Hack Tools Pc
- Hacker Tools Online
- Pentest Tools Subdomain
- Pentest Tools Github
- Hacking Tools For Windows
- Hack Tools For Ubuntu
- Install Pentest Tools Ubuntu
- Hacking Tools Windows 10
- What Are Hacking Tools
- What Are Hacking Tools
- Tools For Hacker
- Wifi Hacker Tools For Windows
- Hacker Tools Free
- Pentest Tools Tcp Port Scanner
- Hack Tools
- Hacking Tools Hardware
- Hacker Tools Free Download
- Hacking Tools Mac
- Hack And Tools
- Hack Tool Apk
- Hacker Tools For Mac
- Hacking Apps
- Hacker Tool Kit
- Hacking Tools For Beginners
- Pentest Tools Tcp Port Scanner
- Hak5 Tools
- Bluetooth Hacking Tools Kali
- Hacking Tools Github
- Hack Tools
- Hackers Toolbox
- Hacker Tools For Windows
- Hacker Hardware Tools
- Pentest Tools Github
- Hacker Hardware Tools
- Hacking Tools Free Download
- Hacker Tool Kit
- Pentest Tools Kali Linux
- Hacker Tools Github
- Pentest Tools Open Source
- Hacking Tools Mac
- Hacking Tools Software
- Install Pentest Tools Ubuntu
- Hacking Tools Windows 10
- Hacking Tools For Windows
- Hacking Tools And Software
- Hack Tools For Mac
- Pentest Tools Kali Linux
- Hacker Search Tools
- Hacker Tools For Ios
- Pentest Recon Tools
- Tools Used For Hacking
- Tools 4 Hack
- Hacking Tools Windows 10
- Tools Used For Hacking
- Pentest Tools Android
- Top Pentest Tools
- Hacking Tools Mac
- Tools Used For Hacking
- Pentest Tools Website
- Hack Tools Download
- Hacker Search Tools
- Hacking Tools For Kali Linux
- Hacker Search Tools
- Hacking Tools Pc
- Pentest Tools Tcp Port Scanner
- Hacking Tools Github
- Hacker Tools 2020
- Pentest Tools Free
- Hack Website Online Tool
- Pentest Tools Apk
- Hack Tools
- Nsa Hacker Tools
- Pentest Tools Subdomain
- Hak5 Tools
- Hacking Tools Windows
- Hack Tools
- Pentest Tools Linux
- Pentest Tools Online
- Hacker Tools For Pc
- Hacking Tools For Windows
- Physical Pentest Tools
- Pentest Tools Find Subdomains
- Hacker Tools Windows
- Hacks And Tools
- Pentest Tools For Ubuntu
- Nsa Hack Tools Download
- Blackhat Hacker Tools
- Hack App
- Hacking Tools For Windows Free Download
- Hacking App
- Pentest Tools For Ubuntu
- New Hack Tools
- Best Pentesting Tools 2018
No comments:
Post a Comment