kevmap

TechniquesT1622 › AN1047

AN1047 Analytic 1047

macOS · attack.mitre.org · ATT&CK Enterprise v19.2

<p>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.</p>
Detects
T1622 Debugger Evasion
Part of
DET0371 Detection Strategy for Debugger Evasion (T1622)

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
macos:unifiedlogptrace: Processes invoking ptrace with PTRACE_TRACEME flagDC0021 OS API Execution

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
PtraceInvocationThresholdNumber of ptrace calls in a time window that should raise suspicion
DevToolExclusionListExclude known developer tools and monitoring agents

KEV CVEs whose mapped technique this analytic detects

CVEVendor / productState
CVE-2015-3113Adobe Flash PlayerMapped
CVE-2022-42475Fortinet FortiOSMapped