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
More info
- Pentest Tools Tcp Port Scanner
- Hacking Tools Free Download
- Hack Tools
- Hack Tools For Games
- Pentest Tools Nmap
- Growth Hacker Tools
- Hacker Tools Github
- Pentest Tools Bluekeep
- Top Pentest Tools
- Pentest Tools
- Hack Apps
- Pentest Tools Subdomain
- Hacking Tools Hardware
- Pentest Tools Android
- Hacker Tools For Windows
- Hacking Tools Download
- Hacking Tools Github
- Wifi Hacker Tools For Windows
- Hacking Tools For Mac
- Pentest Automation Tools
- Hacker
- Hacker Tools 2020
- Nsa Hack Tools
- Hacker Tools For Ios
- Termux Hacking Tools 2019
- Hack Tools
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Url Fuzzer
- World No 1 Hacker Software
- Hacking Tools Pc
- Hacking Tools Free Download
- Free Pentest Tools For Windows
- Pentest Tools Website
- Hacking App
- Hack Tools Github
- Hacking Tools For Windows Free Download
- Hacker Techniques Tools And Incident Handling
- Pentest Tools For Android
- Nsa Hacker Tools
- Hacking Tools For Pc
- Hacking Tools Kit
- Install Pentest Tools Ubuntu
- Pentest Tools Find Subdomains
- Computer Hacker
- Pentest Tools Windows
- Pentest Tools Kali Linux
- Install Pentest Tools Ubuntu
- Hacking Tools 2019
- Pentest Box Tools Download
- Hacks And Tools
- Hacker Tools Software
- Hack Tools Online
- Hacking Tools For Mac
- Wifi Hacker Tools For Windows
- Hacking Tools Software
- Best Hacking Tools 2020
- Hack Website Online Tool
- Pentest Tools Linux
- Game Hacking
- Hack Tool Apk No Root
- What Is Hacking Tools
- Hacking Tools Free Download
- Hacker Tools Free
- What Is Hacking Tools
- Hacker Tools 2019
- Blackhat Hacker Tools
- Install Pentest Tools Ubuntu
- Top Pentest Tools
- Best Pentesting Tools 2018
- Hacking Tools Windows
- Pentest Tools Framework
- Blackhat Hacker Tools
- How To Make Hacking Tools
- Hack Tools For Ubuntu
- Hack Tool Apk
- Hacker Tools Software
- Hacking Tools For Windows 7
- Hacking Tools Download
- Hacking Tools And Software
- Hacker
- Pentest Reporting Tools
- Pentest Tools Url Fuzzer
- Hacking Tools Name
- Hacking Tools
- Pentest Tools Alternative
No comments:
Post a Comment