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.
- Pentest Tools Review
- Black Hat Hacker Tools
- What Is Hacking Tools
- Pentest Tools Linux
- Hacking Tools 2020
- Hack Tools For Windows
- Best Hacking Tools 2020
- New Hacker Tools
- Hacker Tools Apk Download
- Hacker Tools Online
- Physical Pentest Tools
- Hacker
- Hacker Tools Linux
- Pentest Tools Linux
- Hacker Tools Software
- Hacker Search Tools
- Pentest Tools Bluekeep
- Best Hacking Tools 2019
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Linux
- Physical Pentest Tools
- Pentest Tools Apk
- Hacking Tools Mac
- Bluetooth Hacking Tools Kali
- Tools For Hacker
- Pentest Tools For Android
- Hackrf Tools
- World No 1 Hacker Software
- Best Pentesting Tools 2018
- Hacker Tools Linux
- Pentest Tools For Android
- Hacker Tools For Mac
- Hackers Toolbox
- Pentest Tools List
- Pentest Tools Nmap
- Hacker Tools Software
- Hacks And Tools
- Hacking Tools Kit
- Hacking App
- Hack Tools
- Pentest Tools Website
- Underground Hacker Sites
- Hacker Tools 2019
- Hack Tools For Windows
- Hack Tools For Games
- Hacking Tools For Kali Linux
- Hacker Tools Windows
- Pentest Tools Android
- Game Hacking
- Hackers Toolbox
- Hacker Tools Hardware
- Ethical Hacker Tools
- Hacking Tools Free Download
- Hacking Tools Usb
- Hacker Tools 2019
- New Hack Tools
- Tools For Hacker
- Hack Tools For Windows
- Best Pentesting Tools 2018
- Hacker Tools For Ios
- Hacker Tools For Pc
- Hack Tool Apk No Root
- Hacking Tools Name
- Top Pentest Tools
- Hacking Tools For Beginners
- Hack Tools Download
- Hacking Tools Download
- Pentest Tools Website
- Hack Tools For Windows
- Bluetooth Hacking Tools Kali
- Pentest Tools
- Ethical Hacker Tools
- Hacker Tools For Windows
- Hack Tools For Games
- Hacker Tools Github
- Beginner Hacker Tools
- Pentest Tools Android
- Hacker Tools 2019
- Hack Tools Pc
- Hacking Apps
- Hackrf Tools
- Hack Tools Pc
- Pentest Tools Subdomain
- Hacking Tools Windows 10
- Hacker Techniques Tools And Incident Handling
- Android Hack Tools Github
- Hacker Tools For Windows
- Hack Tools For Games
No comments:
Post a Comment