There are many basic shellcodes that can be emulated from the beginning from the end providing IOC like where is connecting and so on. But what can we do when the emulation get stuck at some point?
The console has many tools to interact with the emulator like it was a debugger but the shellcode really is not being executed so is safer than a debugger.
target/release/scemu -f ~/Downloads/shellcodes_matched/drv_shellcode.bin -vv
In some shellcodes the emulator emulates millions of instructions without problem, but in this case at instruction number 176 there is a crash, the [esp + 30h] contain an unexpected 0xffffffff.
There are two ways to trace the memory, tracing all memory operations with -m or inspecting specific place with -i which allow to use registers to express the memory location:
target/release/scemu -f ~/Downloads/shellcodes_matched/drv_shellcode.bin -i 'dword ptr [esp + 0x30]'
Now we know that in position 174 the value 0xffffffff is set.
But we have more control if we set the console at first instruction with -c 1 and set a memory breakpoint on write.
This "dec" instruction changes the zero for the 0xffffffff, and the instruction 90 is what actually is changing the stack value.
Lets trace the eax register to see if its a kind of counter or what is doing.
- Hacker Tools For Windows
- Pentest Tools Free
- Pentest Tools For Ubuntu
- Game Hacking
- Hack Tools
- Pentest Tools For Windows
- Pentest Tools Android
- Pentest Tools Find Subdomains
- Hacking Tools 2020
- Hacker Tools Windows
- Hacking Tools Free Download
- Underground Hacker Sites
- Hack Tools Github
- Hack Tools Mac
- Hacker Tools
- Pentest Recon Tools
- Hack Tools Online
- How To Hack
- Hacking Tools For Games
- Pentest Tools For Android
- Hack Tools Mac
- Hacker Tools Windows
- Hacking Tools 2019
- Hacking Tools Online
- Pentest Tools Tcp Port Scanner
- Pentest Tools Download
- Hack Website Online Tool
- Hack Tool Apk No Root
- Black Hat Hacker Tools
- Kik Hack Tools
- Pentest Tools For Mac
- Hack Tools Github
- Blackhat Hacker Tools
- Hacking Tools Pc
- Hacker Tools 2019
- Game Hacking
- Hack Tools For Windows
- Hacker Tools Software
- Hacking Tools Kit
- Pentest Recon Tools
- Pentest Tools Nmap
- Hack Tools Pc
- Hacking Tools Free Download
- Hacker
- Hacker Tools Free Download
- Hack App
- Hacker Tools List
- Hacker Tools
- Hacking Tools Pc
- Hacker Tools For Windows
- Hacking Tools Usb
- Hacking Tools Mac
- Computer Hacker
- Hacking Tools 2020
- Hacker Tools Windows
- Pentest Tools Apk
- Hack Rom Tools
- Pentest Tools Android
- Hacking Tools Mac
- Android Hack Tools Github
- Hack Tools For Windows
- Hacker Tools Software
- Hacking Tools
- Hacker Tools Free
- Hack Tools
- Game Hacking
- Pentest Tools Android
- Kik Hack Tools
- Pentest Tools Download
- Pentest Tools For Windows
- Pentest Tools Bluekeep
- Hack Tools Mac
- Hackers Toolbox
- Hacker Tools Apk
- Pentest Tools Find Subdomains
- Hacker Tool Kit
- Beginner Hacker Tools
- Hacker Tools Software
No comments:
Post a Comment