登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
2025 Gitee 年度开源项目评选投票进行中,快为你的心仪项目助力!
代码拉取完成,页面将自动刷新
仓库状态说明
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
62
Star
82
Fork
492
openEuler
/
release-management
关闭
代码
Issues
419
Pull Requests
6
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
openEuler 20.09版本新增IMA摘要列表支持
已完成
#I1RAEC
需求
陈亚强
成员
创建于
2020-08-13 15:17
**feature description:** IMA,全称 Integrity Measurement Architecture(完整性度量架构),是内核中的一个子系统,能够基于自定义策略对通过 execve()、mmap() 和 open() 系统调用访问的文件进行度量,度量结果可被用于**本地/远程证明**,或者和已有的参考值比较以**控制对文件的访问**,两种场景都可通过日志进行审计。 根据 IMA wiki 的定义,内核完整性子系统的功能可以被分为三部分: - 度量(measure):检测对文件的意外或恶意修改,无论远程还是本地。 - 评估(appraise):度量文件并与一个存储在扩展属性中的 good value 作比较,控制本地文件完整性。 - 审计(audit):将度量结果写到系统日志中,用于审计。 IMA 摘要列表扩展是对原生 IMA 机制的增强,该扩展的任务是将用于参考的文件摘要上传至内核中,在被 IMA 度量和评估模块调用时,检索内核中的摘要列表并返回结果。EulerOS 使用该机制代替社区原生的 IMA 机制实现应用程序的安全启动: - 对于度量场景,现在在内核中维护一个用于参考的摘要列表,只在文件改变时才写 TPM 中的 PCR(当前尚未支持)。 - 对于评估场景,现在直接使用已上传至内核的摘要值而非文件签名做访问校验,避免了每次访问文件时都执行验签,只在启动前统一执行验签,每次访问文件只进行哈希值比对。 该扩展保证了系统中运行的任何程序都来自软件的发行商而未被篡改,增强了现网环境的安全性,降低了部署的复杂性,提升了开启完整性校验机制时的性能。 **tacking issue:** https://gitee.com/src-openeuler/rpm/issues/I1RB2Q https://gitee.com/src-openeuler/openEuler-rpm-config/issues/I1RCA4 https://gitee.com/src-openeuler/cpio/issues/I1RC9Z https://gitee.com/src-openeuler/dracut/issues/I1RCB5 **tacking PR:** https://gitee.com/openeuler/digest-list-tools/pulls/1 https://gitee.com/openeuler/digest-list-tools/pulls/2 https://gitee.com/openeuler/attest-tools/pulls/1 https://gitee.com/openeuler/attest-tools/pulls/2 https://gitee.com/src-openeuler/pesign-obs-integration/pulls/1 https://gitee.com/src-openeuler/tss2/pulls/1 https://gitee.com/src-openeuler/attest-tools/pulls/1 https://gitee.com/src-openeuler/rpm/pulls/30 https://gitee.com/src-openeuler/openEuler-rpm-config/pulls/20 https://gitee.com/src-openeuler/dracut/pulls/13 https://gitee.com/src-openeuler/cpio/pulls/2 https://gitee.com/src-openeuler/cpio/pulls/4 https://gitee.com/src-openeuler/ima-evm-utils/pulls/9 https://gitee.com/src-openeuler/digest-list-tools/pulls/3 https://gitee.com/src-openeuler/digest-list-tools/pulls/4 https://gitee.com/src-openeuler/digest-list-tools/pulls/5
**feature description:** IMA,全称 Integrity Measurement Architecture(完整性度量架构),是内核中的一个子系统,能够基于自定义策略对通过 execve()、mmap() 和 open() 系统调用访问的文件进行度量,度量结果可被用于**本地/远程证明**,或者和已有的参考值比较以**控制对文件的访问**,两种场景都可通过日志进行审计。 根据 IMA wiki 的定义,内核完整性子系统的功能可以被分为三部分: - 度量(measure):检测对文件的意外或恶意修改,无论远程还是本地。 - 评估(appraise):度量文件并与一个存储在扩展属性中的 good value 作比较,控制本地文件完整性。 - 审计(audit):将度量结果写到系统日志中,用于审计。 IMA 摘要列表扩展是对原生 IMA 机制的增强,该扩展的任务是将用于参考的文件摘要上传至内核中,在被 IMA 度量和评估模块调用时,检索内核中的摘要列表并返回结果。EulerOS 使用该机制代替社区原生的 IMA 机制实现应用程序的安全启动: - 对于度量场景,现在在内核中维护一个用于参考的摘要列表,只在文件改变时才写 TPM 中的 PCR(当前尚未支持)。 - 对于评估场景,现在直接使用已上传至内核的摘要值而非文件签名做访问校验,避免了每次访问文件时都执行验签,只在启动前统一执行验签,每次访问文件只进行哈希值比对。 该扩展保证了系统中运行的任何程序都来自软件的发行商而未被篡改,增强了现网环境的安全性,降低了部署的复杂性,提升了开启完整性校验机制时的性能。 **tacking issue:** https://gitee.com/src-openeuler/rpm/issues/I1RB2Q https://gitee.com/src-openeuler/openEuler-rpm-config/issues/I1RCA4 https://gitee.com/src-openeuler/cpio/issues/I1RC9Z https://gitee.com/src-openeuler/dracut/issues/I1RCB5 **tacking PR:** https://gitee.com/openeuler/digest-list-tools/pulls/1 https://gitee.com/openeuler/digest-list-tools/pulls/2 https://gitee.com/openeuler/attest-tools/pulls/1 https://gitee.com/openeuler/attest-tools/pulls/2 https://gitee.com/src-openeuler/pesign-obs-integration/pulls/1 https://gitee.com/src-openeuler/tss2/pulls/1 https://gitee.com/src-openeuler/attest-tools/pulls/1 https://gitee.com/src-openeuler/rpm/pulls/30 https://gitee.com/src-openeuler/openEuler-rpm-config/pulls/20 https://gitee.com/src-openeuler/dracut/pulls/13 https://gitee.com/src-openeuler/cpio/pulls/2 https://gitee.com/src-openeuler/cpio/pulls/4 https://gitee.com/src-openeuler/ima-evm-utils/pulls/9 https://gitee.com/src-openeuler/digest-list-tools/pulls/3 https://gitee.com/src-openeuler/digest-list-tools/pulls/4 https://gitee.com/src-openeuler/digest-list-tools/pulls/5
评论 (
1
)
登录
后才可以发表评论
状态
已完成
新建
已接纳
已挂起
设计中
开发中
已完成
已验收
已拒绝
负责人
未设置
anakinzhang
anakintxzhang
负责人
协作者
+负责人
+协作者
标签
未设置
项目
未立项任务
未立项任务
里程碑
openEuler 20.9
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
未关联
master
revert-merge-1069-master
openEuler-22.09
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
openEuler-20.03-LTS-SP3
openEuler-21.03
openEuler-21.09
openEuler-22.03-LTS
openEuler-22.03-LTS-SP1
openEuler-20.03-LTS
openEuler-20.09
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/openeuler/release-management.git
git@gitee.com:openeuler/release-management.git
openeuler
release-management
release-management
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册