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
- Nsa Hack Tools Download
- Free Pentest Tools For Windows
- Tools Used For Hacking
- Hacker Tools Apk
- Beginner Hacker Tools
- Hacking Tools Software
- Hacker Tools Hardware
- Hacker Tools Software
- Hacking Tools Pc
- Github Hacking Tools
- Pentest Tools Alternative
- How To Make Hacking Tools
- New Hacker Tools
- New Hack Tools
- Best Hacking Tools 2020
- Pentest Tools List
- Blackhat Hacker Tools
- Hacker Tools For Mac
- Hacker Tools Apk Download
- Hacking Tools Github
- Hackrf Tools
- Hacking Tools Hardware
- Android Hack Tools Github
- Hacking Tools For Mac
- Best Pentesting Tools 2018
- Pentest Tools Port Scanner
- Black Hat Hacker Tools
- Hacking Tools Usb
- Pentest Tools Windows
- Hackrf Tools
- Hacking Tools For Games
- Hack Website Online Tool
- Hacker Hardware Tools
- Hacker Tools For Pc
- Pentest Tools Review
- Best Hacking Tools 2019
- Pentest Recon Tools
- Nsa Hack Tools
- Nsa Hack Tools Download
- Hacking Tools For Pc
- Hacker Tools For Mac
- Hack Tools Download
- Pentest Tools For Windows
- Hacking Tools Pc
- Pentest Tools Online
- Hacking Tools For Beginners
- Pentest Tools Url Fuzzer
- Best Hacking Tools 2019
- Hacking Tools Windows
- Beginner Hacker Tools
- Hackers Toolbox
- What Are Hacking Tools
- New Hacker Tools
- Pentest Automation Tools
- Hacker Tools For Pc
- Hacking Tools Windows 10
- Hack Tools For Mac
- How To Install Pentest Tools In Ubuntu
- Hacker Tools Windows
- Hacks And Tools
- Bluetooth Hacking Tools Kali
- Hack Tools For Ubuntu
- Hacker Tools For Windows
- Hacking Tools For Windows
- Pentest Box Tools Download
- Hacker Tools Free Download
- Nsa Hack Tools
- Black Hat Hacker Tools
- Hack Tools For Pc
- Hacking Tools Usb





0 Comments:
Publicar un comentario
<< Home