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
- Pentest Tools For Windows
- Hacking Tools For Beginners
- Hacking Tools Online
- Hacking Tools Download
- Hack Tools 2019
- Hacking Tools For Windows
- Hacker Tools Apk
- Hacking Tools Github
- Hacking Tools For Games
- Hacks And Tools
- Hack Tool Apk No Root
- Hacker Tools Linux
- Hacking Tools For Beginners
- What Is Hacking Tools
- Hacker Security Tools
- Hacker Tools Software
- Easy Hack Tools
- Pentest Tools Open Source
- Hack Website Online Tool
- Pentest Tools Online
- Hacker Tools For Ios
- World No 1 Hacker Software
- Hack Tools For Windows
- Hack Tool Apk No Root
- Top Pentest Tools
- Hack Tools Mac
- Pentest Tools Url Fuzzer
- Hacker Tools Free Download
- Hack Tools
- Pentest Reporting Tools
- Hacking Tools Github
- Free Pentest Tools For Windows
- Best Pentesting Tools 2018
- Hacker Tools 2019
- Tools 4 Hack
- Pentest Tools Find Subdomains
- Hack Website Online Tool
- Hacking Tools For Windows
- World No 1 Hacker Software
- Hacking Apps
- Tools Used For Hacking
- Pentest Tools For Android
- Hack Tools Download
- Pentest Tools Subdomain
- Pentest Tools Subdomain
- Github Hacking Tools
- Hacker Tools Hardware
- Nsa Hacker Tools
- Hack Tools 2019
- Install Pentest Tools Ubuntu
- Hacker Tools 2019
- Pentest Tools Find Subdomains
- Pentest Tools Online
- Pentest Tools Free
- How To Hack
- Hack Tools For Pc
- Pentest Tools Subdomain
- Nsa Hack Tools Download
- Hack Tools Download
- Pentest Tools Url Fuzzer
- Hacking Tools For Mac
- Game Hacking
- Best Hacking Tools 2020
- Hacking Tools
- Pentest Tools For Windows
- Hacker Tools 2020
- Pentest Tools Subdomain
- Hacker Hardware Tools
- Pentest Tools Subdomain
- Ethical Hacker Tools
- Pentest Tools Url Fuzzer
- Pentest Tools Subdomain
- Pentest Tools For Mac
- Hacking App
- Hack Tool Apk No Root
- Hack Apps
- Hacking Tools 2020
- Pentest Tools Subdomain
- Pentest Tools Framework
- Hacker Tools Mac
- Hack Tools For Pc
- Kik Hack Tools
- Hacker Tools Linux
- Hacking Tools For Kali Linux
- Hacker Tools List
- Hack Apps
- Black Hat Hacker Tools
- Hacking Tools For Games
- Pentest Tools Url Fuzzer
- Hacking Tools For Windows
- Hacking Tools Windows
- Hacking Tools For Kali Linux
- Hacker Tools Linux
- Pentest Tools Nmap
- Hack And Tools
- Pentest Tools Download
- Hacker Tool Kit
- Hacker Security Tools
- Usb Pentest Tools
- Hacker Tool Kit
- Hacker Tools Free
- Hack Tools Online
- Hacker Security Tools
- Hacker Security Tools
- Hack Tools Mac
- Hacker Tools Apk
- Physical Pentest Tools
- Pentest Tools
- Hacker Tools For Ios
- Hack Rom Tools
- Hack Tools Github
- Hacker Tools Hardware
- Hacker Tools Windows
- Hacking Tools For Windows 7
- Hacker Tools Online
No comments:
Post a Comment