10.1109/UCC.2013.57guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedings
ARTICLE
Free Access

Randomness in Virtual Machines

ABSTRACT

Virtualization technology provided cloud computing with the means to rapidly disseminate throughout the industry and achieve the utility computing long-envisioned era. Efforts on this research area have been focused on assuring isolation between co-resident virtual machines to avoid escaping the sandbox, but less attention has been given to the implications virtualization may pose to the efficiency and quality of random number generation on guests. On Linux distributions, the good provisioning of entropy gathered by the kernel is crucial for the functioning of its random number generator. However, entropy sources may be scarce on virtual machines due to the abstraction implied by the virtualization layer. As a consequence, both the generation speed and the quality of random numbers might drop when compared to hosts. This paper looks into this issue and analyzes the outputs of the /dev/random interface of the Linux kernel on virtual machines. With a well-know statistical library it is shown that the outputs are of high quality and are independently generated, even though they are produced on a slower basis.

References

  1. D. A. B. Fernandes, L. F. B. Soares, J. V. Gomes, M. M. Freire, and P. R. M. Inácio, "Security Issues in Cloud Environments -- A Survey," International Journal of Information Security, pp. 1-62, 2013, accepted for publication.Google ScholarGoogle Scholar
  2. T. Ristenpart, E. Tromer, H. Shacham, and S. Savage, "Hey, You, Get Off of My Cloud: Exploring Information Leakage in Third-Party Compute Clouds," in Proc. of the 16th ACM Conf. on Computer and Communications Security. New York, NY, USA: ACM, Nov. 2009, pp. 199-212. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Z. Gutterman, B. Pinkas, and T. Reinman, "Analysis of the Linux Random Number Generator," in Proc. of the IEEE Symp. on Security and Privacy. Oakland, CA, USA: IEEE Computer Society, May 2006, pp. 371-385. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. P. Lacharme, A. Röck, V. Strubel, and M. Videau, "The Linux Pseudorandom Number Generator Revisited," IACR Cryptology ePrint Archive, vol. 2012, p. 245, 2012.Google ScholarGoogle Scholar
  5. T. Ristenpart and S. Yilek, "When Good Randomness Goes Bad: Virtual Machine Reset Vulnerabilities and Hedging Deployed Cryptography," in Proc. of the Network and Distributed Security Symposium (NDSS). San Diego, CA, USA: The Internet Society, Feb.-Mar. 2010, pp. 1-18.Google ScholarGoogle Scholar
  6. N. Heninger, Z. Durumeric, E. Wustrow, and J. A. Halderman, "Mining Your Ps and Qs: Detection of Widespread Weak Keys in Network Devices," in Proc. of the 21st USENIX Security Symp. Bellevue, WA, USA: USENIX, Aug. 2012, pp. 205-220. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. D. Kirkland, "Entropy (or rather the lack thereof) in OpenStack instances... and how to improve that," http://www.openstack.org/summit/san-diego-2012/openstack-summit-sessions/presentation/entropy-or-lack-thereof-in-openstack-instances, Oct. 2012, accessed Jul. 2013.Google ScholarGoogle Scholar
  8. A. Stamos, A. Becherer, and N. Wilcox, "Cloud Computing Security: Raining on the Trendy New Parade," Black Hat Conf., Jul. 2009.Google ScholarGoogle Scholar
  9. B. Kerrigan and Y. Chen, "A Study of Entropy Sources in Cloud Computers: Random Number Generation on Cloud Hosts," in Proc. of the 6th Int. Conf. on Mathematical Methods, Models and Architectures for Computer Network Security (MMM-ACNS). St. Petersburg, Russia: Springer-Verlag, Oct. 2012, pp. 286-298. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Amazon Discussion Forums, "Low Entropy on EC2 instances," https://forums.aws.amazon.com/thread.jspa? messageID=249079, May 2011, accessed Apr. 2013.Google ScholarGoogle Scholar
  11. VMware Community Forums, "Low /proc/sys/kernel/random/entropy_avail causes exim to stop sending mail," http://communities.vmware.com/message/530909, Aug. 2006, accessed May 2013.Google ScholarGoogle Scholar
  12. P. Patel, "Solution: FUTEX WAIT hangs Java on Linux / Ubuntu in vmware or virtual box," http://www.jroller.com/prpatel/entry/solution_futex_wait_hangs_java, Jan. 2010, accessed May 2013.Google ScholarGoogle Scholar
  13. Richard Simard, "TestU01 Website," http://www.iro. umontreal.ca/~simardr/testu01/tu01.html, accessed Jul. 2013.Google ScholarGoogle Scholar

Index Terms

  1. Randomness in Virtual Machines

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader
              About Cookies On This Site

              We use cookies to ensure that we give you the best experience on our website.

              Learn more

              Got it!

              To help support our community working remotely during COVID-19, we are making all work published by ACM in our Digital Library freely accessible through June 30, 2020. Learn more