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 Windows
- Hack And Tools
- Hacker Tools List
- How To Hack
- Pentest Tools Open Source
- Pentest Tools For Mac
- Hacking Tools 2019
- Pentest Tools Windows
- Best Pentesting Tools 2018
- Wifi Hacker Tools For Windows
- Hacker Tools Hardware
- Pentest Tools Apk
- New Hacker Tools
- Computer Hacker
- Hacking Tools For Windows
- Install Pentest Tools Ubuntu
- Pentest Recon Tools
- How To Make Hacking Tools
- Physical Pentest Tools
- Install Pentest Tools Ubuntu
- Computer Hacker
- Hacking Tools Software
- Hacker Tools Software
- Hacker Tools
- Hacking Tools Github
- Hacker Tools For Mac
- Hacking Tools Software
- New Hack Tools
- Hack Tools For Games
- Hacker Techniques Tools And Incident Handling
- Hacker Tools Online
- New Hacker Tools
- Hack And Tools
- Hacking Tools 2020
- Physical Pentest Tools
- Tools For Hacker
- Usb Pentest Tools
- Easy Hack Tools
- Hacker Tools Free Download
- Hacking Apps
- Pentest Tools For Android
- Hacker Tools Apk
- Nsa Hack Tools Download
- New Hack Tools
- Pentest Box Tools Download
- Pentest Tools Windows
- Hackers Toolbox
- Pentest Tools For Windows
- Hacking Tools For Windows 7
- Pentest Tools For Ubuntu
- Hacker Tools 2019
- Best Hacking Tools 2020
- Easy Hack Tools
- Hacking Tools Hardware
- Tools Used For Hacking
- Hack Tools For Pc
- Hacking Tools Windows
- Hacking Tools For Kali Linux
- Pentest Tools For Windows
- Hack Website Online Tool
- Hack Tools For Pc
- Best Hacking Tools 2019
- Hacking Tools For Games
- Hack Tools For Games
- Hacking Tools 2019
- Pentest Tools Subdomain
- Best Hacking Tools 2020
- Hack Tools Github
- How To Hack
- Blackhat Hacker Tools
- Hack Tools Download
- Pentest Tools List
- Hack Website Online Tool
- Hacking Tools Mac
- Underground Hacker Sites
- Hacking Tools Online
- Hacker Tools For Ios
- How To Install Pentest Tools In Ubuntu
- Best Hacking Tools 2020
- Hackrf Tools
- Hacker Tools Windows
- Termux Hacking Tools 2019
Tidak ada komentar:
Posting Komentar