ASIS CTF Quals 2015 - Sawthis Writeup - Srand Remote Prediction
The remote service ask for a name, if you send more than 64 bytes, a memory leak happens.
The buffer next to the name's is the first random value used to init the srand()
If we get this value, and set our local srand([leaked] ^ [luckyNumber]) we will be able to predict the following randoms and win the game, but we have to see few details more ;)
The function used to read the input until the byte \n appears, but also up to 64 bytes, if we trigger this second condition there is not 0x00 and the print shows the random buffer :)
The nickname buffer:
The seed buffer:
So here it is clear, but let's see that the random values are computed with several gpu instructions which are decompiled incorrectly:
We tried to predict the random and aply the gpu divisions without luck :(
There was a missing detail in this predcitor, but there are always other creative ways to do the things.
We use the local software as a predictor, we inject the leaked seed on the local binary of the remote server and got a perfect syncronization, predicting the remote random values:
The process is a bit ugly becouse we combined automated process of leak exctraction and socket interactive mode, with the manual gdb macro.
The macro:
Related word
- Easy Hack Tools
- Hacking Tools Online
- Pentest Tools Alternative
- Hacking Tools For Beginners
- Usb Pentest Tools
- Hack Tool Apk
- Hacker Tools Mac
- Hacker Tools List
- Pentest Tools Find Subdomains
- Pentest Tools List
- Hacker Techniques Tools And Incident Handling
- Hacker Techniques Tools And Incident Handling
- Hacking Tools For Windows Free Download
- Hack Tools Online
- Hacking Tools Usb
- Pentest Tools Bluekeep
- Best Pentesting Tools 2018
- Hacker
- Pentest Tools Free
- Hacking Apps
- Hacking Tools Kit
- Hacker Tools Github
- Hacker Tools Apk Download
- Hacking Tools Windows
- Hack And Tools
- Hacking Tools For Windows
- Pentest Tools Nmap
- Hacking Tools Software
- Hacking Tools Download
- Pentest Tools Url Fuzzer
- How To Hack
- Easy Hack Tools
- Hacker Tools For Ios
- Hacker Tools Software
- Hack Tools
- Black Hat Hacker Tools
- Hacker Tools Apk
- Hack Tools
- Pentest Tools Windows
- Ethical Hacker Tools
- Hacking Tools Windows 10
- Blackhat Hacker Tools
- Ethical Hacker Tools
- Termux Hacking Tools 2019
- Hacking Tools Kit
- New Hack Tools
- Hacker Tools List
- Hacking Tools For Kali Linux
- Hacker Tools Apk Download
- Game Hacking
- How To Make Hacking Tools
- Hack Apps
- Hack Tools 2019
- Hack Tools Download
- Hack Tools For Games
- Hacker Tools List
- Game Hacking
- Hack Tools Mac
- Pentest Tools Linux
- Hacking Tools Mac
- Hacker Tools Windows
- Physical Pentest Tools
- Tools For Hacker
- Hacking Apps
- Hacking Tools Pc
- Easy Hack Tools
- Pentest Tools Github
- Pentest Tools For Android
- Hacker Tools Free Download
- Pentest Recon Tools
- Hacker Tools Hardware
- Hacker Tools Software
- Pentest Tools Alternative
- Growth Hacker Tools
- New Hack Tools
- Best Hacking Tools 2020
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Open Source
- Pentest Tools Online
- Pentest Tools Apk
- Pentest Tools Download
- Pentest Tools Free
- Beginner Hacker Tools
- Hack Tools For Mac
- Hacker Tools Apk
- Pentest Tools Linux
- Hack Tools Download
- Hacking Tools Windows
- Hacking Tools Pc
- Pentest Tools Github
- Nsa Hacker Tools
- Hacking Tools Hardware
- Hacker Tools For Mac
- Nsa Hack Tools Download
- Hacking Tools For Windows
- Hack Tools Download
- Hack Website Online Tool
- Pentest Recon Tools
- Game Hacking
- What Is Hacking Tools
- Hack Tools
- Hacks And Tools
- Ethical Hacker Tools
- Hacker Tools For Ios
- Hack Tools
- Hacking Tools Download
- Best Hacking Tools 2019
- Pentest Tools
- Hacking Tools 2020
- Hacker Tools List
- Tools 4 Hack
- Hacking Tools 2020
- Hack Tools Online
- Usb Pentest Tools
- Github Hacking Tools
- Pentest Tools Website
- Hack Tool Apk
- Hacking Tools Name
- Pentest Tools Kali Linux
No comments:
Post a Comment