Case study 02 · Security · Mar to Apr 2026

Turning authentication noise into analyst‑ready signal.

Problem

Failed logons are constant. Most are typos; a few are attacks.

Role

Sole builder: lab, attack, detection and triage write-up.

Tools

Splunk Enterprise, SPL, Python, Kali Linux, VirtualBox.

Result

80+ failed logons isolated in a defined window.

The 30-second version

How the lab works, at a glance.

Business problem

Failed logons are constant on any Windows network. Most are typos; a few are password-guessing attacks. An analyst needs to tell them apart quickly, and the same way every time.

Technical architecture

In an isolated VirtualBox lab, a Kali VM attacks a Windows 11 VM over SMB. A Universal Forwarder ships the Security log to Splunk, an SPL threshold rule flags bursts of Event ID 4625, and a Python script pulls the hits through the REST API and drafts the case note.

Business value

Detection and first-pass triage become repeatable: the rule is written down, the threshold is explained, and every alert arrives with the same next steps. This is a lab build that rehearses the workflow a SOC runs on real alerts.

The problem

Failed logons are constant in any Windows estate. Most are a mistyped credential; a few are not. The goal was to find the difference reliably: identify anomalous authentication patterns, cut alert fatigue through threshold tuning and turn raw event data into a structured, repeatable response.

It is deliberately unglamorous work. The value is in the write-up: anyone picking this up later should be able to rebuild the query, understand why the threshold sits where it does and follow the same triage path.

My role

I built the lab in VirtualBox, ran an SMB brute-force attack from Kali Linux against a Windows 11 host, wrote the SPL detection and threshold alert in Splunk, and generated triage case notes in Python through the Splunk REST API.

The evidence

Kali Linux terminal: a loop of smbclient logins with a wrong password, ending in NT_STATUS_ACCOUNT_LOCKED_OUT
1. Attack. Fifteen SMB logins with a wrong password from Kali, until the account locks.
Splunk search on Event ID 4625 bucketed into five-minute windows, flagging 15 to 31 failed logons from 10.10.10.20 as High severity
2. Detect. SPL buckets Event ID 4625 into five-minute windows and flags ten or more failures.
Generated markdown case note listing each alert with host, account, source IP, failed login count and recommended actions
3. Respond. Python pulls the alerts through the REST API and writes a case note with next actions.

The tools

  • Splunk Enterprise
  • Splunk Universal Forwarder
  • SPL
  • Splunk REST API
  • Python
  • Windows Security Event Logs
  • Kali Linux
  • smbclient
  • Windows 11
  • VirtualBox

The results

80+failed logons isolated in a defined window
5stages from attack to case note
1threshold alert tuned against noise
1documented, repeatable triage path

The two labs that follow this one are in progress and indexed in the case files.

Next case studyMulti-agent commerce pipeline →