Executive Summary
File Deletion (T1070.004) is a MITRE ATT&CK technique associated with Stealth. Adversaries may delete files left behind by the actions of their intrusion activity.
Why Attackers Use It
Attackers use File Deletion because it provides a reliable way to advance their objective within the Stealth tactic, often with a favorable balance of impact versus detectability on ESXi, Linux, macOS, Windows environments. Defenders should assess this behavior in the context of the affected platform and adjacent activity rather than treating it as a standalone indicator.
MITRE Description
Adversaries may delete files left behind by the actions of their intrusion activity. Malware, tools, or other non-native files dropped or created on a system by an adversary (ex: Ingress Tool Transfer) may leave traces to indicate to what was done within a network and how. Removal of these files can occur during an intrusion, or as part of a post-intrusion process to minimize the adversary's footprint.
There are tools available from the host operating system to perform cleanup, but adversaries may use other tools as well.(Citation: Microsoft SDelete July 2016) Examples of built-in Command and Scripting Interpreter functions include <code>del</code> on Windows, <code>rm</code> or <code>unlink</code> on Linux and macOS, and rm on ESXi.
Attack Flow
- Attacker gains the prerequisite access or context described below.
- Attacker executes File Deletion to achieve its tactical objective (Stealth).
- Resulting access/data/effect is leveraged to advance the broader attack chain (see Related Techniques).
Prerequisites
- Platform(s): ESXi, Linux, macOS, Windows
- ATT&CK does not define one universal permission requirement for this technique. Establish the required access from the observed implementation and affected platform.
Common Tools
- Tool attribution is implementation-specific. Use ATT&CK procedure examples and local telemetry to identify the binaries, services, scripts, accounts, or cloud resources involved.
Commands
No universal command represents File Deletion. Capture the exact command line, arguments, parent process, account, host, and execution time from the investigated environment; do not operationalize unverified examples.
Network Traffic
- Network observability is implementation-dependent. Review DNS, proxy, firewall, flow, authentication, and packet telemetry around the activity window, then correlate remote endpoints and protocol behavior with host evidence.
Windows Events
| Event ID | Log Channel | What It Indicates |
|---|
| Environment-specific | Relevant Windows channel(s) | Correlate authentication, process, object-access, and configuration events with the observed execution context. |
Sysmon Events
| Sysmon Event ID | Name | Why It's Relevant Here |
|---|
| Environment-specific | Validate configured telemetry | Use process, network, file, registry, DNS, or image-load telemetry only when relevant and enabled. |
Detection Opportunities
No MITRE detection guidance published for this technique.
Relevant ATT&CK Data Sources: N/A
Sigma Rules
A universal Sigma rule would create unreliable results because this technique has no single guaranteed observable. Build detection logic from a documented behavior and supported data source, scope it to the affected platform, and validate it against benign administrative activity before deployment.
Splunk Queries
Start with the data sources named in the detection section. Scope searches by asset, identity, and time window; correlate the primary behavior with preceding access and subsequent actions. A portable query is intentionally not provided where the technique lacks a universal schema or observable.
Investigation Workflow
- Confirm that the observed behavior is consistent with File Deletion and rule out expected administrative or application activity.
- Establish the first-seen time, initiating identity, source system, target system, and affected resources.
- Collect relevant host, identity, network, cloud, and application telemetry for the surrounding time window.
- Correlate parent and child activity, remote connections, file or configuration changes, and related ATT&CK techniques.
- Determine scope by searching for the same observable across peer assets and identities.
- Preserve volatile evidence and record confidence, assumptions, and telemetry gaps before containment.
Containment
- Isolate affected host(s)/account(s) identified during investigation.
- Revoke or rotate any credentials/tokens potentially exposed.
- Apply the mitigations listed below where not already enforced.
- Validate no related techniques (see Related Techniques) were chained against the same asset.
Mitigation
No MITRE mitigations mapped to this technique.
Related Techniques
- T1001.001
- T1001.002
- T1007
- T1008
- T1012
- T1021
- T1021.001
- T1021.005
- T1027.002
- T1027.010
- T1027.013
- T1027.015
- T1030
- T1033
- T1036.004
- T1036.005
- T1037
- T1037.001
- T1040
- T1052.001
- T1053.002
- T1053.003
- T1055
- T1055.004
- T1056.001
- T1056.004
- T1057
- T1059
- T1059.001
- T1059.003
- T1059.004
- T1059.011
- T1068
- T1070
- T1070.003
- T1070.006
- T1070.007
- T1070.009
- T1071.001
- T1071.002
- T1071.004
- T1074
- T1078
- T1078.003
- T1082
- T1083
- T1090
- T1090.002
- T1095
- T1098.007
- T1102
- T1102.003
- T1104
- T1105
- T1106
- T1110.001
- T1113
- T1120
- T1127.001
- T1129
- T1134.002
- T1136.001
- T1137.001
- T1137.006
- T1140
- T1195.002
- T1205.002
- T1213
- T1213.006
- T1218.003
- T1218.008
- T1218.011
- T1219
- T1219.001
- T1222.002
- T1480
- T1480.002
- T1485
- T1496.001
- T1497.003
- T1529
- T1531
- T1543
- T1543.001
- T1543.002
- T1543.003
- T1546
- T1546.003
- T1546.011
- T1546.012
- T1546.015
- T1547.001
- T1547.008
- T1550.003
- T1553.002
- T1555.001
- T1557
- T1560
- T1560.001
- T1560.002
- T1560.003
- T1561.001
- T1561.002
- T1564.001
- T1565.001
- T1569.002
- T1571
- T1572
- T1573
- T1573.002
- T1574
- T1574.006
- T1594
- T1653
- T1654
- T1665
- T1680
- T1685
- T1685.005
- T1685.006
- T1686
- T1690