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
- Best Pentesting Tools 2018
- Growth Hacker Tools
- Nsa Hack Tools
- Hacking Tools Download
- World No 1 Hacker Software
- Pentest Tools For Mac
- Hacker Search Tools
- Physical Pentest Tools
- Hack Tools Download
- Pentest Tools Android
- Pentest Tools For Android
- Pentest Tools Alternative
- Hacker Tools 2020
- Hacking Tools Kit
- Hackrf Tools
- How To Make Hacking Tools
- What Is Hacking Tools
- Hacking Tools Kit
- Hacking Tools Kit
- Hak5 Tools
- Hack Apps
- Pentest Tools Alternative
- Tools Used For Hacking
- Hacker Tools For Ios
- Pentest Tools Tcp Port Scanner
- Hacks And Tools
- What Are Hacking Tools
- Pentest Tools Website Vulnerability
- Hacking Apps
- Hacker Tools Windows
- How To Hack
- What Are Hacking Tools
- Tools 4 Hack
- New Hacker Tools
- Hacking Tools For Pc
- Pentest Tools Windows
- Hacker Tools Online
- Hack And Tools
- Pentest Tools Android
- Computer Hacker
- Pentest Tools Website Vulnerability
- Hacking Tools Hardware
- Kik Hack Tools
- Computer Hacker
- Hacking Tools Github
- Hack Tools Online
- Hacking Tools Usb
- Hacker Tools Apk Download
- Tools 4 Hack
- Hacking Tools For Mac
- Hacking Tools For Windows 7
- Computer Hacker
- Hacking Tools Download
- Pentest Tools Online
- Hackers Toolbox
- Hacker Tools Github
- Best Hacking Tools 2019
- Hacking Tools Windows 10
- Hacker Tool Kit
- Top Pentest Tools
- Pentest Tools Tcp Port Scanner
- Pentest Tools Find Subdomains
- Hack Tools For Mac
- Top Pentest Tools
- Hacker Security Tools
- How To Hack
- Pentest Tools Website Vulnerability
- Best Hacking Tools 2019
- Hacker Tools Software
- Pentest Tools Download
- Best Hacking Tools 2019
- Hacking App
- Hacker Tools Free Download
- Hacking Tools Usb
- Hacking Tools For Beginners
- New Hacker Tools
- Hack Tool Apk No Root
- Pentest Recon Tools
- Pentest Tools Alternative
- Hack Tools For Games
- Pentest Tools Github
- Hacker Tools Windows
- Hacker Tools For Pc
- Hacking Tools Download
- Tools For Hacker
- Physical Pentest Tools
- Pentest Tools Subdomain
- Hacking Tools Name
- Hacking Tools Github
- Hacker Search Tools
- Pentest Reporting Tools
- Underground Hacker Sites
- Hacking Tools
- Hacker Search Tools
- Hacker Tools Software
- Pentest Tools Free
- Hacking Tools Software
- Pentest Tools Free
- Hack Tools For Pc
- Hacking Tools Pc
- Hacker Tools Free Download
- Pentest Tools Find Subdomains
- Beginner Hacker Tools
- Hacking Tools Name
- Physical Pentest Tools
- Hacker Tools For Pc
- Hacker Tools For Pc
- Hackers Toolbox
- Hacking Tools
- Pentest Tools Website
- Hacker Security Tools
- Hacking Tools For Windows 7
- New Hacker Tools
- New Hack Tools
- What Are Hacking Tools
- Pentest Tools Subdomain
- Pentest Tools Online
- Kik Hack Tools
- Hacking Tools For Windows Free Download
- Pentest Tools Android
- Tools Used For Hacking
- Computer Hacker
- Pentest Tools Open Source
- Hacker Tools List
- Hacking Tools Mac
- Hacking Tools Download
- Pentest Reporting Tools
- Hack Tools
- Hacker Tools For Windows
- How To Hack
- Hacking Tools For Games
- Hak5 Tools
- Android Hack Tools Github
- Hacker Tools List
- Pentest Tools Subdomain
- Pentest Tools Url Fuzzer
- Black Hat Hacker Tools
- Hacker Tools Apk
- Hacker Tools For Windows
- Easy Hack Tools
- Bluetooth Hacking Tools Kali
- Kik Hack Tools
- Hacker Tools Free
- Nsa Hacker Tools
- Black Hat Hacker Tools
- Nsa Hack Tools Download
- Hacker Tools Software
- Hack Tools For Ubuntu
- Pentest Tools Find Subdomains
- Pentest Tools Android
- How To Make Hacking Tools
- Bluetooth Hacking Tools Kali
- Game Hacking
- Hack Tools 2019
- Hack Tools Mac
- Nsa Hack Tools
- Pentest Tools Website Vulnerability
- Hack Tools For Games
- Pentest Tools Linux
- Pentest Tools Linux
- Pentest Tools Free
- Pentest Tools For Windows
- Bluetooth Hacking Tools Kali
- Nsa Hack Tools Download
- Hacker Tools For Pc
- Hacking Tools Online
- Hacker Security Tools
- World No 1 Hacker Software
- Hacker Tools List
No comments:
Post a Comment