Techniques › T1056.004 › AN0389
AN0389 Analytic 0389
Windows · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Detects credential harvesting via userland API hooking (e.g., SetWindowsHookEx, IAT, or inline patching) by correlating memory modifications with hook installation functions and suspicious module loads in credential-sensitive processes like lsass.exe, explorer.exe, or winlogon.exe.</p>
- Detects
- T1056.004 Credential API Hooking
- Part of
- DET0139 Detection of Credential Harvesting via API Hooking
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 source | Channel | Data component |
|---|---|---|
| WinEventLog:Sysmon | EventCode=10 | DC0035 Process Access |
| WinEventLog:Sysmon | EventCode=7 | DC0016 Module Load |
| WinEventLog:Sysmon | EventCode=8 | DC0020 Process Modification |
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.
| Field | Description |
|---|---|
TargetProcess | Credential-sensitive targets (e.g., explorer.exe, winlogon.exe) may vary by environment |
AccessMask | Tuning for access rights like 0x1FFFFF for full access vs. thread injection |
TimeWindow | Correlate memory access and hook setup in short windows (5–10 seconds) |