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 news
- Blackhat Hacker Tools
- Hacks And Tools
- Pentest Tools Website
- Hack Website Online Tool
- Hacking Tools Mac
- Hacking Tools For Windows 7
- Hacker Tools Windows
- Hacking Tools Kit
- Hack Tools For Games
- Pentest Tools Url Fuzzer
- Pentest Tools Framework
- Bluetooth Hacking Tools Kali
- Hacking Tools 2019
- Hacking Tools For Pc
- What Is Hacking Tools
- What Are Hacking Tools
- Hacker Tools 2020
- Pentest Recon Tools
- Hacking Tools Mac
- Hack Tools For Mac
- Hacking Tools For Windows 7
- Hacker Tools List
- Hacking Tools For Kali Linux
- Hack Tools
- Pentest Automation Tools
- Hacker Tools Windows
- Hack Tools For Pc
- Pentest Tools Online
- Hacking Tools For Kali Linux
- Hacker Tools For Mac
- Best Pentesting Tools 2018
- Hacker Tools Mac
- Pentest Tools
- Hackers Toolbox
- Bluetooth Hacking Tools Kali
- Hak5 Tools
- Pentest Tools For Mac
- Hacks And Tools
- Physical Pentest Tools
- What Are Hacking Tools
- Hacking Tools
- Hacking Tools For Games
- Hacker Tools Free Download
- Hack Tools Github
- Pentest Tools Alternative
- Hack Tools Online
- Hacker Tools For Ios
- Hacker Tool Kit
- Pentest Box Tools Download
- Bluetooth Hacking Tools Kali
- Hak5 Tools
- Hacking Tools 2019
- Pentest Tools Review
- Pentest Tools Port Scanner
- Hacking Tools 2020
- Pentest Tools
- Install Pentest Tools Ubuntu
- Pentest Recon Tools
- Hacker Tools 2019
- Hacking Tools
- Hacker Tools Hardware
- Tools For Hacker
- Hacking Tools For Windows 7
- Github Hacking Tools
- Hack Tools 2019
- Hack Tools Online
- Hack Rom Tools
- Usb Pentest Tools
- Beginner Hacker Tools
- Hacking Apps
- Pentest Tools Url Fuzzer
- Hack Tools For Mac
- How To Hack
- Pentest Tools Online
- Hacking Tools For Windows 7
- Pentest Tools Subdomain
- Hacking Tools Download
- Hack Tools
- Hacker Tools Windows
- Pentest Tools Download
- Hacking Tools For Windows
- World No 1 Hacker Software
- Hacker Tools For Ios
No comments:
Post a Comment