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
- Hack Tools
- Pentest Tools For Mac
- Hacker Search Tools
- Pentest Tools Website Vulnerability
- Pentest Reporting Tools
- Hacking Tools For Windows 7
- Hacker
- Pentest Tools Open Source
- Pentest Tools Github
- Pentest Tools Website
- Beginner Hacker Tools
- Pentest Box Tools Download
- Bluetooth Hacking Tools Kali
- How To Hack
- Hacking Tools For Windows
- Hack Tools Github
- Hack Tools For Games
- Hacking Tools Kit
- Hacker Tools 2020
- Hacker Hardware Tools
- Hacking Tools And Software
- Physical Pentest Tools
- Hacking Tools 2019
- Pentest Tools For Ubuntu
- Hack Tools
- Hacking Tools Mac
- Hack App
- Hacker Tools Windows
- Hacker Tools For Ios
- Ethical Hacker Tools
- Free Pentest Tools For Windows
- Hacking Tools For Pc
- Pentest Tools Tcp Port Scanner
- Hack Tools Github
- Hacking Tools Free Download
- Hacking Apps
- Hacker Tools For Windows
- Pentest Box Tools Download
- Pentest Tools Online
- Physical Pentest Tools
- Growth Hacker Tools
- Pentest Tools Url Fuzzer
- Nsa Hack Tools Download
- Hacker Tools Linux
- Hacker Security Tools
- Tools For Hacker
- Hacking Tools Windows 10
- Hacker Tools 2020
- Hacking Tools For Mac
- Hack Tool Apk No Root
- Pentest Tools Online
- Pentest Tools Github
- Hacker Tool Kit
- Hacker Security Tools
- Hack Tools Download
- Hacker Tools List
- Usb Pentest Tools
- Pentest Recon Tools
- How To Make Hacking Tools
- Pentest Tools Nmap
- Pentest Tools Bluekeep
- Pentest Tools Github
- Hacking Tools Software
- Hacker Tools Online
- Pentest Tools For Android
- Pentest Tools Website Vulnerability
- Hack Tools Github
- Pentest Tools Url Fuzzer
- Beginner Hacker Tools
- Hacker Tools For Ios
- New Hacker Tools
- Best Hacking Tools 2019
- Pentest Tools Find Subdomains
- Hack Tools 2019
- Hacker Tools List
- Hacking Tools Name
- How To Hack
- Pentest Tools For Android
- Pentest Tools Kali Linux
- Hack Tools 2019
- Pentest Tools Kali Linux
- Pentest Tools Framework
- Hacker Hardware Tools
- Hacks And Tools
- Hacking Tools For Windows Free Download
- Hack Tools
- Hacking Tools Pc
- Hacker Tools 2019
- Pentest Reporting Tools
- Hack Website Online Tool
- Hack Apps
- Hacking Apps
- Hacker Tools Windows
- Pentest Tools For Ubuntu
- Hacking Tools 2020
- Hacker Techniques Tools And Incident Handling
- Hack Website Online Tool
- Hack Tools 2019
- Hacker Techniques Tools And Incident Handling
- Hacker Tools List
- Pentest Tools Linux
- Nsa Hacker Tools
- World No 1 Hacker Software
- Hack Apps
- Tools Used For Hacking
- Hacking Apps
- Hack Apps
- Pentest Tools Review
- Ethical Hacker Tools
- Free Pentest Tools For Windows
- Hacking Tools For Windows 7
- Hack And Tools
- Top Pentest Tools
- Hak5 Tools
- Easy Hack Tools
- Hacker Security Tools
- New Hack Tools
- Pentest Tools For Windows
- Hacker Tools 2020
- Hacker Tool Kit
- Hacking Tools For Mac
- New Hacker Tools
- Pentest Tools Nmap
- Pentest Tools Alternative
- Android Hack Tools Github
- Pentest Tools Free
- Growth Hacker Tools
- Hacking Tools Software
- How To Install Pentest Tools In Ubuntu
- Hacker Tools Github
- Best Pentesting Tools 2018
- Hacking Tools
- Hacking Tools Download
- Hack Tools
- Pentest Tools Url Fuzzer
- Growth Hacker Tools
- Hacking Tools
- Hack Tool Apk
- Hacking Tools For Kali Linux
- Pentest Reporting Tools
- Pentest Tools Website Vulnerability
- Hack Tools Github
- Pentest Tools For Android
- Hacking Tools Hardware
- Pentest Tools Nmap
- Hack Tools Download
- Hacker Tools Online
- Bluetooth Hacking Tools Kali
- Black Hat Hacker Tools
- Hack Tool Apk
- Hack App
- Usb Pentest Tools
- Easy Hack Tools
- Hacking Tools Github
- Best Hacking Tools 2019
- Hacking Tools Hardware
- Hack Tools For Mac
- Hacker Tools For Ios
- Hack App
- Hacking Tools For Kali Linux
No comments:
Post a Comment