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
Continue reading
- Wifi Hacker Tools For Windows
- Hack Tools Github
- Hacking Tools Windows
- Growth Hacker Tools
- Bluetooth Hacking Tools Kali
- Pentest Tools Port Scanner
- Hack And Tools
- Pentest Tools For Windows
- Hack App
- Hack Tools For Mac
- Best Hacking Tools 2020
- Ethical Hacker Tools
- Pentest Tools Alternative
- Hak5 Tools
- Pentest Tools Nmap
- Pentest Tools Bluekeep
- Hack Tools
- Pentest Tools Review
- Hack Tools
- Pentest Tools List
- Hacker Tools
- Hacker Tools Windows
- Underground Hacker Sites
- Hacking Tools Usb
- Hacker Tools Free
- Game Hacking
- Hacking Tools For Mac
- Hack Tools For Games
- Pentest Tools Tcp Port Scanner
- Pentest Recon Tools
- Hacking Tools For Beginners
- Pentest Box Tools Download
- Hack Tools For Windows
- Hacking Tools 2020
- Hacker Techniques Tools And Incident Handling
- Hacking Tools And Software
- Computer Hacker
- Hacking Tools For Windows
- Hacking Tools Hardware
- Hacks And Tools
- Pentest Tools Download
- Hacking Tools For Kali Linux
- Pentest Tools Alternative
- Hack Tools For Windows
- Pentest Automation Tools
- Hacker Tools Linux
- Hacking Tools For Mac
- Hack Tools For Pc
- Hacker Tools Free Download
- Hacker Tools
- Pentest Tools Tcp Port Scanner
- Hacker Tools 2019
- Hacker Tools For Ios
- Hack Tool Apk
- Hacks And Tools
- Hacking Tools 2020
- Pentest Tools Website Vulnerability
- Hacking Tools For Mac
- Pentest Tools Bluekeep
- Pentest Tools Open Source
- Easy Hack Tools
- Hacker Tool Kit
- Hacking Tools For Windows
- Hack Tools For Ubuntu
- Hacker Tools For Mac
- Usb Pentest Tools
- Hack Website Online Tool
- Growth Hacker Tools
- Wifi Hacker Tools For Windows
- Hacking Tools For Kali Linux
- Hack Tools For Windows
- Pentest Tools Framework
- Github Hacking Tools
- Pentest Tools Windows
- Hack Tools For Mac
- Pentest Tools Android
- Hack Tools Pc
- Hacker Search Tools
- Hacking Tools Free Download
- Hacking Tools 2020
- Pentest Tools Nmap
- Hack Tools
- Growth Hacker Tools
- Hack Tool Apk No Root
- Hack And Tools
- Tools 4 Hack
- Hack Tools Download
- Growth Hacker Tools
- Hack Tool Apk No Root
- Hack Tools 2019
- Pentest Tools Framework
- Hacker Tools Apk Download
- Hacker Tools For Pc
- Hacker Tools Online
No comments:
Post a Comment