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 news
- Best Pentesting Tools 2018
- Free Pentest Tools For Windows
- Hacker Tools Hardware
- Hack Tools For Ubuntu
- Hacker Tools Free Download
- Black Hat Hacker Tools
- Hacking Tools Online
- Pentest Tools Github
- Hacking Tools Download
- Pentest Tools Download
- Hack Tool Apk No Root
- Hacking Tools 2020
- Hack Apps
- Kik Hack Tools
- How To Hack
- Hacker Security Tools
- Hacker Tools Mac
- Pentest Tools Windows
- Kik Hack Tools
- Hack Tool Apk No Root
- Hacker Tools Hardware
- Hack Tool Apk No Root
- Pentest Tools Github
- What Is Hacking Tools
- New Hacker Tools
- Nsa Hack Tools
- Hacker Tools List
- Pentest Tools Website Vulnerability
- Hacker Tools 2019
- Blackhat Hacker Tools
- Pentest Tools Kali Linux
- Termux Hacking Tools 2019
- Hacking Tools Usb
- Hacking Tools For Pc
- Hacking Tools For Mac
- Hacker
- Hacker Tools List
- Hacking Tools 2020
- Install Pentest Tools Ubuntu
- Pentest Tools Port Scanner
- Nsa Hack Tools
- Hack Tools 2019
- Hacker Tools 2019
- Hacking Tools And Software
- Hacking Tools For Mac
- Hack Tool Apk No Root
- Hack Tool Apk
- Termux Hacking Tools 2019
- Tools 4 Hack
- Ethical Hacker Tools
- Hacking Tools Windows
- Pentest Automation Tools
- Pentest Automation Tools
- Hacking Tools Mac
- Hack Tools Download
- Usb Pentest Tools
- Hacking App
- Computer Hacker
- Hacking Apps
- Pentest Tools Download
- Hacker Tools For Pc
- Blackhat Hacker Tools
- Hacking Tools For Windows 7
- Hack Tools Pc
- Hack Tools For Mac
- Easy Hack Tools
- Hack Tools Online
- Pentest Box Tools Download
- Hacking Tools For Windows 7
- Install Pentest Tools Ubuntu
- Pentest Tools Kali Linux
- Bluetooth Hacking Tools Kali
- Hacking Tools Hardware
- Pentest Tools For Windows




No comments:
Post a Comment