← again tap: answer good → ↑ swipe up at the end: next
Question
What is Network Security Monitoring (NSM), and what are the three phases of the NSM cycle?
Answer
NSM is the continuous collection and inspection of network data to find and investigate intrusions; its cycle is collection → detection → analysis.
* Collection feeds detection, detection feeds analysis, and what analysts learn becomes new signatures and new things to collect. *
NSM starts from the assumption that prevention eventually fails: a firewall will let something through, a user will click something. So instead of relying only on walls, you watch the traffic and get good at noticing and investigating what got in.
- Collection — capture the data you will need later: full packets, flow records, logs. If it was not collected, it cannot be detected or investigated.
- Detection — examine the collected data and raise an alert when something unexpected happens. This is usually done by software using signatures, anomalies or statistics; in this lab it is the Suricata IDS.
- Analysis — a human looks at the alert, pulls in the surrounding data (the packets, other logs, threat intelligence) and decides whether it is a real incident and what happened.
The cycle feeds back on itself: what analysts learn becomes new signatures and new things to collect. A Suricata lab like this one concentrates on the middle phase, detection.
Go deeper:
The Practice of Network Security Monitoring, ch. 1 (Bejtlich) — free sample chapter of the book that defined NSM, including the "prevention eventually fails" reasoning.
Security Onion Documentation: Introduction — a real open-source NSM platform where packet capture, Suricata alerts and analyst tools come together.
Question
What is intrusion detection?
Answer
The active monitoring of systems and networks to pick out, from all events, the ones that point to attacks, misuse or security violations, so they can be investigated.
The German BSI's definition captures the two key ideas. First, it is monitoring: an intrusion detection system watches events (packets, log entries, file changes) and does not, by itself, stop anything. Second, it is a filter: out of millions of normal events it must surface the few that indicate an attack, misuse attempt or policy violation, so a human can look at them more closely.
To do this you need tooling that generates, filters, evaluates and archives events. That can range from a simple checksum comparison of system files to complex detection algorithms on live traffic.
A useful analogy (from Rozenblum's paper): a firewall is the lock on your doors; intrusion detection is the burglar alarm. The lock keeps most people out, but only the alarm tells you that someone came in through a broken window, or is already inside.
Go deeper:
BSI-Leitfaden zur Einführung von Intrusion-Detection-Systemen: IDS-Grundlagen — the German reference text behind the definition: sensors, detection methods and how events become alerts.
NIST SP 800-94: Guide to Intrusion Detection and Prevention Systems — the US counterpart on designing, deploying and running an IDPS.
Intrusion detection system (Wikipedia) — overview of IDS types, detection methods and evasion.