Story Details

  • An illustrated guide to the Kaminsky DNS vulnerability (2008)

    Posted: 2025-02-25 10:54:37

    The Kaminsky DNS vulnerability exploited a weakness in DNS resolvers' handling of NXDOMAIN responses (indicating a nonexistent domain). Attackers could forge responses for nonexistent subdomains, poisoning the resolver's cache with a malicious IP address. The small size of the DNS response ID field (16 bits) and predictable transaction IDs made it relatively easy for attackers to guess the correct ID, allowing the forged response to be accepted. This enabled them to redirect traffic intended for legitimate websites to malicious servers, facilitating phishing and other attacks. The vulnerability was mitigated by increasing the entropy of transaction IDs, making them harder to predict and forged responses less likely to be accepted.

    Summary of Comments ( 2 )
    https://news.ycombinator.com/item?id=43170343

    The Hacker News comments on the illustrated guide to the Kaminsky DNS vulnerability largely praise the clarity and helpfulness of the guide, especially its visual aids. Several commenters reminisce about dealing with the vulnerability when it was discovered, highlighting the urgency and widespread impact it had at the time. Some discuss technical details, including the difficulty of patching all affected DNS servers and the intricacies of the exploit itself. One commenter points out that the same underlying issue (predictable transaction IDs) has cropped up in other protocols besides DNS. Another emphasizes the importance of the vulnerability's disclosure and coordinated patching process as a positive example of handling security flaws responsibly. A few users also link to related resources, including Dan Kaminsky's own presentations on the vulnerability.