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
More articles
- Hacking Tools For Mac
- Hacking Tools Github
- Hacker Security Tools
- Hacker Tools 2019
- Black Hat Hacker Tools
- Hacking Tools Pc
- Pentest Tools Android
- Hack Tools 2019
- Hacker Tools 2019
- Pentest Box Tools Download
- Hack Rom Tools
- Hack And Tools
- Hackers Toolbox
- Top Pentest Tools
- Hacker Tools For Mac
- Blackhat Hacker Tools
- Hack Tools Download
- Pentest Tools
- Computer Hacker
- Hack Tools 2019
- Hack Tool Apk
- Hacker Tools Free Download
- Hacker Security Tools
- Hacker Tools Apk
- Game Hacking
- Hacking Tools Kit
- Hacker Tools For Pc
- Hack Tools For Ubuntu
- Nsa Hack Tools Download
- Pentest Tools Url Fuzzer
- Hackers Toolbox
- Hacking Tools For Pc
- Hacker Tools
- Hacking Tools Name
- Hack Website Online Tool
- Hacker Tools Linux
- Hacking Tools 2020
- Pentest Tools Website Vulnerability
- Blackhat Hacker Tools
- Hacks And Tools
- Hacking Tools Usb
- Hacking Tools Kit
- Hacking Tools
- Hacking Tools Github
- Nsa Hack Tools Download
- Pentest Tools Website Vulnerability
- Pentest Tools Website Vulnerability
- Hacker Tools For Mac
- Pentest Tools Subdomain
- Kik Hack Tools
- Nsa Hack Tools
- Pentest Tools Free
- Free Pentest Tools For Windows
- Hacks And Tools
- Pentest Tools Online
- Hacking Tools Software
- Pentest Automation Tools
- Hacking Tools Windows
- Hacking Tools For Windows
- Hackrf Tools
- Pentest Tools Website Vulnerability
- Hacking Tools Kit
- Pentest Tools Windows
- Hacker Tools Mac
- Hacker Tools 2020
- Hack Tools For Games
- Pentest Box Tools Download
- Usb Pentest Tools
- Hacking Tools Online
- Tools 4 Hack
- Hacking Tools Online
- Easy Hack Tools
- Hack Tools
- Hacker Tools Online
- Hacker Tools Software
- Hack Tools For Ubuntu
- Top Pentest Tools
- Growth Hacker Tools
- Underground Hacker Sites
- Hacker
- Hacking Tools Software
- Hacker Tool Kit
- Hack App
- Hacker Tool Kit
- Pentest Tools For Windows
- Hack Tools Download
- Hack Tools For Windows
- Hacking Tools Free Download
- Hacking Tools And Software
- Pentest Tools Nmap
- Hacking App
- Blackhat Hacker Tools
- Hacking Tools Hardware
- Hacking Tools Name
- Hacker Tools 2020
- Tools Used For Hacking
- Hacking App
- Beginner Hacker Tools
- Hacker Tools For Mac
- Hack Apps
- Hack Tools For Ubuntu
- Best Hacking Tools 2019
- Hack Tools For Mac
- Wifi Hacker Tools For Windows
- Hacker Hardware Tools
- Hacker Tool Kit
- Best Hacking Tools 2019
- Pentest Tools For Android
- Hacker Hardware Tools
- Hack Tools Pc
- Hacking Tools And Software
- How To Make Hacking Tools
- Nsa Hack Tools
- Pentest Tools Port Scanner
- Hak5 Tools
- Pentest Tools Kali Linux
- How To Make Hacking Tools
- Hack Tools Mac
- Hacker Tools Online
- Pentest Tools Open Source
- Hacker Techniques Tools And Incident Handling
- Hacking Tools Github
- Hacks And Tools
- Hacking Tools Windows 10
- Hacker Tool Kit
- Hacking Tools Windows
- Hack And Tools
- Hack Tools For Mac
- Hacker Tools Software
- Pentest Tools For Mac
- Hack Tools For Pc
- Hacking Tools Name
- How To Hack
- Tools Used For Hacking
- Top Pentest Tools
- Pentest Tools Website
- Best Hacking Tools 2020
- Tools 4 Hack
- Pentest Tools Url Fuzzer
- Hacker Tools
- Hacking Tools For Windows Free Download
- Install Pentest Tools Ubuntu
- Pentest Tools Port Scanner
- Physical Pentest Tools
- Pentest Recon Tools
- Hack Website Online Tool












No comments:
Post a Comment