Logs do more than help fix problems. When something goes wrong, they can show who did what, in a dispute, an inquiry or a court. For that, they must be trustworthy.
From record to proof
Non-repudiation means a person cannot believably deny an action, because the record proves it. Logs support it only if each action is tied to one person (no shared accounts), and if the log itself cannot have been changed. A log the suspect could have edited proves nothing.
- 1The event happens
- 2It is recorded at once
- 3A copy goes to a separate log server
- 4The record is protected
- 5Someone reviews it
- 6It is handed on with a record of handling
A mark is changed at night. Months later, the person whose account did it says 'that was not me'. Can the college prove what happened? Only if its logs went through every step below.
Chain of custody
For digital evidence, each copy is given a fingerprint (a hash, Unit 3) when collected. Anyone can later make the fingerprint again; if it matches, the copy has not changed by a single character.
How long to keep logs
Many attacks are found weeks or months after they begin, so logs must be kept long enough to look back. In India, CERT-In’s 2022 directions require organisations to keep logs of their systems for a rolling period of 180 days, stored within India, and to report serious incidents to CERT-In within 6 hours of noticing them.
LOGS-2 counts as completed once you step through the figure to its last step.