Secure PRNG seeding on commercial off-the-shelf microcontrollers

A. V. Herrewege, Vincent van der Leest, André Schaller, S. Katzenbeisser, I. Verbauwhede
{"title":"Secure PRNG seeding on commercial off-the-shelf microcontrollers","authors":"A. V. Herrewege, Vincent van der Leest, André Schaller, S. Katzenbeisser, I. Verbauwhede","doi":"10.1145/2517300.2517306","DOIUrl":null,"url":null,"abstract":"The generation of high quality random numbers is crucial to many cryptographic applications, including cryptographic protocols, secret of keys, nonces or salts. Their values must contain enough randomness to be unpredictable to attackers. Pseudo-random number generators require initial data with high entropy as a seed to produce a large stream of high quality random data. Yet, despite the importance of randomness, proper high quality random number generation is often ignored. Primarily embedded devices often suffer from weak random number generators.\n In this work, we focus on identifying and evaluating SRAM in commercial off-the-shelf microcontrollers as an entropy source for PRNG seeding. We measure and evaluate the SRAM start-up patterns of two popular types of microcontrollers, a STMicroelectronics STM32F100R8 and a Microchip PIC16F1825. We also present an efficient software-only architecture for secure PRNG seeding. After analyzing over 1000000 measurements in total, we conclude that of these two devices, the PIC16F1825 cannot be used to securely seed a PRNG. The STM32F100R8, however, has the ability to generate very strong seeds from the noise in its SRAM start-up pattern. These seeds can then be used to ensure a PRNG generates high quality data.","PeriodicalId":350304,"journal":{"name":"Workshop on Trustworthy Embedded Devices","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-11-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"22","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Workshop on Trustworthy Embedded Devices","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2517300.2517306","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 22

Abstract

The generation of high quality random numbers is crucial to many cryptographic applications, including cryptographic protocols, secret of keys, nonces or salts. Their values must contain enough randomness to be unpredictable to attackers. Pseudo-random number generators require initial data with high entropy as a seed to produce a large stream of high quality random data. Yet, despite the importance of randomness, proper high quality random number generation is often ignored. Primarily embedded devices often suffer from weak random number generators. In this work, we focus on identifying and evaluating SRAM in commercial off-the-shelf microcontrollers as an entropy source for PRNG seeding. We measure and evaluate the SRAM start-up patterns of two popular types of microcontrollers, a STMicroelectronics STM32F100R8 and a Microchip PIC16F1825. We also present an efficient software-only architecture for secure PRNG seeding. After analyzing over 1000000 measurements in total, we conclude that of these two devices, the PIC16F1825 cannot be used to securely seed a PRNG. The STM32F100R8, however, has the ability to generate very strong seeds from the noise in its SRAM start-up pattern. These seeds can then be used to ensure a PRNG generates high quality data.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
在商业现成的微控制器上安全的PRNG播种
高质量随机数的生成对许多密码学应用至关重要,包括密码学协议、密钥秘密、随机数或盐。它们的值必须包含足够的随机性,使攻击者无法预测。伪随机数生成器需要高熵的初始数据作为种子来产生大量高质量的随机数据流。然而,尽管随机性的重要性,适当的高质量随机数生成往往被忽视。主要是嵌入式设备经常受到弱随机数生成器的影响。在这项工作中,我们专注于识别和评估商业现成微控制器中的SRAM作为PRNG播种的熵源。我们测量和评估了两种流行类型的微控制器的SRAM启动模式,意法半导体STM32F100R8和Microchip PIC16F1825。我们还提出了一种用于安全PRNG播种的高效的纯软件架构。在总共分析了超过1000000次测量后,我们得出结论,在这两个器件中,PIC16F1825不能用于安全地播种PRNG。然而,STM32F100R8能够从其SRAM启动模式中的噪声中产生非常强的种子。这些种子可以用来确保PRNG生成高质量的数据。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
How to Build Hardware Trojans A Secure Algorithm for Task Scheduling against Side-channel Attacks Embedded System Security in Smart Consumer Electronics Beasty Memories: The Quest for Practical Defense against Code Reuse Attacks 6LoWPAN Security: Avoiding Hidden Wormholes using Channel Reciprocity
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1