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 articles
- Hack And Tools
- Pentest Tools Tcp Port Scanner
- Nsa Hack Tools
- How To Make Hacking Tools
- Hacking App
- Ethical Hacker Tools
- Hacker Tools Mac
- Hacking Tools
- Pentest Tools Android
- Hack Rom Tools
- Hak5 Tools
- Hack And Tools
- Game Hacking
- Best Hacking Tools 2020
- Pentest Tools
- Pentest Tools Download
- How To Install Pentest Tools In Ubuntu
- Hacker Tool Kit
- Hacker Tools Apk
- Hacker Tools 2020
- Hack Tools For Ubuntu
- Pentest Tools Nmap
- Hacking Tools Windows
- Hack Tool Apk
- Hacker Hardware Tools
- Pentest Tools Kali Linux
- New Hack Tools
- Github Hacking Tools
- Hacking Tools 2020
- Hacker Hardware Tools
- Hacking Tools Free Download
- Hacking Tools Download
- Hacking Tools And Software
- Pentest Reporting Tools
- Hack Tools For Windows
- Pentest Tools Open Source
- Hackers Toolbox
- Hacker Tools Mac
- Hack Website Online Tool
- Pentest Tools Framework
- Hack Tools 2019
- Hack Tools 2019
- Hack Tools
- Hacking Tools For Kali Linux
- Hacking Tools Download
- Hack Apps
- Hacker Tools Apk Download
- Android Hack Tools Github
- Best Pentesting Tools 2018
- Nsa Hack Tools
- World No 1 Hacker Software
- Hacker Tools 2020
- Hacker Tools Apk
- Pentest Tools Framework
- Growth Hacker Tools
- How To Hack
- Pentest Tools Website
- Pentest Tools For Android
- Hacking Tools Name
- Hacker Tools For Windows
- Hack Tool Apk No Root
- Pentest Tools For Windows
- Pentest Reporting Tools
- Pentest Tools Github
- Hacker Tools Linux
- Hack Tool Apk No Root
- Pentest Tools Review
- How To Hack
- Hacking Tools Download
- Hacking Tools Hardware
- Hacker Tools For Pc
- Pentest Automation Tools
- Tools Used For Hacking
- Hacking Tools For Kali Linux
- Hack Tools
- Hack App
- Hack App
- Hack Tools For Mac
- Hackrf Tools
- Hacking Tools For Beginners
- World No 1 Hacker Software
- Pentest Tools For Windows
- Hack Tools For Mac
- Usb Pentest Tools
- Pentest Tools Find Subdomains
- Bluetooth Hacking Tools Kali
- Hacking Tools Windows
- Hacking Tools For Windows Free Download
- Hack And Tools
- Pentest Tools Review
- Hacking Tools For Windows
- Hacking Tools Github
- Hacker Tools For Ios
- Hacker Tools For Windows
- Termux Hacking Tools 2019
- Pentest Tools Open Source
- Blackhat Hacker Tools
- Hak5 Tools
- Best Hacking Tools 2019
- Pentest Tools Apk
- Hack Tools Github
- Pentest Tools Bluekeep
- Hacking Tools For Windows
- Github Hacking Tools
- Hack Tools Online
- Hacker Tools Hardware
- Bluetooth Hacking Tools Kali
- Hacker Tools Apk Download
- Pentest Tools Kali Linux
- Hacking Tools Windows
- Pentest Tools Online
- Hack Tools
- Pentest Reporting Tools
- Hacker Tool Kit
- Hacker Tools Free
- Hacking Tools Software
- Hacker Tools
- Pentest Tools Alternative
- Pentest Tools Kali Linux
- Best Hacking Tools 2019
- Hacker Hardware Tools
- Hacker Tools Mac
- Hack App
- Hacker Tools Github
- Termux Hacking Tools 2019
- Pentest Tools Website
- Pentest Box Tools Download
- How To Make Hacking Tools
- Pentest Tools Url Fuzzer
- Hack Tools For Ubuntu
- Hacker Tools Software
- Game Hacking
- Hack Apps
- Pentest Tools Bluekeep
- Hackers Toolbox
- Hacker Tools For Mac
- How To Install Pentest Tools In Ubuntu
- What Is Hacking Tools
- Pentest Tools Alternative
- Tools For Hacker
- Hacking Tools Name
- Hack Tools
- Nsa Hacker Tools
- Pentest Tools For Mac
- Hacking Tools For Mac
- Pentest Tools Android
- Hacker Tools 2020
- Hacker
- Termux Hacking Tools 2019
- Hacking App
- Hacker Tool Kit
- Hacking Tools For Windows 7
- Nsa Hack Tools
- Tools For Hacker
- Blackhat Hacker Tools
- What Are Hacking Tools
- Hacker Security Tools
- Hacker Techniques Tools And Incident Handling
- Beginner Hacker Tools
- Blackhat Hacker Tools
- Hacking Tools For Windows 7
No hay comentarios:
Publicar un comentario