Virtualized environments are widely thought to cause problems for software-based random number generators (RNGs), due to use of virtual machine (VM) snapshots as well as fewer and believed-to-be lower quality entropy sources. Despite this, we are unaware of any published analysis of the security of critical RNGs when running in VMs. We fill this gap, using measurements of Linux's RNG systems (without the aid of hardware RNGs, the most common use case today) on Xen, VMware, and Amazon EC2. Despite CPU cycle counters providing a significant source of entropy, various deficiencies in the design of the Linux RNG makes its first output vulnerable during VM boots and, more critically, makes it suffer from catastrophic reset vulnerabilities. We show cases in which the RNG will output the exact same sequence of bits each time it is resumed from the same snapshot. This can compromise, for example, cryptographic secrets generated after resumption. We explore legacy-compatible countermeasures, as well as a clean slate solution. The latter is a new RNG called Whirlwind that provides a simpler, more-secure solution for providing system randomness.
机构:
Univ Guelph, Lang Sch Business & Econ, Guelph, ON, Canada
Univ Novi Sad, Fac Tech Sci, Novi Sad, Serbia
Univ Guelph, Lang Sch Business & Econ, Dept Econ & Finance, 50 Stone Rd, Guelph, ON N1G 2W1, CanadaUniv Guelph, Lang Sch Business & Econ, Guelph, ON, Canada
Gradojevic, Nikola
Kukolj, Dragan
论文数: 0引用数: 0
h-index: 0
机构:
Univ Novi Sad, Fac Tech Sci, Novi Sad, SerbiaUniv Guelph, Lang Sch Business & Econ, Guelph, ON, Canada
Kukolj, Dragan
Adcock, Robert
论文数: 0引用数: 0
h-index: 0
机构:
Univ Guelph, Lang Sch Business & Econ, Guelph, ON, CanadaUniv Guelph, Lang Sch Business & Econ, Guelph, ON, Canada
Adcock, Robert
Djakovic, Vladimir
论文数: 0引用数: 0
h-index: 0
机构:
Univ Novi Sad, Fac Tech Sci, Novi Sad, SerbiaUniv Guelph, Lang Sch Business & Econ, Guelph, ON, Canada
机构:
Boston Univ, Dept Earth & Environm, 685 Commonwealth Ave, Boston, MA 02215 USA
Harvard Univ, Harvard Forest, 324 N Main St, Petersham, MA 01366 USABoston Univ, Dept Earth & Environm, 685 Commonwealth Ave, Boston, MA 02215 USA
Pasquarella, Valerie J.
Morreale, Luca L.
论文数: 0引用数: 0
h-index: 0
机构:
Boston Univ, Dept Earth & Environm, 685 Commonwealth Ave, Boston, MA 02215 USA
Harvard Univ, Harvard Forest, 324 N Main St, Petersham, MA 01366 USABoston Univ, Dept Earth & Environm, 685 Commonwealth Ave, Boston, MA 02215 USA
Morreale, Luca L.
Brown, Christopher F.
论文数: 0引用数: 0
h-index: 0
机构:
Google LLC, 1600 Amphitheatre Pkwy, Mountain View, CA 94043 USABoston Univ, Dept Earth & Environm, 685 Commonwealth Ave, Boston, MA 02215 USA
Brown, Christopher F.
Kilbride, John B.
论文数: 0引用数: 0
h-index: 0
机构:
Oregon State Univ, Coll Earth Ocean & Atmospher Sci, Corvallis, OR 97331 USABoston Univ, Dept Earth & Environm, 685 Commonwealth Ave, Boston, MA 02215 USA
Kilbride, John B.
Thompson, Jonathan R.
论文数: 0引用数: 0
h-index: 0
机构:
Harvard Univ, Harvard Forest, 324 N Main St, Petersham, MA 01366 USABoston Univ, Dept Earth & Environm, 685 Commonwealth Ave, Boston, MA 02215 USA