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
- Hacker Tools Apk Download
- Blackhat Hacker Tools
- Hacker Tools Linux
- Hacker Tools For Ios
- Hacking Tools Windows
- Hacker Tools Apk Download
- Hacking Tools For Kali Linux
- Hacks And Tools
- Pentest Tools Kali Linux
- Pentest Tools For Windows
- Nsa Hack Tools Download
- Hacker Tools 2020
- Hacker Tools For Windows
- Wifi Hacker Tools For Windows
- Pentest Tools For Android
- Hacker Tools 2020
- Pentest Tools Android
- Ethical Hacker Tools
- Hacker Hardware Tools
- Hacking Tools Software
- Hacking Tools For Kali Linux
- Pentest Tools Website Vulnerability
- Hacking Tools Mac
- How To Hack
- Pentest Tools List
- Hacker Hardware Tools
- Pentest Tools Kali Linux
- Pentest Tools Subdomain
- Pentest Tools Url Fuzzer
- Hacker Techniques Tools And Incident Handling
- Hacker Tools
- Pentest Tools Apk
- Black Hat Hacker Tools
- Nsa Hack Tools
- Pentest Tools For Ubuntu
- Hack Apps
- Blackhat Hacker Tools
- Best Pentesting Tools 2018
- Hacking Tools For Windows Free Download
- Github Hacking Tools
- Game Hacking
- Hacker Search Tools
- Nsa Hacker Tools
- Pentest Automation Tools
- Nsa Hack Tools
- Hacking Tools For Mac
- Pentest Tools Windows
- Hack Tools For Windows
- Hack Tools Github
- Hacker Tools For Ios
- Pentest Box Tools Download
- Hacking Tools Hardware
- Usb Pentest Tools
- Github Hacking Tools
- Pentest Tools Nmap
- Hacking Tools 2020
No comments:
Post a Comment