kevmap

TechniquesT1055.011 › AN0608

AN0608 Analytic 0608

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

<p>Detects adversary manipulation of Extra Window Memory (EWM) in a GUI process, where the attacker uses SetWindowLong or SetClassLong to redirect function pointers to injected shellcode stored in shared memory, then triggers execution via a window message like SendNotifyMessage.</p>
Detects
T1055.011 Extra Window Memory Injection
Part of
DET0217 Detection Strategy for Extra Window Memory (EWM) Injection on Windows

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
WinEventLog:SysmonEventCode=10DC0035 Process Access
etw:Microsoft-Windows-Win32kSetWindowLong, SetClassLong, NtUserMessageCall, SendNotifyMessage, PostMessageDC0021 OS API Execution
WinEventLog:SecurityEventCode=4688DC0032 Process Creation

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
TargetWindowClassRegexRegex to scope suspicious or uncommon GUI class names registered by user-created processes
ExecutionTriggerWindowMessageAPI calls like SendNotifyMessage or PostMessage that deliver execution to the shellcode location
SharedSectionWriteThresholdSet byte count thresholds on suspicious memory writes to known shared sections
TimeWindowSetWindowLongToMessageTriggerDefine max time (e.g., <10s) between API call to set window memory and the message call to trigger it