Detections · Harmful behavior
Mac wiper malware: deleting or overwriting your files in bulk
Some malicious programs do not steal your files, they destroy them. A wiper deletes or overwrites documents, photos and backups far beyond what any uninstaller or cache cleanup needs, and without a backup kept elsewhere the loss is permanent.
Updated November 25, 2026 · 42 detections in this category
In short
Deleting or overwriting files in bulk, beyond what an uninstaller or a cache cleanup needs.
MacVigil has 42 detections in this category. It reads the file to find them and never runs it.
What file destruction is
Any program you run can delete what your account can reach: your Documents, Desktop, Pictures, Movies and Music folders, and often external disks. A wiper uses that reach on purpose, sometimes as sabotage, sometimes to cover the tracks of another attack, and sometimes as the last step of an extortion where the files are held for ransom.
Overwriting is worse than deleting. A deleted file can sometimes be recovered; a file whose bytes were replaced before it was removed usually cannot.
How Mac malware does it
- It finds your home folder, walks through it folder by folder and deletes each item it meets.
- A script asks for the complete removal of a whole personal folder, such as Documents or Desktop, in a single call.
- It replaces a file’s contents with other bytes first, then deletes it, so recovery tools find nothing useful.
- It strips every permission from a list of files, which leaves them in place but impossible to open.
- It removes local Time Machine snapshots or erases the unified log, taking away the way back and the record of what happened.
- It reaches beyond the Mac: network shares, other user accounts on the same Mac, or a raw disk device written below the file system.
- It waits for a command from a remote server before wiping, or locks the screen and demands payment.
What MacVigil looks for
MacVigil reads the file and never runs it. Its strongest finding is a single function in an app’s executable that finds the home folder, lists a folder and deletes items: the three parts of a wiper tied in one place. In scripts, it reads a request to remove an entire personal folder, and in code it links a file whose contents are replaced to the deletion of that same file.
Broader combinations bring together backup stores, document folders, a directory walker and file deletion, or network volumes beside encryption and ransom wording. When these are only separate mentions in the text, MacVigil says so: nothing shows they are linked or that any of them ran.
On their own, functions that delete a file or move it to the Trash are informational. Almost every app can delete something, so one ingredient alone is never enough for a dangerous verdict.
When it is normal
Uninstallers, cache cleaners and updaters delete files all the time, and backup tools prune old Time Machine snapshots. A remote wipe service for lost devices carries the same pieces as a remote wipe command, and an IT reset tool for shared Macs may list user accounts and remove data. The difference is what gets deleted, and whether you asked for it.
How to protect your files
- Turn on Time Machine in System Settings > General > Time Machine, with a disk you disconnect when it is not backing up.
- Keep a second copy of irreplaceable files somewhere else, such as iCloud Drive or another disk.
- In System Settings > Privacy & Security > Files and Folders, check which apps can reach your Desktop, Documents, Downloads and removable volumes.
- In Terminal,
tmutil listlocalsnapshots /lists the local snapshots that still exist; if they vanish without a reason, find out why. - Before opening an app from outside the App Store, run
codesign -dvon it to see who signed it.
Related categories
- Ransomware encryption: Encrypting files in place, the mechanism ransomware relies on.
- Remote control: What lets someone drive this Mac from a distance: a channel that receives commands, and the means to run them.
- Analysis resistance: What makes a program harder to examine: packing, obfuscation, debugger and virtual-machine checks, erased traces.
- Persistence: How a program arranges to start again on its own: launch agents and daemons, login items, scheduled jobs.
Know what a file does before you open it
MacVigil reads any app, disk image, installer or script without running it, and shows the evidence behind every finding. Nothing leaves your Mac.
Free for 7 days, then $29.95 a year for 2 Macs, a launch price: the regular price will be $59 a year. Requires macOS 15 Sequoia or later on a Mac with Apple silicon.
More: all detection categories · what MacVigil detects · the blog