T1679: Selective Exclusion
Tactics: Stealth. Platforms: Windows.
Adversaries may intentionally exclude certain files, folders, directories, file types, or system components from encryption or tampering during a ransomware or malicious payload execution.
MITRE's description
Adversaries may intentionally exclude certain files, folders, directories, file types, or system components from encryption or tampering during a ransomware or malicious payload execution. Some file extensions that adversaries may avoid encrypting include .dll, .exe, and .lnk.
Telemetry that detects it
- Command Execution
- File Modification
- Process Creation
Procedure examples
- DynoWiper has recursively enumerated directories with the exception of the following: System32, Windows, Program Files, Program Files(x86), Temp, Recycle.Bin, $Recycle.Bin, Boot, PerfLogs, AppData, Documents and Settings.
- Embargo has avoided encrypting specific files and directories by leveraging a regular expression within the ransomware binary.
- InvisibleFerret has the capability to scan for file names, file extensions, and avoids pre-designated path names and file types.
- LazyWiper can enumerate the hostname of the system to determine if it is a domain controller and exclude it from being wiped if so.
7 documented uses in all. These are a sample.
MITRE ATT&CK Enterprise 19.2. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.