Execution · ATT&CK v20
T1204.002 User Execution: Malicious File
A Execution technique. Running the attacker’s code on a system.
- T1204.002Technique ID
- ExecutionTactic
- 10Places taught
What the attacker does
The user opens a malicious file: an Office document with macros, an ISO or ZIP with a shortcut inside, a fake invoice that is really an executable. The attacker relies on the click.
How it shows up in the logs
- An Office application, the archive tool or explorer.exe starting cmd, PowerShell, mshta, rundll32 or a script host.
- The file's origin: mail attachment or browser download (Zone.Identifier mark of the web).
- Network connections from the new process to a domain the company has never contacted.
Questions to ask in triage
- Which file was opened, where did it come from, and who else received it?
- What did it start, and did that reach out?
- Block the sender, the file hash and the domain.
Read T1204.002 on attack.mitre.org
A sub-technique of T1204.
Where you meet it in CyberSim
Detection rules in the shift
Alerts tagged with this technique, the way Sentinel tags an analytics rule.
- App update pulled from an unexpected host
- Encoded PowerShell spawned by Office
- Malware detected and quarantined
In the theory
In the hands-on labs
A simulated machine in your browser.
In the cases
Part of the answer in 2 investigations, in these learning paths:
Which case is not said here: finding it is the case.
More Execution techniques
- T1047 Windows Management Instrumentation
- T1059.001 Command and Scripting Interpreter: PowerShell
- T1059.004 Command and Scripting Interpreter: Unix Shell
- T1059.007 Command and Scripting Interpreter: JavaScript
- T1072 Software Deployment Tools
- T1204.004 User Execution: Malicious Copy and Paste
- T1204.005 User Execution: Malicious Library
- T1569.002 System Services: Service Execution
- T1698 Indirect Prompt Injection
Source: MITRE ATT&CK T1204.002, tactic TA0002.