• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
高级检索

一种嵌入式Linux系统上的新型完整性度量架构

贾巧雯, 马昊玉, 厉严, 王哲宇, 石文昌

贾巧雯, 马昊玉, 厉严, 王哲宇, 石文昌. 一种嵌入式Linux系统上的新型完整性度量架构[J]. 计算机研究与发展, 2022, 59(10): 2362-2375. DOI: 10.7544/issn1000-1239.20220525
引用本文: 贾巧雯, 马昊玉, 厉严, 王哲宇, 石文昌. 一种嵌入式Linux系统上的新型完整性度量架构[J]. 计算机研究与发展, 2022, 59(10): 2362-2375. DOI: 10.7544/issn1000-1239.20220525
Jia Qiaowen, Ma Haoyu, Li Yan, Wang Zheyu, Shi Wenchang. A Novel Integrity Measurement Architecture for Embedded Linux Systems[J]. Journal of Computer Research and Development, 2022, 59(10): 2362-2375. DOI: 10.7544/issn1000-1239.20220525
Citation: Jia Qiaowen, Ma Haoyu, Li Yan, Wang Zheyu, Shi Wenchang. A Novel Integrity Measurement Architecture for Embedded Linux Systems[J]. Journal of Computer Research and Development, 2022, 59(10): 2362-2375. DOI: 10.7544/issn1000-1239.20220525
贾巧雯, 马昊玉, 厉严, 王哲宇, 石文昌. 一种嵌入式Linux系统上的新型完整性度量架构[J]. 计算机研究与发展, 2022, 59(10): 2362-2375. CSTR: 32373.14.issn1000-1239.20220525
引用本文: 贾巧雯, 马昊玉, 厉严, 王哲宇, 石文昌. 一种嵌入式Linux系统上的新型完整性度量架构[J]. 计算机研究与发展, 2022, 59(10): 2362-2375. CSTR: 32373.14.issn1000-1239.20220525
Jia Qiaowen, Ma Haoyu, Li Yan, Wang Zheyu, Shi Wenchang. A Novel Integrity Measurement Architecture for Embedded Linux Systems[J]. Journal of Computer Research and Development, 2022, 59(10): 2362-2375. CSTR: 32373.14.issn1000-1239.20220525
Citation: Jia Qiaowen, Ma Haoyu, Li Yan, Wang Zheyu, Shi Wenchang. A Novel Integrity Measurement Architecture for Embedded Linux Systems[J]. Journal of Computer Research and Development, 2022, 59(10): 2362-2375. CSTR: 32373.14.issn1000-1239.20220525

一种嵌入式Linux系统上的新型完整性度量架构

基金项目: 国家自然科学基金项目(61972215,61972073,62172238);国家重点研发计划项目(2018YFA0704703)
详细信息
  • 中图分类号: TP309.1

A Novel Integrity Measurement Architecture for Embedded Linux Systems

Funds: This work was supported by the National Natural Science Foundation of China (61972215, 61972073, 62172238) and the National Key Research and Development Program of China(2018YFA0704703).
  • 摘要: 完整性度量框架是可信计算平台的重要组成部分之一.但过往研究工作所提出的完整性度量框架设计在实际应用于嵌入式设备场景时,往往体现出不同程度的局限性.提出了内核级动态完整性度量架构(dynamic integrity measurement architecture at kernel-level, DIMAK),一种针对嵌入式Linux操作系统的实用化完整性度量架构,为基于Linux的嵌入式设备提供有效且高性能的运行时完整性验证能力.该架构支持对映射至系统内核空间及用户进程的可执行文本、静态数据以及动态链接信息等关键内容实施即时(just-in-time)完整性校验.利用Linux内核的进程、内存和页面管理机制,DIMAK实现了对被度量内容所驻留物理页面的运行时校验,避免了基于文件的静态度量方法可能存在的检查与使用时差(time-of-check to time-of-use, TOCTTOU)漏洞.通过首次引入对位置无关代码的重定位/动态链接信息的完整性基线预测方法,DIMAK在面对包括基于hooking的控制流劫持、恶意代码运行时载入等攻击威胁时具有较之现存同类技术更强的完备性.另外,通过引入对软件热补丁功能的可信验证支持,DIMAK在系统完整性度量问题中将该应用场景与恶意攻击行为正确地加以区分.根据各种被度量实体的不同类型,DIMAK在离线阶段、系统启动时、进程加载时和代码动态加载时等时机分别生成其对应的完整性基线,确保其完整性验证行为的正确性.真机测试显示,所述的DIMAK架构产生的性能开销完全可以满足嵌入式设备场景下的实际应用要求.
    Abstract: Integrity measurement architecture (IMA) is an important component of trusted computing. However, existing IMA schemes possess a number of practical limitations when applied in embedded systems. In this paper, we propose dynamic integrity measurement architecture at kernel-level (DIMAK), an effective and efficient runtime integrity measurement architecture for embedded Linux systems. DIMAK supports just-in-time integrity measurement for code texts and static data in both kernel and user space, as well as dynamic linking information maintained by position independent executables (PIE). Exploiting the process, memory and page management mechanism of Linux kernel, DIMAK is capable of measuring the to-be-measured contents at physical-page-level, hence avoids potential time-of-check to time-of-use (TOCTTOU) vulnerability that has been discovered in existing techniques. On top of that, by proposing a predictive integrity baseline generation technique for the relocation and dynamic linking information of ELF files, the proposed architecture achieves better completeness than the state-of-the-art schemes in case of responding to threats like hooking-based control flow hijacking and dynamically loaded malware. Also, with a novel trusted software hot-fix protocol, the proposed architecture becomes the first IMA scheme capable of correctly distinguishing on-the-fly software patching behaviors from malicious code loading. Given different types of contents to be measured, DIMAK generates the corresponding integrity baselines at a variety of timings, e.g., during off-line phase, system booting, process loading or dynamic code loading, thus ensures correctness of the architecture’s integrity measurement for all possible scenarios. Experiments on real commercial embedded devices have also shown that performance overhead caused by DIMAK is sufficiently acceptable for embedded devices.
  • 期刊类型引用(6)

    1. 陈艳君,吴华伟,吴钊,耿向阳,王剑锋. 基于图像格式映射策略的全液晶仪表显示防卡顿技术研究. 现代电子技术. 2025(09): 180-186 . 百度学术
    2. 彭伟尧,孙雪茹. 嵌入式小型多点温度测量系统设计. 机电信息. 2024(07): 37-41 . 百度学术
    3. 姜阔胜,段惠中. 校园多分布式危化品的智能测控系统研制. 物联网技术. 2024(05): 68-70 . 百度学术
    4. 李为,冯伟,秦宇,冯登国. 基于动态完整性度量的机密计算运行时监控方案. 计算机研究与发展. 2024(10): 2482-2500 . 本站查看
    5. 解晓盈. 基于物联网技术的数字化校园网络安全防御系统设计. 自动化与仪器仪表. 2023(09): 151-155 . 百度学术
    6. 李菲. 计算机Linux操作系统调用测试的自动化设计. 信息记录材料. 2023(11): 129-131+134 . 百度学术

    其他类型引用(8)

计量
  • 文章访问数:  244
  • HTML全文浏览量:  6
  • PDF下载量:  163
  • 被引次数: 14
出版历程
  • 发布日期:  2022-09-30

目录

    /

    返回文章
    返回