STEP 07 OF 14 · TA0005
Defense Evasion
Avoid being detected or blocked throughout the operation.
The tactic with the most techniques, because it accompanies every other one. Clearing logs, disabling agents, signing payloads, hiding in trusted binaries, blending timing into business hours.
Why it matters on shift
Absence of telemetry is telemetry. An endpoint that suddenly stops reporting, a log that suddenly clears, a security service that suddenly stops — treat each as an alert, not as a data-quality problem.
45 techniques
Techniques & detection
- T1006
Direct Volume Access
Adversaries may directly access a volume to bypass file access controls and file system monitoring. Windows allows programs to have direct access to logical volumes.
Detect it with
Monitor handle opens on drive volumes that are made by processes to determine when they may directly access logical drives. Monitor processes and command-line arguments for actions that could be taken to copy files from the logical drive and evade common file system protections. - T1014
Rootkit
Adversaries may use rootkits to hide the presence of programs, files, network connections, services, drivers, and other system components.
Detect it with
Some rootkit protections may be built into anti-virus or operating system software. There are dedicated rootkit detection tools that look for specific types of rootkit behavior. - T1027
Obfuscated Files or Information
Base64, packing, encryption, and steganography that keep payloads unreadable to static inspection.
Detect it with
High-entropy command lines, long encoded blobs in script block logs, packed binaries with tiny import tables.17 sub-techniques
- T1027.001 Binary Padding
- T1027.002 Software Packing
- T1027.003 Steganography
- T1027.004 Compile After Delivery
- T1027.005 Indicator Removal from Tools
- T1027.006 HTML Smuggling
- T1027.007 Dynamic API Resolution
- T1027.008 Stripped Payloads
- T1027.009 Embedded Payloads
- T1027.010 Command Obfuscation
- T1027.011 Fileless Storage
- T1027.012 LNK Icon Smuggling
- T1027.013 Encrypted/Encoded File
- T1027.014 Polymorphic Code
- T1027.015 Compression
- T1027.016 Junk Code Insertion
- T1027.017 SVG Smuggling
- T1036
Masquerading
Naming malware svchost.exe, planting it outside System32, or using right-to-left override in filenames.
Detect it with
Known system binary names running from non-system paths; signature mismatches against the expected publisher.11 sub-techniques
- T1036.001 Invalid Code Signature
- T1036.002 Right-to-Left Override
- T1036.003 Rename Legitimate Utilities
- T1036.004 Masquerade Task or Service
- T1036.005 Match Legitimate Resource Name or Location
- T1036.006 Space after Filename
- T1036.007 Double File Extension
- T1036.008 Masquerade File Type
- T1036.009 Break Process Trees
- T1036.010 Masquerade Account Name
- T1036.011 Overwrite Process Arguments
- T1055
Process Injection
Writing code into another live process to run under its identity and evade process-based controls.
Detect it with
CreateRemoteThread and cross-process memory writes; RWX memory regions with no backing file on disk.12 sub-techniques
- T1055.001 Dynamic-link Library Injection
- T1055.002 Portable Executable Injection
- T1055.003 Thread Execution Hijacking
- T1055.004 Asynchronous Procedure Call
- T1055.005 Thread Local Storage
- T1055.008 Ptrace System Calls
- T1055.009 Proc Memory
- T1055.011 Extra Window Memory Injection
- T1055.012 Process Hollowing
- T1055.013 Process Doppelgänging
- T1055.014 VDSO Hijacking
- T1055.015 ListPlanting
- T1070
Indicator Removal
Deleting logs, files, and shell history, and timestomping artefacts to break timeline reconstruction.
Detect it with
wevtutil cl, `history -c`, mass file deletion in temp; MFT timestamps that disagree with $FILE_NAME.10 sub-techniques
- T1070.001 Clear Windows Event Logs
- T1070.002 Clear Linux or Mac System Logs
- T1070.003 Clear Command History
- T1070.004 File Deletion
- T1070.005 Network Share Connection Removal
- T1070.006 Timestomp
- T1070.007 Clear Network Connection History and Configurations
- T1070.008 Clear Mailbox Data
- T1070.009 Clear Persistence
- T1070.010 Relocate Malware
- 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. - 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. - T1127
Trusted Developer Utilities Proxy Execution
Adversaries may take advantage of trusted developer utilities to proxy execution of malicious payloads.
Detect it with
Monitor for abnormal presence of these or other utilities that enable proxy execution that are typically used for development, debugging, and reverse engineering on a system that is not used for these purposes may be suspicious.3 sub-techniques
- T1134
Access Token Manipulation
Stealing or impersonating another process's token to inherit its privileges.
Detect it with
Process access with high-privilege rights (0x1410) against SYSTEM processes; SeDebugPrivilege use by unexpected binaries. - T1140
Deobfuscate/Decode Files or Information
Adversaries may use Obfuscated Files or Information to hide artifacts of an intrusion from analysis. They may require separate mechanisms to decode or deobfuscate that information depending on how they intend to use it.
Detect it with
Detecting the action of deobfuscating or decoding files or information may be difficult depending on the implementation. - 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 ). - T1202
Indirect Command Execution
Adversaries may abuse utilities that allow for command execution to bypass security restrictions that limit the use of command-line interpreters. Various Windows utilities may be used to execute commands, possibly without invoking cmd.
Detect it with
Monitor and analyze logs from host-based detection mechanisms, such as Sysmon, for events such as process creations that include or are resulting from parameters associated with invoking programs/commands/files and/or spawning child processes/network connections. - 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
- T1207
Rogue Domain Controller
Adversaries may register a rogue Domain Controller to enable manipulation of Active Directory data. DCShadow may be used to create a rogue Domain Controller (DC).
Detect it with
Monitor and analyze network traffic associated with data replication (such as calls to DrsAddEntry, DrsReplicaAdd, and especially GetNCChanges) between DCs as well as to/from non DC hosts. - T1211
Exploitation for Defense Evasion
Adversaries may exploit a system or application vulnerability to bypass security features.
Detect it with
Exploitation for defense evasion may happen shortly after the system has been compromised to prevent detection during later actions for for additional tools that may be brought in and used. Detecting software exploitation may be difficult depending on the tools available. - T1216
System Script Proxy Execution
Adversaries may use trusted scripts, often signed with certificates, to proxy the execution of malicious files.
Detect it with
Monitor script processes, such as cscript, and command-line parameters for scripts like PubPrn.vbs that may be used to proxy execution of malicious files.2 sub-techniques
- T1218
System Binary Proxy Execution
Living-off-the-land binaries (rundll32, mshta, regsvr32, msiexec) executing payloads under trusted names.
Detect it with
LOLBins with network connections or unusual command lines; check the LOLBAS project for expected arguments. - T1220
XSL Script Processing
Adversaries may bypass application control and obscure execution of code by embedding scripts inside XSL files. Extensible Stylesheet Language (XSL) files are commonly used to describe the processing and rendering of data within XML files.
Detect it with
Use process monitoring to monitor the execution and arguments of msxsl.exe and wmic.exe. - T1221
Template Injection
Adversaries may create or modify references in user document templates to conceal malicious code or force authentication attempts.
Detect it with
Analyze process behavior to determine if user document applications (such as Office) are performing actions, such as opening network connections, reading files, spawning abnormal child processes (ex: PowerShell), or other suspicious actions that could relate to post-compromise… - T1222
File and Directory Permissions Modification
Adversaries may modify file or directory permissions/attributes to evade access control lists (ACLs) and access protected files.
Detect it with
Monitor and investigate attempts to modify ACLs and file/directory ownership. - T1480
Execution Guardrails
Adversaries may use execution guardrails to constrain execution or actions based on adversary supplied and environment specific conditions that are expected to be present on the target.
Detect it with
Detecting the use of guardrails may be difficult depending on the implementation. Monitoring for suspicious processes being spawned that gather a variety of system information or perform other forms of Discovery, especially in a short period of time, may aid in detection.2 sub-techniques
- T1484
Domain or Tenant Policy Modification
Group Policy and tenant-level trust changes that grant the adversary durable elevated rights.
Detect it with
GPO modifications outside change windows; new federated trust or domain added to the tenant.2 sub-techniques
- T1497
Virtualization/Sandbox Evasion
Adversaries may employ various means to detect and avoid virtualization and analysis environments. This may include changing behaviors based on the results of checks for the presence of artifacts indicative of a virtual machine environment (VME) or sandbox.
Detect it with
Virtualization, sandbox, user activity, and related discovery techniques will likely occur in the first steps of an operation but may also occur throughout as an adversary learns the environment. - T1535
Unused/Unsupported Cloud Regions
Adversaries may create cloud instances in unused geographic service regions in order to evade detection. Access is usually obtained through compromising accounts used to manage cloud infrastructure.
Detect it with
Monitor system logs to review activities occurring across all cloud environments and regions. Configure alerting to notify of activity in normally unused regions or if the number of instances active in a region goes above a certain threshold. - 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. - T1548
Abuse Elevation Control Mechanism
UAC bypasses, sudo abuse, setuid binaries, and elevated COM interfaces.
Detect it with
fodhelper.exe / computerdefaults.exe registry hijacks; sudo invocations by service accounts. - T1550
Use Alternate Authentication Material
Pass-the-hash, pass-the-ticket, and stolen web session cookies authenticating without the password.
Detect it with
NTLM logons where Kerberos is expected; a logon with no preceding interactive credential entry. - T1553
Subvert Trust Controls
Adversaries may undermine security controls that will either warn users of untrusted activity or prevent execution of untrusted programs.
Detect it with
Collect and analyze signing certificate metadata on software that executes within the environment to look for unusual certificate characteristics and outliers. - 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
- T1562
Impair Defenses
Disabling EDR, AV, firewall rules, or logging to blind the defenders before the noisy work begins.
Detect it with
Event ID 1102 (audit log cleared), 104 (log cleared), Defender tamper alerts, agent heartbeat gaps.11 sub-techniques
- T1562.001 Disable or Modify Tools
- T1562.002 Disable Windows Event Logging
- T1562.003 Impair Command History Logging
- T1562.004 Disable or Modify System Firewall
- T1562.006 Indicator Blocking
- T1562.007 Disable or Modify Cloud Firewall
- T1562.008 Disable or Modify Cloud Logs
- T1562.009 Safe Mode Boot
- T1562.010 Downgrade Attack
- T1562.011 Spoof Security Alerting
- T1562.012 Disable or Modify Linux Audit System
- T1564
Hide Artifacts
Adversaries may attempt to hide artifacts associated with their behaviors to evade detection.
Detect it with
Monitor files, processes, and command-line arguments for actions indicative of hidden artifacts. Monitor event and authentication logs for records of hidden artifacts being used.14 sub-techniques
- T1564.001 Hidden Files and Directories
- T1564.002 Hidden Users
- T1564.003 Hidden Window
- T1564.004 NTFS File Attributes
- T1564.005 Hidden File System
- T1564.006 Run Virtual Instance
- T1564.007 VBA Stomping
- T1564.008 Email Hiding Rules
- T1564.009 Resource Forking
- T1564.010 Process Argument Spoofing
- T1564.011 Ignore Process Interrupts
- T1564.012 File/Path Exclusions
- T1564.013 Bind Mounts
- T1564.014 Extended Attributes
- 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
- T1578
Modify Cloud Compute Infrastructure
An adversary may attempt to modify a cloud account's compute service infrastructure to evade defenses.
Detect it with
Establish centralized logging for the activity of cloud compute infrastructure components. - T1599
Network Boundary Bridging
Adversaries may bridge network boundaries by compromising perimeter network devices or internal devices responsible for network segmentation.
Detect it with
Consider monitoring network traffic on both interfaces of border network devices with out-of-band packet capture or network flow data, using a different device than the one in question.1 sub-techniques
- T1600
Weaken Encryption
Adversaries may compromise a network device’s encryption capability in order to bypass encryption that would otherwise protect data communications.
Detect it with
There is no documented method for defenders to directly identify behaviors that weaken encryption. Detection efforts may be focused on closely related adversary behaviors, such as Modify System Image.2 sub-techniques
- T1601
Modify System Image
Adversaries may make changes to the operating system of embedded network devices to weaken defenses and provide new capabilities for themselves.
Detect it with
Most embedded network devices provide a command to print the version of the currently running operating system. Use this command to query the operating system for its version number and compare it to what is expected for the device in question.2 sub-techniques
- T1610
Deploy Container
Adversaries may deploy a container into an environment to facilitate execution or evade defenses.
Detect it with
Monitor for suspicious or unknown container images and pods in your environment. Deploy logging agents on Kubernetes nodes and retrieve logs from sidecar proxies for application pods to detect malicious activity at the cluster level. - T1612
Build Image on Host
Adversaries may build a container image directly on a host to bypass defenses that monitor for the retrieval of malicious images from a public registry.
Detect it with
Monitor for unexpected Docker image build requests to the Docker daemon on hosts in the environment. Additionally monitor for subsequent network communication with anomalous IPs that have never been seen before in the environment that indicate the download of malicious code. - T1620
Reflective Code Loading
Adversaries may reflectively load code into a process in order to conceal the execution of malicious payloads.
Detect it with
Monitor for code artifacts associated with reflectively loading code, such as the abuse of .NET functions such as Assembly.Load() and Native API functions such as CreateThread() , memfd_create() , execve() , and/or execveat() . Monitor for artifacts of abnormal process execution. - T1622
Debugger Evasion
Adversaries may employ various means to detect and avoid debuggers. Debuggers are typically used by defenders to trace and/or analyze the execution of potential malware payloads.
Detect it with
Debugger related system checks will likely occur in the first steps of an operation but may also occur throughout as an adversary learns the environment. - T1647
Plist File Modification
Adversaries may modify property list files (plist files) to enable other malicious activity, while also potentially evading and bypassing system defenses.
Detect it with
Monitor for common command-line editors used to modify plist files located in auto-run locations, such as \~/LaunchAgents , ~/Library/Application Support/com.apple.backgroundtaskmanagementagent/backgrounditems.btm , and an application's Info.plist . - T1656
Impersonation
Adversaries may impersonate a trusted person or organization in order to persuade and trick a target into performing some action on their behalf.
Detect it with
No MITRE detection guidance published. Build coverage from the parent technique and your own telemetry. - T1666
Modify Cloud Resource Hierarchy
Adversaries may attempt to modify hierarchical structures in infrastructure-as-a-service (IaaS) environments in order to evade defenses.
Detect it with
No MITRE detection guidance published. Build coverage from the parent technique and your own telemetry. - T1672
Email Spoofing
Adversaries may fake, or spoof, a sender’s identity by modifying the value of relevant email headers in order to establish contact with victims under false pretenses.
Detect it with
No MITRE detection guidance published. Build coverage from the parent technique and your own telemetry.