计算机应用 ›› 2018, Vol. 38 ›› Issue (2): 305-309.DOI: 10.11772/j.issn.1001-9081.2017082167

• 网络空间安全 •    下一篇

基于硬件虚拟化的虚拟机进程代码分页式度量方法

蔡梦娟1, 陈兴蜀1, 金鑫2, 赵成2, 殷明勇3   

  1. 1. 四川大学 网络空间安全研究院, 成都 610065;
    2. 四川大学 计算机学院, 成都 610065;
    3. 中国工程物理研究院 计算机应用研究所, 四川 绵阳 621900
  • 收稿日期:2017-08-21 修回日期:2017-09-13 出版日期:2018-02-10 发布日期:2018-02-10
  • 通讯作者: 陈兴蜀
  • 作者简介:蔡梦娟(1996-),女,湖北崇阳人,硕士研究生,主要研究方向:虚拟化安全;陈兴蜀(1968-),女,四川成都人,教授,博士,主要研究方向:云计算、大数据安全、网络空间安全;金鑫(1976-),男,辽宁营口人,博士研究生,主要研究方向:云计算安全、可信计算;赵成(1991-),男,河北固安人,硕士,主要研究方向:云计算、虚拟化;殷明勇(1983-),男,陕西汉中人,硕士,主要研究方向:网络安全、大数据。
  • 基金资助:
    国家自然科学基金资助项目(61272447)。

Paging-measurement method for virtual machine process code based on hardware virtualization

CAI Mengjuan1, CHEN Xingshu1, JIN Xin2, ZHAO Cheng2, YIN Mingyong3   

  1. 1. Cybersecurity Research Institute, Sichuan University, Chengdu Sichuan 610065, China;
    2. College of Computer Science, Sichuan University, Chengdu Sichuan 610065, China;
    3. Institute of Computer Application, China Academy of Engineering Physics, Mianyang Sichuan 621900, China
  • Received:2017-08-21 Revised:2017-09-13 Online:2018-02-10 Published:2018-02-10
  • Supported by:
    This work is partially supported by the National Natural Science Foundation of China (61272447).

摘要: 云环境下恶意软件可利用多种手段篡改虚拟机(VM)中关键业务代码,威胁其运行的稳定性。传统的基于主机的度量系统易被绕过或攻击而失效,针对在虚拟机监视器(VMM)层难以获取虚拟机中运行进程完整代码段并对其进行完整性验证的问题,提出基于硬件虚拟化的虚拟机进程代码分页式度量方法。该方法以基于内核的虚拟机(KVM)作为虚拟机监视器,在VMM层捕获虚拟机进程的系统调用作为度量流程的触发点,基于相对地址偏移解决了不同版本虚拟机之间的语义差异,实现了分页式度量方法在VMM层透明地验证虚拟机中运行进程代码段的完整性。实现的原型系统——虚拟机分页式度量系统(VMPMS)能有效度量虚拟机中进程,性能损耗在可接受范围内。

关键词: 进程完整性, 动态度量, 无代理, 系统调用, 基于内核的虚拟机

Abstract: In cloud environment, the code of pivotal business in Virtual Machine (VM) can be modified by malicious software in many ways, which can pose a threat to its stable operation. Traditional measurement systems based on host are liable to be bypassed or attacked. To solve the problem that it is difficult to obtain a complete virtual machine running process code and verify its integrity at Virtual Machine Monitor (VMM) layer, a paging-measurement method based on hardware virtualization was proposed. The Kernel-based Virtual Machine (KVM) was used as the VMM to capture the system calls of virtual machine process in VMM and regarde it as the trigger point of the measurement process; the semantic differences of different virtual machine versions were solved by using relative address offset, then the paging-measurement method could verify the code integrity of running process in virtual machine transparently at VMM layer. The implemented prototype system of VMPMS (Virtual Machine Paging-Measurement System) can effectively measure the virtual machine process code with acceptable performance loss.

Key words: process integrity, dynamic measurement, agentless, system call, Kernel-based Virtual Machine (KVM)

中图分类号: