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-300
name: SSH authorized_keys File Modified (FIM)
description: >
An osquery file_events event recorded a change (CREATED, UPDATED, or
ATTRIBUTES_MODIFIED) to any ~/.ssh/authorized_keys file across the fleet.
Adversaries add their own public keys to authorized_keys files to establish
persistent SSH backdoors that survive password resets and remain invisible to
normal login monitoring (T1098.004 – Account Manipulation: SSH Authorized Keys).
version: 1.0.0
severity: high
tags:
- mitre.attack.t1098.004 # Account Manipulation: SSH Authorized Keys
- mitre.attack.t1078 # Valid Accounts
- mitre.attack.t1136 # Create Account
- 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 MATCHES ".+/\\.ssh/authorized_keys$"
OR target_path MATCHES ".+/\\.ssh/authorized_keys2$"
)
false_positives:
- Automated config management (Ansible, Chef, Salt) that rotates SSH keys
- Initial host provisioning scripts that deploy team public keys
- Legitimate user key rotation via a verified deployment pipeline
- CI/CD runners that add deployment keys to service accounts
playbook: tpl-persistence
enabled: false
author: AiSOC
references:
- https://attack.mitre.org/techniques/T1098/004/
- https://www.openssh.com/manual.html
created: '2026-05-10'
modified: '2026-05-10'
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"