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
- Easy Hack Tools
- Pentest Tools Find Subdomains
- Hacking Tools Github
- Hacking Tools Software
- Beginner Hacker Tools
- Pentest Tools Nmap
- Termux Hacking Tools 2019
- Pentest Tools Nmap
- Best Hacking Tools 2020
- Hack Tools Online
- Best Hacking Tools 2020
- Android Hack Tools Github
- Hacking Tools And Software
- Hacker
- Game Hacking
- Pentest Automation Tools
- Nsa Hack Tools
- Pentest Tools Review
- Hack Apps
- Pentest Box Tools Download
- Hack Tools Mac
- Black Hat Hacker Tools
- Computer Hacker
- Hack Tools Pc
- Hack Tools Download
- Pentest Tools Website
- Kik Hack Tools
- Hacking Tools Windows
- Hackers Toolbox
- Install Pentest Tools Ubuntu
- Hacker Tools 2020
- Hacking Tools And Software
- Hacking Tools Windows
- Android Hack Tools Github
- Hacker Tool Kit
- Pentest Tools For Android
- What Are Hacking Tools
- What Are Hacking Tools
- Best Hacking Tools 2020
- Nsa Hack Tools
- Ethical Hacker Tools
- Underground Hacker Sites
- Hacker Tools Linux
- Pentest Tools List
- Hacking Tools Online
- Pentest Tools Windows
- Hackrf Tools
- Hack Apps
- Hacking App
- Computer Hacker
- Hacking Tools 2020
- Android Hack Tools Github
- Hack Tools Download
- How To Hack
- Hacking Tools For Kali Linux
- Pentest Automation Tools
- Hackrf Tools
- Pentest Automation Tools
- Github Hacking Tools
- Pentest Tools Open Source
- Hackers Toolbox
- Hack Tools Online
- Best Hacking Tools 2020
- Hacker Tools For Ios
- Hack Tool Apk No Root
- Hack Tools For Windows
- Hack Tool Apk
- Hacking Tools Free Download
- Hacking Tools And Software
- New Hack Tools
- New Hack Tools
- Pentest Tools For Ubuntu
- World No 1 Hacker Software
- Hacker Tools For Ios
- Bluetooth Hacking Tools Kali
- Pentest Tools Url Fuzzer
- Hacker Security Tools
- Pentest Tools Download
- Pentest Tools Subdomain
- Top Pentest Tools
- Beginner Hacker Tools
- Pentest Tools Github
- Hacking Tools Windows 10
- Hacker Techniques Tools And Incident Handling
- Hack Tool Apk
- Hacker
- Hacking Tools For Pc
- Best Pentesting Tools 2018
- Hacking Tools 2020
- Pentest Tools Download
- Install Pentest Tools Ubuntu
- Pentest Tools Bluekeep
- Hacker Tool Kit
- World No 1 Hacker Software
- Tools For Hacker
- Best Hacking Tools 2019
- Hacking Tools Download
- Pentest Tools Bluekeep
- Pentest Tools Website Vulnerability
- Hack And Tools
- Hacking Tools For Beginners
- Hacking Tools Windows
- World No 1 Hacker Software
- Hacker Tools Mac
- Hackers Toolbox
- Hacking Tools For Windows
- Hacking Tools Pc
- New Hack Tools
- Hacking Tools 2019
- Hack Tools For Windows
- Hacking Tools Kit
- Pentest Tools Android
- Hacking Tools 2020
- Hack Tools Pc
- Hack Tools
- Hacker Tools List
- Hack Tools
- Pentest Tools Website Vulnerability
- Hack Tools
- Hacker Tools
- Hack Apps
- How To Hack
- Hak5 Tools
- Hacking Tools For Windows 7
- Pentest Recon Tools
- Hacker Search Tools
- Pentest Tools Tcp Port Scanner
- Pentest Tools Free
- Hack Tools For Games
- Pentest Tools Port Scanner
- Hack Tools Online
- Pentest Tools Framework
- Nsa Hack Tools Download
- Hacker Hardware Tools
- Underground Hacker Sites
- Wifi Hacker Tools For Windows
- Hack Website Online Tool
No comments:
Post a Comment