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
- Pentest Tools For Ubuntu
- Hack Tools Online
- Hack Tools Github
- Pentest Tools Bluekeep
- Beginner Hacker Tools
- Pentest Tools For Ubuntu
- How To Install Pentest Tools In Ubuntu
- Hacking Tools For Windows Free Download
- Hacking Tools Mac
- Tools For Hacker
- How To Make Hacking Tools
- Hack Tools
- Hack Tools 2019
- Hacker Tools
- Pentest Tools Github
- Pentest Tools For Ubuntu
- Hacking Apps
- Pentest Tools Port Scanner
- Hack Website Online Tool
- Hack Tools Download
- Hacking Tools Download
- Pentest Tools For Android
- What Is Hacking Tools
- Computer Hacker
- Pentest Automation Tools
- Pentest Tools For Windows
- Hack Tools 2019
- Pentest Tools Nmap
- Hackrf Tools
- Hacker Tools 2019
- New Hack Tools
- Black Hat Hacker Tools
- Hack Tools Download
- Black Hat Hacker Tools
- Hacker Tools Linux
- Pentest Tools Apk
- Hack And Tools
- Hack Tools For Games
- Hacking Tools 2019
- Hacking Tools Github
- Hacker Tools Free Download
- Hacking App
- Computer Hacker
- Pentest Tools Website Vulnerability
- Blackhat Hacker Tools
- Hak5 Tools
- Computer Hacker
- Hacking Tools For Kali Linux
- Pentest Tools For Mac
- Bluetooth Hacking Tools Kali
- Pentest Tools For Android
- Pentest Tools For Mac
- Hak5 Tools
- Hacker Tools For Pc
- Hack Tools
- Beginner Hacker Tools
- Hacker Tools
- Install Pentest Tools Ubuntu
- Top Pentest Tools
- Hacker Techniques Tools And Incident Handling
- Hacker Tools For Windows
- Hacking Tools Download
- Bluetooth Hacking Tools Kali
- Hacker Tools Free Download
- Nsa Hacker Tools
- Hacker Security Tools
- Pentest Tools For Ubuntu
- Top Pentest Tools
- Best Pentesting Tools 2018
- Hacking Tools Windows
- Pentest Tools Port Scanner
- Nsa Hack Tools Download
- Hack Tools Github
- Android Hack Tools Github
- Hack App
- Hacking Tools For Pc
- Hacking Tools For Pc
- Pentest Tools For Ubuntu
- Hacking Tools For Mac
- Nsa Hack Tools Download
- Pentest Tools Bluekeep
- Nsa Hack Tools
- Pentest Tools Linux
- Hacking Tools For Games
- Bluetooth Hacking Tools Kali
- Pentest Tools Open Source
- Pentest Box Tools Download
- Pentest Tools For Windows
- Hacking Tools Windows 10
- Hacker Tools List
- Black Hat Hacker Tools
- Pentest Tools For Ubuntu
- Hacking Tools For Windows Free Download
- Top Pentest Tools
- Free Pentest Tools For Windows
- Hack Tool Apk No Root
- Hacking Tools 2020
- Pentest Tools Website Vulnerability
- Computer Hacker
- Hack Tool Apk
- Pentest Tools Apk
- Hacker Tools For Pc
- Hacker
- Hacking Tools Usb
- Hackrf Tools
- Bluetooth Hacking Tools Kali
- Hack Tools For Mac
- Hacker
- Hack Tools Download
- Hacking Tools 2020
- Pentest Tools Nmap
- Hack Tools
- Nsa Hacker Tools
- Pentest Tools List
- Hacking Tools For Windows 7
- How To Make Hacking Tools
- Pentest Tools Github
- Pentest Tools Open Source
- Hacker
- Hacking Tools Hardware
- Pentest Tools Android












No comments:
Post a Comment