Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

1.6 KB
Raw Blame
id: det-endpoint-299
name: LD_PRELOAD / ld.so.preload Tampered (FIM)
description: >
  The dynamic linker preload file /etc/ld.so.preload or any shared library
  under /etc/ld.so.conf.d/ was created or modified, as detected by osquery
  file_events via the AiSOC FIM pipeline.  Attackers use ld.so.preload to
  inject arbitrary shared libraries into every process at startup, achieving
  rootkit-level stealth, credential capture, or privilege escalation
  (T1574.006 – Dynamic Linker Hijacking).
version: 1.0.0
severity: critical
tags:
  - mitre.attack.t1574.006   # Hijack Execution Flow: Dynamic Linker Hijacking
  - mitre.attack.t1014        # Rootkit
  - mitre.attack.t1548.001   # Abuse Elevation Control Mechanism: Setuid/Setgid
  - tlp.white
  - data_source.osquery
  - data_source.fim
category: endpoint
log_source:
  product: osquery
  service: file_events
detection:
  condition: |
    action IN ["CREATED", "UPDATED", "ATTRIBUTES_MODIFIED"]
    AND target_path STARTS_WITH_ANY [
      "/etc/ld.so.preload",
      "/etc/ld.so.conf.d/"
    ]
false_positives:
  - Legitimate security tools (e.g. Falco eBPF libraries) that add entries to
    /etc/ld.so.conf.d/ during installation
  - System package updates that refresh shared library search paths
playbook: tpl-persistence
enabled: false
author: AiSOC
references:
  - https://attack.mitre.org/techniques/T1574/006/
  - https://man7.org/linux/man-pages/man8/ld.so.8.html
created: '2026-05-10'
modified: '2026-05-10'
quarantine_reason: "authored as YAML with no Python spec, and its condition reads a dotted path (`properties.x`) that the matcher cannot traverse"