STEP 05 OF 14 · TA0003
Persistence
Keep access across reboots, credential changes, and cleanups.
The adversary assumes you will eventually reboot the box, reset the password, or kill the process. Persistence is the insurance policy: a run key, a new local account, an OAuth application consent, a web shell in a directory nobody audits.
Why it matters on shift
Missed persistence is how an incident reopens a week after you closed it. Eradication is not complete until every persistence mechanism is enumerated, not just the one that alerted.
23 techniques
Techniques & detection
- T1037
Boot or Logon Initialization Scripts
Adversaries may use scripts automatically executed at boot or logon initialization to establish persistence.
Detect it with
Monitor logon scripts for unusual access by abnormal users or at abnormal times. Look for files added or modified by unusual accounts outside of normal administration duties. - T1053
Scheduled Task/Job
schtasks, cron, at, and systemd timers used both to execute now and to survive a reboot.
Detect it with
Event ID 4698 (task created); new cron entries; tasks whose action points at a user-writable path. - T1078
Valid Accounts
Logging in with legitimate stolen credentials — the quietest way in and the hardest to distinguish from normal work.
Detect it with
Impossible travel, first-time ASN or country for the user, MFA fatigue patterns, logins outside the user's baseline hours. - T1098
Account Manipulation
Adding credentials to an existing account — SSH keys, app registrations, additional MFA devices.
Detect it with
New MFA method registered immediately after a suspicious sign-in; new service principal credentials in cloud audit logs. - T1112
Modify Registry
Adversaries may interact with the Windows Registry as part of a variety of other techniques to aid in defense evasion, persistence, and execution.
Detect it with
Modifications to the Registry are normal and occur throughout typical use of the Windows operating system. - T1133
External Remote Services
VPN, RDP gateways, Citrix, and VDI accessed directly with valid or brute-forced credentials.
Detect it with
VPN logins from residential proxy or VPS ranges; RDP exposed to the internet at all is a finding on its own. - T1136
Create Account
New local, domain, or cloud accounts created to provide a durable second way in.
Detect it with
Event ID 4720 (account created) and 4732 (added to privileged group), especially outside business hours. - T1137
Office Application Startup
Adversaries may leverage Microsoft Office-based applications for persistence between startups. Microsoft Office is a fairly common application suite on Windows-based operating systems within an enterprise network.
Detect it with
Collect process execution information including process IDs (PID) and parent process IDs (PPID) and look for abnormal chains of activity resulting from Office processes. Non-standard process execution trees may also indicate suspicious or malicious behavior. - T1176
Software Extensions
Adversaries may abuse software extensions to establish persistent access to victim systems.
Detect it with
Inventory and monitor browser extension installations that deviate from normal, expected, and benign extensions. Process and network monitoring can be used to detect browsers communicating with a C2 server.2 sub-techniques
- T1197
BITS Jobs
Adversaries may abuse BITS jobs to persistently execute code and perform various background tasks. Windows Background Intelligent Transfer Service (BITS) is a low-bandwidth, asynchronous file transfer mechanism exposed through Component Object Model (COM).
Detect it with
BITS runs as a service and its status can be checked with the Sc query utility ( sc query bits ). Active BITS tasks can be enumerated using the BITSAdmin tool ( bitsadmin /list /allusers /verbose ). - T1205
Traffic Signaling
Adversaries may use traffic signaling to hide open ports or other malicious functionality used for persistence or command and control.
Detect it with
Record network packets sent to and from the system, looking for extraneous packets that do not belong to established flows. The Wake-on-LAN magic packet consists of 6 bytes of FF followed by sixteen repetitions of the target system's IEEE address.2 sub-techniques
- T1505
Server Software Component
Web shells, IIS modules, and SQL stored procedures planted inside legitimate server software.
Detect it with
New .aspx/.php files in web roots; web server processes spawning shells; file integrity monitoring on web directories. - T1525
Implant Internal Image
Adversaries may implant cloud or container images with malicious code to establish persistence after gaining access to an environment.
Detect it with
Monitor interactions with images and containers by users to identify ones that are added or modified anomalously. - T1542
Pre-OS Boot
Adversaries may abuse Pre-OS Boot mechanisms as a way to establish persistence on a system. During the booting process of a computer, firmware and various startup services are loaded before the operating system.
Detect it with
Perform integrity checking on pre-OS boot mechanisms that can be manipulated for malicious purposes. Take snapshots of boot records and firmware and compare against known good images. - T1543
Create or Modify System Process
Windows services, launch daemons, and systemd units created or hijacked for persistence.
Detect it with
Event ID 7045; new unit files in /etc/systemd/system; service binaries in unusual paths. - T1546
Event Triggered Execution
Adversaries may establish persistence and/or elevate privileges using system mechanisms that trigger execution based on specific events.
Detect it with
Monitoring for additions or modifications of mechanisms that could be used to trigger event-based execution, especially the addition of abnormal commands such as execution of unknown programs, opening network sockets, or reaching out across the network.17 sub-techniques
- T1546.001 Change Default File Association
- T1546.002 Screensaver
- T1546.003 Windows Management Instrumentation Event Subscription
- T1546.004 Unix Shell Configuration Modification
- T1546.005 Trap
- T1546.006 LC_LOAD_DYLIB Addition
- T1546.007 Netsh Helper DLL
- T1546.008 Accessibility Features
- T1546.009 AppCert DLLs
- T1546.010 AppInit DLLs
- T1546.011 Application Shimming
- T1546.012 Image File Execution Options Injection
- T1546.013 PowerShell Profile
- T1546.014 Emond
- T1546.015 Component Object Model Hijacking
- T1546.016 Installer Packages
- T1546.017 Udev Rules
- T1547
Boot or Logon Autostart Execution
Run keys, startup folders, Winlogon helpers, and LSA drivers that execute on boot or logon.
Detect it with
Registry writes to Run/RunOnce by non-installer processes; new files in Startup folders.14 sub-techniques
- T1547.001 Registry Run Keys / Startup Folder
- T1547.002 Authentication Package
- T1547.003 Time Providers
- T1547.004 Winlogon Helper DLL
- T1547.005 Security Support Provider
- T1547.006 Kernel Modules and Extensions
- T1547.007 Re-opened Applications
- T1547.008 LSASS Driver
- T1547.009 Shortcut Modification
- T1547.010 Port Monitors
- T1547.012 Print Processors
- T1547.013 XDG Autostart Entries
- T1547.014 Active Setup
- T1547.015 Login Items
- T1554
Compromise Host Software Binary
Adversaries may modify host software binaries to establish persistent access to systems. Software binaries/executables provide a wide range of system commands or services, programs, and libraries.
Detect it with
Collect and analyze signing certificate metadata and check signature validity on software that executes within the environment. Look for changes to client software that do not correlate with known software or patch cycles. - T1556
Modify Authentication Process
Adversaries may modify authentication mechanisms and processes to access user credentials or enable otherwise unwarranted access to accounts.
Detect it with
Monitor for new, unfamiliar DLL files written to a domain controller and/or local computer.9 sub-techniques
- T1556.001 Domain Controller Authentication
- T1556.002 Password Filter DLL
- T1556.003 Pluggable Authentication Modules
- T1556.004 Network Device Authentication
- T1556.005 Reversible Encryption
- T1556.006 Multi-Factor Authentication
- T1556.007 Hybrid Identity
- T1556.008 Network Provider DLL
- T1556.009 Conditional Access Policies
- T1574
Hijack Execution Flow
Adversaries may execute their own malicious payloads by hijacking the way operating systems run programs. Hijacking execution flow can be for the purposes of persistence, since this hijacked execution may reoccur over time.
Detect it with
Monitor file systems for moving, renaming, replacing, or modifying DLLs. Changes in the set of DLLs that are loaded by a process (compared with past behavior) that do not correlate with known software, patches, etc., are suspicious.12 sub-techniques
- T1574.001 DLL
- T1574.004 Dylib Hijacking
- T1574.005 Executable Installer File Permissions Weakness
- T1574.006 Dynamic Linker Hijacking
- T1574.007 Path Interception by PATH Environment Variable
- T1574.008 Path Interception by Search Order Hijacking
- T1574.009 Path Interception by Unquoted Path
- T1574.010 Services File Permissions Weakness
- T1574.011 Services Registry Permissions Weakness
- T1574.012 COR_PROFILER
- T1574.013 KernelCallbackTable
- T1574.014 AppDomainManager
- T1653
Power Settings
Adversaries may impair a system's ability to hibernate, reboot, or shut down in order to extend access to infected machines. When a computer enters a dormant state, some or all software and hardware may cease to operate which can disrupt malicious activity.
Detect it with
Command-line invocation of tools capable of modifying services may be unusual and can be monitored for and alerted on, depending on how systems are typically used in a particular environment. - T1668
Exclusive Control
Adversaries who successfully compromise a system may attempt to maintain persistence by “closing the door” behind them – in other words, by preventing other threat actors from initially accessing or maintaining a foothold on the same system.
Detect it with
No MITRE detection guidance published. Build coverage from the parent technique and your own telemetry. - T1671
Cloud Application Integration
Adversaries may achieve persistence by leveraging OAuth application integrations in a software-as-a-service environment.
Detect it with
No MITRE detection guidance published. Build coverage from the parent technique and your own telemetry.