VeriKQL by Kaushik Saha

T1546.006 LC_LOAD_DYLIB Addition

PersistencePrivilege Escalationon attack.mitre.org

ATT&CK Enterprise 20.0 · 20.1 released, update in review

How MITRE detects it

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

AN0607 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.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogProcess memory maps new dylib (dylib_load event)Not mapped to Sentinel yet.
macos:unifiedlogMach-O binary modified or LC_LOAD_DYLIB segment insertedNot mapped to Sentinel yet.
macos:unifiedlogCode signature validation fails or is absent post-binary modificationNot mapped to Sentinel yet.

Content Hub rules tagged with it (0)

No Content Hub rule is tagged with this technique.

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

In Sigma rules

No SigmaHQ rule names it in their tags outright.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

Mitigations

MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.