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 Reporting Tools
- Hacker Search Tools
- Hacker Tools For Mac
- Hacking Tools Name
- Game Hacking
- Nsa Hack Tools
- World No 1 Hacker Software
- Hacker Tools List
- Pentest Tools Nmap
- Hack Tools Online
- Hack Tools
- Pentest Tools Url Fuzzer
- Hacker Tools Mac
- Hacking Tools Online
- Hacker Tools Apk Download
- Hacker Tools Free Download
- Game Hacking
- Hacking Tools Online
- Hacking Tools 2020
- Pentest Recon Tools
- Pentest Tools For Ubuntu
- Hacker Tools Mac
- Hack Tools For Pc
- Github Hacking Tools
- Best Hacking Tools 2019
- Tools For Hacker
- Hacker Tools Software
- Pentest Tools Open Source
- Hack Tools For Ubuntu
- Pentest Tools For Mac
- Pentest Box Tools Download
- Android Hack Tools Github
- How To Make Hacking Tools
- Hack App
- Hack Tool Apk
- Tools 4 Hack
- Hack Tools 2019
- Termux Hacking Tools 2019
- Growth Hacker Tools
- Hacker Tools For Ios
- Hacker Tools Github
- Hack Tools For Games
- Hacking Tools Github
- New Hack Tools
- Hacking Tools Pc
- Computer Hacker
- Hacker Tools 2020
- New Hacker Tools
- Wifi Hacker Tools For Windows
- Hacking Tools For Beginners
- Pentest Tools Free
- Hacker Tools Apk Download
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Tcp Port Scanner
- Pentest Tools
- Hack Tools For Mac
- Android Hack Tools Github
- Pentest Tools Open Source
- Pentest Tools Bluekeep
- Hack Apps
- Pentest Tools Url Fuzzer
- Game Hacking
- Hacker Tools Apk
- Hacker Tools
- Hacking Tools For Pc
- Hak5 Tools
- Pentest Tools Download
- Pentest Tools Windows
- Pentest Tools Windows
- Hack Tools
- Blackhat Hacker Tools
- Physical Pentest Tools
- Usb Pentest Tools
- Tools For Hacker
- Pentest Tools Tcp Port Scanner
- Pentest Tools Online
- How To Install Pentest Tools In Ubuntu
- Hack Tools Mac
- Usb Pentest Tools
- Hacking Tools 2020
- Hack Tools For Pc
- Hacking Tools Kit
- Hacker Tools For Pc
- Blackhat Hacker Tools
- Hacking Apps
- Hacking Tools For Pc
- Pentest Tools For Windows
- Hacking Tools Name
- Nsa Hack Tools Download
- Kik Hack Tools
- Hack Tools For Pc
- Pentest Tools Linux
- Kik Hack Tools
- Pentest Box Tools Download
- Hack App
- Hack Tools
- Computer Hacker
- Pentest Tools For Windows
- Hacker Hardware Tools
- Kik Hack Tools
- Pentest Tools Subdomain
- Hack And Tools
- Hacking Tools For Windows
- Pentest Automation Tools
- What Is Hacking Tools
- Pentest Tools Kali Linux
- Hacking App
- Pentest Tools Nmap
- Hack App
- Hack Tools Mac
- Pentest Tools For Windows
- Hacking Tools Kit
- Wifi Hacker Tools For Windows
- Termux Hacking Tools 2019
- Black Hat Hacker Tools
- Hacking Tools Pc
- Blackhat Hacker Tools
- Hacking Tools 2020
- Game Hacking
- Pentest Tools
- Pentest Recon Tools
- Github Hacking Tools
- Hacking Tools Hardware
- Tools For Hacker
- Pentest Tools Alternative
- Hack Tools Online
- Pentest Tools Windows
- Pentest Tools For Ubuntu
- Hacking Tools Windows
- Pentest Tools Kali Linux
- Pentest Tools Url Fuzzer
- Hack Tools For Pc
- Github Hacking Tools
- Hack Tools Online
- Hacking Tools Online
- Hack Tools
- Hackers Toolbox
- Pentest Tools Open Source
- Hacking Tools For Beginners
No comments:
Post a Comment