Objective 7.2
Logging and monitoring
What it is
A log is a diary entry a system writes about an event: a login, a change, a failure. Monitoring is watching those events, or the live system, so a person or a tool can notice trouble. Time synchronization matters because you cannot reconstruct a story if every device has a different clock. Logs themselves need protection. Attackers edit them to hide. Central collection, limited access, and retention long enough for an investigation are part of the control. Alerting is useful only if it is tuned. A flood of useless alarms teaches people to click past the real one.
Why it matters
Without logs you have opinions. Without monitoring, logs become a warehouse you open too late. Clocks that disagree can make an innocent event look guilty or hide the order of an attack. Retention is a balance: too short and the incident is already forgotten, too long and you may be keeping more personal data than you need. Someone must own the response when an alert fires at 2 a.m.
A simple example
Shop cameras that record, with nobody watching and with tapes reused every hour, will not solve a theft that happened last week. A camera with a wrong timestamp makes two visits look simultaneous. Security monitoring is the same. Collect the diary, keep the clocks honest, watch for the events you decided matter, and store the diary where the subject of the investigation cannot rewrite it.
On the exam
If the story is “we cannot tell what happened,” ask about logging, retention, and time sync. If alerts are ignored, the failure is the monitoring process, not the existence of a tool. Protect admin actions especially. A trap is logging passwords or full payment card numbers. You need the event, not a new copy of the secret.
Words worth keeping
- Log
- A recorded event from a system. It is useful only if it is kept and trusted.
- Time sync
- Keeping clocks aligned so events from many systems can be placed in order.
- Tuning
- Adjusting alerts so real trouble is visible and noise does not hide it.