{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,4]],"date-time":"2026-11-04T20:39:59Z","timestamp":1793824799316,"version":"4.6.1"},"reference-count":26,"publisher":"Association for Computing Machinery (ACM)","issue":"1","license":[{"start":{"date-parts":[[2009,10,1]],"date-time":"2009-10-01T00:00:00Z","timestamp":1254355200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Inf. Syst. Secur."],"published-print":{"date-parts":[[2009,10]]},"abstract":"<jats:p>The PseudoRandom Number Generator (PRNG) used by the Windows operating system is the most commonly used PRNG. The pseudorandomness of the output of this generator is crucial for the security of almost any application running in Windows. Nevertheless, its exact algorithm was never published.<\/jats:p>\n          <jats:p>\n            We examined the binary code of a distribution of Windows 2000. This investigation was done without any help from Microsoft. We reconstructed the algorithm used by the pseudorandom number generator (namely, the function CryptGenRandom). We analyzed the security of the algorithm and found a nontrivial attack: Given the internal state of the generator, the previous state can be computed in 2\n            <jats:sup>23<\/jats:sup>\n            steps. This attack on forward security demonstrates that the design of the generator is flawed, since it is well known how to prevent such attacks. After our analysis was published, Microsoft acknowledged that Windows XP is vulnerable to the same attack.\n          <\/jats:p>\n          <jats:p>We also analyzed the way in which the generator is used by the operating system and found that it amplifies the effect of the attack: The generator is run in user mode rather than in kernel mode; therefore, it is easy to access its state even without administrator privileges. The initial values of part of the state of the generator are not set explicitly, but rather are defined by whatever values are present on the stack when the generator is called. Furthermore, each process runs a different copy of the generator, and the state of the generator is refreshed with system-generated entropy only after generating 128KB of output for the process running it. The result of combining this observation with our attack is that learning a single state may reveal 128KB of the past and future output of the generator.<\/jats:p>\n          <jats:p>The implication of these findings is that a buffer overflow attack or a similar attack can be used to learn a single state of the generator, which can then be used to predict all random values, such as SSL keys, used by a process in all its past and future operations. This attack is more severe and more efficient than known attacks in which an attacker can only learn SSL keys if it is controlling the attacked machine at the time the keys are used.<\/jats:p>","DOI":"10.1145\/1609956.1609966","type":"journal-article","created":{"date-parts":[[2009,11,4]],"date-time":"2009-11-04T18:28:31Z","timestamp":1257359311000},"page":"1-32","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":67,"title":["Cryptanalysis of the random number generator of the Windows operating system"],"prefix":"10.1145","volume":"13","author":[{"given":"Leo","family":"Dorrendorf","sequence":"first","affiliation":[{"name":"The Hebrew University of Jerusalem"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zvi","family":"Gutterman","sequence":"additional","affiliation":[{"name":"The Hebrew University of Jerusalem"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Benny","family":"Pinkas","sequence":"additional","affiliation":[{"name":"University of Haifa"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2009,11,6]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/1102120.1102148"},{"key":"e_1_2_1_2_1","doi-asserted-by":"crossref","unstructured":"Beaver D. and Haber S. 1992. Cryptographic protocols provably secure against dynamic adversaries. In Advances in Cryptology (EUROCRYPT'92). Springer-Verlag Berlin 307--323.  Beaver D. and Haber S. 1992. Cryptographic protocols provably secure against dynamic adversaries. In Advances in Cryptology (EUROCRYPT'92). Springer-Verlag Berlin 307--323.","DOI":"10.1007\/3-540-47555-9_26"},{"key":"e_1_2_1_3_1","volume-title":"Proceedings of the Cryptographers' Track RSA Conference (CT-RSA). Springer","author":"Bellare M."},{"key":"e_1_2_1_4_1","doi-asserted-by":"crossref","unstructured":"Blum L. Blum M. and Shub M. 1983. Comparison of two pseudo-random number generators. In Advances in Cryptology (CRYPTO'82). Plenum Press New York 61--78.  Blum L. Blum M. and Shub M. 1983. Comparison of two pseudo-random number generators. In Advances in Cryptology (CRYPTO'82). Plenum Press New York 61--78.","DOI":"10.1007\/978-1-4757-0602-4_6"},{"key":"e_1_2_1_5_1","unstructured":"Bundesamt f\u00fcr Sicherheit in der Informationstechnik. 1999. AIS 20: Functionality classes and evaluation methodology for deterministic random number generators. Tech. rep. https:\/\/www.bsi.bund.de\/cae\/servlet\/contentblob\/478130\/publicationFile\/30547\/ais31e_pdf.pdf  Bundesamt f\u00fcr Sicherheit in der Informationstechnik. 1999. AIS 20: Functionality classes and evaluation methodology for deterministic random number generators. Tech. rep. https:\/\/www.bsi.bund.de\/cae\/servlet\/contentblob\/478130\/publicationFile\/30547\/ais31e_pdf.pdf"},{"key":"e_1_2_1_6_1","volume-title":"Proceedings of the International Conference on Communication, Network, and Information Security. International Association of Science and Technology for Development","author":"Castejon-Amenedo J.","year":"2003"},{"key":"e_1_2_1_7_1","volume-title":"Proceedings of the Annual USENIX Technical Conference. USENIX","author":"de Raadt T."},{"key":"e_1_2_1_8_1","volume-title":"Reversing: Secrets of Reverse Engineering","author":"Eilam E.","year":"2005"},{"key":"e_1_2_1_9_1","unstructured":"Ferguson N. and Schneier B. 2003. Practical Cryptography. John Wiley&amp;Sons New York.   Ferguson N. and Schneier B. 2003. Practical Cryptography. John Wiley&amp;Sons New York."},{"key":"e_1_2_1_10_1","volume-title":"Proceedings of the 8th Annual International Workshop on Selected Areas in Cryptography (SAC'01)","author":"Fluhrer S. R."},{"key":"e_1_2_1_11_1","unstructured":"Goldberg I. and Wagner D. 1996. Randomness in the Netscape browser. Dr. Dobb's J.  Goldberg I. and Wagner D. 1996. Randomness in the Netscape browser. Dr. Dobb's J."},{"key":"e_1_2_1_12_1","unstructured":"Guilfanov I. 2006. The IDA Pro Disassembler and Debugger version 5.0. http:\/\/www.datarescue.com\/idabase.  Guilfanov I. 2006. The IDA Pro Disassembler and Debugger version 5.0. http:\/\/www.datarescue.com\/idabase."},{"key":"e_1_2_1_13_1","volume-title":"Proceedings of 7th USENIX Security Symposium. USENIX","author":"Gutmann P.","year":"1998"},{"key":"e_1_2_1_14_1","unstructured":"Gutmann P. 2004. Testing issues with OS-based entropy sources. http:\/\/www.cs.auckland.ac.nz\/~pgut001\/pubs\/nist_rng.pdf  Gutmann P. 2004. Testing issues with OS-based entropy sources. http:\/\/www.cs.auckland.ac.nz\/~pgut001\/pubs\/nist_rng.pdf"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-30574-3_5"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1109\/SP.2006.5"},{"key":"e_1_2_1_17_1","unstructured":"Howard M. and LeBlanc D. 2002. Writing Secure Code 2nd Ed. Microsoft Press Redmond WA.   Howard M. and LeBlanc D. 2002. Writing Secure Code 2nd Ed. Microsoft Press Redmond WA."},{"key":"e_1_2_1_18_1","unstructured":"Kelsey J. 2004. Entropy and entropy sources in X9.82. http:\/\/csrc.nist.gov\/CryptoToolkit\/RNG\/Workshop\/EntropySources.pdf.  Kelsey J. 2004. Entropy and entropy sources in X9.82. http:\/\/csrc.nist.gov\/CryptoToolkit\/RNG\/Workshop\/EntropySources.pdf."},{"key":"e_1_2_1_19_1","doi-asserted-by":"crossref","unstructured":"Kelsey J. Schneier B. and Ferguson N. 1999. Yarrow-160: Notes on the design and analysis of the Yarrow cryptographic pseudorandom number generator. In Selected Areas in Cryptography. Springer Berlin 13--33.   Kelsey J. Schneier B. and Ferguson N. 1999. Yarrow-160: Notes on the design and analysis of the Yarrow cryptographic pseudorandom number generator. In Selected Areas in Cryptography. Springer Berlin 13--33.","DOI":"10.1007\/3-540-46513-8_2"},{"key":"e_1_2_1_20_1","volume-title":"Proceedings of the 5th International Workshop on Fast Software Encryption. Springer","author":"Kelsey J."},{"key":"e_1_2_1_21_1","unstructured":"Microsoft. 2006. Debugging tools for Windows. http:\/\/www.microsoft.com\/whdc\/devtools\/debugging\/default.mspx.  Microsoft. 2006. Debugging tools for Windows. http:\/\/www.microsoft.com\/whdc\/devtools\/debugging\/default.mspx."},{"key":"e_1_2_1_22_1","volume-title":"Proceedings of BSDCon, S. J. Leffler, Ed. USENIX","author":"Murray M. R. V.","year":"2002"},{"key":"e_1_2_1_23_1","unstructured":"Osvik D. A. 2007. Personal communication.  Osvik D. A. 2007. Personal communication."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.5555\/646235.682710"},{"key":"e_1_2_1_25_1","unstructured":"Ts'o T. 1994. random.c &verbar; linux kernel random number generator. http:\/\/www.kernel.org.  Ts'o T. 1994. random.c &verbar; linux kernel random number generator. http:\/\/www.kernel.org."},{"key":"e_1_2_1_26_1","unstructured":"Yuschuk O. 2004. OllyDbg 1.1: A 32-bit assembler level analysing debugger for Microsoft Windows. http:\/\/www.ollydbg.de\/.  Yuschuk O. 2004. OllyDbg 1.1: A 32-bit assembler level analysing debugger for Microsoft Windows. http:\/\/www.ollydbg.de\/."}],"container-title":["ACM Transactions on Information and System Security"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1609956.1609966","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1609956.1609966","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T20:26:14Z","timestamp":1750278374000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1609956.1609966"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2009,10]]},"references-count":26,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2009,10]]}},"alternative-id":["10.1145\/1609956.1609966"],"URL":"https:\/\/doi.org\/10.1145\/1609956.1609966","relation":{},"ISSN":["1094-9224","1557-7406"],"issn-type":[{"value":"1094-9224","type":"print"},{"value":"1557-7406","type":"electronic"}],"subject":[],"published":{"date-parts":[[2009,10]]},"assertion":[{"value":"2007-11-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2009-06-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2009-11-06","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}