Data Destruction & Ransomware

Detects destructive operations, ransomware-like behavior, and sabotage through data wiping or encryption

8 rules in data_destruction.yml

CRITICAL: 8

Rule IDSeverityTitleDescriptionRefs
backup_deletionCRITICALBackup File DeletionDeletes backup files or directories, which is a common pre-ransomware action
database_drop_truncateCRITICALDatabase DROP/TRUNCATE Destructive CommandExecutes DROP DATABASE, DROP TABLE, or TRUNCATE commands that destroy data
disk_wipe_ddCRITICALDisk/Partition Wipe with ddUses dd to write zeros or random data to disk devices, destroying all data
lvm_vg_removeCRITICALVolume Group / Logical Volume RemovalRemoves LVM volume groups or logical volumes, destroying data
mkfs_format_deviceCRITICALFilesystem Format on Existing Devicemkfs.ext{2,3,4}/xfs/btrfs/ntfs is invoked against /dev/. Formatting a disk destroys all existing data and there is no Ansible rollback path.
ransomware_file_encryptionCRITICALFile Encryption (Ransomware Pattern)Encrypts files using openssl, gpg, or age in a pattern consistent with ransomware
recursive_delete_criticalCRITICALRecursive Delete of Critical Pathsrm -rf targets a critical system path (/, /boot, /etc, /var, /usr, /home, /opt, /srv, /root). A typo or unbound variable in the path renders the host unrecoverable.
shred_wipe_commandCRITICALSecure File Deletion (shred/wipe)shred or wipe command targets a file path or templated variable and overwrites the contents irrecoverably. There is no Ansible rollback once shred runs.