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
- Pentest Tools Free
- What Is Hacking Tools
- Tools 4 Hack
- Hacker Tools Online
- Tools Used For Hacking
- Pentest Tools Free
- Pentest Tools Website
- Hacker Tools For Pc
- Hak5 Tools
- Wifi Hacker Tools For Windows
- Pentest Tools List
- Computer Hacker
- Tools Used For Hacking
- Hacking Tools 2020
- Pentest Tools For Mac
- Pentest Reporting Tools
- Hacker Tools Free Download
- Hacking Tools Name
- Pentest Tools Download
- Pentest Tools For Android
- Pentest Automation Tools
- Hack Website Online Tool
- Beginner Hacker Tools
- Hacking Tools Kit
- Hacking Tools Hardware
- Pentest Tools Windows
- Pentest Recon Tools
- Pentest Tools Bluekeep
- Hacking Tools Pc
- Hack Tools Download
- Hacking Tools Windows
- Tools For Hacker
- Usb Pentest Tools
- Hack Tools For Ubuntu
- Pentest Tools Linux
- Pentest Tools Framework
- How To Make Hacking Tools
- Hacking Tools Software
- Hacker Tools 2019
- Beginner Hacker Tools
- Usb Pentest Tools
- Pentest Tools Kali Linux
- Blackhat Hacker Tools
- Hacker Tools For Windows
- Nsa Hacker Tools
- Hacker Tools For Pc
- Pentest Tools For Windows
- Hack And Tools
- Hacking Tools Pc
- Hacking Tools Pc
- Wifi Hacker Tools For Windows
- Hack Tools For Games
- Hacking Tools
- Pentest Tools Kali Linux
- Hacking Tools Github
- Physical Pentest Tools
- Pentest Tools Bluekeep
- Best Pentesting Tools 2018
- Pentest Tools Free
- Hacker Security Tools
- Hacker Tools Mac
- Pentest Tools Find Subdomains
- Hacking Tools Download
- Pentest Tools Linux
- Pentest Tools
- Hack Tools Mac
- Hak5 Tools
- New Hacker Tools
- Hacking Tools Windows
- Hacks And Tools
- Pentest Tools Tcp Port Scanner
- Pentest Tools For Windows
- Underground Hacker Sites
- Hacker Tools Software
- Hacking Tools Online
- Hacking Tools Github
- Pentest Tools Framework
- Hack Tools Mac
- Pentest Tools List
- Game Hacking
- Hacker Tools For Windows
- Hacker Tools Online
- Pentest Tools List
- Hacking Tools Name
- Hack Tools Download
- Pentest Tools Kali Linux
- Pentest Tools Find Subdomains
- Pentest Tools Github
- Hacking Tools 2019
- Best Pentesting Tools 2018
- Hack Tool Apk
- Hacker Tools Software
- Hacker Tools Linux
- How To Install Pentest Tools In Ubuntu
- Pentest Tools Download
- Hacking Tools For Kali Linux
- Hack And Tools
- Hacking Tools For Windows
- What Are Hacking Tools
- Pentest Tools Download
- Pentest Tools For Android
- Pentest Tools Online
- Blackhat Hacker Tools
- Hacker Tool Kit
- Hacking Tools Name
- Easy Hack Tools
- Hacking Tools And Software
- Hacking Tools Download
- Pentest Tools Port Scanner
- Hak5 Tools
- Pentest Tools Port Scanner
- Hacking Tools For Windows Free Download
- Hacking Tools Mac
- Hacking Tools And Software
- Pentest Tools Online
- Hack Tools Github
- Hacking Tools For Mac
- Game Hacking
- Pentest Tools For Ubuntu
- Hacking Tools Windows 10
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.