T1622 Debugger Evasion
DiscoveryStealthon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0371 Detection Strategy for Debugger Evasion (T1622)
AN1045 Windows
Monitor for suspicious use of Windows API calls such as IsDebuggerPresent() and NtQueryInformationProcess(), or processes manually checking the BeingDebugged flag in the Process Environment Block (PEB). Detect sequences of OutputDebugStringW() calls in short intervals that may indicate debugger flooding attempts.
| 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. |
etw:Microsoft-Windows-Kernel-ProcessNtQueryInformationProcess | Not mapped to Sentinel yet. |
AN1046 Linux
Monitor access to /proc/self/status where TracerPID field is queried, as this is a common technique for debugger detection. Detect processes that attempt to trigger exceptions intentionally and monitor whether exception handling indicates presence of a debugger.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLopen/read: Access to /proc/self/status with focus on TracerPID field | Not mapped to Sentinel yet. |
AN1047 macOS
Detect suspicious calls to sysctl or ptrace API used to determine if a process is being debugged. Monitor for processes that flood OutputDebugString equivalents or generate abnormal exceptions to evade analysis.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogptrace: Processes invoking ptrace with PTRACE_TRACEME flag | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
1 SigmaHQ community rule name it or one of its sub-techniques in their tags.
Mitigations
- None listed by MITRE.
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.