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 DET0216 — Detection Strategy for LC_LOAD_DYLIB Modification in Mach-O Binaries on macOS
DET0216

Detection Strategy for LC_LOAD_DYLIB Modification in Mach-O Binaries on macOS

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

Analytics

1
AN0607 Analytic 0607
macOS

Detection focuses on unauthorized modification of Mach-O binaries to include LC_LOAD_DYLIB headers pointing to malicious dylibs. Behavior is identified via a chain of file metadata changes, removal of code signatures, and subsequent anomalous dylib loads at runtime. Correlation of file changes with lack of authorized updates and process memory mapping of unrecognized or unsigned libraries is crucial.

macos:unifiedlog Process memory maps new dylib (dylib_load event) macos:unifiedlog Mach-O binary modified or LC_LOAD_DYLIB segment inserted macos:unifiedlog Code signature validation fails or is absent post-binary modification
[TimeWindow] Correlates binary modification and dylib load within a defined time interval (e.g., 1 hour)
[DylibPathRegex] Regular expression to match known malicious or uncommon library paths
[UnsignedDylibThreshold] Number of unsigned or unrecognized dylibs mapped into memory per process
[UserContext] Scope monitoring to non-admin users or sensitive system directories

Detected Techniques

1

Privilege Escalation (1)

Details

MITRE ID
DET0216
STIX ID
x-mitre-detection-strategy--4f95fef5-3b5e-435a-ad00-33d2d9765640
Analytics
1
Techniques Detected
1
By Tactic
Privilege Escalation
1
Leaving Threaticon

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