Hüseyin Tunay Çelik
← Back to portfolio

Research notebook / 01 · Thesis in progress

THE TIME
BETWEEN DETECTION
AND ACTION.

Automated incident response on Microsoft Azure.
An experiment in making security workflows measurable.

Hüseyin Tunay ÇelikEvidence: September 2026Implementation + initial evaluation

01 / The question

A fast action is only
part of the story.

Can an automated cloud workflow reliably turn a failed-login signal into network containment? And when the response itself is quick, what accounts for the rest of the delay?

My thesis explores automated incident response in the context of Zero Trust. I built a controlled lab to follow an event across ingestion, detection and response, rather than reporting a single opaque timing.

02 / The implemented system

One signal.
A complete chain.

  1. 01

    Collect

    Ubuntu + Azure Monitor Agent

    Authentication syslog flows into Log Analytics through a data collection rule.

  2. 02

    Detect

    Microsoft Sentinel + KQL

    A scheduled rule evaluates a five-minute window at five-minute intervals, using a five-failure threshold grouped by source.

  3. 03

    Decide

    Incident + entity mapping

    IP and host entities carry the context into the automated response workflow.

  4. 04

    Contain

    Logic Apps + NSG

    The workflow applies a network security group deny rule to block the source in the lab.

Terraform provisions the environment for repeatable deployment and teardown. This diagram describes the implemented workflow; it does not run an attack or connect to live infrastructure.

03 / Initial evidence

Five runs.
Follow the time.

Select a trial to inspect its stages.
Measured data, not a live simulation.

IngestionDetectionResponseSeconds / shared scale 0–650

Trial 01 / Stage breakdown

Ingestion61.9s

The event reaches the queryable telemetry pipeline.

Detection426.2s

The scheduled Sentinel rule evaluates the failed-login signal and creates the incident.

Response13.1s

The automated response applies the network containment action.

Total: 501.2 seconds. Stage timings are rounded individually; their sum may differ by 0.1 seconds.

Read all measurements as a table
Controlled lab trials, 3 September 2026. All timings in seconds.
TrialIngestionDetectionResponseTotal
161.9426.213.1501.2
276.8300.712.5390.0
385.9424.310.3520.5
474.9532.613.0620.5
577.9288.113.4379.3
13.0s

Median response stage

10.3–13.4 seconds across the five trials. The response stage was short and relatively consistent.

501.2s

Median total containment

379.3–620.5 seconds end to end. Detection latency contributed most of the delay and variation.

5/5

Sources blocked in the lab

All five attack trials reached containment. Four of five finished within ten minutes.

04 / What this tells us

Evidence with
boundaries.

These are initial observations from one monitored host, one SSH brute-force scenario, one deployment and a fixed configuration. Five successful trials do not establish production reliability.

A benign burst of three failed logins stayed below the configured threshold and did not alert. That is a sanity check, not a broad false-positive evaluation.

The research originally targeted a 60% improvement in response time. Without a comparable manual baseline, these measurements do not establish that improvement. The medians above are calculated separately and should not be added together.

Source: the project’s experiment summary dated 3 September 2026, cross-checked against its documented implementation. This public page contains aggregate timings only; infrastructure identifiers and raw security logs are omitted. Thesis presentation and final evaluation are still ahead.

05 / The next experiment

Question the
bottleneck.

Vary the detection cadence and threshold. Compare near-real-time detection. Repeat across more hosts and scenarios. Establish a manual baseline before making an improvement claim.

Let’s talk about the research