ATT&CK Reference
Portfolio

TA0002 · EXECUTION

Malicious Copy and Paste

T1204.004Sub-technique of User ExecutionLinux · Windows · macOSattack.mitre.org

An adversary may rely upon a user copying and pasting code in order to gain execution. Users may be subjected to social engineering to get them to copy and paste code directly into a Command and Scripting Interpreter.

Detect it with

No MITRE detection guidance published. Build coverage from the parent technique and your own telemetry.

Why it matters on shift

Malicious Copy and Paste is one of the concrete ways adversaries achieve execution. Recognising it in telemetry lets you name the technique in your ticket and pivot to what came before and after.

What to look for next

After execution, the next tactic is usually Persistence. Search your telemetry for the transition before closing the ticket.

Kill-chain context

← beforeInitial AccessExecutionafter →Persistence