Pcornel
Security · MITRE ATT&CK

Execution

Cheat sheet · https://pcornel.dk/topic.php?topic=4908

Back to the Topic

Answer

Execution covers adversary behaviors used to run malicious or attacker-directed code, commands or scripts in local or remote contexts; analysis must separate instruction delivery from actual process, interpreter, service or workload execution evidence.

Remember

  • Command observed ≠ command successfully executed.
  • Process creation ≠ malicious execution without parent, user, content, target and surrounding behavior context.
  • ATT&CK classification ≠ proof of detection, prevention, attribution or complete security coverage.
  • ATT&CK is versioned; current object names and relationships must be checked against the pinned release, not remembered from an older matrix.

First checks

  • Get-WinEvent -FilterHashtable @{LogName='Microsoft-Windows-PowerShell/Operational';Id=4104} -MaxEvents 20 — script block logs
  • Sysmon Event ID 1 (process create) — execution telemetry
  • ASR/app control blocks — prevention

Verify in this order

payload → interpreter/process → execution

Where it usually breaks

First mismatch in event source → collection → parsing/normalization → enrichment/correlation → detection/alert → analyst/automation response → outcome; preserve identity/policy/pre-state before mutation.

MITRE ATT&CK → Execution evidence map

BoundaryEstablishDoes not establish
VersionDomain/release and current object identityTree label alone does not prove current ATT&CK semantics
MappingBehavior matches tactic/technique/sub-technique definitionMapping does not prove maliciousness or attribution
ProcedureSource describes a concrete implementationExample does not make every use malicious
Defensive mappingRequired data and analytic are identifiedMapping does not prove telemetry exists or analytic works
ValidationKnown behavior produces expected evidence/detectionOne test does not prove complete ATT&CK coverage

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4908

Confirmation

Confirm action

Continue?