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:
More info
- Termux Hacking Tools 2019
- Hacking Tools For Games
- Hacking Tools Kit
- Hack Tools For Windows
- Wifi Hacker Tools For Windows
- Blackhat Hacker Tools
- Tools 4 Hack
- Pentest Tools Bluekeep
- Pentest Tools Windows
- Hacking Tools Free Download
- Free Pentest Tools For Windows
- Hacker Tools List
- Hack Tools
- Usb Pentest Tools
- Pentest Tools Bluekeep
- Pentest Automation Tools
- Pentest Tools Website Vulnerability
- Hackers Toolbox
- Hack Tools Mac
- Hacking Tools For Games
- Pentest Box Tools Download
- Hack Tool Apk No Root
- Hack Tools 2019
- Hacking Tools For Pc
- Wifi Hacker Tools For Windows
- Hacking Tools Software
- Hacker Security Tools
- Hack Tools Download
- Hacking Tools For Windows
- Hacker Tools Hardware
- Hacking Tools For Pc
- What Are Hacking Tools
- Hacking Tools For Beginners
- Pentest Tools Website Vulnerability
- Hacking Tools Github
- Free Pentest Tools For Windows
- Hacker Tools For Mac
- How To Hack
- Hacking Tools Windows 10
- How To Install Pentest Tools In Ubuntu
- Android Hack Tools Github
- Hacking Tools For Mac
- Hacker Tools Free Download
- Best Hacking Tools 2019
- Github Hacking Tools
- Pentest Recon Tools
- Tools For Hacker
- Pentest Tools Open Source
- Game Hacking
- Hacking Tools For Windows
- Nsa Hacker Tools
- Hacker Tools Software
- Black Hat Hacker Tools
- Hacker Tools Free
- Growth Hacker Tools