A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
Fully automated, end-to-end SOC pipeline showcasing proficiency in SOAR (n8n), SIEM (Splunk), and AI Engineering. The wo

This project demonstrates the design and implementation of a fully automated Security Operations Center (SOC) pipeline. I built a virtualized environment to simulate a real-world enterprise defense workflow. The system detects cyber threats, orchestrates enrichment using Threat Intelligence, manages cases via a ticketing system, and utilizes local Generative AI for incident analysis.
The Goal: To simulate a modern SOC environment, focusing on eliminating alert fatigue and drastically reducing Mean Time to Respond (MTTR) by automating Tier 1 Analyst tasks.
I established a secure virtualized lab environment using VMware Workstation Pro, hosting a Kali Linux attacker machine, a Windows 10 target, and an Ubuntu Server for the security stack.
Configured inputs.conf on the Splunk Universal Forwarder to ingest Sysmon, Application, Security, and System logs.
Fig 1: The multi-OS virtualized lab environment.
To validate the pipeline, I simulated a Credential Dumping attack (MITRE T1003) using Atomic Red Team and developed a custom detection rule to catch it.
The Attack (Red Team): I executed Invoke-AtomicTest T1059.001 (Mimikatz) on the Windows 10 endpoint. This script attempts to dump memory to extract plaintext passwords, simulating a common adversary technique.
Fig 2: PowerShell output showing successful execution of the Mimikatz simulation.
The Detection (Blue Team): I configured a Splunk alert to ingest PowerShell Operational logs and identify the specific signature of this attack.
Splunk Processing Language (SPL):
index=mydfir-project "invoke-mimikatz" EventCode=4104 source="*PowerShell/Operational*"
| stats count min(_time) as first_seen max(_time) as last_seen by user, ComputerName
| sort - count
Fig 3: Verifying that Splunk successfully ingested Mimikatz execution logs.
Alert Configuration & Logic: I configured the alert with specific keywords (invoke-mimikatz), source filtering (PowerShell/Operational), and a 24-hour throttle. This reduces false positives while ensuring real Mimikatz attacks are detected and reported immediately without flooding the analyst with duplicate tickets.
I set the severity to HIGH because Mimikatz is a critical threat tool used for credential extraction. This ensures the automation pipeline treats it as an urgent incident requiring immediate AI analysis.
Fig 4: Tuning the alert logic to prevent alert fatigue while maintaining high severity for critical threats.
I deployed n8n via Docker to orchestrate the incident response workflow. This acts as the "glue" connecting the different security tools.
Fig 5: End-to-End SOC automation workflow: Splunk detection → AI analysis → enrichment → IRIS ticket + Slack alert.
The Deliverable: The automation bot posts a structured alert to Slack, allowing the SOC team to see the threat summary, enrichment data, and severity without logging into the SIEM.
Fig 6: Final alert delivered to the analyst with AI-generated summary and recommendations.
The OpenAI node in the n8n workflow uses the following prompt to ensure consistent, high-quality threat analysis:
Act as a Tier 1 SOC analyst assistant. When provided with a security alert or incident details (including indicators of compromise, logs, or metadata), perform the following steps:
Summarize the alert – Provide a clear summary of what triggered the alert, which systems/users are affected, and the nature of the activity (e.g., suspicious login, malware detection, lateral movement).
Enrich with threat intelligence – Correlate any IOCs (IP addresses, domains, hashes) with known threat intel sources. For any IP enrichment use the tool named 'AbuseIPDB-Enrichment'. For any File Hash use the tool named 'VirusTotal-Hash' and use the URL: 'https://www.virustotal.com/api/v3/files/{id}' but replace the '{id}' in the url with an actual file hash. Highlight if the indicators are associated with known malware or threat actors.
Assess severity – Based on MITRE ATT&CK mapping, identify tactics/techniques, and provide an initial severity rating (Low, Medium, High, Critical).
Recommend next actions – Suggest investigation steps and potential containment actions.
Format output clearly – Return findings in a structured format (Summary, IOC Enrichment, Severity Assessment, Recommended Actions).
**ALERT DATA:**
Alert: {{ $json.body.search_name }}
Alert Details: {{ JSON.stringify($json.body.result, ['_time', 'user', 'ComputerName', 'src_ip'], 2) }}
File Hash: {{ $json.body.file_hash }}
Source IP: {{ $json.body.src_ip }}
**ENRICHMENT DATA:**
AbuseIPDB Results: {{ JSON.stringify($('AbuseIPDB-Enrichment').item.json) }}
VirusTotal Results: {{ JSON.stringify($('VirusTotal-Hash').item.json) }}
This prompt ensures the AI:
To move beyond simple alerting, I integrated DFIR-IRIS for formal case tracking.
Configured the n8n workflow to map JSON alert data directly into the IRIS database via API.
This ensures an immutable audit trail is created for every detected incident.
Fig 7: Automated ticket creation in IRIS Case Management with IOC enrichment populated.
As an advanced feature, I implemented the Model Context Protocol (MCP) to bridge Claude Desktop with my local Splunk instance. This enables "Chat with your Data" capabilities.
Infrastructure as Code: I configured the claude_desktop_config.json to allow the LLM to execute Python scripts securely against the Splunk API.
Fig 8: Configuring the JSON bridge between the LLM and the local Splunk server.
Fig 9: Verifying that the local MCP server is running and connected.
The AI Analyst: I can now ask Claude natural language questions like "Show me suspicious activity from the last hour," and the AI generates the SPL, queries the database, and summarizes the results without me writing code.
Fig 10: AI Agent independently querying Splunk and summarizing the Credential Dumping attack.
npx CLI installing 100+ agents, commands, hooks, and integrations in one command
干净、强大、属于你的 AI Agent 平台 --AI agents, without the clutter.
Native macOS app to monitor Claude AI usage limits and watch your coding sessions live
Pocket Flow: Codebase to Tutorial