Execution · ATT&CK v20
T1204.004 User Execution: Malicious Copy and Paste
A Execution technique. Running the attacker’s code on a system.
- T1204.004Technique ID
- ExecutionTactic
- 3Places taught
What the attacker does
The user is tricked into pasting a command and running it themselves, usually from a fake CAPTCHA or error page that puts the command on the clipboard and says "press Win+R, Ctrl+V, Enter" (ClickFix).
How it shows up in the logs
- powershell.exe, mshta.exe or cmd.exe with explorer.exe as parent and a URL or encoded command line: the Run dialog.
- The RunMRU registry key (HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU) holding the pasted command.
- A browser visit to the lure page just before.
Questions to ask in triage
- What exactly was run, and what did it download?
- Which site served the lure, and who else visited it?
- Treat the machine as infected: infostealers are the usual payload.
Read T1204.004 on attack.mitre.org
A sub-technique of T1204.
Where you meet it in CyberSim
In the theory
In the hands-on labs
A simulated machine in your browser.
In the cases
Part of the answer in 1 investigation, 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.002 User Execution: Malicious File
- T1204.005 User Execution: Malicious Library
- T1569.002 System Services: Service Execution
- T1698 Indirect Prompt Injection
Source: MITRE ATT&CK T1204.004, tactic TA0002.