Tutorial 1: Logging, SIEM, and Detection Engineering
Unit 7 ยท Monitoring and incident response
Objectives
Design useful security telemetry.
Correlate identity, network, application, and endpoint signals.
Measure detection quality and operational cost.
Logs should answer who did what, to which resource, when, from where, and with what result. A SIEM correlates events across systems, but aggregation does not create meaning automatically. Normalize timestamps, identities, action names, resource identifiers, and outcome fields while excluding secrets and unnecessary personal data.
Detection engineering turns threat hypotheses into queries, thresholds, context enrichment, ownership, and response. Measure precision, recall, time to detect, time to triage, and alert closure quality. Protect log integrity, retention, and access.
Exercises
Define fields for an administrator access event.
Write a detection for impossible travel or unusual export volume.
Design a false-positive tuning review.
Self-check
What makes a log useful?
Why synchronize clocks?
What is alert precision?
Self-Check Quiz
1. Should logs contain passwords?
AnswerNo. Secrets must never be logged; sensitive data should be minimized and access-controlled.
2. What does correlation add?
AnswerIt connects related events across systems and provides context for investigating a hypothesis.
Homework
Design a telemetry schema for a privileged-access system.
Create three detections with evidence and response.
Define measures for detection health.
Sample answerEvents include timestamp, actor, identity source, action, target, source, result, correlation id, and reason, without secrets. A detection specifies query, baseline, confidence, owner, escalation, and retention. Measure false-positive rate, coverage, MTTD, and MTTR.