Sabtu, 20 Januari 2024

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:



















More info

  1. Hacker Tools Free Download
  2. Hacker Tools Mac
  3. Hacker Tools
  4. Pentest Tools Open Source
  5. Hacker Tools For Pc
  6. Black Hat Hacker Tools
  7. How To Make Hacking Tools
  8. What Are Hacking Tools
  9. Termux Hacking Tools 2019
  10. Hack Tools 2019
  11. Hacking Tools For Kali Linux
  12. Game Hacking
  13. Pentest Tools Website Vulnerability
  14. Install Pentest Tools Ubuntu
  15. Blackhat Hacker Tools
  16. Hacker Tools Apk
  17. Pentest Tools Kali Linux
  18. Pentest Tools Website Vulnerability
  19. Hacking Tools Kit
  20. Hack Tools For Mac
  21. Pentest Tools Website Vulnerability
  22. Pentest Tools Windows
  23. Pentest Tools Github
  24. Hacking Tools For Windows Free Download
  25. Hack Tools 2019
  26. Hacking Tools For Windows
  27. Hacking Tools Pc
  28. Hacking Tools Windows
  29. Hacker Search Tools
  30. Pentest Tools For Mac
  31. Kik Hack Tools
  32. Best Hacking Tools 2019
  33. Physical Pentest Tools
  34. Pentest Tools Find Subdomains
  35. Pentest Tools Nmap
  36. Hacking Tools Name
  37. Pentest Tools For Android
  38. Hacking Tools Pc
  39. Hacking Tools Mac
  40. Pentest Tools Kali Linux
  41. Pentest Tools Framework
  42. Pentest Tools Tcp Port Scanner
  43. Hacker Tools Free
  44. Hack Apps
  45. Hack Tools For Ubuntu
  46. Hack Tools
  47. Tools 4 Hack
  48. Pentest Tools Url Fuzzer
  49. Hacking Tools For Mac
  50. Hacking Tools
  51. Pentest Tools Free
  52. Hacker Tools 2020
  53. Hacking Tools For Pc
  54. Hack Website Online Tool
  55. Hack Tools For Windows
  56. Pentest Tools Android
  57. Pentest Tools List
  58. Hacker Tools Windows
  59. Hacker Tools For Windows
  60. Pentest Box Tools Download
  61. Pentest Tools Bluekeep
  62. Hacking Tools For Windows
  63. Physical Pentest Tools
  64. Hacker Tools Github
  65. Hack Tools Download
  66. Pentest Tools Free
  67. Hack Website Online Tool
  68. Hacking Tools Download
  69. Nsa Hack Tools
  70. Hacker Tools Apk Download
  71. Hacks And Tools
  72. Underground Hacker Sites
  73. How To Install Pentest Tools In Ubuntu
  74. Hacking Tools Free Download
  75. Hacker
  76. Hacking Tools For Windows 7
  77. What Is Hacking Tools
  78. Pentest Tools Url Fuzzer
  79. Install Pentest Tools Ubuntu
  80. Easy Hack Tools
  81. Hacking Tools For Beginners
  82. Hacking App
  83. Pentest Tools Bluekeep
  84. Hacker Tools For Pc
  85. Pentest Tools Find Subdomains
  86. Tools Used For Hacking
  87. Nsa Hack Tools
  88. Pentest Tools Windows

Tidak ada komentar:

Posting Komentar

Menu