Threat Modeling, IT-/OT-Segmentierung, Snort Detection und reproduzierbare Validierung eines Drupal-Detection-Profils.
This repository consolidates defensive security work from a university context in a form reworked for public traceability. The focus is on methodology, reproducible labs, validation, and the limitations of the measures developed—not on publishing course material.
| Project | Content |
|---|
| Threat Modeling | STRIDE analysis, MITRE ATT&CK mapping, abstracted DFD, and risk register |
| IT/OT Network Segmentation | Default-deny gateway with iptables, logging, and controlled verification |
| Snort Detection | Rules for reconnaissance, ICMP, and repeated SSH connections |
| CVE-2026-9082 Detection Lab | Nuclei profile with positive, patched, and unaffected negative controls |
The case study examines an anonymized production environment with connected IT and OT systems. Assets, communication paths, and trust boundaries are captured, analyzed with STRIDE, and mapped to relevant techniques from MITRE ATT&CK Enterprise and ICS. A qualitative risk model prioritizes in particular lateral movement and production outages.
A gateway separates the office and simulated OT/SCADA segments. The forwarding policy follows the whitelist principle: established return traffic and explicitly allowed services pass through, while unauthorized traffic is logged before the DROP. Nmap, controlled test traffic, firewall counters, and logs verify rules and return paths.
The Snort configuration defines a suitable HOME_NET and detects TCP/UDP reconnaissance, ICMP to the OT segment, and repeated SSH connection attempts in the lab. The rules demonstrate detection engineering; thresholds must be adjusted for production networks.
The Nuclei template is tested against three local instances:
| Target | Database | Expectation |
|---|---|---|
| vulnerable Drupal version | PostgreSQL | Detection |
| patched Drupal version | PostgreSQL | no detection |
| vulnerable Drupal version | MariaDB | no detection |
The MariaDB instance is an important negative control: it uses the same Drupal version as the positive control but is not affected by the PostgreSQL-specific query path. This verifies whether the profile does more than merely identify a version.
iptables · Snort · Nuclei · Docker Compose · Drupal · PostgreSQL · MariaDB
My work included in particular:
iptables and Snort rules;The subprojects document prerequisites, configuration, and test steps. The Drupal lab uses Docker Compose and Nuclei; the segmentation lab requires isolated Linux systems or VMs with administrative rights. Long raw HTTP responses and desktop metadata are deliberately not part of the public evidence.
Active testing may only be performed against your own systems or those explicitly authorized. The Nuclei profile is detection-oriented, extracts no data, and does not modify application entries. Even non-destructive requests can generate logs. Firewall scripts may only be run in isolated labs, as they replace active rules.
The work was created as part of a security operations module at THWS. Published are newly formulated own analyses and lab artifacts, not the assignment, lecture slides, provided network diagrams, or complete submissions.