Pcornel
Security · MITRE ATT&CK

Persistence

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

Back to the Topic

Answer

Persistence covers behaviors intended to maintain access across interruptions such as reboot, credential changes or process termination by modifying startup, account, service, scheduled, application or cloud control paths.

Remember

  • Persistence artifact present ≠ adversary created it.
  • Persistence configured ≠ persistence successfully triggered after the relevant interruption.
  • 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-ScheduledTask | ? TaskPath -notlike '\Microsoft\*' — non-default tasks
  • autorunsc -a * -c (Sysinternals) — autostart locations
  • systemctl list-unit-files --state=enabled; crontab -l — Linux persistence

Commands

systemctl

Verify in this order

foothold → persistence mechanism → survives reboot

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 → Persistence 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=4909

Confirmation

Confirm action

Continue?