信息网络安全 ›› 2020, Vol. 20 ›› Issue (8): 47-54.doi: 10.3969/j.issn.1671-1122.2020.08.006

• 技术研究 • 上一篇    下一篇

一种基于TrustZone的硬件密码资源主动发现与安全使用方法

袁露1, 黄辰林1(), 李韵1, 程华2   

  1. 1.国防科技大学计算机学院,长沙 410073
    2.数学工程与先进计算国家重点实验室,无锡 214083
  • 收稿日期:2020-06-01 出版日期:2020-08-10 发布日期:2020-10-20
  • 通讯作者: 黄辰林 E-mail:huangchenlin76@gmail.com
  • 作者简介:袁露(1992—),男,江西,硕士研究生,主要研究方向为系统安全|黄辰林(1976—),男,辽宁,副研究员,博士,主要研究方向为系统安全、人工智能安全|李韵(1996—),女,湖南,硕士研究生,主要研究方向为系统安全|程华(1976—),女,安徽,研究员,博士,主要研究方向为操作系统和高性能计算
  • 基金资助:
    国家重点研发计划(2018YFB0803501)

An Active Discovering and Secure Using Method of Hardware Cryptographic Resources Based on TrustZone

YUAN Lu1, HUANG Chenlin1(), LI Yun1, CHENG Hua2   

  1. 1. Academy of Computer Science, National University of Defense Technology, Changsha 410073, China
    2. State Key Laboratory of Mathematical Engineering and Advanced Computing, Wuxi 214083, China
  • Received:2020-06-01 Online:2020-08-10 Published:2020-10-20
  • Contact: HUANG Chenlin E-mail:huangchenlin76@gmail.com

摘要:

为解决各类密码设备提供商各自为政、安全运维工作量大和安全应用开发不便的问题,研究者在操作系统层面建立了密码服务框架,以统一各类软硬件密码资源。然而,现有的密码服务框架一方面不具备对系统硬件密码资源主动发现和主动挂载的能力,仍然需要用户主动加载密码设备和将密码资源挂载到密码服务框架,然后才能在安全应用中调用;另一方面可能导致高密级的硬件密码设备被越权访问和使用。为解决上述问题,文章提出一种基于TrustZone的硬件密码资源主动发现与安全使用方法。通过TrustZone提供的安全隔离计算环境对密码服务框架进行扩展;通过与操作系统内核的互动,使得密码服务框架具备主动检测和安全加载系统硬件密码资源的能力。文章在飞腾FT-2000/4处理器平台上实现了原型系统,测试表明,文章所提出的方法能够成功实现硬件密码资源的主动发现和安全使用。

关键词: 密码服务框架, 硬件密码资源, 主动发现, 安全使用

Abstract:

In order to solve the problems that various cryptographic equipment providers are independent, the workload of security maintenance is large and the development of security applications is inconvenient, the researchers set up a cryptographic service framework at the operating system level to unify all kinds of hardware and software cryptographic resources. However, on the one hand, existing cryptographic service frameworks do not have the ability to actively discover and apply the hardware cryptographic resources, and users still need to manually load the cryptographic device and mount the cryptographic resources into the cryptographic service framework before they can be invoked and used in the security applications. On the other hand, high level security hardware cryptographic devices may be unauthorized accessed and used. In order to solve the above problems, this paper proposes a method of active discovery and secure use of hardware cryptographic resources based on TrustZone, which extends the cryptographic service framework through the secure isolation computing environment provided by TrustZone, and makes the cryptographic service framework have the ability to actively detect and securely load the system hardware cryptographic resources through the interaction with the operating system kernel. The prototype system is implemented on FT-2000/4 processer platform. The test results show that the proposed method can successfully realize the active discovery and secure use of hardware cryptographic resources.

Key words: cryptographic service framework, hardware cryptographic resource, active discovering, secure using

中图分类号: