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
- DET0132 Detection of Mutex-Based Execution Guardrails Across Platforms
Data components: Process Creation, File Creation, File Access, Process Termination, OS API Execution
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)
- S0012 PoisonIvy
- S0013 PlugX
- S0168 Gazer
- S0496 REvil
- S0562 SUNSPOT
- S0632 GrimAgent
- S1070 Black Basta
- S1161 BPFDoor
- S1183 StrelaStealer
- S1196 Troll Stealer
- S1202 LockBit 3.0
- S1236 CLAIMLOADER
- S1239 TONESHELL
- S1242 Qilin
- S1247 Embargo
- S9019 PureCrypter
- S9023 HiddenFace
- S9024 SPAWNCHIMERA
