T1480.002 Mutual Exclusion
Stealthon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0132 Detection of Mutex-Based Execution Guardrails Across Platforms
AN0372 Windows
Adversary-created named mutex using system APIs (e.g., CreateMutexW) followed by conditional process termination or alternate code path indicating malware avoiding reinfection.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=11 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
AN0373 Linux
File lock acquired via open() + flock() or lockf() on predictable path (e.g., /tmp/.lock123) followed by conditional early exit or divergent process behavior.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLopen, flock, fcntl, unlink | Not mapped to Sentinel yet. |
auditd:SYSCALLexit_group | Not mapped to Sentinel yet. |
AN0374 macOS
User-mode application uses flock() or NSDistributedLock to gain exclusive access to a resource file (e.g., /tmp/guard.lock), conditional logic alters execution if already locked.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogflock|NSDistributedLock|FileHandle.*lockForWriting | Not mapped to Sentinel yet. |
macos:unifiedlogprocess.*exit.*code | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
Mitigations
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.