GuardFS: a File System for Integrated Detection and Mitigation of Linux-based Ransomware

Jan von der Assen,Chao Feng,Alberto Huertas Celdrán,Róbert Oleš,Gérôme Bovet,Burkhard Stiller
2024-01-31
Abstract:Although ransomware has received broad attention in media and research, this evolving threat vector still poses a systematic threat. Related literature has explored their detection using various approaches leveraging Machine and Deep Learning. While these approaches are effective in detecting malware, they do not answer how to use this intelligence to protect against threats, raising concerns about their applicability in a hostile environment. Solutions that focus on mitigation rarely explore how to prevent and not just alert or halt its execution, especially when considering Linux-based samples. This paper presents GuardFS, a file system-based approach to investigate the integration of detection and mitigation of ransomware. Using a bespoke overlay file system, data is extracted before files are accessed. Models trained on this data are used by three novel defense configurations that obfuscate, delay, or track access to the file system. The experiments on GuardFS test the configurations in a reactive setting. The results demonstrate that although data loss cannot be completely prevented, it can be significantly reduced. Usability and performance analysis demonstrate that the defense effectiveness of the configurations relates to their impact on resource consumption and usability.
Cryptography and Security
What problem does this paper attempt to address?
The paper aims to address the limitations of current ransomware detection systems in real-world defense scenarios, particularly the integrated detection and mitigation solutions on Linux systems. Specifically, although many existing studies have demonstrated high accuracy in detecting ransomware, these methods often fail to effectively translate this detection capability into practical defense measures. Moreover, most solutions primarily focus on data recovery rather than prevention. Therefore, this paper proposes a file system-level framework called GuardFS, designed to integrate ransomware detection and mitigation mechanisms. GuardFS extracts data before files are accessed through a custom overlay file system and uses trained models for classification to identify malicious processes. To mitigate threats, GuardFS designs three different defense configurations: obfuscation, delay, or tracking of file system access. Experimental results show that while it is not possible to completely prevent data loss, the losses can be significantly reduced. Additionally, the framework evaluates the impact of different configurations on resource consumption and usability. Overall, this study attempts to fill the gap in existing research on how to effectively utilize AI-driven detection systems to enhance defense mechanisms in real-world environments.