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.
More articles
- Pentest Tools Free
- Black Hat Hacker Tools
- Hacking Tools Name
- Hacker Security Tools
- Hack And Tools
- Hack Tools Mac
- Black Hat Hacker Tools
- Hack Rom Tools
- Physical Pentest Tools
- Hack And Tools
- Hacker Tools Linux
- Pentest Tools Github
- Pentest Tools Website Vulnerability
- Black Hat Hacker Tools
- Hackrf Tools
- Pentest Tools Nmap
- Hack Tools For Mac
- Hackrf Tools
- Hacker Search Tools
- Growth Hacker Tools
- Tools For Hacker
- Pentest Tools
- Usb Pentest Tools
- How To Install Pentest Tools In Ubuntu
- Termux Hacking Tools 2019
- Hacker Tools Online
- Hacking Tools For Windows Free Download
- Pentest Tools Url Fuzzer
- Hack Tools Github
- Hacker Tools
- Pentest Tools For Windows
- Pentest Tools Github
- Hacking Tools For Kali Linux
- Termux Hacking Tools 2019
- Hacker Tools Free Download
- Hack Tools For Games
- Hack Website Online Tool
- Hacker Tools Linux
- Hacker Tools Windows
- Pentest Tools Github
- Hack Tools 2019
- Hacking Tools For Mac
- Install Pentest Tools Ubuntu
- Hack Tools Github
- Tools For Hacker
- Nsa Hack Tools Download
- Hack Tools For Pc
- Pentest Recon Tools
- Hackrf Tools
- Pentest Tools Website Vulnerability
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Free
- Hacking Tools Mac
- Pentest Tools Review
- Pentest Tools Port Scanner
- Bluetooth Hacking Tools Kali
- Hack Tools For Ubuntu
- Pentest Recon Tools
- Pentest Tools
- Tools Used For Hacking
- Hacking Tools Name
- Hacker Tool Kit
- Hacking Tools For Mac
- Hacking Tools Name
- Pentest Recon Tools
- Hacking Tools Free Download
- Pentest Tools Free
- Hacking Tools And Software
- Hacker Search Tools
- Pentest Tools For Android
- Tools 4 Hack
- Hacker Search Tools
- Bluetooth Hacking Tools Kali
- Hacking Tools Software
- Pentest Reporting Tools
- Easy Hack Tools
- New Hack Tools
No comments:
Post a Comment
Note: only a member of this blog may post a comment.