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 links
- Hacking Tools For Windows
- Hacking Tools Free Download
- How To Hack
- Hacking Tools For Kali Linux
- Pentest Tools Tcp Port Scanner
- Pentest Tools For Ubuntu
- Hacker Tools Hardware
- Hacker Tools List
- Hacks And Tools
- Github Hacking Tools
- Pentest Tools For Mac
- Pentest Tools Framework
- Hacking Tools For Windows Free Download
- Hacker Tools For Mac
- Pentest Tools Tcp Port Scanner
- Game Hacking
- Pentest Tools Windows
- New Hack Tools
- Hacking Tools For Kali Linux
- Pentest Tools For Ubuntu
- Pentest Tools Find Subdomains
- Kik Hack Tools
- Hacker Tools Linux
- Hack Tools Github
- Hack And Tools
- How To Install Pentest Tools In Ubuntu
- Pentest Tools List
- Hacking Tools For Windows Free Download
- Hacking Tools Kit
- Hack Tools Github
- Hack Tools
- Hacker Tools Software
- Hack Tools For Ubuntu
- Hack Tool Apk
- Pentest Tools For Android
- Hacker Tools For Mac
- Hacking Tools For Windows
- Pentest Tools Framework
- Pentest Tools Apk
- Best Pentesting Tools 2018
- Hack Tools Pc
- Pentest Tools Android
- Hacker Tools List
- Tools Used For Hacking
- Hacking Tools For Windows Free Download
- Pentest Tools
- Hack Tool Apk No Root
- Hack Tools Pc
- Hacking Tools Kit
- Hacking Apps
- Tools For Hacker
- Pentest Tools
- New Hack Tools
- Hack Tools For Games
- Tools For Hacker
- Hacking Tools Hardware
- Pentest Tools Framework
- Pentest Tools
- Pentest Tools Find Subdomains
- Hack Tools For Windows
- Hack Tools Download
- Pentest Tools Framework
- Hacking Tools For Beginners
- Hacker Security Tools
- Pentest Tools For Android
- Pentest Tools Website Vulnerability
- Hack Tools For Windows
- Pentest Tools Kali Linux
- Hacking Tools Windows
- What Is Hacking Tools
- Hack Tools For Games
- Hacking Tools For Windows
- Pentest Tools For Ubuntu
- Hacking Tools For Kali Linux
No comments:
Post a Comment
Note: only a member of this blog may post a comment.