MITRE ATT&CKsub-technique

T1055.005 Thread Local Storage

Published 2020-01-14 Modified 2026-05-12 Official page ↗
Domain
enterprise
Tactics
Stealth, Privilege Escalation
Platforms
Windows
Version
2.0
Created
2020-01-14

Description

Adversaries may inject malicious code into processes via thread local storage (TLS) callbacks in order to evade process-based defenses as well as possibly elevate privileges. TLS callback injection is a method of executing arbitrary code in the address space of a separate live process. TLS callback injection involves manipulating pointers inside a portable executable (PE) to redirect a process to malicious code before reaching the code's legitimate entry point. TLS callbacks are normally used by the OS to setup and/or cleanup data used by threads. Manipulating TLS callbacks may be performed by allocating and writing to specific offsets within a process’ memory space using other Process Injection techniques such as Process Hollowing. Running code in the context of another process may allow access to the process's memory, system/network resources, and possibly elevated privileges. Execution via TLS callback injection may also evade detection from security products since the execution is masked under a legitimate process.

Related

Subtechnique of · MITRE ATT&CK (1)

  • T1055 Process Injection technique

Tactic · MITRE ATT&CK (2)

Referenced by MITRE ATT&CK · mitigates (1)

  • M1040 Behavior Prevention on Endpoint mitigation

Referenced by MITRE ATT&CK · uses (2)

  • S1237 CANONSTAGER software (malware)
  • S0386 Ursnif software (malware)

Referenced by Compliance · mitigates (7)

  • CIS-13.7 Deploy a Host-Based Intrusion Prevention Solution CIS Safeguard v8.1
  • NIST-AC-6 Least Privilege NIST 800-53 control
  • NIST-SC-18 Mobile Code NIST 800-53 control
  • NIST-SC-7 Boundary Protection NIST 800-53 control
  • NIST-SI-2 Flaw Remediation NIST 800-53 control
  • NIST-SI-3 Malicious Code Protection NIST 800-53 control
  • NIST-SI-4 System Monitoring NIST 800-53 control

References