| 注册
首页|期刊导航|高技术通讯|基于编译的Linux内核地址空间布局控制方法

基于编译的Linux内核地址空间布局控制方法

李润宽 胡斌 赵小芳 史骁 蒋德钧

高技术通讯2026,Vol.36Issue(1):1-14,14.
高技术通讯2026,Vol.36Issue(1):1-14,14.DOI:10.3772/j.issn.1002-0470.2026.01.001

基于编译的Linux内核地址空间布局控制方法

A compilation-based method for controlling the address space layout of the Linux kernel

李润宽 1胡斌 1赵小芳 2史骁 3蒋德钧1

作者信息

  • 1. 中国科学院计算技术研究所 北京 100190||中国科学院大学 北京 100049||北京中关村实验室 北京 100194
  • 2. 中国科学院计算技术研究所 北京 100190||北京中关村实验室 北京 100194||中科苏州智能计算技术研究院 苏州 215028
  • 3. 中国科学院计算技术研究所 北京 100190||中科南京信息高铁研究院 南京 211135||中国科学院大学南京学院 南京 211135
  • 折叠

摘要

Abstract

With the emergence of control-flow hijacking techniques such as just-in-time return-oriented programming(JIT-ROP),kernel address space layout randomization(KASLR)faces severe challenges and is evolving towards finer granularity and continuous randomization.Existing methods are generally based on source code modifications or bi-nary rewriting,which is inefficient and lacks flexibility.To address this issue,this paper designs a compilation-based address space layout control method(CAC).CAC introduces fixed entry points for functions in object files,and through compilation,generates object files that support function-level continuous randomization,featuring auto-mation and flexible control.Experimental results show that CAC successfully compiles and loads over 1 700 kernel modules.Compared with existing methods,the object file generation for individual modules is more efficient,and the runtime randomization overhead of CAC-generated object files is reduced by at least 15.0%.

关键词

操作系统内核/控制流劫持/内核地址空间布局随机化/编译器插件

Key words

operating system kernel/control flow hijacking/kernel address space layout randomization/com-pile plugin

引用本文复制引用

李润宽,胡斌,赵小芳,史骁,蒋德钧..基于编译的Linux内核地址空间布局控制方法[J].高技术通讯,2026,36(1):1-14,14.

基金项目

中国科学院计算技术研究所创新课题(E361060)资助项目. (E361060)

高技术通讯

1002-0470

访问量0
|
下载量0
段落导航相关论文