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
- Hacker Tools
- Pentest Tools Online
- Hacking App
- Hack Tools 2019
- Pentest Tools Open Source
- Wifi Hacker Tools For Windows
- Pentest Tools Apk
- How To Make Hacking Tools
- Hacker Tools Apk
- Hacker Security Tools
- Hacking Tools Name
- Pentest Tools Free
- What Are Hacking Tools
- Pentest Tools Tcp Port Scanner
- Pentest Tools Subdomain
- Hacking Tools Windows 10
- Hacking Tools For Windows 7
- Hacker Tools Hardware
- Physical Pentest Tools
- Pentest Tools Download
- Pentest Tools Nmap
- Pentest Tools
- How To Hack
- Tools Used For Hacking
- Hacking Tools Name
- Black Hat Hacker Tools
- Nsa Hack Tools
- How To Hack
- Pentest Tools Linux
- Hack Tools Github
- What Is Hacking Tools
- Hacker Tools Online
- Hacking Tools For Games
- Hack Tools Github
- Tools For Hacker
- Pentest Tools Windows
- Pentest Reporting Tools
- New Hack Tools
- Hacking Tools Hardware
- Pentest Tools Github
- Tools 4 Hack
- Pentest Tools Alternative
- Hacking Tools Hardware
- Blackhat Hacker Tools
- Pentest Tools Nmap
- Hacker Tools For Mac
- Easy Hack Tools
- Physical Pentest Tools
- Pentest Tools Kali Linux
- Hacking Tools
- Hacker Tools Free
- Hacking Tools And Software
- Pentest Tools Bluekeep
- Tools 4 Hack
- Nsa Hacker Tools
- Pentest Tools Free
- Pentest Tools Github
- Github Hacking Tools
- Tools 4 Hack
- Hack Tools For Windows
- Computer Hacker
- Pentest Tools Alternative
- Hacking Tools Pc
- Best Hacking Tools 2019
- Hacking Tools Mac
- Hacking Tools Hardware
- Black Hat Hacker Tools
- Hacker Tools For Ios
- Hacker Hardware Tools
- Pentest Tools Download
- Hacker Tools Hardware
- Hacker Tool Kit
- Pentest Tools Website
- Tools For Hacker
- Hack Tools For Pc
- Hacker Tools Online
- Pentest Tools
- Hacking Tools Kit
- Pentest Reporting Tools
- Pentest Box Tools Download
- How To Hack
- Nsa Hack Tools
- Pentest Tools For Android
- Pentest Tools Website Vulnerability
- Pentest Box Tools Download
- Hacking Tools Windows 10
- Hacker Tools List
- Hackers Toolbox
- Pentest Tools Website
- Pentest Tools Android
- Hack Tools Online
No comments:
Post a Comment