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
- Hackers Toolbox
- Hacker Tools For Windows
- Hack Tools For Games
- Hackers Toolbox
- Hacking Tools Kit
- Physical Pentest Tools
- Hacking Tools Hardware
- Hack Tools Mac
- Ethical Hacker Tools
- Pentest Tools Tcp Port Scanner
- Hack Tools Mac
- Hack Tool Apk No Root
- Hacking Tools Pc
- Hacking Tools For Beginners
- Hacker Tool Kit
- Hack Tools For Ubuntu
- Pentest Tools For Mac
- Hacker Tools
- Hacking Tools Usb
- Ethical Hacker Tools
- Install Pentest Tools Ubuntu
- Hacking Tools For Windows
- Hacker Tools Hardware
- Best Hacking Tools 2019
- Wifi Hacker Tools For Windows
- Pentest Tools Url Fuzzer
- Pentest Tools Alternative
- Hacker Tools Free Download
- Hack App
- Nsa Hacker Tools
- Hacking Tools Github
- Nsa Hack Tools
- Hacking Tools Pc
- Hacking Tools Windows 10
- Hacking Tools Online
- Hacking Tools Usb
- Tools Used For Hacking
- Top Pentest Tools
- Pentest Reporting Tools
- Pentest Tools Android
- Pentest Recon Tools
- Hacking Tools Windows 10
- Top Pentest Tools
- Hacking Tools Kit
- Hack Tools For Windows
- Hack Tools
- Hacking Tools Online
- Hack App
- Android Hack Tools Github
- Pentest Reporting Tools
- Hacking Tools Windows 10
- Hacking Tools For Games
- Hack Rom Tools
- Hacking App
- Pentest Tools Alternative
- Pentest Recon Tools
- Pentest Tools Github
- Hacking Tools For Mac
- Growth Hacker Tools
- Hacking Tools For Games
- What Is Hacking Tools
- Hacking Tools For Pc
- Pentest Tools Website Vulnerability
- Pentest Tools Online
- Best Hacking Tools 2019
- Hacking Tools Software
- Hacker Tools For Ios
- Pentest Tools Subdomain
- Growth Hacker Tools
- Hacker Security Tools
- Install Pentest Tools Ubuntu
- Pentest Tools Download
- Hacking Tools Software
- Hacking App
- Pentest Tools Android
- Best Hacking Tools 2020
- Pentest Tools Find Subdomains
- Hacker Tools Windows
- Pentest Tools For Ubuntu
- Hacker Tools Online
- Nsa Hack Tools
- Hack Tools For Windows
- Pentest Tools Kali Linux
- Bluetooth Hacking Tools Kali
- Best Pentesting Tools 2018
- Hacking Tools For Beginners
- Termux Hacking Tools 2019
- Hacking Tools Github
- Pentest Tools For Ubuntu
- Hacker
- Hack Rom Tools
- Pentest Tools Kali Linux
- Hack Rom Tools
- Hacking Tools For Pc
- Pentest Automation Tools
- Pentest Tools Website
- Tools Used For Hacking
- Pentest Tools Find Subdomains
- Github Hacking Tools
- Hacking Tools And Software
- Usb Pentest Tools
- Best Hacking Tools 2020
- Hacking Tools
- Hacker Tools Linux
- What Is Hacking Tools
- Pentest Tools Framework
- Hacker Tools Software
- Pentest Tools Download
- Hacks And Tools
- Hack Tools Github
0 Comments:
Kommentar veröffentlichen
<< Home