Volume 3 - Issue 1 – 2
Inter-domain Communication Protocol for Real-time File Access Monitor of Virtual Machine
- Ruo Ando
National Institute of Information and Communications Technology 4-2-1 Nukui-Kitamachi, Koganei, Tokyo 184-8795 Japan
ruo@nict.go.jp
- Kazushi Takahashi
Graduate School of Information Science and Technology, The University of Tokyo 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-8656, Japan
arena431@gmail.com
- Kuniyasu Suzaki
National Institute of Advanced Industrial Science and Technology 1-1-1 Umezono Central-2, Tsukuba, Ibaraki, 305-8568, Japan
k.suzaki@aist.go.jp
Keywords: Virtual machine monitoring, inter-domain communication, file system driver, Xen and KVM
Abstract
Leveraging hypervisor for security purpose such as malware analysis has been well researched. There
still remain two challenges for analyzing security incidents on virtual machine: real-time monitoring
and semantic gap. First, current active monitoring methods need to be improved for real-time protection
of virtual machine. Second, semantic gap between virtual machine and hypervisor poses a
significant impediment on security analyst. In this paper, we propose an inter-domain communication
protocol for real-time monitoring of virtual machine and bridging semantic gap. We have deployed
the inter-domain communication module between a guestWindows OS and a hypervisor in two ways.
While the one is a register based transfer using vCPU context, the other is a shared memory based
communication. Our protocol is event driven, which makes the proposed system enable to monitor
the file access of a guest Windows OS in real-time without suspending it. We have implemented our
system on XEN virtual machine monitor and KVM (Kernel Virtual Machine). We have measured
the resource utilization of these two systems in the case of decompressing files and receiving HTTP
requests. On the guest OS, the KVM based system outperforms the processor idle time by about
30-50% in decompressing file and the memory usage by about 35% in receiving HTTP requests. We
conclude that our system can monitor file access inside virtual machine without suspension and also
with reasonable resource usage.