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:
Read more
- Pentest Tools Github
- Hacker Search Tools
- Hacking Tools And Software
- Hacking Tools For Windows
- Pentest Automation Tools
- Pentest Tools Free
- Hack App
- Hacking Tools Pc
- Hack Rom Tools
- Easy Hack Tools
- Nsa Hack Tools
- What Are Hacking Tools
- Pentest Tools For Ubuntu
- Github Hacking Tools
- Hack Apps
- Hacker Tools Hardware
- Pentest Automation Tools
- Hacker Tools
- Hack Tool Apk No Root
- Pentest Tools For Android
- Hacker Tools Apk
- Hacker Tools For Ios
- Hacking Tools For Mac
- Pentest Tools Find Subdomains
- Free Pentest Tools For Windows
- New Hacker Tools
- Pentest Box Tools Download
- Pentest Tools Apk
- Hack Tools For Mac
- World No 1 Hacker Software
- Pentest Tools Windows
- Hacker Tools Linux
- Hacking Tools 2019
- Hacking Tools For Beginners
- Pentest Tools Website
- Pentest Tools Tcp Port Scanner
- Hacker Tools For Pc
- Hacker Tools Linux
- New Hack Tools
- Termux Hacking Tools 2019
- Hacker
- Hack Website Online Tool
- Hacker Tools List
- Hack Rom Tools
- Pentest Tools Linux
- Pentest Tools Website Vulnerability
- Pentest Reporting Tools
- Hacker Tools Software
- Blackhat Hacker Tools
- Pentest Tools Find Subdomains
- Hacker Tool Kit
- Pentest Tools Github
- Hacker Tools Mac
- Hack Tools For Mac
- Hack Tools For Ubuntu
- Tools For Hacker
- Hack Tools
- Pentest Tools Website
- Hacking Tools And Software
- Hacker Tools Apk
- How To Install Pentest Tools In Ubuntu
- Hacker Tools List
- Pentest Tools Open Source
- Hacker Tools Free Download
- Free Pentest Tools For Windows
- Pentest Tools Review
- Hack Tools For Mac
- Nsa Hack Tools Download
- Pentest Tools Download
- Hack Rom Tools
- Pentest Tools For Ubuntu
- Hacker Tools List
- Best Hacking Tools 2019
- Pentest Tools Android
- Hackrf Tools
- World No 1 Hacker Software
- Pentest Tools
- Nsa Hack Tools
0 Comments:
Post a Comment
<< Home