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
TL;DR
GuardFS addresses the gap between ransomware detection and practical protection on Linux by integrating detection and reactive mitigation inside an overlay file system. It uses a two-plane architecture (File System Plane and Detection Plane) with ML classifiers and four defense configurations (PKILL, OBF, DEL+OBF, TRACK) to reduce data loss while balancing latency and usability. Through Raspberry Pi and virtualized testbeds with multiple Linux ransomware strains, it shows substantial data preservation improvements (up to ~98% reductions under DEL+OBF variants) and comparable resource usage to baseline defenses, highlighting tradeoffs between security guarantees and delay. This work demonstrates the viability of deception-based, data-driven defenses in real-world Linux environments and outlines directions for lightweight detection and broader OS-portability.
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.
