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
- Hacker Tools
- Hacker Tools Apk Download
- Nsa Hack Tools
- Pentest Reporting Tools
- Hacker Tools For Ios
- Hacking Tools For Windows 7
- Hack Tools Download
- Computer Hacker
- Hack Tools For Games
- Hacker Tools For Ios
- Hacker Hardware Tools
- Hack Tools For Games
- Hacking Tools For Windows
- Hacker Tools Github
- Hacking Tools Mac
- Hacking App
- Hack Website Online Tool
- Ethical Hacker Tools
- Free Pentest Tools For Windows
- How To Make Hacking Tools
- Hacker Tools Free Download
- Hacker Tools Github
- Pentest Tools Windows
- Hacking Tools
- Hacker Tools For Mac
- Pentest Tools Windows
- Hacker Tools Hardware
- Best Hacking Tools 2019
- Hacker Tools Online
- Hacker Tools For Ios
- Hack Tools Download
- Hack Apps
- Hacker Tools Github
- Hacking Tools 2019
- New Hack Tools
- Github Hacking Tools
- Hacker Tool Kit
- Hacking Tools For Kali Linux
- Hack Tools Online
- Hack Tools
- Hacking Tools For Windows Free Download
- Hacker Tools Windows
- Hacker Tools 2019
- Hacker Techniques Tools And Incident Handling
- Hacking Tools For Windows 7
- Hacking Tools For Windows Free Download
- Hacking Tools Online
- Pentest Tools Github
- Hacker
- Hacking Tools And Software
- Bluetooth Hacking Tools Kali
- Black Hat Hacker Tools
- Hack Tools For Games
- Pentest Tools Apk
- Computer Hacker
- Pentest Tools Github
- Pentest Tools Free
- Best Hacking Tools 2019
- Hacker Tool Kit
- What Is Hacking Tools
- Hacking Tools And Software
- Pentest Tools
- Termux Hacking Tools 2019
- Hacker Tools Hardware
- Hack Tools For Games
- World No 1 Hacker Software
- Free Pentest Tools For Windows
- Pentest Tools Open Source
- How To Hack
- Hack Tools
- Hacking Tools For Mac
- Hacker Tools Free
- Pentest Tools Apk
- Hacking Tools Online
- Best Hacking Tools 2020
- Pentest Tools Apk
- Hacker Tools List
- Hacker Tools Linux
- Hacking Tools For Beginners
- Hacker Tools Github
- Hacking Tools 2020
- Hacking Tools Free Download
- Tools Used For Hacking
- Physical Pentest Tools
- Nsa Hack Tools Download
- Pentest Tools For Ubuntu
- How To Install Pentest Tools In Ubuntu
- Pentest Tools Linux
- Ethical Hacker Tools
- Hack Tools For Ubuntu
- How To Make Hacking Tools
- Pentest Tools
- Hacking Tools Github
- Pentest Tools Website
- Hack Tools For Pc
- Pentest Tools Kali Linux
- Pentest Tools Windows
No comments:
Post a Comment