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 DET0018 — Behavior-chain, platform-aware detection strategy for T1129 Shared Modules
DET0018

Behavior-chain, platform-aware detection strategy for T1129 Shared Modules

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

Analytics

3
AN0052 Analytic 0052
Windows

A process (often LOLBin or user-launched program) loads a DLL from a user-writable/UNC/Temp path or unsigned/invalid signer. Within a short window the DLL is (a) newly written to disk, (b) spawned as follow-on execution (rundll32/regsvr32), or (c) establishes outbound C2.

WinEventLog:Sysmon EventCode=7 WinEventLog:Sysmon EventCode=11 WinEventLog:Security EventCode=4688 WinEventLog:Sysmon EventCode=3, 22 WinEventLog:Microsoft-Windows-CodeIntegrity/Operational CodeIntegrity/WDAC events indicating unsigned/invalid DLL loads
[TimeWindow] Correlation window between file write → module load → network (e.g., 0–20 minutes).
[SuspiciousPathRegex] Regex for user-writable/UNC/temp paths to flag (e.g., %TEMP%, %APPDATA%, \\*\share\).
[UnsignedOnly] Alert only when SignatureStatus != Valid to reduce noise.
[RareSignerThreshold] Frequency threshold for unseen/rare signers in last N days.
[MinFileSizeKB] Ignore tiny DLL stubs to cut noise.
AN0053 Analytic 0053
Linux

A process loads a shared object (.so) via dlopen/LD_PRELOAD/open from non-standard or temporary locations (e.g., /tmp, /dev/shm), especially shortly after that .so is written or fetched, or linked via manipulated environment variables (LD_PRELOAD/LD_LIBRARY_PATH).

auditd:SYSCALL openat/read/mmap: Open/mmap .so files from non-standard paths auditd:EXECVE execve: Processes launched with LD_PRELOAD/LD_LIBRARY_PATH pointing to non-system dirs linux:syslog sudo or service accounts invoking loaders with suspicious env vars NSM:Flow http/file-xfer: Inbound/outbound transfer of ELF shared objects
[SuspiciousDirs] (/tmp, /dev/shm, /var/tmp, user home dirs) – adjust to your environment.
[TimeWindow] Correlate write/fetch of .so to its load (e.g., 0–30 minutes).
[EnvVarWatchlist] LD_PRELOAD, LD_LIBRARY_PATH, LD_AUDIT.
[AllowedSigning/HashList] Known-good signed or hashed shared objects.
AN0054 Analytic 0054
macOS

A process loads a non-system .dylib/.so via dyld (dlopen/dlsym) from user-writable locations (~/Library, /tmp) or after the library was recently created/downloaded, often followed by network egress or persistence.

macos:unifiedlog dyld/unified log entries indicating image load from non-system paths macos:endpointsecurity exec: Process execution context for loaders calling dlopen/dlsym macos:endpointsecurity ES_EVENT_TYPE_NOTIFY_OPEN: Open of .dylib/.so in user-writable locations
[SuspiciousDirs] ~/Library, /tmp, /Users/*/.* (hidden dirs) – tune to enterprise layout.
[UnsignedOnly] Alert only when code-signing is invalid or absent.
[TimeWindow] Correlate write/open to module load within N minutes.

Detected Techniques

1

Details

MITRE ID
DET0018
STIX ID
x-mitre-detection-strategy--928a6ce6-fca0-4d66-aba3-1121431b953e
Analytics
3
Techniques Detected
1
By Tactic
Execution
1
Leaving Threaticon

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