# amrshoujaa/home-soc-lab architecture

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

- Interactive diagram: https://gitdiagram.com/amrshoujaa/home-soc-lab
- Repository: https://github.com/amrshoujaa/home-soc-lab

## Overview

This repository documents a hands-on home SOC lab, rather than containing its runtime software. The principal workflow is endpoint telemetry collection: Windows events pass through Sysmon and the Wazuh Agent to the Manager, Indexer, and Dashboard for investigation. The README also documents a Windows Guest-account detection and Windows/Linux file-integrity monitoring. Components and relationships below are based on that documentation; no source excerpts or configuration files were available, so implementation details are not inferred.

Main entry points: [`README.md`](https://github.com/amrshoujaa/home-soc-lab/blob/main/README.md) (Lab documentation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_lab_hosts["Lab hosts"]
  node_windows_server["Windows Server AD/DNS"]
  node_windows_endpoint["Windows 11 endpoint"]
  node_linux_endpoint["Linux endpoint"]
end

subgraph group_telemetry["Telemetry pipeline"]
  node_sysmon["Sysmon"]
  node_wazuh_agent["Wazuh Agent"]
  node_wazuh_manager["Wazuh Manager"]
  node_wazuh_indexer[("Wazuh Indexer")]
end

subgraph group_detection["Detection and monitoring"]
  node_guest_rule["Guest-enable rule"]
  node_fim_windows["Windows FIM"]
  node_fim_linux["Linux FIM"]
end

subgraph group_analysis["Security analysis"]
  node_wazuh_dashboard["Wazuh Dashboard"]
  node_lab_readme["Lab documentation<br/>[README.md]"]
end

node_kali(("Kali simulator"))

node_windows_server -->|"provides domain services"| node_windows_endpoint
node_windows_endpoint -->|"generates telemetry"| node_sysmon
node_sysmon -->|"forwards events"| node_wazuh_agent
node_wazuh_agent -->|"sends events"| node_wazuh_manager
node_wazuh_manager -->|"forwards events"| node_wazuh_indexer
node_wazuh_indexer -->|"makes searchable"| node_wazuh_dashboard
node_kali -.->|"simulates attacks"| node_wazuh_manager
node_wazuh_manager -->|"evaluates events"| node_guest_rule
node_guest_rule -->|"generates alert"| node_wazuh_indexer
node_windows_endpoint -->|"monitors file changes"| node_fim_windows
node_linux_endpoint -->|"monitors file changes"| node_fim_linux
node_fim_windows -->|"reports changes"| node_wazuh_manager
node_fim_linux -->|"reports changes"| node_wazuh_manager
node_lab_readme -->|"documents investigation"| node_wazuh_dashboard

click node_lab_readme "https://github.com/amrshoujaa/home-soc-lab/blob/main/README.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_windows_server,node_windows_endpoint,node_linux_endpoint toneBlue
class node_sysmon,node_wazuh_agent,node_wazuh_manager,node_wazuh_indexer toneAmber
class node_guest_rule,node_fim_windows,node_fim_linux toneMint
class node_wazuh_dashboard,node_lab_readme toneRose
class node_kali toneIndigo
```

## Components

### Lab hosts

- **Windows Server AD/DNS**
- **Windows 11 endpoint**
- **Linux endpoint**

### Telemetry pipeline

- **Sysmon**
- **Wazuh Agent**
- **Wazuh Manager**
- **Wazuh Indexer**

### Detection and monitoring

- **Guest-enable rule**
- **Windows FIM**
- **Linux FIM**

### Security analysis

- **Wazuh Dashboard**
- [Lab documentation](https://github.com/amrshoujaa/home-soc-lab/blob/main/README.md): `README.md`

### Other components

- **Kali simulator**

## Connections

- Windows Server AD/DNS → Windows 11 endpoint: provides domain services (evidence: `README.md`)
- Windows 11 endpoint → Sysmon: generates telemetry (evidence: `README.md`)
- Sysmon → Wazuh Agent: forwards events (evidence: `README.md`)
- Wazuh Agent → Wazuh Manager: sends events (evidence: `README.md`)
- Wazuh Manager → Wazuh Indexer: forwards events (evidence: `README.md`)
- Wazuh Indexer → Wazuh Dashboard: makes searchable (evidence: `README.md`)
- Kali simulator → Wazuh Manager: simulates attacks (evidence: `README.md`)
- Wazuh Manager → Guest-enable rule: evaluates events (evidence: `README.md`)
- Guest-enable rule → Wazuh Indexer: generates alert (evidence: `README.md`)
- Windows 11 endpoint → Windows FIM: monitors file changes (evidence: `README.md`)
- Linux endpoint → Linux FIM: monitors file changes (evidence: `README.md`)
- Windows FIM → Wazuh Manager: reports changes (evidence: `README.md`)
- Linux FIM → Wazuh Manager: reports changes (evidence: `README.md`)
- Lab documentation → Wazuh Dashboard: documents investigation (evidence: `README.md`)
