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 Windows Free Download
- How To Install Pentest Tools In Ubuntu
- Easy Hack Tools
- Hack Tools Download
- Top Pentest Tools
- Hacker Tool Kit
- Pentest Tools Free
- What Is Hacking Tools
- Nsa Hacker Tools
- Beginner Hacker Tools
- Hacker Tools For Windows
- New Hack Tools
- Pentest Tools Framework
- Pentest Tools
- Hack Tools
- Free Pentest Tools For Windows
- Pentest Tools Apk
- Hacking Apps
- How To Install Pentest Tools In Ubuntu
- Hack Rom Tools
- Hacks And Tools
- What Is Hacking Tools
- Pentest Tools Free
- Pentest Tools For Ubuntu
- Hacker Tools Free
- Hacker Tool Kit
- Hacking Tools For Mac
- Hack Tool Apk
- Hack Tools Online
- Hacking Tools For Windows 7
- Hacking Tools Name
- Hacker Tools List
- Pentest Tools Nmap
- Hack Website Online Tool
- Nsa Hack Tools Download
- Pentest Automation Tools
- Black Hat Hacker Tools
- Hacking Tools For Mac
- Hacker Tools Mac
- Pentest Tools Open Source
- Hack Tools 2019
- Underground Hacker Sites
- Hacks And Tools
- How To Hack
- Hacker Techniques Tools And Incident Handling
- Hacking Tools Software
- What Is Hacking Tools
- Hacker Tools Software
- Hacker Tools Mac
- Hack Tools Online
- Hacker Tools
- Physical Pentest Tools
- Hacking Tools For Pc
- Hack Tools Github
- Hacking Tools For Pc
- Hacking Tools For Games
- Hacking Tools Online
- Pentest Tools Windows
- Hacker Tools 2019
- Underground Hacker Sites
- Hacker
- Nsa Hack Tools Download
- How To Install Pentest Tools In Ubuntu
- Hacking Tools For Beginners
- Hacker Tools 2020
- Pentest Tools For Windows
- Game Hacking
- Underground Hacker Sites
- Pentest Tools For Android
- Pentest Tools Free
- Hacker Tools For Windows
- Pentest Tools Android
- Hacking Tools Mac
- Hack Tools 2019
- Hacker Tools Github
- Wifi Hacker Tools For Windows
- Termux Hacking Tools 2019
- Black Hat Hacker Tools
- Hacking Tools For Windows
- Pentest Tools For Mac
- Nsa Hack Tools Download
- Tools Used For Hacking
- Hacking Tools 2019
- Hackrf Tools
- Hacker Tools List
- Install Pentest Tools Ubuntu
- Pentest Tools Android
- Blackhat Hacker Tools
- Hacker Tools
- Hacking Tools Kit
- Hacking Tools Free Download
- Pentest Tools Review
- Hacking Tools Pc
- Pentest Tools Website
- Nsa Hacker Tools
- Computer Hacker
- Nsa Hack Tools Download
- Tools Used For Hacking
- Hacker Tools List
- Hack Tool Apk No Root
- Pentest Tools Open Source
0 comments:
Post a Comment