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 news
- Hacker Tools Mac
- Hacking Tools Usb
- Hack Tools Online
- Ethical Hacker Tools
- Physical Pentest Tools
- Hack Tools For Windows
- Pentest Box Tools Download
- How To Make Hacking Tools
- Pentest Tools Subdomain
- Hacking Tools For Kali Linux
- Hack Tools Github
- Hacker Tools For Windows
- Hack Tools
- Hack Apps
- How To Hack
- Hacker Techniques Tools And Incident Handling
- Hacker Tools For Mac
- Hacker Tools Windows
- Hacking Apps
- Usb Pentest Tools
- Hack Tools
- Hacker Tools Hardware
- Tools 4 Hack
- Hacker Security Tools
- Hacker Security Tools
- What Is Hacking Tools
- Hack Tools 2019
- Hacking Tools For Windows Free Download
- Hacking Tools For Games
- Hack Tools
- Hacking Tools Kit
- Tools For Hacker
- Hacking Tools Online
- Hacker Tools For Pc
- How To Make Hacking Tools
- Hacker Tools List
- Pentest Tools Bluekeep
- Ethical Hacker Tools
- Hacking Tools Pc
- Hacking Tools Pc
- Hacking Tools Windows 10
- Hacker Tools 2020
- Hacker Tools Apk
- Ethical Hacker Tools
- Hacking Tools Free Download
- Pentest Tools Website Vulnerability
- Wifi Hacker Tools For Windows
- Tools Used For Hacking
- Hack Tools For Pc
- Install Pentest Tools Ubuntu
- Hacking Tools Windows 10
- How To Make Hacking Tools
- Hacking Tools For Games
- Hacker Tool Kit
- Hacking Tools Software
- Nsa Hack Tools
- Hacking Tools Usb
- Usb Pentest Tools
- Pentest Tools For Android
- Hacking Tools Pc
- Top Pentest Tools
- Hacking Tools For Kali Linux
- Pentest Recon Tools
- Hacker Tool Kit
- Hacker Tools For Ios
- Hack Tools Download
- Hacking Tools Usb
- Pentest Tools Subdomain
- Tools Used For Hacking
- Hacking Apps
- Hacker Techniques Tools And Incident Handling
- Hacker Search Tools
- Growth Hacker Tools
- Pentest Tools Nmap
- Hacker Tools For Ios
- Pentest Tools For Ubuntu
- Hack Tools Download
- Pentest Tools Website
- Game Hacking
- Hacking Tools And Software
- Github Hacking Tools
- Hacker Tools 2019
- Pentest Tools Apk
- Pentest Recon Tools
- Pentest Tools Url Fuzzer
- Hack Tool Apk
- Pentest Tools Website
- Hacking Tools For Beginners
- Beginner Hacker Tools
- Pentest Box Tools Download
- Pentest Tools Nmap
- Hack Tools
- World No 1 Hacker Software
- Hacking Tools For Beginners
- Pentest Tools Github
- Install Pentest Tools Ubuntu
- Pentest Tools Windows
- Hacking Tools For Games
- Hacker
- Hack Tools Pc
- Pentest Tools Linux
- Hack App
- Hacking App
- Hacking Tools Free Download
- Hacking Tools Download
- Game Hacking
- Install Pentest Tools Ubuntu
- Pentest Tools Github
- Hack Tool Apk
- Hack Tools
- Hack Tools For Mac
- Pentest Tools Review
- Hacking Tools For Windows Free Download
- Pentest Tools Framework
- Hacker Tools For Mac
- Hacker Tools Mac
- Hack Rom Tools
- Hack Tools Pc
- Hack Tools Mac
- Pentest Tools Github
- Bluetooth Hacking Tools Kali
- Hacks And Tools
- Hacker Tools Hardware
- Pentest Tools Framework
- Hacking Apps
- Wifi Hacker Tools For Windows
- Pentest Tools Nmap
- Pentest Tools Kali Linux
- Hacks And Tools
- Tools For Hacker
- Pentest Recon Tools
- Growth Hacker Tools
- Hackrf Tools
- Android Hack Tools Github
- Hackers Toolbox
- Pentest Tools Free
- Hacking Tools For Windows Free Download
- Hack Apps
- Hacking Tools Windows
- Hacking Tools For Windows 7
- How To Install Pentest Tools In Ubuntu
- Free Pentest Tools For Windows
- Hacking Tools Kit
- Hacking Tools 2019