Trusted Boot

Introduction

Trusted boot is a machinism int the bootloader of operating system, which provide the authentication of underlying code and build the root of trust chain.?

In the context of the boot process, trust means that an embedded module executes only the boot code, operating system, and application code. The only way to guarantee trust in this chain is to ensure that all code -- from the very first instruction that a processor executes -- is authentic and specifically intended by the system integrator to execute on that processor.

Cryptography in the form of encryption and digital signatures is an essential component for establishing trust and preventing a malicious actor from modifying, adding, or replacing authentic code. While encryption ensures confidentiality to prevent prying eyes from understanding the code, it does not guarantee that the code comes from an authorized source and has not been tampered with in some way(authentication and intergrity). So we need digital signature to provide autentication.

Digital Signature

?? ? ?

Signing


Verification

Implementation

The basic principle is to use the digital signature to sign the whole content of root(OS) and store that value.When booting starts, verify the content with the sigature.

dm-verity(Android)

An Introduction to dm-verity on Android | Kynetics

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi閱讀 7,855評論 0 10
  • 日精進:敬畏—進入—體驗—交給—持續(xù) 1,缺啥補啥,怕啥練啥; 2,一切為我所用,所用為團隊家; 3,我想變,我...
    A沒招兒啊i閱讀 140評論 0 0
  • 《小時代》上映了。我看都不想看一眼而且看不起。 這種感覺從很久前看網(wǎng)絡(luò)小說時就有了。 本來以為很難做得好的東西,很...
    空瑾閱讀 206評論 0 1
  • 《我不是藥神》前期點映時就口碑爆表,上映短短數(shù)天,單日票房近5000萬,未正式上映票房破億,7月5日上映當日評分9...
    欽沛沛閱讀 1,440評論 6 7
  • 酷雪冰凌閱讀 421評論 2 5

友情鏈接更多精彩內(nèi)容