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