LOGBOOK

HELP

← again tap: answer good → ↑ swipe up at the end: next

1 / 10 Part 1 of 6
Other keys: show • Space: good • 1-4: rate • 0: skip • 5: flag

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.

The NSM cycle: 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.

  1. Collection — capture the data you will need later: full packets, flow records, logs. If it was not collected, it cannot be detected or investigated.
  2. 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.
  3. 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:

or press any other key

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:

or press any other key