• DocumentCode
    1788562
  • Title

    Android low entropy demystified

  • Author

    Yu Ding ; Zhuo Peng ; Yuanyuan Zhou ; Chao Zhang

  • Author_Institution
    Peking Univ., Beijing, China
  • fYear
    2014
  • fDate
    10-14 June 2014
  • Firstpage
    659
  • Lastpage
    664
  • Abstract
    We look into the issue that the amount of entropy kept by the pseudorandom number generator (PRNG) of Android is constantly low. We find that the accusation against this issue of causing poor performance and low frame rate experienced by users is ungrounded. We also investigate possible security vulnerabilities resulting from this issue. We find that this issue does not affect the quality of random numbers that are generated by the PRNG and used in Android applications because recent Android devices do not lack entropy sources. However, we identify a vulnerability in which the stack canary for all future Android applications is generated earlier than the PRNG is properly setup. This vulnerability makes stack overflow simpler and threats Android applications linked with native code (through NDK) as well as Dalvik VM instances. An attacker could nullify the stack protecting mechanism, given the knowledge of the time of boot or a malicious app running on the victim device. This vulnerability also affects the address space layout randomization (ASLR) mechanism on Android, and can turn it from a weak protection to void. We discuss in this paper several possible attacks against this vulnerability as well as ways of defending. As this vulnerability is rooted in an essential Android design choice since the very first version, it is difficult to fix.
  • Keywords
    Android (operating system); random number generation; security of data; ASLR mechanism; Android applications; Android design choice; Android devices; Dalvik VM instances; NDK; PRNG; address space layout randomization mechanism; entropy demystification; entropy sources; native code; pseudorandom number generator; stack canary; stack protecting mechanism; Androids; Entropy; Humanoid robots; Kernel; Linux; Security; Smart phones;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Communications (ICC), 2014 IEEE International Conference on
  • Conference_Location
    Sydney, NSW
  • Type

    conf

  • DOI
    10.1109/ICC.2014.6883394
  • Filename
    6883394