我的NPI项目之Android 安全系列 -- Android Strongbox 使能(一)

这里借用Android14高通相关的技术文档作为基础文档,该文档描述的是基于NFC的secure element. NFC型号为SN220.

有些概念的说明

1. RoT

在我们目前的这个上下文中,首先RoT下几个内容,Bootinfo/ Additonal params(images hash) / security patch versions. 

在安全领域:RoT, root of trust, Root of Trust (RoT) is a source that can always be trusted within a cryptographic system. Because cryptographic security is dependent on keys to encrypt and decrypt data and perform functions such as generating digital signatures and verifying signatures, RoT schemes generally include a hardened hardware module.

重要性:https://www.design-reuse.com/articles/47992/rot-the-foundation-of-security.html

2. Attestation Key

简称证书。

3. 安装keybox的代码

Keybox中应该就是Google颁发的证书. Securemsm/keymaster_install_toolbox/.... 具体代码后面可以找机会看一下,目前我的项目中,新启动的设备都需要过gms认真,需要提前向Google提交申请keybox;

4. Strongbox hal 

The StrongBox Hardware Abstraction Layer (HAL) is a component in the Android operating system that provides an interface for interacting with hardware-backed secure storage, also known as the StrongBox Keymaster.

Keymaster is a trusted execution environment (TEE) component responsible for secure key storage, cryptographic operations, and hardware-backed security features. It ensures that sensitive cryptographic keys and operations are protected in a secure environment, isolated from the regular Android operating system.

The StrongBox HAL acts as a bridge between the Android framework and the StrongBox Keymaster. It allows the Android framework to utilize the hardware-backed security features provided by the StrongBox Keymaster, such as secure key storage and cryptographic operations.

By leveraging the StrongBox HAL, Android applications can benefit from enhanced security for cryptographic operations. For example, key material can be securely stored in the hardware-backed keystore, ensuring that sensitive keys are protected from unauthorized access and tampering.

The StrongBox HAL is specifically designed to work with hardware that meets the requirements for StrongBox Keymaster, including secure hardware modules or secure enclaves that provide the necessary security features.

可以这么理解,没有strongbox之前, Qualcomm提供了TEE,调用过程:

Application / Android Framework / Keymaster4.0(hal) / TEE. 

有了strongbox之后,

Application / Android Framework / Strongbox keymaster(keyminit) / TEE / Strongbox

 

5. TEE和TrustZone

Trusted Execution Environment,是指Qualcomm提供的一个可以执行安装操作的环境。Refers specifically to Qualcomm's implementation of the Trusted Execution Environment. It is a software-based component that operates within the Secure World of TrustZone-enabled Qualcomm processors. The Qualcomm TEE provides a secure environment for executing trusted applications, protecting sensitive data, and enabling secure services on Qualcomm-powered devices.

TrustZone is a hardware-based security feature implemented in many ARM-based processors, including those manufactured by Qualcomm. It provides a system-wide approach to secure the execution of trusted code and protects sensitive data on a device. TrustZone creates two separate execution environments: the Normal World and the Secure World. The Secure World, also known as the Secure World Monitor (SWM), runs trusted code isolated from the Normal World, which includes the regular operating system and applications.

6. 上一个RoT 创建和保存的过程

7. 预编译库文件

  • 24
    点赞
  • 19
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
项目的导入通常分为以下五个阶段: 1. 规划阶段:在这个阶段,项目团队将定义项目的目标和目标,并制定详细的项目计划。他们会评估项目的可行性,确定项目的约束条件和风险,并确定所需的资源和时间表。此外,团队还将建立项目管理的组织结构和沟通渠道,以确保项目的顺利进行。 2. 准备阶段:在这个阶段,团队将执行项目计划的各项任务。这包括获取所需的资源和设备,建立与相关利益相关者的合作关系,编制详细的工作计划,制定项目的质量标准和检查点,并培训相关的团队成员。 3. 实施阶段:在这个阶段,团队将按照之前制定的计划开始执行项目。这包括执行项目中的各个任务和活动,监控项目的进展,并进行必要的修正。团队还将与相关利益相关者合作,确保项目按时、按质量要求完成。 4. 收尾阶段:在这个阶段,项目团队将完成项目的所有工作,并准备进行项目的验收和交付。他们将评估项目的结果,并与相关利益相关者一起确认项目的成功和满意度。团队还会编写项目总结报告,总结项目的经验教训,并进行项目团队的解散和资源的重新分配。 5. 后期支持阶段:在这个阶段,团队将提供项目交付的后续支持和维护。他们将监测项目的绩效,并解决任何可能出现的问题。此外,团队还将提供培训和知识转移,以确保组织内其他人员能够使用和维护项目交付物。 以上是新项目导入的五个阶段,每个阶段都有其特定的任务和目标,以确保项目的成功实施和交付。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值