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.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
id: det-endpoint-304
name: Systemd Unit Persistence Via auditd Watch
description: |
Triggers when the AiSOC auditd profile records a write under
/etc/systemd/system/ or /lib/systemd/system/. Pivots on auditd_key so the
rule fires for any modify-class syscall on a unit file without a per-syscall
companion rule. Dropping a .service or .timer file under these directories is
the canonical Linux persistence technique post-foothold; legitimate writes
are dominated by package managers and configuration-management agents and
should be straightforward to allowlist.
version: 1.0.0
severity: medium
tags:
- mitre.attack.t1543.002
- mitre.attack.t1053.006
- tlp.white
category: endpoint
log_source:
product: linux
service: auditd
detection:
condition: |
auditd_key == "aisoc_persistence_systemd"
AND exe NOT ENDSWITH_ANY ["/dpkg", "/rpm", "/apt", "/yum", "/dnf", "/systemctl", "/systemd"]
false_positives:
- Package install/upgrade dropping a unit file (dpkg, rpm)
- systemctl edit or systemctl enable rewriting a unit
- Sanctioned config-management agent (Ansible, Chef, Puppet) writing units
playbook: tpl-persistence
enabled: false
author: AiSOC
created: '2026-05-12'
modified: '2026-05-12'
quarantine_reason: "authored as YAML with no Python spec, so the engine never loaded it; no connector is known to emit its fields, so translating it would add a rule that cannot fire"