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 posts
- How To Install Pentest Tools In Ubuntu
- Computer Hacker
- Hacking Tools Windows 10
- Pentest Tools For Android
- Hacking Tools And Software
- Tools Used For Hacking
- Hacker Tools 2020
- Pentest Tools For Android
- Hacking Tools For Windows
- How To Make Hacking Tools
- Pentest Tools Find Subdomains
- Nsa Hack Tools Download
- New Hack Tools
- New Hacker Tools
- Nsa Hack Tools Download
- Pentest Tools Download
- Wifi Hacker Tools For Windows
- Hacker Tools Free Download
- Pentest Tools Nmap
- Hack And Tools
- Hak5 Tools
- Hacking Tools Pc
- Hack Tools For Ubuntu
- Hack Tools
- Hack Rom Tools
- Computer Hacker
- Tools 4 Hack
- Hacking Tools And Software
- Bluetooth Hacking Tools Kali
- Best Hacking Tools 2019
- Hacking Apps
- Pentest Tools List
- Hackrf Tools
- Underground Hacker Sites
- Pentest Tools Apk
- Hacker Hardware Tools
- Game Hacking
- Hacker Tools 2020
- Pentest Tools Linux
- Pentest Tools Free
- Hacker Tools
- Hacking Tools Mac
- Pentest Automation Tools
- Game Hacking
- Hack App
- New Hack Tools
- Nsa Hack Tools Download
- Free Pentest Tools For Windows
- Pentest Automation Tools
- Hacks And Tools
- Pentest Tools Port Scanner
- Growth Hacker Tools
- Hacking Tools Software
- Hacking Tools Name
- Hacking Tools Windows
- Computer Hacker
- Hack Tool Apk No Root
- Hackrf Tools
- Hacking Tools For Windows 7
- Tools For Hacker
- Pentest Tools Port Scanner
- How To Install Pentest Tools In Ubuntu
- Hacker Tools Windows
- Hack App
- Pentest Tools For Ubuntu
- Black Hat Hacker Tools
- Hack Tool Apk No Root
- Physical Pentest Tools
- Hacking Tools Github
- Hacking Tools Name
- Tools For Hacker
- Hacking Tools Free Download
- Pentest Recon Tools
- Hack Tools Online
- Hacking Tools For Pc
- Hacker Tools Free Download
- Pentest Automation Tools
- Hacking Tools For Kali Linux
- Hack Tools
- Hacking Tools Free Download
- Github Hacking Tools
- Hacking Tools For Windows 7
- New Hacker Tools
- Pentest Tools For Android
- Pentest Tools Apk
- Hacker Tools For Mac
- Hacker
- Pentest Tools Framework
- Tools 4 Hack
- Physical Pentest Tools
- Pentest Tools Alternative
- What Is Hacking Tools
- Hacker Tools Github
- Pentest Tools Website Vulnerability
- Hacking Tools Windows 10
- Growth Hacker Tools
- Wifi Hacker Tools For Windows
- Pentest Tools Framework
- Hacking Tools Download
- Ethical Hacker Tools
- Hacking Apps
- Free Pentest Tools For Windows
- Hacking Tools Free Download
- Pentest Tools For Windows
- Pentest Tools Online
- Best Hacking Tools 2020
- Hacker Tools Linux
- Free Pentest Tools For Windows
- Hacking Tools Hardware
- Best Hacking Tools 2020
- Hackers Toolbox
- Hacking Tools Windows 10
- Hacking Tools Kit
- Pentest Tools Nmap
- Pentest Tools Download
- Hacker Tools
- Top Pentest Tools
- Game Hacking
- Pentest Tools For Windows
- Hackrf Tools
- Hack Tools Pc
- Pentest Automation Tools
- Underground Hacker Sites
- Hack Apps
- Hacker Tools For Pc
- Best Pentesting Tools 2018
- Hacking Tools For Mac
- Hacking Tools Online
- Best Hacking Tools 2019
- How To Hack
- How To Make Hacking Tools
- Hack Tools Pc
- Hack Rom Tools
- Hack Rom Tools
- Hacker Tools For Mac
- Hacking Tools Name
- Hack Rom Tools
- Hacker Tools For Ios
- Pentest Tools Bluekeep
- Top Pentest Tools
- What Are Hacking Tools
- What Are Hacking Tools
- Hack Tools For Ubuntu
- Hacker Tools Windows
- Hack Tools For Ubuntu
- Pentest Tools Bluekeep
- Hack Tools Download
- Tools 4 Hack
- Hack Tools 2019
- Pentest Tools Subdomain
- Beginner Hacker Tools
- How To Install Pentest Tools In Ubuntu
- Hack Tool Apk
- Pentest Tools Apk
- Hack Website Online Tool
- Hacker Tools Free Download
- Hacking Tools For Windows Free Download
- Hacking Tools For Windows
- Hack Tools Github
- Pentest Tools For Ubuntu
- Hacking Tools Software
- Underground Hacker Sites
- Hack Tools 2019
- Hacker Hardware Tools
- Hackrf Tools
No comments:
Post a Comment