Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Einreichen
ToolsExploitsBlog
Einreichen

Hacking-, PenTest- und Cybersicherheits-Tools für Ihr Sicherheitsarsenal!

Kitploit ist ein Verzeichnis von Hacking-, Cybersicherheits- und Pentesting-Tools. Entdecken Sie die neuesten Projekt-Updates, um Schwachstellen zu finden, Systeme zu analysieren, Tests zu automatisieren und Ihre Sicherheit zu stärken.

FeedsKontaktDatenschutz© 2026 Kitploit

Tool-Verzeichnis

Kategorien

Alle Kategorien anzeigen
Loading categories
home-soc-lab — Blue Team home lab: full incident response lifecycle (attack → detect → respond) with Wazuh SIEM + Suricata IDS, CVE-2007-2447 exploitation, MITRE ATT&CK mapping, and an AI-assisted alert triage pipeline. | Kitploit
Tools/GitHubGitHub/ddiazcr/home-soc-lab
Network ForensicsPenetration TestingThreat IntelligenceIntrusion DetectionLearning & EducationRed TeamingIncident ResponseAI SecurityLog AnalysisLabs & Practice
GitHub
16. Okt. 2026Noch nicht geprüft
Teilen
ddiazcr/home-soc-lab

home-soc-lab

Blue Team home lab: full incident response lifecycle (attack → detect → respond) with Wazuh SIEM + Suricata IDS, CVE-2007-2447 exploitation, MITRE ATT&CK mapping, and an AI-assisted alert triage pipeline.

Repository anzeigen
Inhalt in der angeforderten Sprache nicht verfügbar. Englische Version wird angezeigt.

Home SOC Lab

A self-built home lab simulating a full incident response lifecycle — from initial reconnaissance to detection and remediation — using a real SIEM stack (Wazuh + Suricata) against a deliberately vulnerable target (Metasploitable2).

Overview

This project simulates a real-world security incident end-to-end in a controlled home lab environment. The goal was to gain hands-on experience with the complete SOC workflow: attack simulation, network/host-based detection, and incident response — not just tool installation, but a documented, reproducible case study.

Scope covered:

  • Reconnaissance and vulnerability identification
  • Exploitation of a real CVE
  • Persistence and C2 (Command & Control) simulation
  • Detection using a SIEM (Wazuh) and NIDS (Suricata)
  • Containment, eradication, and verification
  • Full incident report following industry-standard structure

Architecture

                    Host-Only Network (192.168.56.0/24)

   ┌─────────────────┐        ┌─────────────────┐        ┌─────────────────┐
   │   Kali Linux     │        │   Wazuh Server   │        │  Metasploitable2 │
   │  192.168.56.103  │◄──────►│  192.168.56.102  │◄──────►│  192.168.56.104  │
   │  (Attacker)      │        │ (SIEM + NIDS)    │        │  (Target)        │
   └─────────────────┘        └─────────────────┘        └─────────────────┘
                                       │
                                       ▼
                              Wazuh Manager + Indexer
                              + Dashboard + Suricata

All three machines run as VirtualBox VMs on an isolated Host-Only network, with no exposure to the host's production network.

Lab Setup

ComponentDetails
HypervisorVirtualBox
AttackerKali Linux — 192.168.56.103
TargetMetasploitable2 — 192.168.56.104
SIEM / NIDSWazuh 4.9.2 + Suricata 8.0.3 — 192.168.56.102
NetworkHost-Only, 192.168.56.0/24

Attack Simulation

Reconnaissance

nmap -sV -sC against the target revealed multiple outdated, vulnerable services typical of Metasploitable2, including:

  • vsftpd 2.3.4 (port 21, anonymous FTP enabled)
  • Samba smbd 3.0.20-Debian (ports 139/445)
  • UnrealIRCd (port 6667)
  • Java RMI Registry (port 1099)
  • A pre-configured root shell (port 1524)

Exploitation

Selected Samba usermap_script (CVE-2007-2447) as the exploitation vector over more commonly used vectors (e.g. vsftpd 2.3.4 backdoor), prioritizing technical relevance and impact.

Using Metasploit's exploit/multi/samba/usermap_script with a cmd/unix/reverse payload, a reverse shell was established, granting immediate root access with no privilege escalation required (uid=0(root)).

Persistence & C2

A cron job was installed on the target (/etc/crontab) to execute a beacon script (/tmp/beacon.sh) every 2 minutes, opening a periodic reverse connection back to the attacker machine — simulating both persistence and C2 beaconing in a single mechanism.

Detection

  • Suricata custom rule (sid:1000001) flagged the periodic beacon traffic as "POSSIBLE C2 BEACON", correctly classified under the Network Trojan category.
  • Wazuh correlated the Suricata alert into a custom detection rule (rule.id 100101, level 10) — "Home SOC Lab: possible C2 connections" — surfaced directly in the Wazuh dashboard.
  • Alerts were confirmed on two separate days, validating that detection persisted reliably across the beacon's lifecycle.

🛡️ detections/ — the Suricata signature, Wazuh rule and log-collection config, with a line-by-line explanation of each

