Threaticon
Toggle sidebar

You're viewing a limited, public preview. Log in for full access.

Log in User Guide
Log in Get started
Detection Strategies DET0139 — Detection of Credential Harvesting via API Hooking
DET0139

Detection of Credential Harvesting via API Hooking

3 analytic(s) · 1 technique(s) detected

Analytics

3
AN0389 Analytic 0389
Windows

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.

WinEventLog:Sysmon EventCode=10 WinEventLog:Sysmon EventCode=7 WinEventLog:Sysmon EventCode=8
[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)
AN0390 Analytic 0390
Linux

Detects credential interception via malicious LD_PRELOAD-based shared libraries loaded into ssh, sudo, or scp processes. Correlates environment variable injection, unexpected library loads, and memory patching behavior.

auditd:SYSCALL execve auditd:SYSCALL LD_PRELOAD Logging
[InjectedLibraryName] Watch for user-defined suspicious .so files (e.g., libhook.so, libshadow.so)
[TargetProcessName] Hooked binaries vary by use case (e.g., ssh, login, gdm)
AN0391 Analytic 0391
macOS

Detects DYLD_INSERT_LIBRARIES abuse to hook credential-sensitive applications by correlating process spawns with unauthorized library injection and monitoring changes to the __TEXT segment (code) of credential handling binaries.

macos:unifiedlog DYLD event subsystem fs:fsusage File Access Monitor macos:osquery Memory Mappings
[DYLDInjectedPath] Tunable based on naming patterns or location of malicious dylibs
[ParentProcessName] Hooking attempts may stem from terminal.app, bash, or AppleScript-based launchers

Detected Techniques

1

Details

MITRE ID
DET0139
STIX ID
x-mitre-detection-strategy--d918611a-9d07-4f8b-b70e-2fe1c2f75faf
Analytics
3
Techniques Detected
1
By Tactic
Collection
1
Leaving Threaticon

This link opens an external site that isn't part of the platform.