MITRE ATT&CKsub-technique
T1480.002 Mutual Exclusion
- Domain
- enterprise
- Tactics
- Stealth
- Platforms
- Linux, macOS, Windows
- Version
- 2.0
- Created
- 2024-09-19
Description
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.
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. By creating a unique system mutex associated with a particular malware, adversaries can verify whether or not a system has already been compromised.
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.
Mutex names may be hard-coded or dynamically generated using a predictable algorithm.
Related
Subtechnique of · MITRE ATT&CK (1)
- T1480 Execution Guardrails technique
Tactic · MITRE ATT&CK (1)
- TA0005 Stealth tactic
Referenced by MITRE ATT&CK · mitigates (1)
- M1055 Do Not Mitigate mitigation
Referenced by MITRE ATT&CK · uses (20)
- S9023 HiddenFace software (malware)
- S9024 SPAWNCHIMERA software (malware)
- S9019 PureCrypter software (malware)
- S1247 Embargo software (malware)
- S1242 Qilin software (malware)
- S1239 TONESHELL software (malware)
- S1236 CLAIMLOADER software (malware)
- S1202 LockBit 3.0 software (malware)
- S1196 Troll Stealer software (malware)
- S1183 StrelaStealer software (malware)
- S1161 BPFDoor software (malware)
- S1070 Black Basta software (malware)
- S0632 GrimAgent software (malware)
- S0562 SUNSPOT software (malware)
- S0496 REvil software (malware)
- G0094 Kimsuky group
- G0082 APT38 group
- S0168 Gazer software (malware)
- S0012 PoisonIvy software (malware)
- S0013 PlugX software (malware)
References
- https://intezer.com/blog/malware-analysis/new-linux-backdoor-redxor-likely-operated-by-chinese-nation-state-actor/ Intezer RedXOR 2021
- https://www.sans.org/blog/looking-at-mutex-objects-for-malware-discovery-indicators-of-compromise/ Sans Mutexes 2012
- https://isc.sans.edu/diary/How+Malware+Generates+Mutex+Names+to+Evade+Detection/19429/ ICS Mutexes 2015
- https://learn.microsoft.com/en-us/dotnet/standard/threading/mutexes Microsoft Mutexes
- https://www.deepinstinct.com/blog/bpfdoor-malware-evolves-stealthy-sniffing-backdoor-ups-its-game Deep Instinct BPFDoor 2023