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
- Hacker Tools Hardware
- Pentest Tools Find Subdomains
- Hacking Tools Software
- Hacker Hardware Tools
- Pentest Tools For Android
- Pentest Tools Review
- Hacking Tools For Mac
- Hacking Tools Mac
- Hacker Tools Linux
- What Are Hacking Tools
- Hacking Tools
- Hacker Tools For Ios
- Best Hacking Tools 2020
- Underground Hacker Sites
- Tools For Hacker
- Hack Tools For Games
- Hacking Tools For Pc
- Hacker Tools List
- Hacking Tools Pc
- Pentest Tools Find Subdomains
- Hacker Tools Free
- Hacker
- Bluetooth Hacking Tools Kali
- Pentest Tools Nmap
- Hacking Tools
- Hacker Security Tools
- What Are Hacking Tools
- How To Make Hacking Tools
- Hacker Techniques Tools And Incident Handling
- Hacker Tools Linux
- Hacker Tools Hardware
- Hacker Tools 2019
- Hacker Tools 2019
- Hacking Tools Online
- Pentest Automation Tools
- Kik Hack Tools
- Hacker Tools Windows
- Hacking Tools Online
- New Hack Tools
- Hacker Tools Github
- Hack Tool Apk No Root
- Pentest Box Tools Download
- Hack Tools
- Best Hacking Tools 2020
- Hacker Tools For Mac
- Best Pentesting Tools 2018
- Hack Tools Github
- Nsa Hack Tools
- Best Hacking Tools 2020
- Top Pentest Tools
- Pentest Tools For Android
- What Are Hacking Tools
- Hack Tools For Mac
- How To Install Pentest Tools In Ubuntu
- Pentest Tools For Ubuntu
- Beginner Hacker Tools
- Hacking Tools Pc
- Hacking Tools Hardware
- Pentest Tools For Ubuntu
- Best Hacking Tools 2019
- Hacker Tools Mac
- Hacking Tools Free Download
- Pentest Tools Review
- Hacker Hardware Tools
- Computer Hacker
- Ethical Hacker Tools
- Hacking Tools Download
- How To Hack
- Pentest Tools Kali Linux
- Pentest Tools Framework
- Hacking Tools For Windows
- Hack Tools Github
- Hacking Tools Free Download
- Hacker
- Hacker Hardware Tools
- Hacking Tools Online
- Pentest Tools Nmap
- Hack Apps
- Termux Hacking Tools 2019
- Hacking Tools For Beginners
- Pentest Tools For Windows
- Nsa Hack Tools Download
- Hacker Tools Hardware












No comments:
Post a Comment