Accountability, from station SECU, means actions can be traced to whoever did them. Logs make that possible. This lesson shows what a good log record contains, and what it must never contain.
Who, what, when, where, result
- 1When
- 2Who
- 3Where from
- 4What
- 5Result
A log is a list of records, one for each event: a sign-in, a file opened, a setting changed. A useful record answers five questions. Watch one record being filled in.
Clocks must agree
An investigation usually joins logs from many systems: the portal, the email server, the network. If their clocks disagree by even a few minutes, events appear in the wrong order and cannot be matched up. So systems set their clocks from a shared, trusted time source. In India, CERT-In’s 2022 directions require organisations to set their clocks from the national time servers run by NIC or NPL, or from servers traceable to them.
What never goes in a log
Logs are read by many people and kept for a long time, so they must not hold secrets. Never log:
- passwords, even wrong ones (a wrong password is often a real one with one typo);
- one-time codes, PINs or security answers;
- full card or bank account numbers, or full Aadhaar numbers.
LOGS-1 counts as completed once you step through the figure to its last step.