# theoldman48/enterprise-soc-detection-and-response-wazuh architecture

> Architecture diagram of the GitHub repository theoldman48/enterprise-soc-detection-and-response-wazuh, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/theoldman48/enterprise-soc-detection-and-response-wazuh
- Repository: https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh

## Overview

This repository documents a Wazuh-based SOC lab and its detection-and-response workflow rather than providing application code. The principal path is simulated activity on endpoints, agent collection, manager correlation and alerting, then analyst triage and evidence documentation. Separate branches capture the implemented detection cases, dashboards, threat hunting, and standards alignment. Relationships below follow the README’s stated workflow and capabilities; no source excerpts were available to verify lower-level implementation details.

Main entry points: [`04-Alert-Triage-and-Response/alert-analysis.md`](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/04-Alert-Triage-and-Response/alert-analysis.md) (Generated alerts), [`02-Lab-Setup`](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/tree/main/02-Lab-Setup) (Windows and Ubuntu endpoints), [`01-Architecture/wazuh-architecture.md`](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/01-Architecture/wazuh-architecture.md) (Wazuh manager), [`01-Architecture/data-flow-diagram.md`](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/01-Architecture/data-flow-diagram.md) (Rule evaluation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_lab["Lab and telemetry"]
  node_endpoints["Windows and Ubuntu endpoints"]
  node_agents["Wazuh agents"]
  node_manager["Wazuh manager"]
  node_slack["Slack alerting"]
end

subgraph group_detection["Detection engineering"]
  node_correlation["Rule evaluation"]
  node_alerts["Generated alerts<br/>[alert-analysis.md]"]
  node_use_cases["Detection use cases"]
end

subgraph group_response["SOC response"]
  node_triage["Alert triage<br/>[alert-analysis.md]"]
  node_response_workflow["Incident response"]
  node_evidence["Investigation evidence<br/>[evidence-index.md]"]
end

subgraph group_assurance["Visibility and alignment"]
  node_dashboard["Wazuh dashboard<br/>[wazuh-dashboard.md]"]
  node_hunting["Threat hunting<br/>[hunting-notes.md]"]
  node_frameworks["MITRE and NIST alignment"]
  node_metrics["SOC metrics<br/>[kpi-and-metrics.md]"]
end

node_attacker(("Kali attacker"))
node_analyst(("SOC analyst"))

node_attacker -->|"simulates attacks"| node_endpoints
node_endpoints -->|"generate events"| node_agents
node_agents -->|"collect logs"| node_manager
node_manager -->|"evaluates rules"| node_correlation
node_correlation -->|"generates alerts"| node_alerts
node_alerts -->|"appear in"| node_dashboard
node_alerts -->|"sends notifications"| node_slack
node_alerts -->|"prompt triage"| node_triage
node_analyst -->|"investigates"| node_triage
node_triage -->|"guides response"| node_response_workflow
node_analyst -->|"documents findings"| node_evidence
node_use_cases -->|"maps detections"| node_frameworks
node_analyst -->|"performs hunting"| node_hunting
node_dashboard -->|"supports visibility"| node_metrics

click node_attacker "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/02-Lab-Setup/kali-attacker-setup.md"
click node_endpoints "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/tree/main/02-Lab-Setup"
click node_agents "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/tree/main/02-Lab-Setup"
click node_manager "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/01-Architecture/wazuh-architecture.md"
click node_dashboard "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/05-Dashboards/wazuh-dashboard.md"
click node_correlation "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/01-Architecture/data-flow-diagram.md"
click node_alerts "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/04-Alert-Triage-and-Response/alert-analysis.md"
click node_slack "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/02-Lab-Setup/slack-integration.md"
click node_triage "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/04-Alert-Triage-and-Response/alert-analysis.md"
click node_response_workflow "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/04-Alert-Triage-and-Response/incident-response-workflow.md"
click node_use_cases "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/tree/main/03-Detection-Use-Cases"
click node_evidence "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/03-Detection-Use-Cases/evidence-index.md"
click node_hunting "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/06-Threat-Hunting-and-Compliance/hunting-notes.md"
click node_frameworks "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/06-Threat-Hunting-and-Compliance/mitre-attack-mapping.md"
click node_metrics "https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/05-Dashboards/kpi-and-metrics.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_endpoints,node_agents,node_manager,node_slack toneBlue
class node_correlation,node_alerts,node_use_cases toneAmber
class node_triage,node_response_workflow,node_evidence toneMint
class node_dashboard,node_hunting,node_frameworks,node_metrics toneRose
class node_attacker toneTeal
class node_analyst toneIndigo
```

## Components

### Lab and telemetry

- [Windows and Ubuntu endpoints](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/tree/main/02-Lab-Setup): `02-Lab-Setup`
- [Wazuh agents](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/tree/main/02-Lab-Setup): `02-Lab-Setup`
- [Wazuh manager](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/01-Architecture/wazuh-architecture.md): `01-Architecture/wazuh-architecture.md`
- [Slack alerting](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/02-Lab-Setup/slack-integration.md): `02-Lab-Setup/slack-integration.md`

### Detection engineering

- [Rule evaluation](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/01-Architecture/data-flow-diagram.md): `01-Architecture/data-flow-diagram.md`
- [Generated alerts](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/04-Alert-Triage-and-Response/alert-analysis.md): `04-Alert-Triage-and-Response/alert-analysis.md`
- [Detection use cases](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/tree/main/03-Detection-Use-Cases): `03-Detection-Use-Cases`

### SOC response

- [Alert triage](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/04-Alert-Triage-and-Response/alert-analysis.md): `04-Alert-Triage-and-Response/alert-analysis.md`
- [Incident response](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/04-Alert-Triage-and-Response/incident-response-workflow.md): `04-Alert-Triage-and-Response/incident-response-workflow.md`
- [Investigation evidence](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/03-Detection-Use-Cases/evidence-index.md): `03-Detection-Use-Cases/evidence-index.md`

### Visibility and alignment

- [Wazuh dashboard](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/05-Dashboards/wazuh-dashboard.md): `05-Dashboards/wazuh-dashboard.md`
- [Threat hunting](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/06-Threat-Hunting-and-Compliance/hunting-notes.md): `06-Threat-Hunting-and-Compliance/hunting-notes.md`
- [MITRE and NIST alignment](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/06-Threat-Hunting-and-Compliance/mitre-attack-mapping.md): `06-Threat-Hunting-and-Compliance/mitre-attack-mapping.md`
- [SOC metrics](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/05-Dashboards/kpi-and-metrics.md): `05-Dashboards/kpi-and-metrics.md`

### Other components

- [Kali attacker](https://github.com/theoldman48/enterprise-soc-detection-and-response-wazuh/blob/main/02-Lab-Setup/kali-attacker-setup.md): `02-Lab-Setup/kali-attacker-setup.md`
- **SOC analyst**

## Connections

- Kali attacker → Windows and Ubuntu endpoints: simulates attacks (evidence: `README.md`)
- Windows and Ubuntu endpoints → Wazuh agents: generate events (evidence: `README.md`)
- Wazuh agents → Wazuh manager: collect logs (evidence: `README.md`)
- Wazuh manager → Rule evaluation: evaluates rules (evidence: `README.md`)
- Rule evaluation → Generated alerts: generates alerts (evidence: `README.md`)
- Generated alerts → Wazuh dashboard: appear in (evidence: `README.md`)
- Generated alerts → Slack alerting: sends notifications (evidence: `README.md`)
- Generated alerts → Alert triage: prompt triage (evidence: `README.md`)
- SOC analyst → Alert triage: investigates (evidence: `README.md`)
- Alert triage → Incident response: guides response (evidence: `README.md`)
- SOC analyst → Investigation evidence: documents findings (evidence: `README.md`)
- Detection use cases → MITRE and NIST alignment: maps detections (evidence: `README.md`)
- SOC analyst → Threat hunting: performs hunting (evidence: `README.md`)
- Wazuh dashboard → SOC metrics: supports visibility (evidence: `README.md`)
