LAB-003 / SECURITY & SOFTWARE

SOC Log Triage & Detection Toolkit.

A Python-based security monitoring project exploring log processing, suspicious-activity detection and structured reporting.

PYTHON LOG ANALYSIS DETECTION RULES JSON / CSV COMPLETED
View repository ↗ All projects

Turning security logs into useful signals

This Python-based SOC detection tool explores a practical security-monitoring workflow: generating and parsing log data, evaluating activity against detection conditions, and producing reports that make suspicious behaviour easier to review.

The project demonstrates how Python, object-oriented design and timestamp-based analysis can be applied to defensive security tasks.

Detection and reporting workflow

01 / INPUT

Log generation & parsing

Generate and process sample security log activity for analysis.

02 / DETECTION

Rule-based analysis

Identify patterns including repeated failed logins, after-hours activity and PowerShell-related events.

03 / OUTPUT

Structured reporting

Export detection results in JSON and CSV formats for review.

Python concepts applied

What this project demonstrates

This project is an earlier, more focused detection tool. It provides a practical foundation in log processing and rule-based detection. MiniSOC is a separate, more modular project that builds on these interests through normalized event models, parser abstractions and a more extensible architecture.

Portfolio distinction: this project demonstrates a working SOC-style detection workflow; MiniSOC explores the architecture of a more extensible detection engine.

Detection output & report evidence

Executing the pipeline against simulated authentication and endpoint activity flags threshold-based brute-force attempts, after-hours access, and suspicious PowerShell execution, exporting alerts to both JSON and CSV formats.

Terminal output from Security Log Analysis Pipeline showing severity-ranked alerts
FIG 01 — Console alert output from running the detection pipeline.
Structured JSON alert output generated by the log triage tool
FIG 02 — Structured JSON alert export (logs.json).
CSV alert summary generated by the log triage tool
FIG 03 — Tabular CSV report export (logs.csv).