LOGS-2Lesson 2 of 39 min

Logs as evidence

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.

Figure LOGS-2.1From a log line to evidence
1/8

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.

Step 1 of 8

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.