Topics in this domain

Logging, SIEM, and Auditing Security

Response and monitoring · 3 min read

The flight recorder

Every aircraft carries a flight recorder. It captures what happened, it’s built to survive the crash, and investigators read it afterwards to work out why.

Logs are an organisation’s flight recorder. They provide accountability (who did what, when), help detect attacks and misuse, and support investigations after incidents. They’re often required by regulation too. But they only help if they record the right things, can’t be tampered with, and someone actually reads them.

What to log

Events to log: logins, privileged activity, sensitive data, security settings, system events, log tampering.
  • successful and failed logins, lockouts and MFA events
  • privileged and administrator activity
  • access to, and changes of, sensitive data
  • changes to security settings, user rights, firewall rules and audit settings
  • system start, stop and errors
  • logs being cleared or logging being switched off: a strong sign of tampering

Each record should include the user ID, timestamp, source, event type and outcome. Log too little and you miss incidents; log everything without filtering and you bury them.

Protect the logs

Protecting logs and making them useful.
  • Send logs to a central log server or SIEM as they’re created, so they can’t be erased on the system they describe.
  • Restrict access: administrators mustn’t be able to change or delete records of their own activity.
  • Use integrity protection such as write-once storage.
  • Synchronise clocks across systems (NTP), so events from different systems can be lined up.
  • Set retention periods based on legal, regulatory and investigative needs.
  • Protect logs that contain personal or sensitive data.

What a SIEM does

Collect, normalise, correlate, alert, investigate and report.

A security information and event management (SIEM) system:

  • collects logs from many sources
  • normalises them into one format
  • correlates events across sources (for example, a VPN login from abroad followed by a huge download)
  • raises prioritised alerts
  • supports investigations with search and timelines
  • produces compliance reports

A SIEM needs tuning and people. SOAR (security orchestration, automation and response) tools can automate parts of the response, and a security operations centre (SOC) watches the alerts around the clock.

Example. The SIEM raises an alert that an administrator account cleared the security log on a domain controller at 2 a.m. Nobody responds, because the SOC treats such alerts as low priority. Two weeks later, an investigation finds the attacker used that window to create backdoor accounts. Alert tuning and response priorities were the gap.

Reviewing logs

Logs nobody reviews aren’t a detective control. Review should be risk-based:

  • automated alerts for high-risk events
  • regular review of privileged activity by someone independent
  • periodic review of trends

Auditing information security

Governance, identity and access, infrastructure, data protection, monitoring and response, assurance and people.

An information security audit typically covers:

  1. governance: policies, roles, risk assessments, metrics and reporting
  2. identity and access management: provisioning, removal, reviews, privileged access, MFA
  3. infrastructure security: segmentation, firewall rules, hardening, patching, cloud configuration
  4. data protection: classification, encryption, key management, DLP
  5. monitoring and response: logging coverage, SIEM use, incident handling, forensic readiness
  6. assurance activities: vulnerability management, penetration tests, third-party security
  7. awareness and physical security

Evidence should come from system configurations, logs and samples, not only interviews and documents.

How the exam asks about it

If the question asks…The answer is usually…
Primary purpose of a SIEMCollect and correlate events from many sources to detect incidents
Why time synchronisation mattersAccurate correlation of events across systems
Best protection for logs against administratorsCentral storage they can’t modify
Logs collected but not reviewedIneffective detective control
Event that strongly indicates tamperingLogs cleared or logging disabled
Best evidence in a security auditSystem-generated evidence and configurations, not interviews alone

In short

  • Logs provide accountability and support detection and investigation, but only if they capture the right events and are reviewed.
  • Key events: logins and failures, privileged actions, access to sensitive data, changes to security settings, and log tampering.
  • Logs must be protected from alteration and deletion, especially by the administrators whose activity they record.
  • Time synchronisation (NTP) across systems is essential to correlate events.
  • A SIEM collects, normalises and correlates logs from many sources to detect incidents and support investigations.
  • Retention periods follow legal, regulatory and investigative needs.
  • Auditing security: start from policy and risk, test controls across governance, identity, network, endpoint, data and monitoring, and verify through evidence rather than interviews.

Exam traps

  • Logs that nobody reviews are not a detective control.
  • Storing logs on the same server they describe lets an attacker or administrator erase them.
  • Logging too little misses incidents; logging everything without filtering buries them.
  • Logs containing sensitive data need protection themselves.
  • Without accurate timestamps, events from different systems can't be reconstructed.

Slides

Click the slide and use the arrow keys. F toggles full screen.

CISA · Domain 5 · Response and monitoring

Logging, SIEM, and Auditing Security

Keeping a trustworthy record of what happened and actually reading it: what to log, protecting logs from the people they record, what a SIEM adds, and how an auditor approaches a security audit.

1 / 9