SOC Lab
Detection before infrastructure: an offline SOC learning lab.
Repository coming soon
$ python3 soc.py data/auth-demo.jsonlA lightweight detection-and-investigation prototype. It validates synthetic authentication logs, detects brute-force patterns and walks through the analyst investigation that follows an alert.
What it does
- 01Rule AUTH-001: five failures for the same host, user and source IP within 60 seconds raise a medium-severity alert.
- 02Strict input contract: whole-batch validation, UTC timestamps, normalized IPv4/IPv6.
- 03Deterministic output as JSON Lines with clear exit codes.
- 04Guided investigation exercise: the alert, the later success, false-positive possibilities and why there is no automatic blocking.