Response & Remediation

  1. Removed the persistence mechanism from /etc/crontab on the target.
  2. Verified via diff against a pre-remediation backup that only the malicious lines were removed.
  3. Checked for additional persistence across cron.d, cron.daily/weekly/hourly/monthly, init.d, and rc.local — none found.
  4. Confirmed no beacon.sh process running, no active connections on the C2 port, and the dropped file no longer present on disk.

Verification

Reviewed the Wazuh dashboard over a 24-hour window after the remediation: one last C2 alert appeared at the start of the window, and no new alerts were generated for the remaining ~21 hours. On the clocks as recorded, both C2 alerts are timestamped after the crontab was cleaned, so the exact moment the beacon stopped could not be confirmed (the Wazuh server clock was corrected mid-exercise). The report documents this openly in Section 8 instead of hiding it.

Timeline

Timestamp (2026)Event
Sep 14, 17:19:43 (time zone not recorded)Initial exploitation (Samba usermap_script / CVE-2007-2447)
Sep 14, 21:51:42 (time zone not recorded)Persistence + C2 established via cron beacon
Sep 20, 23:28:05 UTCRemediation completed (crontab cleaned, verified)
Sep 20, 23:40:06 UTCFirst Wazuh detection (rule.id 100101)
Sep 21, 21:51:44 UTCSecond and last detection

Incident Report

A full incident report is included in this repository, following a standard structure (Executive Summary, Scope, Reconnaissance, Exploitation, Persistence/C2, Detection, Containment/Eradication, Verification, IOCs, Lessons Learned, Architecture):

📄 INCIDENT_REPORT.md

AI Triage Pipeline

Beyond detection and manual response, this lab includes an AI-powered triage layer: Wazuh alerts are sent to Claude for automated priority/confidence scoring and plain-language summaries, then pushed to Telegram in near real time. Before trusting it with anything real, it was red-teamed with 3 prompt-injection techniques embedded directly in alert fields — all 3 were detected, and the most adversarial one caused the AI to escalate the case to critical, treating the manipulation attempt itself as evidence.

🤖 AI/README.md — full write-up, architecture, and red-team results 🗺️ mitre_attack_mapping.md — MITRE ATT&CK mapping of the incident 📊 pipeline_metrics.md — triage accuracy, injection resistance, and known limitations

Lessons Learned

  • Correlating NIDS (Suricata) and SIEM (Wazuh) detections is significantly more reliable than relying on either tool alone.
  • Persistence and C2 mechanisms are often simple (a single cron entry) but can be highly effective if not actively monitored.
  • Systemd timeout defaults are a common, easy-to-miss cause of failures when running resource-heavy security tools (Suricata, Wazuh indexer) on constrained lab hardware.

Tools Used

  • Wazuh 4.9.2 (SIEM)
  • Suricata 8.0.3 (NIDS)
  • Kali Linux
  • Metasploitable2
  • VirtualBox

Next Project

This lab continues in Corporate SOC Simulation: a Windows Server 2022 + Active Directory domain (Nimbrek S.A.) monitored by this same Wazuh stack, focused on login events, account changes, privilege escalation and Kerberos attacks — closing the gap in Windows-based enterprise detection scenarios.


This project is for educational purposes only, built entirely within an isolated home lab environment.

Tool herunterladen

Ähnliche Tools

  • wireshark

    Erfassen und analysieren Sie Netzwerkverkehr mit Deep-Packet-Inspektion, Dekodierung hunderter Protokolle und Capture-Datei-Unterstützung zur Fehlerbehebung, Forensik und Sicherheitsuntersuchungen.

  • zeek

    Zeek ist ein leistungsstarkes Netzwerkanalyse-Framework, das sich stark von den typischen IDS unterscheidet, die Sie vielleicht kennen.

  • arkime

    Arkime ist ein Open-Source-, groß angelegtes, vollständiges Paketerfassungs-, Indizierungs- und Datenbanksystem.

Beliebteste

Alle anzeigen →

Entdecken Sie die meistgenutzten Tools unserer Community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    745
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI-Catcher-Plattform, die eine gefälschte GSM-Zelle bereitstellt, um SMS abzufangen, Nachrichten einzuschleusen und Mobilgeräte zu verfolgen

    732
  • 3

    Callisto

    jetp1ane/callisto

    Automatisiertes Binär-Schwachstellenanalyse-Tool, das ausführbare Dateien über Ghidra dekompiliert, Pseudo-C-Code mit Semgrep scannt und Ergebnisse mithilfe von GPT-3.5-Turbo validiert, um Fehlalarme zu reduzieren.

    610
  • 4

    opencti

    opencti-platform/opencti

    Offene Plattform für Cyber-Bedrohungsinformationen

    546
  • 5

    ARTEX

    baarai/artex

    LLM-basierte Multi-Agenten-Plattform für autonome Penetrationstests mit Planer-/Worker-Agenten, Asset- und Explorationsgraphen, MITM-Verkehrsaufzeichnung und Schwachstellen-Retesting.

    414
  • 6

    DFRoot

    a2333c/dfroot

    Android-Root-Tool für das Samsung Galaxy S25 Ultra (SM-S938B), das DirtyFrag CVE-2026-43284 und CVE-2026-43499 verkettet, um beim Booten automatisch über KernelSU Root zu erlangen.

    413

Alle Tools erkunden

Durchsuchen Sie unsere Tool-Sammlung

Alle Tools anzeigen →