Not-So-Random Numbers in Virtualized Linux and the Whirlwind RNG

被引:18
|
作者
Everspaugh, Adam [1 ]
Zhai, Yan [1 ]
Jellinek, Robert [1 ]
Ristenpart, Thomas [1 ]
Swift, Michael [1 ]
机构
[1] Univ Wisconsin, Dept Comp Sci, 1210 W Dayton St, Madison, WI 53706 USA
关键词
random number generator; virtualization;
D O I
10.1109/SP.2014.42
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:559 / 574
页数:16
相关论文
共 12 条
  • [1] Random and not-so-random codes for quantum channels
    Winter, Andreas
    Proceedings of 2006 IEEE Information Theory Workshop, 2006, : 154 - 154
  • [2] The Not-so-Random Drunkard's Walk
    Ehrhardt, George
    JOURNAL OF STATISTICS EDUCATION, 2013, 21 (02):
  • [3] Not-so-random genetic variation in diverse biological settings
    Fox, JL
    ASM NEWS, 2000, 66 (05): : 266 - 267
  • [4] Heads or tails - random and not-so-random factors that influence dog lifespan
    Urfer, S. R.
    Promislow, D. E. L.
    Kaeberlein, M.
    Creevy, K. E.
    INTEGRATIVE AND COMPARATIVE BIOLOGY, 2021, 61 : E920 - E921
  • [5] Forecasting Bitcoin with technical analysis: A not-so-random forest?
    Gradojevic, Nikola
    Kukolj, Dragan
    Adcock, Robert
    Djakovic, Vladimir
    INTERNATIONAL JOURNAL OF FORECASTING, 2023, 39 (01) : 1 - 17
  • [6] Not-So-Random Errors: Randomized Controlled Trials Are Not the Only Evidence of the Value of PET
    Hicks, Rodney J.
    Ware, Robert E.
    Hofman, Michael S.
    JOURNAL OF NUCLEAR MEDICINE, 2012, 53 (11) : 1820 - 1822
  • [7] The basic inspection kit: Some not-so-random thoughts on stuff we take for granted
    Powitz, RW
    Balsamo, JJ
    JOURNAL OF ENVIRONMENTAL HEALTH, 1999, 61 (06) : 34 - 35
  • [8] Not-So-Random Errors: Randomized Controlled Trials Are Not the Only Evidence of the Value of PET REPLY
    Scheibler, Fueloep
    Zumbe, Polina
    Janssen, Inger
    Viebahn, Melanie
    Schroer-Guenther, Milly
    Grosselfinger, Robert
    Hausner, Elke
    Sauerland, Stefan
    Lange, Stefan
    JOURNAL OF NUCLEAR MEDICINE, 2012, 53 (11) : 1822 - 1824
  • [9] Not-so-random forests: Comparing voting and decision tree ensembles for characterizing partial harvest events
    Pasquarella, Valerie J.
    Morreale, Luca L.
    Brown, Christopher F.
    Kilbride, John B.
    Thompson, Jonathan R.
    INTERNATIONAL JOURNAL OF APPLIED EARTH OBSERVATION AND GEOINFORMATION, 2023, 125
  • [10] BIOLOGISTS TOOLBOX - NOT-SO-RANDOM WALKS - COMPUTER-SIMULATION OF CHEMO-ORIENTATION BEHAVIOR
    TANKERSLEY, RA
    CONNER, WE
    BIOSCIENCE, 1990, 40 (05) : 392 - 395