Lesson 1 of 4 Security Monitoring and Analysis

Source Systems and Events of Interest

Monitoring is only as good as the data it collects and the events it looks for. This lesson explains the systems that produce security data, continuous monitoring, and the kinds of events that deserve attention.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain continuous monitoring.
  • Identify the source systems for security monitoring.
  • Classify events of interest.
  • Describe the requirements for usable logs and coverage.

Continuous monitoring

Continuous monitoring is maintaining ongoing awareness of information security, vulnerabilities and threats to support risk management decisions. It covers security events in near real time and also the state of controls over time, such as patch levels, configuration compliance and the status of logging itself. NIST SP 800-137 describes an information security continuous monitoring (ISCM) programme.

Monitoring has three requirements: the right sources must send data, the organisation must know which events matter, and someone must respond when monitoring finds them.

Source systems

The SSCP outline groups source systems into four kinds, summarised in the following table.

SourceExamplesTypical security value
HostsWindows event logs, Linux syslog and journal, EDR telemetry, file integrity monitoringLogons, process execution, privilege use, file changes
ApplicationsWeb server access logs, database audit logs, authentication services, SaaS audit logsApplication attacks, data access, account activity
Network devicesRouters, switches, wireless controllers, flow records (NetFlow, IPFIX), DNS and DHCP serversConnections, traffic volumes, device configuration changes
Security appliancesFirewalls, IDS/IPS, proxies, email gateways, DLP, VPN concentratorsBlocked and allowed traffic, detected attacks, data movement

Cloud platforms add their own sources, such as audit logs of API calls and changes to configuration. Sources are onboarded according to risk: internet-facing systems, identity systems, systems holding sensitive data and security tools come first. Each source must send accurate timestamps, which requires time synchronisation with NTP, and enough detail to identify who did what, where and when.

Match the pairs

Which source shows it?

Exam skills 3.4.1

Match each question with the source system that answers it.

Log in to try this activity Interactive activities are free with an account.

Events of interest

Most log entries are routine. Events of interest are those that may indicate a security problem. The outline lists six kinds.

Errors
Failures such as repeated authentication errors, access denied messages and application exceptions, which may indicate guessing, probing or misconfiguration.
Omissions
Expected events that did not happen: a backup that did not run, an antivirus update that failed, or a log source that went silent, which attackers often cause by disabling logging.
Anomalies
Deviations from the baseline, such as logins at unusual times or from unusual places, large data transfers, or a server contacting a new country.
Unauthorised changes
Changes to configurations, files, accounts or permissions without a matching approved change record.
Compliance violations
Activity that breaks regulatory or contractual requirements, such as unencrypted card data or access to records without a legitimate purpose.
Policy failures
Breaches of internal policy, such as use of prohibited software, shared accounts or personal cloud storage.

Defining events of interest in advance turns them into detection rules, alerts and reports. They are reviewed as threats and systems change, and threat intelligence and ATT&CK help identify what to look for.

The following diagram classifies three events of interest found in logs, each a different kind.

Three events of interest, each a different kind. A firewall rule allowing SSH from the internet with no change ticket is an unauthorised change; 400 failed logins to one account in ten minutes is a burst of errors suggesting password guessing; and a finance user downloading 20 GB at 3 a.m. is an anomaly against that user's baseline.
The scenario is illustrative.
Sort into groups

Which kind of event of interest?

Exam skills 3.4.2

Classify each event by its type.

Log in to try this activity Interactive activities are free with an account.

Log quality and coverage

Collecting data is not enough; it must be usable. Each source should produce entries with an accurate, synchronised timestamp including the time zone, the identity involved (user, service account or process), the source and destination (host names and IP addresses), the action and its outcome. Missing fields make correlation impossible: a firewall log without user information can be linked to a person only through DHCP and authentication logs, which must therefore also be collected.

Organisations track coverage against the asset inventory: which critical systems send logs, which audit settings are enabled on them and when each last reported. Common gaps include cloud audit logs that were never enabled, SaaS applications whose logs are kept only for a short time by the provider, endpoints that log locally only, and network devices whose logging was disabled to save resources. Testing detection with simulated activity, for example running a known-benign technique and checking that the expected events and alerts appear, confirms that sources, parsing and rules work together.

Worked example

The silent server

A domain controller that normally sends thousands of events an hour to the SIEM has sent none for six hours. No alert fired because no rule matched. What does this indicate?

It is an omission, an event of interest in its own right. The cause might be a network fault, a full disk or a stopped service, but attackers also disable logging to hide their actions, and a domain controller is a high-value target. The practitioner should investigate at once and add a rule that alerts when critical sources stop reporting.

Worked example

Classify the events

Classify each: (1) a firewall rule allowing SSH from the internet appears with no change ticket; (2) 400 failed logins to one account in ten minutes; (3) a finance user downloads 20 GB from the file server at 3 a.m., when the user normally downloads a few megabytes during the day.

(1) is an unauthorised change. (2) is a burst of errors suggesting a password-guessing attack. (3) is an anomaly compared with the user's baseline, possibly data theft by an insider or a compromised account. All three warrant investigation.

Check yourself

Give an example of an omission as an event of interest.

Show answer

A scheduled backup that did not run, an antivirus update that failed, or a log source that stopped sending events.

Exam Tips

Remember for the exam

  • A log source that stops reporting is an event of interest.
  • Onboard internet-facing, identity and sensitive-data systems first.
  • Synchronise time across all sources.