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 articles
- Hack Tools For Pc
- Pentest Reporting Tools
- Hack Website Online Tool
- Hack Tools For Ubuntu
- Hacking Tools Name
- Pentest Tools Url Fuzzer
- Hacking Tools 2020
- Tools Used For Hacking
- Pentest Tools For Windows
- Hack Tools Online
- Hack And Tools
- Pentest Tools Alternative
- Hack Tools
- Hacking Tools And Software
- Ethical Hacker Tools
- Pentest Tools For Windows
- What Are Hacking Tools
- Blackhat Hacker Tools
- Hack Tools For Pc
- Hacking Tools For Pc
- Hack Tool Apk No Root
- Pentest Tools Nmap
- Kik Hack Tools
- Hacks And Tools
- Pentest Tools Free
- Hacking Apps
- Black Hat Hacker Tools
- Pentest Tools For Ubuntu
- Hacking Tools Online
- Hacking Tools For Kali Linux
- Underground Hacker Sites
- Best Pentesting Tools 2018
- Github Hacking Tools
- Hack Tools For Games
- Hack Tools For Windows
- Hacker Tools Linux
- Hacking Tools Online
- Hacking Tools For Kali Linux
- Hacking Tools For Games
- Best Hacking Tools 2020
- What Is Hacking Tools
- Tools Used For Hacking
- Pentest Tools Free
- Nsa Hack Tools
- Hacking Tools Windows 10
- Free Pentest Tools For Windows
- Hacker Tools Apk Download
- Hacker Tools For Ios
- World No 1 Hacker Software
- Hacking Tools Software
- Hack Tools Pc
- Pentest Tools For Windows
- Hacking Tools And Software
- Hack Tools Mac
- Hack Tools For Ubuntu
- Install Pentest Tools Ubuntu
- Hack Tools Github
- Blackhat Hacker Tools
- Hacker
- Hack Apps
- Pentest Tools For Ubuntu
- Hack Rom Tools
- Hacking Tools For Windows 7
- Pentest Tools Online
- World No 1 Hacker Software
- Black Hat Hacker Tools
- How To Hack
- Pentest Tools Tcp Port Scanner
- Pentest Box Tools Download
- Computer Hacker
- Hacker Tools For Mac
- Pentest Tools Windows
- Hacking Tools For Windows 7
- Hacking Tools For Games
- How To Hack
- Pentest Tools Website
- Hack Tools For Mac
- Hack Apps
- Github Hacking Tools
- Nsa Hacker Tools
- Pentest Automation Tools
- Pentest Tools For Android
- Hacking Tools Name
- Hack Website Online Tool
- Hack Tools For Pc
- Nsa Hack Tools Download
- Hacker
- Pentest Tools Github
- Pentest Tools Download
- Hack Tools For Ubuntu
- Hacking Tools Windows
- Github Hacking Tools
- Hack Tool Apk
- Hacking Tools For Pc
- Hacking Tools For Windows Free Download
- Hack Tools For Windows
- Hacking Tools 2019
- Beginner Hacker Tools
- Hacking Tools Online
- Pentest Recon Tools
- Hacker Tool Kit
- Hacking Tools Windows 10
- Pentest Tools Linux
- Pentest Tools For Android
- Hack Tools Download
- Hackrf Tools
- Hacker Tools For Ios
- Hacker Tools 2019
- Beginner Hacker Tools
- Pentest Tools Alternative
- Hack Tools
- Pentest Tools
- How To Install Pentest Tools In Ubuntu
- Hack And Tools
- Hacking Tools Software
- Free Pentest Tools For Windows
- Tools For Hacker
- Hacker Tools 2020
- Pentest Tools Find Subdomains
- Hacking Tools Hardware
- Hacker Tools List
- Hacker Hardware Tools
- Hacking Tools Name
- Hack Tools Online
- Pentest Tools Website
- Wifi Hacker Tools For Windows
- Hacking Tools For Games
- Underground Hacker Sites
- Pentest Tools Free
- Pentest Tools List
- Pentest Tools Apk
- Pentest Tools Github
- Hack App
- Hacker Search Tools
- Hacker
- Hack Rom Tools
- Black Hat Hacker Tools
- What Are Hacking Tools
- How To Hack
- Hacking Tools For Kali Linux
- Pentest Box Tools Download
- Hack Tools Mac
- Computer Hacker
- Hacking Tools
- Hackers Toolbox
- Android Hack Tools Github
- Hacker Tools Mac
- Hack Tools Mac
- Hacking Tools For Windows 7
- Hacking Tools Hardware
- Hacking App
- Beginner Hacker Tools
- Pentest Tools
- Pentest Tools Free
- Hacking Tools For Games
- Hacking Tools Mac
- How To Hack
- What Are Hacking Tools
- Hacking Apps
- Hack Tool Apk No Root
Comments