arXiv:2610.07854cs.CROct 2026

Manuscript Offprint

arXiv:2610.07854

Lifecycle-Based Design and Evaluation of Real-Time Backup Triggers for Ransomware Damage Mitigation

Kosuke Higuchi, Ryotaro Kobayashi

ABSTRACT

Ransomware continues to encrypt files during the interval between attack onset and detection. Real-time backups can mitigate this damage by preserving files before they are modified. The previously proposed Real-Time Open-File Backup System (ROFBS) triggers backups primarily on file-open events. However, the file lifecycle offers several candidate trigger points, including open, read, write, and rename operations. Triggering backups too early may create unnecessary backup files, whereas triggering them too late may allow ransomware writes to race with backup creation and prevent the preservation of clean file contents. Consequently, it remains unclear which trigger timing best balances recoverability and the number of backups created. In this study, we design and evaluate real-time backup triggers for mitigating ransomware damage from a file-lifecycle perspective. Specifically, we compare four strategies: Open-time backup, Read-time backup, Write-time backup, and Rename-time backup. We implement these strategies in an ROFBS-style prototype on XFS and evaluate them using five ransomware samples: Conti, Sodinokibi, AvosLocker, REvil, and HelloKitty. Our results clarify how trigger timing affects both damage mitigation and the number of backups created, providing design guidance for selecting effective triggers in real-time backup systems against ransomware.

Keywords backup trigger timing, eBPF, ransomware mitigation, real-time backup

1 Introduction

Crypto-ransomware encrypts files stored on compromised endpoints and servers and demands payment in exchange for the decryption key. Such attacks can severely affect victim organizations by disrupting operations and increasing recovery costs. Ransomware remains a major cyber threat, with incidents continuing to be reported in recent years [1][1]. According to CyberEdge, 72.7% of organizations were affected by ransomware attacks in 2023, the highest percentage recorded since 2018 [2][2].

One factor contributing to the proliferation of ransomware attacks is the widespread adoption of the Ransomware-as-a-Service (RaaS) business model. RaaS provides the tools and infrastructure required to conduct ransomware attacks as a service, enabling attackers without advanced technical expertise to launch attacks with relative ease [3]. Against this background, ransomware attacks have become increasingly sophisticated and diverse. Allianz projects that the annual cost of ransomware will reach approximately USD 265 billion by 2031 [4].

A file-open operation is one of the file operations commonly observed across diverse ransomware families during ransomware encryption. Leveraging this property, we proposed the Real-Time Open-File Backup System (ROFBS) as a real-time defense against ransomware encryption attacks [5]. ROFBS creates a real-time backup of a target file when the file is opened. We defined the proportion of files protected during a ransomware attack as the Backup Ratio and experimentally demonstrated that ROFBS consistently achieved high Backup Ratios. This work is important

A PREPRINT

because it demonstrated the potential to preserve files before encryption by using ransomware file operations as backup triggers. Ransomware encryption, however, involves multiple file operations, including not only open but also read, write, and rename operations. The order of these operations and the files on which they operate may vary with the encryption scheme employed by the ransomware. Consequently, the operation selected as the backup trigger may affect both when backup creation begins and the proportion of files that can be protected. Previous work evaluated only a strategy triggered by file-open operations and did not compare it with strategies triggered by read, write, or rename operations. It therefore remains unclear which file operation is the most effective backup trigger for protecting files against ransomware.

In this study, we revisit the backup mechanism of ROFBS from the perspective of selecting the file operation used to trigger backup creation. Specifically, we reimplement ROFBS and introduce read, write, and rename operations as backup triggers in addition to the conventional open operation. Using multiple ransomware samples, we then compare the Encrypted Files, Backup Files, Covered Files, and Backup Ratio obtained with each trigger for the same sample. This evaluation clarifies how the file operation selected as the backup trigger affects ransomware encryption damage and backup performance.