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": "malware-execution-response-v1",
"name": "Malware Execution: Detection & Containment",
"description": "Triggered by EDR alert for confirmed or suspected malware execution (trojan, infostealer, dropper, RAT). Quarantines the host, kills the malicious process, collects evidence, and notifies the SOC.",
"version": "1.0.0",
"author": "Beenu - [email protected]",
"tags": [
"malware",
"endpoint",
"execution",
"mitre.t1204",
"mitre.t1059",
"mitre.t1071"
],
"trigger": {
"on": "alert",
"severity": ["medium", "high", "critical"],
"tags": ["malware", "trojan", "rat", "dropper", "infostealer"]
},
"enabled": true,
"dry_run_support": true,
"created_at": "2026-05-10T08:00:00+00:00",
"updated_at": "2026-05-10T08:00:00+00:00",
"inputs": {
"host": {
"description": "Endpoint where malware was detected",
"field": "alert.host",
"required": true
},
"file_hash": {
"description": "SHA-256 hash of the malicious file",
"field": "alert.file_hash",
"required": false
},
"process_id": {
"description": "PID of the malicious process",
"field": "alert.process_id",
"required": false
},
"file_path": {
"description": "Disk path of the malicious file",
"field": "alert.file_path",
"required": false
},
"user": {
"description": "User context under which malware ran",
"field": "alert.user",
"required": false
}
},
"steps": [
{
"id": "e1",
"name": "Enrich file hash (threat intelligence)",
"type": "enrich",
"params": {
"indicator_field": "alert.file_hash",
"indicator_type": "hash",
"skip_if_empty": true
},
"on_failure": "continue",
"retry_max": 1,
"timeout_seconds": 30
},
{
"id": "av_scan",
"name": "Run full AV scan on host",
"type": "run_av_scan",
"params": {
"host_field": "alert.host",
"dry_run": "{{dry_run}}"
},
"on_failure": "continue",
"retry_max": 0,
"timeout_seconds": 180
},
{
"id": "kill_process",
"name": "Kill malicious process",
"type": "kill_process",
"params": {
"host_field": "alert.host",
"process_field": "alert.process_id",
"dry_run": "{{dry_run}}"
},
"on_failure": "continue",
"retry_max": 0,
"timeout_seconds": 20
},
{
"id": "quarantine_file",
"name": "Quarantine malicious file",
"type": "quarantine_file",
"params": {
"host_field": "alert.host",
"file_path_field": "alert.file_path",
"dry_run": "{{dry_run}}"
},
"on_failure": "continue",
"retry_max": 0,
"timeout_seconds": 20
},
{
"id": "approval_isolate",
"name": "Approval gate — isolate host",
"type": "approval",
"params": {
"message": "Isolate host '{{inputs.host}}' from network due to confirmed malware execution?",
"approvers": ["soc-lead"],
"timeout_seconds": 300,
"auto_approve_severity": ["critical"]
},
"on_failure": "abort",
"retry_max": 0,
"timeout_seconds": 320
},
{
"id": "isolate_host",
"name": "Network-isolate host (EDR)",
"type": "isolate_host",
"params": {
"host_field": "alert.host",
"dry_run": "{{dry_run}}"
},
"condition": "steps.approval_isolate.outcome == 'approved'",
"on_failure": "abort",
"retry_max": 0,
"timeout_seconds": 30
},
{
"id": "block_hash_ioc",
"name": "Block malicious hash as global IOC",
"type": "block_ioc",
"params": {
"indicator_type": "hash",
"indicator_field": "alert.file_hash",
"dry_run": "{{dry_run}}"
},
"on_failure": "continue",
"retry_max": 0,
"timeout_seconds": 20
},
{
"id": "inv",
"name": "Malware execution investigation",
"type": "investigate",
"params": {
"case_id_field": "alert.case_id",
"focus": "malware"
},
"on_failure": "continue",
"retry_max": 0,
"timeout_seconds": 180
},
{
"id": "n1",
"name": "Notify SOC team",
"type": "notify",
"params": {
"channel": "slack",
"message_template": "Malware execution on {{inputs.host}} (user: {{inputs.user}}). File quarantined: {{context.quarantine_success}}. Host isolated: {{context.isolate_success}}.",
"webhook_env": "SLACK_SOC_WEBHOOK"
},
"on_failure": "continue",
"retry_max": 0,
"timeout_seconds": 10
},
{
"id": "t1",
"name": "Open malware ticket",
"type": "create_ticket",
"params": {
"priority": "P2",
"title_template": "Malware Execution: {{inputs.host}} ({{inputs.file_hash}})",
"queue": "soc",
"labels": ["malware", "endpoint"]
},
"on_failure": "continue",
"retry_max": 0,
"timeout_seconds": 20
}
]
}