nerdexam
GIAC

GCIH · Question #381

If an attacker is attempting to use the Kaminsky method of DNS cache poisoning, what is the maximum number of unique Query IDs which must be presented to the victim DNS server before a match is made?

The correct answer is D. 1024. The Kaminsky DNS cache poisoning attack exploits reduced transaction ID entropy in vulnerable DNS implementations, limiting the unique Query ID space an attacker must exhaust to 1024 values.

Reconnaissance, Scanning, and Enumeration

Question

If an attacker is attempting to use the Kaminsky method of DNS cache poisoning, what is the maximum number of unique Query IDs which must be presented to the victim DNS server before a match is made?

Options

  • A32,768
  • B4096
  • C65,536
  • D1024

How the community answered

(26 responses)
  • B
    4% (1)
  • C
    8% (2)
  • D
    88% (23)

Why each option

The Kaminsky DNS cache poisoning attack exploits reduced transaction ID entropy in vulnerable DNS implementations, limiting the unique Query ID space an attacker must exhaust to 1024 values.

A32,768

32,768 represents half of the theoretical 16-bit Query ID space and does not correspond to the specific reduced-entropy limitation that the Kaminsky attack targeted in vulnerable implementations.

B4096

4,096 (2^12) does not reflect the 10-bit transaction ID constraint exploited by the Kaminsky method and has no defined role in the attack's mathematics.

C65,536

65,536 is the full 16-bit Query ID space; if implementations properly randomized all 16 bits, the Kaminsky attack would be computationally impractical within the DNS response window.

D1024Correct

Several DNS server implementations at the time of Kaminsky's 2008 disclosure used only 10 bits of effective transaction ID entropy rather than the full 16 bits, capping the search space at 1024 unique Query IDs. By querying randomly generated subdomains in rapid succession and flooding each with forged responses covering all possible IDs in that reduced space, an attacker could reliably poison the cache before the legitimate response arrived. Kaminsky's key insight was combining subdomain randomization with high-volume forgery to make the attack practical against this limited entropy.

Concept tested: Kaminsky DNS cache poisoning transaction ID entropy exploitation

Source: https://datatracker.ietf.org/doc/html/rfc5452

Topics

#DNS cache poisoning#Kaminsky attack#Query ID#DNS spoofing

Community Discussion

No community discussion yet for this question.

Full GCIH Practice