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 posts
- Hacking Tools Hardware
- Hacking Tools For Kali Linux
- Pentest Tools List
- Pentest Tools Review
- Hacking Tools Windows 10
- Hacker Tools Online
- How To Make Hacking Tools
- Pentest Tools Windows
- Growth Hacker Tools
- Pentest Tools Alternative
- Tools 4 Hack
- What Is Hacking Tools
- Pentest Tools For Windows
- Physical Pentest Tools
- Hacking Tools Usb
- Hacking Tools Name
- Pentest Tools Url Fuzzer
- Pentest Recon Tools
- Hacking Tools
- Android Hack Tools Github
- Hacking Tools Windows
- Hacker Tools Software
- Kik Hack Tools
- Hacker Tools 2020
- Pentest Tools For Android
- Hack Tools For Games
- How To Make Hacking Tools
- Ethical Hacker Tools
- Hacking Tools Download
- Hack Tools Online
- Hacker Security Tools
- Pentest Tools For Windows
- Tools 4 Hack
- Hacker Tools For Pc
- Pentest Tools Open Source
- Hack Tools For Pc
- Hack Tools Online
- Hack Website Online Tool
- Hacking Tools Windows 10
- Hacker Tools Software
- Top Pentest Tools
- Hacking Tools Github
- Hacking Tools For Windows
- Usb Pentest Tools
- Pentest Tools For Mac
- Github Hacking Tools
- Pentest Tools Kali Linux
- Free Pentest Tools For Windows
- Pentest Tools List
- Hack Tools 2019
- Termux Hacking Tools 2019
- Pentest Automation Tools
- Hacking Tools Windows
- Pentest Tools Kali Linux
- Hack Tools For Pc
- Free Pentest Tools For Windows
- Hacker
- Hack Tools For Windows
- Pentest Box Tools Download
- Hacker Hardware Tools
- Best Hacking Tools 2020
- World No 1 Hacker Software
- Pentest Tools Subdomain
- Nsa Hack Tools
- Hacker Tools For Ios
- Hacking Tools For Pc
- Hack Tools Online
- Hacking Tools Github
- Pentest Tools Nmap
- Pentest Tools Alternative
- Hacker Tools List
- Pentest Tools Website
- Pentest Tools List
- Hacker Tools For Ios
- Pentest Tools Bluekeep
- Hacker Tools Mac
- Computer Hacker
- Pentest Tools Port Scanner
- Pentest Tools For Android
- Pentest Tools For Windows
- Pentest Tools Download
- Pentest Tools Framework
- How To Make Hacking Tools
- Hacks And Tools
- Nsa Hack Tools
- Hack Tools Github
- Hacking Tools Github
- Pentest Tools Port Scanner
- Hack Tools Github
- Hacking Tools Windows 10
- Pentest Tools Url Fuzzer
- Pentest Reporting Tools
- Hacking Tools For Mac
- Hack Tools Download
- Pentest Tools For Android
- Hack Tools Github
- Hack Tools Online
- Growth Hacker Tools
- Hacker Tools For Mac
- Ethical Hacker Tools
- Pentest Automation Tools
- Pentest Tools Find Subdomains
- Hacking Tools For Games
- Pentest Tools Website Vulnerability
- Pentest Reporting Tools
- Hack App
- Nsa Hack Tools
- Tools 4 Hack
- Hack Tools
- Hacker Tools Windows
- Hacker Tools 2019
- Hack Tools For Games
- Hacking Tools Online
- Hacking Tools Hardware
- Hacking Apps
- Pentest Tools Online
- Pentest Tools For Ubuntu
- Hacker Tools Hardware
- What Is Hacking Tools
- Hacking Tools Kit
- Pentest Tools For Android
- Termux Hacking Tools 2019
- Hacker Tool Kit
- Hacking Tools For Windows
- Hacker
- Hack Tools 2019
- Hack Tools For Ubuntu
- Hackers Toolbox
- Blackhat Hacker Tools
- Hack Tools For Ubuntu
- Pentest Tools Online
- Hack Tools Download
- Hack Tools For Mac
- Pentest Tools Bluekeep
- Pentest Tools Website Vulnerability
- Hacking Tools Download
- Hack Tools For Ubuntu
- Hacking App
- Pentest Tools
- Hacker Tools Apk Download
- Pentest Tools Framework
- What Is Hacking Tools
- Usb Pentest Tools
- Hacker Tools Mac
- Hacker Security Tools
- Hacking Tools Download
- New Hacker Tools
- Hacking Tools Pc
- Pentest Recon Tools
- Free Pentest Tools For Windows
- Hacker Tools Free
- Pentest Tools For Windows
- Hack Tools
- Hacker Tools Software
- Pentest Tools Windows
- Hacking Tools Hardware
- Hacking Tools 2020
- Hacking Tools Pc
- Pentest Tools Port Scanner
- Hacker Search Tools
- Hacking App
- Hack Tools Pc
- Pentest Tools Kali Linux
- Hacker Tools Hardware
- Hacker Hardware Tools
- Hacking Tools Online
- Hacks And Tools
- Hacker Tool Kit
- Hacking Tools Windows 10
- Pentest Tools Linux
- Underground Hacker Sites
No comments:
Post a Comment