LOGS-3Lesson 3 of 311 min

Watching logs and keeping them safe

A log helps only if someone reads it. This lesson shows how logs are watched, and how they are kept safe from the attackers they record.

Patterns worth an alert

  • Many failures, then a success: guessing that finally worked.
  • Impossible travel: one account in two distant places within minutes.
  • Odd hours and odd amounts: a clerk’s account downloading thousands of records at 3 a.m.
  • New power: a new administrator account, or an account given admin rights, outside the normal process.
  • Logs that stop: logging switched off or log files deleted.

A threshold, sometimes called a clipping level, sets how many of something is normal before an alert: for example, a few wrong passwords are fine, five in a minute are not.

Figure LOGS-3.1Rules that read the log for you

sign-in log

02:10:01asha.k · sign-in · wrong passwordWARN
02:10:03asha.k · sign-in · wrong passwordWARN
1/4

Nobody can read millions of log lines by hand. Instead, rules raise an alert when a pattern appears. The simplest is a threshold: a few failures are normal, many are not.

Step 1 of 4

Keeping logs out of an attacker’s reach

Unit 5 shows how security teams collect logs from many systems in one place and work through the alerts they raise.

Lab: the log detective

Lab LOGS-L1A day, and the night after, at a college

Tick every line that deserves a closer look, then check your findings. Most lines are normal; that is part of the job.

LOGS-3 counts as completed once you step through the figure to its last step.