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