Method and system for acquiring process information of KVM (Kernel-based Virtual Machine)
A technology for process information and system acquisition, applied in the field of virtual machine security protection
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] At present, the IOCTL interface of KVM is provided to the Qemu-kvm module for calling. The specific calling process is as follows: figure 1 shown. When using Qemu-kvm, you need to open / dev / kvm to obtain the file descriptor of KVM first, then obtain the file descriptor (vm_fd) of the virtual machine through the IOCTL interface corresponding to the descriptor, and obtain the virtual CPU (vcpu) through vm_fd ) instance file descriptor (vcpu_fd), so that the process running on the virtual CPU and the register information used by it can be monitored. Without modifying the Qemu-kvm code, it is usually impossible to obtain the vcpu_fd at runtime, and it is impossible to use the IOCTL interface provided by KVM itself to monitor the process and register information in the virtual machine running on it.
[0033]The applicant also takes into account the fact that generally cloud service and virtualization service providers will not accept security vendors to modify the virtualiz...
Embodiment 2
[0047] This embodiment provides a scanning system for virtual machine process information and register information, including:
[0048] Scan execution module, scan strategy module, result analysis and report module, rule base maintenance module.
[0049] The scanning execution module is used to obtain the scanning result of virtual machine process and register information provided by the introspection API driver module through the IOCTL interface.
[0050] The scanning policy module is used to customize the scanning plan. Considering that the scanning will cause certain resource consumption on the virtualization platform, this module provides a customizable scanning plan to ensure that the scanning will not cause resource consumption with the operation of the business virtual machine. compete.
[0051] The result analysis and reporting module is used to analyze the scanned results, evaluate the running status of the corresponding virtual machine process according to the match...
Embodiment 3
[0054] The present embodiment provides a method for obtaining transparent KVM virtual machine process information, the method comprising:
[0055] A, the system call interception module intercepts the IOCTL call initiated by Qemu-kvm;
[0056] B, when finding that this IOCTL system call is CREATE_VCPU, reinitiate this system call by the introspection API driver module, and record the file descriptor (vcpu_fd) value of the returned virtual CPU;
[0057] In this step, the system call interception module monitors the system call of the host, if the IOCTL system call for creating vcpu initiated by Qemu-kvm is intercepted, the introspection API driver module constructs a new one according to the parameters of the intercepted IOCTL system call Create the IOCTL system call of vcpu and make a call to KVM, and return the return value of the IOCTL system call executed by KVM to Qemu-kvm.
[0058] Specifically, the process of the system call interception module transparently obtaining v...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com