DNS Pseudo-Random Number Generators Weakness

  • Maciej Szmit
  • Anna Szmit
Part of the Communications in Computer and Information Science book series (CCIS, volume 160)


In article [1] we presented the results of analysis of well-known weakness of some DNS servers: poor quality of pseudo-random numbers generators (PRNG), which makes it possible to hack them using the birthday attack. In this article we present extended analysis of current DNS servers: DNS build in Windows 2003 server with SP2, DNS from Windows 2008 server with SP2 and Bind ver. 9.0.p1, comparing the old ones. The analysis included the following tests of randomness: Median Runs Test, Quartile Runs Test, Runs Test for Characters and Symmetry Test and tests of autocorrelation: significance of first order autocorrelation and the test χ 2 of conformity with uniform distribution as well as test of frequency of occurrence of particular values and frequency of occurrence of pairs of values.


DNS pseudo-random numbers generators birthday attack 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Szmit, A., Tomaszewski, M., Szmit, M.: Domain Name Servers’ Pseudo-Random Number Generators and DNS Cache Poisoning Attack. Polish Journal of Environmental Studies 15(4C), 184–187 (2006)Google Scholar
  2. 2.
    Stephard, J.: DNS Cache Poisoning – the Next Generation,
  3. 3.
    Mockapetris, P.V.: Domain Names: Concepts and Facilities. RFC 882,
  4. 4.
    Mockapetris, P.V.: Domain Names: Implementation Specification. RFC 883,
  5. 5.
    Zalewski, M.: Strange Attractors and TCP/IP Sequence Number Analysis,
  6. 6.
    Tian, J., Gu, D., Lu, H.: A Solution for Packet Validity Check Against DNS Cache Poisoning. Communications Technology, 43(08(224)), 146–151 (2010)Google Scholar
  7. 7.
    Dagon, D., Antonakakis, M., Day, K., Luo, X., Lee, C.P., Lee, W.: Recursive DNS Architectures and Vulnerability Implications. In: NDSS Symposium 2009, San Diego (2009)Google Scholar
  8. 8.
    Domanski, C.: Statystyczne testy nieparametryczne. PWE Warszawa (1979)Google Scholar
  9. 9.
    Edington, E.S.: Table for Number of Runs of Signs of First Differences in Ordered Series. Journal of the American Statistical Association (1961)Google Scholar
  10. 10.
    Hanke, J.E., Reitsch, A.G.: Business Forecasting (Hardcover). Prentice-Hall, Englewood Cliffs (1998)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2011

Authors and Affiliations

  • Maciej Szmit
    • 1
  • Anna Szmit
    • 1
  1. 1.Technical University of LodzLodzPoland

Personalised recommendations