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:



















Related word


  1. Hacker Tools Apk
  2. Pentest Tools Website
  3. Hacker
  4. Hacking Tools For Windows 7
  5. Pentest Tools For Mac
  6. Best Hacking Tools 2020
  7. Hacker Tools Mac
  8. Pentest Tools Review
  9. Hacker Tools For Ios
  10. Pentest Recon Tools
  11. Pentest Tools Url Fuzzer
  12. Pentest Recon Tools
  13. Hacker Tools For Windows
  14. Android Hack Tools Github
  15. Pentest Box Tools Download
  16. Hacker Tools Github
  17. Hacking Tools Online
  18. Hak5 Tools
  19. Pentest Tools Download
  20. Hacking Tools For Games
  21. Hacker Tools Software
  22. Tools For Hacker
  23. Hacking Tools For Windows
  24. Hacker Tools For Pc
  25. Hacking Tools For Windows Free Download
  26. Pentest Automation Tools
  27. Hacking Tools For Windows Free Download
  28. Easy Hack Tools
  29. Pentest Tools Tcp Port Scanner
  30. Hacker Tools Free
  31. Hack Tools
  32. Hacking Tools 2020
  33. Tools For Hacker
  34. Hacker Tools For Mac
  35. Hackrf Tools
  36. Hacker Tools Free Download
  37. Hack Tools Download
  38. Hacker Tools For Pc
  39. Pentest Tools Kali Linux
  40. Pentest Tools Website Vulnerability
  41. Hacking Tools For Windows
  42. Hacking Tools For Beginners
  43. Tools For Hacker
  44. Hacker Tools For Windows
  45. How To Hack
  46. Computer Hacker
  47. Hacker Tools Free
  48. Hack Apps
  49. Hacks And Tools
  50. Hack Apps
  51. New Hacker Tools
  52. Hacker Tools For Windows
  53. Wifi Hacker Tools For Windows
  54. Hacker Tools Windows
  55. Pentest Tools Open Source
  56. Pentest Tools Website Vulnerability
  57. Hacking Tools For Pc
  58. Hacker Tools Apk
  59. Pentest Tools For Windows
  60. Top Pentest Tools
  61. Pentest Tools Linux
  62. Hacker Techniques Tools And Incident Handling
  63. Hack Tools For Mac
  64. Hackrf Tools
  65. Physical Pentest Tools
  66. Hacker Tools Free Download
  67. Github Hacking Tools
  68. Hacking Tools Software
  69. Hacker Tools For Ios
  70. Hack Tools For Windows
  71. Game Hacking
  72. Hacking Tools Hardware
  73. Beginner Hacker Tools
  74. Hacker Techniques Tools And Incident Handling
  75. Hack Website Online Tool
  76. Pentest Reporting Tools
  77. Hacking Tools Hardware
  78. How To Hack
  79. Hacker Tools List
  80. Best Pentesting Tools 2018
  81. Beginner Hacker Tools
  82. Hacker Tools Linux
  83. Best Hacking Tools 2019
  84. Hacker Tools Github
  85. Hacking Tools For Kali Linux
  86. Pentest Tools Review
  87. Pentest Tools Download
  88. Kik Hack Tools
  89. Hack Website Online Tool
  90. Hacker Hardware Tools
  91. Hacker
  92. Hacker Tools For Windows
  93. Hack Tools For Ubuntu
  94. Hacking Tools For Pc
  95. Top Pentest Tools
  96. Hacker Security Tools
  97. Best Hacking Tools 2019
  98. Hack Tools Github
  99. Hacking Tools Free Download
  100. Physical Pentest Tools
  101. Nsa Hack Tools Download
  102. Pentest Reporting Tools
  103. Pentest Tools Kali Linux
  104. Hacking Tools
  105. Pentest Tools Url Fuzzer
  106. Kik Hack Tools
  107. Pentest Reporting Tools
  108. Hacker Tools Linux
  109. Hackrf Tools
  110. Best Hacking Tools 2020
  111. Kik Hack Tools
  112. Pentest Tools List
  113. Hacker Tools For Pc
  114. How To Make Hacking Tools
  115. Hacking Tools And Software
  116. What Is Hacking Tools
  117. Hacker
  118. Pentest Tools Nmap
  119. Physical Pentest Tools
  120. Hacking Tools For Pc
  121. Hacks And Tools
  122. Bluetooth Hacking Tools Kali
  123. Hacking Tools For Kali Linux
  124. Pentest Tools Apk
  125. Hackrf Tools
  126. Hacking Tools Software
  127. Pentest Tools Port Scanner
  128. Termux Hacking Tools 2019
  129. Black Hat Hacker Tools
  130. Nsa Hack Tools
  131. Pentest Tools Nmap
  132. Pentest Tools Bluekeep
  133. Pentest Tools Apk
  134. Hacking Tools Download
  135. Termux Hacking Tools 2019
  136. Nsa Hacker Tools
  137. Hacker Security Tools
  138. Android Hack Tools Github
  139. Hacker Tools Linux
  140. Pentest Tools Subdomain
  141. What Is Hacking Tools
  142. How To Make Hacking Tools
  143. Hacker Tools Software
  144. Pentest Tools Android
  145. Hacking Tools 2020
  146. Hacker Tools Apk Download
  147. Hacker Security Tools
  148. Hack Tools For Mac
  149. Top Pentest Tools
  150. Hackers Toolbox
  151. Hacking Tools 2020
  152. Hack Tool Apk No Root
  153. Hacker Tools
  154. Pentest Tools Url Fuzzer
  155. Pentest Automation Tools
  156. Best Pentesting Tools 2018
  157. Hacker Tools Github
  158. Hacking Tools For Windows

No hay comentarios: