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.
Related articles
- Pentest Tools List
- Hacking Tools Kit
- Hacking Tools Name
- Hacking Tools 2020
- Pentest Tools Android
- Pentest Tools Review
- Hacker
- Pentest Tools Linux
- Pentest Tools Port Scanner
- Pentest Tools Bluekeep
- New Hack Tools
- Best Pentesting Tools 2018
- Termux Hacking Tools 2019
- Tools 4 Hack
- Hacker Security Tools
- Hacking Tools For Kali Linux
- Tools 4 Hack
- Hack Tool Apk
- Hacking Tools For Beginners
- Hacking Tools For Pc
- Hacking Tools Mac
- Hacker Search Tools
- Pentest Tools Download
- Top Pentest Tools
- Bluetooth Hacking Tools Kali
- Game Hacking
- Pentest Tools Download
- Hacker Security Tools
- Black Hat Hacker Tools
- Hacker Techniques Tools And Incident Handling
- Hacker Tools Apk Download
- Hacker Tools Hardware
- Pentest Tools Kali Linux
- Hack Apps
- Hacking App
- Underground Hacker Sites
- Game Hacking
- Hacker Tools 2020
- Hacker Tools Online
- Hacker Tools 2020
- Hack Tools Download
- Pentest Tools List
- Pentest Tools For Android
- Hack Tools For Pc
- Hacking Tools For Beginners
- Nsa Hacker Tools
- Hacking Tools Github
- Pentest Tools Nmap
- Hak5 Tools
- Android Hack Tools Github
- Hacker Security Tools
- Pentest Tools Nmap
- Hacker
- Hack Tools Pc
- Hacking Tools Name
- How To Make Hacking Tools
- Usb Pentest Tools
- Top Pentest Tools
- Physical Pentest Tools
- Hacker Tools For Mac
- Best Pentesting Tools 2018
- Physical Pentest Tools
- Free Pentest Tools For Windows
- Usb Pentest Tools
- Bluetooth Hacking Tools Kali
- Hacker Security Tools
- Hacking Tools Hardware
- Pentest Box Tools Download
- Ethical Hacker Tools
- Hacker Tools List
- Hacker Tools Mac
- Hack Tool Apk No Root
- Android Hack Tools Github
- Hacker Tools For Windows
- Hacking Tools Software
- Kik Hack Tools
- Hacking Tools 2019
- Hack Tools
ไม่มีความคิดเห็น:
แสดงความคิดเห็น