Security+ SY0-801 Security Monitoring and Alerting: SIEM, Logs, NetFlow, SNMP and SCAP
Security monitoring is the continuous collection and review of data from systems, applications and network infrastructure so that threats and failures are detected and the right people are alerted in time to act. Security+ objective 4.4 asks you to explain the activities (log aggregation, alerting, scanning, archiving, reporting and alert tuning), the tools (benchmarks, agents and agentless collection, SIEM, antivirus, DLP, vulnerability scanners, orchestration and packet analyzers), the protocols that move monitoring data (NetFlow, SNMP, syslog and SCAP) and the ways results are delivered (automated alerts, port mirroring, dashboards and network management systems). This lesson places each one on a single monitoring pipeline and shows the one fact that separates it from its near twins.
On this page10 sections
- What security alerting and monitoring covers
- Monitoring systems, applications and infrastructure
- Log aggregation, SIEM correlation and automated alerts
- Alert tuning: fewer false positives without going blind
- Archiving, reporting, dashboards and network management systems
- Monitoring tools: benchmarks, agents, antivirus, DLP, scanners and orchestration
- Packet analyzers, port mirroring and NetFlow
- SNMP: polling, traps and SNMPv3
- syslog: severities, facilities and secure transport
- SCAP: one checklist, many scanners
- Distinguish systems, application and infrastructure monitoring and pick the layer a symptom points to
- Explain log aggregation, including parsing, normalisation and time synchronisation, and how a SIEM correlates events into automated alerts
- Tune alerts narrowly to cut false positives without creating false negatives, and explain how archiving keeps logs affordably and provably unaltered
- Choose between dashboards, reports, alerts and network management systems by timing and purpose
- Explain benchmarks, agent-based vs agentless collection, antivirus, DLP, vulnerability scanners and orchestration as monitoring tools
- Choose between packet capture, port mirroring, NetFlow and SNMP by the level of detail each provides
- Explain SNMP polling and traps, SNMPv3, syslog severities and transports, and SCAP's role in shared assessment content
What security alerting and monitoring covers
Security monitoring is the continuous collection and review of data from systems, applications and infrastructure so that problems are detected and someone is alerted while there is still time to act. Security+ objective 4.4 names the parts of that pipeline: the resources you watch, the activities you perform on the data, the tools that collect and act on it, the protocols that move it, and the ways results are shown to people (automated alerts, dashboards, network management systems).
It helps to picture one pipeline and place every term on it:
| Stage | What happens | 4.4 terms that live here |
|---|---|---|
| Generate | Devices, hosts and security tools produce events and measurements | Systems, application and infrastructure monitoring; antivirus, DLP, vulnerability scanners, agents/agentless, benchmarks, scanning |
| Transport | Data moves to a central place | syslog, SNMP, NetFlow, SCAP (for assessment content and results), port mirroring (for raw packets) |
| Collect and analyse | Logs are gathered, normalised and correlated | Log aggregation, SIEM, packet analyzer, network management systems |
| Notify and act | People or playbooks are told and respond | Alerting, automated alerts, alert tuning, orchestration |
| Present and keep | Results are shown and retained | Dashboards, reporting, archiving |
Scope matters. Objective 4.4 is about what each monitoring tool and protocol does. Prioritising and remediating the findings of a vulnerability scan belongs to objective 4.3, designing automation and orchestration use cases belongs to objective 4.6, and using logs and other data sources during an investigation belongs to objective 4.8. When a scenario asks which tool, protocol or activity fits a monitoring need, you are in 4.4.
Monitoring systems, applications and infrastructure
Systems monitoring watches individual hosts, application monitoring watches the software and the transactions it handles, and infrastructure monitoring watches the network and the shared services everything depends on. Each layer has its own signals:
| Layer | What it watches | Typical signals |
|---|---|---|
| Systems | Individual hosts: servers, workstations, virtual machines | CPU, memory, disk, running services, OS event logs, logons |
| Application | The software itself and the work it does | Error rates, failed or rejected transactions, processing time inside the application, application logs |
| Infrastructure | The network and shared services | Switches, routers, links, firewalls, DNS, load balancers, link latency, utilisation and errors |
To locate a problem, ask where the symptom is actually measured. A full disk or a stopped service is a host fact (systems). A login form that returns an error while the host and network are healthy is a software fact (application). Latency, loss or saturation on the links and shared services that connect users to servers is a path fact (infrastructure). Ruling out the layers whose signals are normal leaves the one to examine.
All three layers measure health and performance. Scanning, covered below, answers a different question: whether a system has weaknesses an attacker could use.
Log aggregation, SIEM correlation and automated alerts
Log aggregation is the activity of gathering logs from many sources into one place and making them consistent enough to search and correlate together. Collection alone is not enough; three things make aggregated logs useful.
- Parsing and normalisation. Every vendor writes logs in its own format. A parser maps each source's values into the SIEM's common fields (source address, user, action, outcome). Field-based searches, correlation rules and dashboards all work on those normalised fields, so a source without a matching parser is stored as raw text that those features cannot use, even though the data is there.
- Time synchronisation. Each source stamps its own events. If clocks drift, events from different sources line up in an impossible order, for example an effect logged before its cause, and time-window correlation stops matching. All sources should use a common time source (NTP) and consistent time zones.
- Reliable transport and retention. The logs must actually arrive, intact and on time (see the syslog section), and must be kept long enough to be searched.
When aggregated data looks wrong, classify the symptom before guessing at a cause:
| Symptom | Most likely cause |
|---|---|
| Events are present but normalised fields are blank or wrong | Missing or mismatched parser |
| Events from different sources appear in the wrong order or offset by a fixed amount | Clock drift or time-zone mismatch |
| Older events are gone while recent ones are complete | Retention settings |
| Some messages from a source are simply missing | Transport loss or a collection fault |
A security information and event management (SIEM) system is the central platform that aggregates logs from firewalls, servers, applications and security tools, normalises them and correlates related events from different sources to raise alerts. Many logs in, correlated alerts out.
A correlation rule joins events from several sources on a shared field (an account, a host, an IP address) inside a time window. For example, a password reset for an administrator account recorded by the help-desk system, followed within an hour by that account logging on to a domain controller from a workstation it has never used, recorded by the directory. Each system sees only its own half of the pattern, and an alert configured on one device can only ever see that device's events. Patterns that span sources need correlation in the SIEM.
Alerting is the activity of notifying responders when a rule matches; automated alerts are those notifications generated by the tool without anyone having to look. An alert is about one event or pattern that needs action now; it is not a summary or a status screen.
A detection only helps if it reaches the people who triage. Security tools such as antivirus, EDR and DLP keep their own consoles, and an event that sits only in a console nobody is watching is effectively invisible. The fix is to integrate the tool's events into the SIEM, the single queue the SOC already works from, where they can raise automated alerts and be correlated with everything else (for example, the same detection on many hosts in a short time). Side channels that bypass that queue add another place to watch and stay outside correlation.
Alert tuning: fewer false positives without going blind
Alert tuning is the activity of adjusting detection rules so they stop firing on known, legitimate activity (false positives) while still catching real attacks (avoiding false negatives). Untuned rules cause alert fatigue: analysts start ignoring a rule that is usually wrong, and then miss the time it is right. That is why tuning a noisy rule comes first: the noise itself is the risk.
The principle is to make the change as narrow as possible: describe the known-good activity precisely (which source, going to which destination, doing what) and exclude exactly that, so the rule keeps checking everything else.
| Scope of the change | What it costs |
|---|---|
| Exception for the exact known-good pattern (source, destination, account or time) | Nothing else changes; the rule still covers every other case |
| Exception for a whole source regardless of what it does | That source becomes a blind spot: if it is compromised, the same behaviour goes unseen |
| Rule-wide change to the matching logic (looser threshold for everyone, rule switched off) | Fewer alerts everywhere, paid for with false negatives everywhere |
| Changes that leave the matching logic alone (relabelling priority, clearing the queue) | The same false positives keep arriving |
"Whole source" and "exact pattern" can be the same thing. What decides it is whether the source's entire sanctioned behaviour is the activity the rule detects. An authorised vulnerability scanner exists to scan, so excluding that one scanner from the port-scan rule only (ideally only during its scheduled scan window) is the narrow, known-good exception: nothing it is supposed to do is hidden, and every other rule still watches it. A general-purpose server does many jobs, so excluding it as a source from, say, a data-exfiltration rule hides everything else it might do if compromised. Ask: does the exception cover one rule and one purpose, or a host that does many things?
Example: a rule flags administrator logons outside business hours, and nearly every hit is one service account running scheduled maintenance from one job server. A narrow exception covers that account from that server; the account logging on from anywhere else at night, or any other administrator doing so, still alerts.
Archiving, reporting, dashboards and network management systems
Archiving moves logs that have left the SIEM's active, searchable window to lower-cost long-term storage, where they are retained for legal, regulatory or investigative needs and can be restored if required. Retention requirements are often measured in years while fast SIEM storage holds weeks or months and is costly to grow, so archiving is how organisations meet long retention cheaply. A requirement to retain logs is met only by keeping the log records themselves; summaries or statistics derived from them do not count.
Archives must also keep their integrity, especially when logs may be used as evidence. Proving integrity needs two things: something that prevents change, and a reference value recorded at the time of archiving that proves nothing changed. Two controls supply them:
- Write-once (WORM) or immutable storage stops anyone, including administrators with write access, from changing or deleting a stored file during the retention period.
- Hashes recorded at archiving time (kept separately) let anyone later recompute and compare, proving that each file is unchanged.
Controls built for other goals do not supply this. Encryption is chiefly a confidentiality control: it does not stop someone with legitimate write access from replacing or deleting files. Copies made for availability reproduce whatever state a file was in when copied, altered or not.
Reporting produces periodic, point-in-time summaries of a defined period, such as a monthly summary of mean time to respond and phishing-simulation click rates for the security steering committee. Reports are for review, trends, accountability and compliance records; dashboards are for watching what is happening now.
Three ways of presenting monitoring data are easy to confuse, so tell them apart by timing and purpose:
| Output | Timing | Purpose and audience |
|---|---|---|
| Dashboard | Live, updates continuously | At-a-glance current status for operators, such as a wall screen of alert counts by severity and sensor health |
| Report | Periodic, fixed period | Summary and trends for leadership, auditors or records |
| Automated alert | Per event, as it happens | Tells a responder that one thing needs action now |
The underlying detections and data are the same; what differs is the presentation. A continuously refreshing visual of current state is a dashboard, however its numbers were produced.
A network management system (NMS) is the operations console for the network: it finds the devices on the network, maps how they connect, and tracks their health and load over time, largely through SNMP polling and the traps devices send it. An NMS is the operational counterpart of a SIEM: the SIEM correlates security events, the NMS manages device health and performance. Utilisation graphs in an NMS come from SNMP interface counters, which tell you how much traffic crossed a link, not who sent it.
Monitoring tools: benchmarks, agents, antivirus, DLP, scanners and orchestration
Benchmarks are published, consensus-developed secure-configuration recommendations for a specific platform; the CIS Benchmarks are the best-known example. Monitoring and scanning tools measure systems against them, and auditors recognise them. What makes a benchmark a yardstick is that it is external and about configuration:
- Anything you built yourself (an internal build standard, a template you maintain) can only show drift from itself; if it has drifted too, comparing against it hides the gap.
- Out-of-the-box settings are chosen for easy deployment, not hardening.
- Policies and standards you wrote state requirements and intent (for example, that remote administration must be encrypted) rather than the exact value each setting should hold, so there is nothing for a configuration scan to compare setting by setting, and they are internal rather than independently maintained.
- Material written for other jobs, such as vulnerability identifiers, response procedures, detection content or risk records, does not say how a system should be configured.
Agents vs agentless. An agent is software installed on the monitored host; it collects locally and reports to its console over any internet connection, so it keeps working on devices that are off the corporate network for long periods. Agentless monitoring installs nothing and reaches in from the network using existing protocols and credentials, so it suits devices where installing software is not allowed, but it can only see devices it can reach. Scans have a second dimension: a credentialed scan logs in to the target and can read installed packages, patch levels and local settings, while a non-credentialed scan sees only what is exposed from outside, such as open ports and service banners. The two choices are independent: an agentless scan can be credentialed or not.
Antivirus matches malicious code in files and processes. Data loss prevention (DLP) inspects content in motion and at rest for sensitive data patterns, such as national ID numbers in a file being uploaded to a personal cloud drive, and can block the action and alert. Both are alert sources: detecting something is only half the job, because an event nobody sees in time is no better than no detection. Their events belong in the SIEM, forwarded as they happen, for two reasons. First, the SIEM queue is the one place the SOC actually triages, so any side channel outside that queue is another place someone has to remember to watch. Second, events that arrive in real time can drive rules, such as an alert when the same detection appears on many hosts in a short window or when a DLP block follows a suspicious sign-in. Anything that summarises events after the fact, wherever it is produced, suits trend reporting, not alerting.
Vulnerability scanners (the scanning activity) probe hosts for missing patches and weak configurations. In monitoring, their results also enrich alerts: an attack aimed at a specific flaw can only succeed against a host that has that flaw, so the target's latest scan results are what tell an analyst whether an attempted exploit matters. Network records answer a different question, whether traffic reached the host.
Orchestration, delivered by SOAR (security orchestration, automation and response) platforms, connects separate security and IT tools through their APIs and runs playbooks that carry out a sequence of actions across them. For a suspected account compromise a playbook might disable the account in the directory, isolate the user's laptop through EDR, add the attacker's IP address to a firewall block list and record each step in the ticket. The SIEM detects and raises the alert; orchestration acts on it. What defines orchestration is coordinating many separate products; one product that combines several functions or automates its own response is not orchestration.
Packet analyzers, port mirroring and NetFlow
A packet analyzer captures and decodes individual packets, headers and payloads. It is the only monitoring source that shows what was sent: application data such as file contents, commands typed in a cleartext session, or the names a host asks for in its DNS lookups. Flow records, SNMP counters and firewall connection logs are all metadata, and changing how often or how finely they are collected never adds payload to them.
On a switched network a capture port sees mostly broadcasts, multicast, flooded frames and its own traffic, because a switch forwards unicast frames only to the destination port. What a port receives is decided by the switch, not by settings on the capturing machine's NIC. To see another host's traffic, the switch has to be told to copy it: port mirroring (SPAN) copies the traffic of a chosen port or VLAN to the analyzer's port. (A hardware network TAP does the same job on a cable.)
Port mirroring is also how you feed a passive sensor such as an IDS. The deciding difference is where the sensor sits:
- Out of band (mirror or TAP): the sensor receives a full copy of the packets, payload included. If it crashes or falls behind, production traffic is unaffected, but it can only detect and alert, not block.
- Inline: traffic passes through the device, so it can block (an IPS), but a crash or overload can disrupt production. Choose inline only when blocking is required.
NetFlow (and its standards-based relative IPFIX) exports one record per flow: source and destination addresses, ports, protocol, packet and byte counts, and timestamps. It carries no payload. A router or switch exports the records to a collector, which stores and analyses them.
Think of three levels of detail and pick the lightest one that answers the question:
| Source | Answers | Cannot answer |
|---|---|---|
| SNMP interface counters | How much traffic crossed this interface | Which hosts or applications sent it |
| NetFlow / IPFIX | Who talked to whom, on which port, how much and when (top talkers) | What was inside the packets |
| Full packet capture | Exactly what was sent | Nothing missing, but heavy to store and it keeps the contents |
Investigations often climb this ladder: counters show that something unusual is happening, flows show which hosts and services are involved, and a capture shows what they exchanged. Each level comes from a different source, so moving up the ladder means changing source.
SNMP: polling, traps and SNMPv3
The Simple Network Management Protocol (SNMP) lets a manager (usually the NMS) read values from, and receive notifications from, agents on network devices. It works in two directions on two ports:
| Mechanism | Direction | Default port | Use |
|---|---|---|---|
| Polling (get/set requests) | Manager to agent | UDP 161 | The NMS asks for status and counters on a schedule |
| Traps (and acknowledged informs) | Agent to manager | UDP 162 | The device reports an event, such as a fan failure or an interface going down, the moment it happens |
Polling only discovers a change at the next poll, however short the interval, and every extra poll adds load on the devices and the network. Traps are event-driven, so they give immediate notice at no polling cost. Because the two mechanisms use different ports and opposite directions, treat them as two separate paths when troubleshooting: a firewall can allow one and block the other, and which one still works tells you which path is broken.
Versions. SNMPv1 and v2c protect access with a community string sent in cleartext, and the management data is unencrypted too. SNMPv3 adds per-user authentication and integrity, and at the authPriv security level, encryption (the levels are noAuthNoPriv, authNoPriv and authPriv). Protection in transit is a property of the protocol version: of the SNMP versions, only SNMPv3 at authPriv encrypts credentials and data on the wire.
syslog: severities, facilities and secure transport
syslog is the standard protocol for forwarding event messages from Unix-like systems, network devices and many applications to a central collector or SIEM. Every message carries a facility (the type of source, such as kernel, auth or a local facility) and a severity from 0 to 7. The scale is inverted: the lower the number, the more severe.
| Severity | Name | Severity | Name |
|---|---|---|---|
| 0 | Emergency | 4 | Warning |
| 1 | Alert | 5 | Notice |
| 2 | Critical | 6 | Informational |
| 3 | Error | 7 | Debug |
A threshold written as "level X or more severe" therefore matches X and every lower number. "Warning or worse" means 0 to 4; Notice, Informational and Debug fall outside it.
Transport. Classic syslog runs over UDP 514: no encryption and no delivery guarantee, so a dropped message is silently lost. Syslog over plain TCP gives connection-oriented, reliable transport (the sender knows when the connection fails) but is still cleartext, and messages buffered when a connection drops can still be lost because syslog itself has no application-level acknowledgement (RELP adds that). Syslog over TLS on TCP 6514 adds encryption and integrity on top of TCP's reliable delivery.
Confidentiality and delivery are separate properties, so check each requirement on its own: encryption comes from TLS (or a tunnel), while knowing about lost messages comes from a connection-oriented transport. Adding encryption never changes how reliable the underlying transport is, so check what each layer contributes.
SCAP: one checklist, many scanners
The Security Content Automation Protocol (SCAP), maintained by NIST, is a suite of specifications that lets security tools from different vendors read the same machine-readable assessment content and report results in the same format. Its main components:
- XCCDF: the checklist format, the rules a benchmark wants checked.
- OVAL: the language for the technical checks that test a system's state.
- CVE, CCE and CPE: standard names for vulnerabilities, configuration items and platforms.
- CVSS: the standard way to score vulnerability severity.
The payoff is interoperability. Benchmark publishers ship their checklists as SCAP data streams (XCCDF rules plus OVAL checks in one package). Any SCAP-validated scanner, whoever makes it, imports the same data stream and evaluates exactly the same rules, then returns results in a standard format. Results from different tools are therefore comparable because every tool evaluated the same content.
Keep the four protocols apart: syslog moves event messages, SNMP manages and monitors devices, NetFlow summarises traffic flows, and SCAP standardises security checklists and assessment results.
Tip. Objective 4.4 is tested mainly with short scenarios that state a monitoring need or a symptom and ask which tool, protocol, activity or monitoring type fits. Options are usually siblings from the same 4.4 list, such as NetFlow, SNMP, syslog and SCAP, or SIEM, NMS, DLP and packet analyzer, so the decision rests on one distinguishing fact: payload versus metadata, live versus periodic, polling versus traps, agent versus agentless, detection versus response. Harder items combine two constraints, for example payload inspection with no risk to production traffic, no installed software with visibility of patch levels, encryption with loss detection, or reduced noise with no new blind spots, and offer a near twin that satisfies only one. Some items ask for the most likely cause of a symptom in aggregated logs, or for a specific port or severity value.
- Systems monitoring watches hosts, application monitoring watches the software and its transactions, infrastructure monitoring watches the network and shared services; locate a problem by where its symptom is measured
- Aggregated logs need parsers (missing parser = raw data but empty fields) and synchronised clocks via NTP (drift = events out of order)
- A SIEM aggregates, normalises and correlates events across sources inside a time window; orchestration (SOAR) acts on the alert across other tools with playbooks
- Tune alerts as narrowly as possible: exclude only the precisely described known-good activity; rule-wide changes trade false positives for false negatives, and cosmetic changes leave the noise
- Archive aged logs (the records themselves) to cheaper storage for retention; prove integrity with write-once storage plus hashes recorded at archiving, because confidentiality and availability controls prove nothing about change
- Dashboard = live, continuous status; report = periodic summary of a period; automated alert = one event needing action now; NMS = device discovery, topology, availability and utilisation
- Agents keep collecting off-network; agentless installs nothing; credentialed scans see patch levels, non-credentialed scans see only the outside
- SNMP counters say how much, NetFlow says who and where, only a packet capture says what; a switch needs port mirroring before an analyzer can see another host's traffic
- SNMP polls on UDP 161 (manager to agent), traps on UDP 162 (agent to manager); v1/v2c are cleartext, SNMPv3 authPriv authenticates and encrypts
- syslog severity 0 is Emergency and 7 is Debug (lower = worse); UDP 514 is cleartext and lossy, syslog over TLS on TCP 6514 is encrypted and connection-oriented; SCAP lets different scanners run the same XCCDF/OVAL content
Frequently asked questions
What is the difference between a SIEM and SOAR?
A SIEM (security information and event management) collects logs from many sources, normalises them and correlates related events to raise alerts. SOAR (security orchestration, automation and response) acts after an alert exists: it connects separate tools, such as the directory, firewalls, EDR and the ticketing system, through their APIs and runs a playbook of response steps across them. The SIEM detects; orchestration responds.
What is the difference between NetFlow, SNMP and a packet capture?
SNMP interface counters show how much traffic crossed an interface. NetFlow records each conversation's source and destination addresses, ports, protocol, byte counts and timing, but never the contents. A full packet capture, read in a packet analyzer, keeps the payload and is the only one of the three that shows exactly what was sent.
Which ports do SNMP polling and SNMP traps use?
SNMP polling, where the manager queries a device's agent, uses UDP 161 from the manager to the device. Traps and informs, where the device notifies the manager of an event, use UDP 162 from the device to the manager. Because the ports and directions differ, firewall rules must allow each path separately.
What do the syslog severity levels mean?
Syslog severities run from 0 to 7, and lower numbers are more severe: 0 Emergency, 1 Alert, 2 Critical, 3 Error, 4 Warning, 5 Notice, 6 Informational, 7 Debug. A rule that fires on a level "or more severe" matches that level and every lower number.
How do you send syslog securely and reliably?
Classic syslog over UDP 514 is neither encrypted nor reliable. Syslog over plain TCP adds connection-oriented, reliable transport but stays cleartext, and syslog over TLS on TCP port 6514 adds encryption and integrity on top of it, so it meets both confidentiality and loss-detection requirements. For guaranteed application-level acknowledgement of every message, RELP goes further still.
What is SCAP used for?
The Security Content Automation Protocol is a NIST suite of standards, including XCCDF checklists, OVAL checks and the CVE, CCE, CPE and CVSS naming and scoring schemes. It lets scanners from different vendors run the same machine-readable benchmark content and report results in a common format, so their findings can be compared and merged.
What is port mirroring and when do you need it?
Port mirroring, also called SPAN, makes a switch copy the traffic of chosen ports or VLANs to a monitoring port. A switch normally sends unicast frames only to their destination port, so a packet analyzer or IDS sensor on another port cannot see a host's traffic until mirroring is configured. Because the sensor receives a copy, a sensor failure does not affect production traffic.
What is the difference between a dashboard and a report in security monitoring?
A dashboard is a live view that updates continuously and shows current status at a glance, such as alert counts by severity on a SOC wall screen. A report is a periodic, point-in-time summary of a defined period, such as a monthly summary of response times and trends for a steering committee.
Source
This lesson covers the "Security Operations" domain of the official SY0-801 exam guide. Vendors revise their guides — check the source for the current version.
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.