MITRE ATT&CK / Techniques / T1480.002

Execution Guardrails: Mutual Exclusion

ID
T1480.002
Tactics
TA0005 Stealth
Sub-technique of
T1480 Execution Guardrails
Platforms
Linux, macOS, Windows
Data sources
Process Creation, File Creation, File Access, Process Termination, OS API Execution
Source
attack.mitre.org
MITRE last modified
12 May 2026

Adversaries may constrain execution or actions based on the presence of a mutex associated with malware. A mutex is a locking mechanism used to synchronize access to a resource. Only one thread or process can acquire a mutex at a given time.[1]

While local mutexes only exist within a given process, allowing multiple threads to synchronize access to a resource, system mutexes can be used to synchronize the activities of multiple processes.[1] By creating a unique system mutex associated with a particular malware, adversaries can verify whether or not a system has already been compromised.[2]

In Linux environments, malware may instead attempt to acquire a lock on a mutex file. If the malware is able to acquire the lock, it continues to execute; if it fails, it exits to avoid creating a second instance of itself.[3][4]

Mutex names may be hard-coded or dynamically generated using a predictable algorithm.[5]

Detection

Mitigations (1)

M1055 Do Not Mitigate

Execution Guardrails likely should not be mitigated with preventative controls because it may protect unintended targets from being compromised. If targeted, efforts should be focused on preventing adversary tools from running earlier in the chain of activity and on identifying subsequent malicious behavior if compromised.

Groups (2)

Software (18)

References

  1. Microsoft Mutexes
  2. Sans Mutexes 2012
  3. Intezer RedXOR 2021
  4. Deep Instinct BPFDoor 2023
  5. ICS Mutexes 2015