Abstract

The paper proposes an approach to monitoring file operations through capturing virtual disk accesses in the emulator. This method allows obtaining information about file operations in the OS-agnostic manner but requires a separate implementation for each file system. An important problem for implementing this approach is the correct handling of changes in the file system. Operating systems that cache write requests can perform operations in any order. The authors have created a method for detecting read, write, create, delete and rename operations, and a module for QEMU, which monitors operations in the ext3 file system. The advantage of this method over others is that it does not interfere with the operation of the OS and does not depend on it. It is assumed that the QEMU module for file systems other than ext2/3 can be implemented using the methods described in this article.

Highlights

  • The task of monitoring file operations is relevant when debugging the OS and its file system drivers, as well as researching the behavior of systems with an unknown internal organization, performing the security audit of the information processed by such systems

  • The implemented module works with the ext3 file system

  • It is intended for capturing virtual disk accesses in the guest system and writing the operation type and file name into a log

Read more

Summary

Introduction

The task of monitoring file operations is relevant when debugging the OS and its file system drivers, as well as researching the behavior of systems with an unknown internal organization, performing the security audit of the information processed by such systems. Current solutions for file system monitoring are typically based on using the tools of the operating system and tracing system calls. These solutions differ depending on the operating system, and some exotic OSes might not have the appropriate tools for this task. The implementation that has been created is based on the QEMU emulator [1]. The QEMU module identifies the file names based on the sector in the query, the virtual disk information and the knowledge about the structure of the file system. A monitoring tool for the ext file system [2] has been implemented, which is one of the file systems used in Linux-based operating systems. It is expected that the ideas used in this implementation can be applied to other file systems as well

Overview of existing solutions
Ext3 file system
Possible ways of finding the file name based on its sector number
The problem of unspecified order of queries to the disk
Testing
Conclusion
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.