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
- Ethical Hacker Tools
- How To Hack
- Hacker Tools 2020
- Pentest Tools Apk
- Hacker Tool Kit
- How To Make Hacking Tools
- Hack And Tools
- Pentest Tools Find Subdomains
- Hacking Tools Download
- Hack Tools For Windows
- Hacker Tools
- Pentest Tools Nmap
- Tools For Hacker
- Hacker Tools For Pc
- Bluetooth Hacking Tools Kali
- Pentest Tools Linux
- Hackrf Tools
- Pentest Tools Android
- Hacker Tools For Windows
- Hacker Tools List
- Hacking Tools Windows 10
- Pentest Reporting Tools
- Nsa Hack Tools
- Kik Hack Tools
- Best Hacking Tools 2019
- Hacker
- Wifi Hacker Tools For Windows
- Pentest Recon Tools
- Hack Website Online Tool
- Pentest Tools
- Hacking Tools Free Download
- Pentest Tools List
- Tools Used For Hacking
- Pentest Tools Free
- Nsa Hacker Tools
- Pentest Tools Website Vulnerability
- Hack Rom Tools
- Best Hacking Tools 2020
- Pentest Box Tools Download
- Hacking Tools For Windows Free Download
- Top Pentest Tools
- Hacking Tools Free Download
- Computer Hacker
- Hacker Security Tools
- Hacker Tools Linux
- Hacker Techniques Tools And Incident Handling
- Install Pentest Tools Ubuntu
- Pentest Tools For Ubuntu
- Pentest Tools Website Vulnerability
- Tools 4 Hack
- Pentest Tools Subdomain
- How To Install Pentest Tools In Ubuntu
- How To Hack
- Hack Tool Apk
- Pentest Tools Kali Linux
- Hacker Tools For Mac
- Pentest Tools For Windows
- Top Pentest Tools
- Hacker Tool Kit
- Hacker Tools Free Download
- Pentest Tools Open Source
- Game Hacking
- Hack Tools Online
- Easy Hack Tools
- Hacker Tools 2020
- Computer Hacker
- Pentest Tools Alternative
- Hack And Tools
- Hacking Apps
- Pentest Tools Port Scanner
- Best Pentesting Tools 2018
- Easy Hack Tools
- Hackers Toolbox
- Hacking Tools For Kali Linux
- Hacking Tools Name
- Hacker Tools Apk
- Pentest Tools Linux
- Pentest Tools Review
- How To Hack
- Hacking Tools And Software
- Hacker Tools For Ios
- Hacking Tools For Kali Linux
- Pentest Recon Tools
- Hack Tools Online
- Hacker Tools For Pc
- Hack And Tools
- Hacking Tools Mac
- Hacker Tools Apk Download
- Pentest Tools Tcp Port Scanner
- Pentest Reporting Tools
- Physical Pentest Tools
- Hacker Tools For Pc
- Best Hacking Tools 2019
- Pentest Tools Online
- Pentest Tools Open Source
- Hacker Tool Kit
- Tools Used For Hacking
- Hacking Tools For Windows Free Download
- Beginner Hacker Tools
- Hack Tools For Ubuntu
- Pentest Tools Tcp Port Scanner
- Hack Tools Download
No comments:
Post a Comment