Overview
Curated: · Written: · Reviewed:
Security Monitoring & Logging
In one line
Security monitoring turns trustworthy telemetry into investigation and response decisions. Reach for it when you must name who did what, to which target, and when, across identity, cloud, application, endpoint and network sources, and when you must later prove that the evidence is complete.
Key definitions
- Logging: generating, shipping, normalizing, storing, accessing and disposing of event records.
- Detection: a rule or model with a hypothesis, required telemetry, window, threshold, severity, owner and runbook. It alerts after the action.
- Prevention: a control that blocks the action (MFA, an IAM deny, an EDR block). It stops the action but does not prove intent.
- Correlation key: a stable identifier (request_id, session, principal ID) joined across sources. Timestamp proximity is the weaker fallback.
- Coverage claim: a technique counts as covered only when a controlled test fired the alert with fields an analyst can act on.
- Silent source: a log source that stops reporting. Treat it as an alert, because silence looks the same as a quiet system.
Formulas and complexity
Quote this when a team wants to add two sources to a capped SIEM: the sum has to fit the headroom, or something else has to be reduced first.
How it works
- Each source emits records with event time, receipt time, actor, action, target, outcome and a request or session identifier.
- A shipper forwards records off the host to storage the host cannot write to. Parsers normalize fields into a versioned schema and keep the raw event.
- Enrichment adds asset, identity and threat context. Correlation joins on stable keys within a defined window.
- Rules raise alerts into triage. Health checks watch freshness, parse failures and silent sources, and they alert on those too.
When to use and when not to
| Situation | Detection (rule or hunt) | Prevention (block, deny, MFA) |
|---|---|---|
| The action must never succeed | Too late, it only reports | Use it |
| Action already happened, you need the timeline | Use it, with retained history | Not applicable |
| A false positive would block users | Low harm, alert only | High harm, avoid |
| Need to replay past data for a new rule | Works if the data was kept | Not applicable |
| High-volume, low-value source under cost pressure | Sample only classes no rule reads | Do not sample denials or auth events |
Traps interviewers probe
- Treating the SIEM purchase as capability. Fix: name an owner, a use case, a data contract and a tested rule for each use case.
- Counting rules as coverage. Fix: run an atomic test per technique and record the alert fields. A rule that yields a hostname and no user or process fails the usable test.
- Sampling or dropping high-risk events to save cost. Fix: keep full capture for authentication, privileged and control-plane events. Check which fields each rule reads before sampling anything.
- Trusting local logs. Fix: ship records off-host promptly to write-protected storage, and alert when a source stops reporting.
- Suppressing noisy alerts. Fix: find the root cause, add reliable context and split the use case. Do not suppress an alert you cannot explain.
Interview tips
Open with the decision: "A SIEM only helps if the event is present, parsed, timed and joinable. I start from the question the detection answers, then work back to the authoritative source and its fields."
Follow-ups to expect:
- How do you prove the rule fires on real data?
- What is your retention, and what happens to an investigation older than it?
- How do you handle a source that goes silent?
- Where does clock skew come from, and how do you record it?
- Which fields do you never log?
30-second answer outline:
- Name the question the detection answers and the threat it maps to.
- Name the authoritative source, its fields, and a stable correlation key.
- Describe the rule: window, threshold, exclusions, severity and owner.
- Say how it was tested: historical replay, an atomic test, and a check that the alert carries actionable context.
- Say what happens when the source goes silent, and what alternate evidence covers the gap.
Feedback on this overview
Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.