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 articles
- Hacking Tools Pc
- Hacker Search Tools
- Hack Tools Mac
- How To Make Hacking Tools
- Hacker Tools For Windows
- Hackers Toolbox
- Termux Hacking Tools 2019
- Hack Tools 2019
- New Hack Tools
- Hackers Toolbox
- Pentest Tools Subdomain
- New Hacker Tools
- Hacking Apps
- Pentest Tools Online
- Black Hat Hacker Tools
- Usb Pentest Tools
- Pentest Tools Framework
- Hacker Security Tools
- Hacking Tools
- Hacking Tools Hardware
- Hacker Tools For Windows
- Hacker Tools For Mac
- Hacker Tools For Windows
- Github Hacking Tools
- How To Make Hacking Tools
- Blackhat Hacker Tools
- Physical Pentest Tools
- Hack Tools For Games
- Pentest Tools Review
- Pentest Tools Android
- Hack And Tools
- Tools 4 Hack
- Hacking Tools 2020
- Hack Tools For Games
- Pentest Tools Linux
- Hacker Tools Software
- How To Hack
- Pentest Tools Open Source
- Pentest Tools Tcp Port Scanner
- Hacking Tools Hardware
- Pentest Tools For Windows
- Tools 4 Hack
- Hacking Apps
- Hack Tools Mac
- Hacks And Tools
- New Hacker Tools
- Hacking Tools For Windows Free Download
- Pentest Tools Alternative
- What Is Hacking Tools
- Pentest Tools Open Source
- Pentest Tools Windows
- Hack Tools Download
- Pentest Automation Tools
- Easy Hack Tools
- Pentest Tools Online
- Pentest Tools Linux
- Hack Tool Apk No Root
- New Hack Tools
- Pentest Recon Tools
No comments:
Post a Comment