news.volyx.in

Randar: A Minecraft exploit that uses LLL lattice reduction to crack server RNG (github.com)

530 points by leijurv · 850 days ago · 116 comments on HN

Article summary

A Minecraft exploit called Randar uses LLL lattice reduction to crack the internal state of an incorrectly reused java.util.Random in the Minecraft server, allowing players to locate other players' positions. The exploit works by analyzing the coordinates of dropped items and using lattice reduction to determine the internal state of the random number generator. This exploit was used on the 2b2t server, which is an 'anarchy' server with no rules, and was able to reveal the locations of other players' bases. The exploit is possible due to a mistake in Minecraft's code that reuses a random number generator in various parts of the game.

Main themes

  • Minecraft exploit
  • Random number generator
  • Game security
  • Anarchy servers
  • Lattice reduction
  • CSPRNG vs PRNG

What commenters say

  • Using a non-cryptographic random number generator for secure purposes is a common mistake that can lead to security vulnerabilities.
  • The use of a CSPRNG would have prevented the Randar exploit, but it may have also introduced performance issues.
  • Some argue that the performance difference between CSPRNGs and non-cryptographic PRNGs is not significant enough to justify the security risks.
  • Others claim that the performance impact of using a CSPRNG can be mitigated by using techniques such as buffering and parallelism.
  • The Randar exploit highlights the importance of using secure random number generators in game development.
  • The use of chat filters can help mitigate the issue of toxic players on anarchy servers, but it may also create new opportunities for exploitation.
  • The evolution of gameplay mechanics on anarchy servers like 2b2t can lead to the development of new strategies and tactics that are unique to those servers.
  • The trade-off between security and performance is a common challenge in game development, and the choice of random number generator is just one example of this trade-off.