What defenders can see: evidence at each stage

Unit 3 of 5 in How attacks unfold, and how defenders see them.

You will be able to say which logs and sensors would show each stage and why a missing source leaves a blind spot.

Lesson

Every step leaves traces somewhere

Defenders see attacks through records. NIST describes logs as records of events within systems and networks, produced by sources such as security software, firewalls, intrusion detection and prevention systems and operating systems. Many of those logs contain records that matter for security.

That gives the working question for each stage of an intrusion: where would this have been written down? A login leaves an authentication record. A new program starting leaves a process record. A connection out leaves a firewall or DNS record. A file copied to a share leaves a file-access record, if auditing is on.

From a technique to a detection

ATT&CK connects techniques to ways of spotting them. Its detection strategies define high-level approaches for detecting specific adversary techniques and act as containers that organise multiple platform-specific analytics into a single detection method. Earlier versions used data sources, the subjects of information that can be collected by sensors and logs, to say what you would need to collect. ATT&CK deprecated data sources in v18 in favour of detection strategies, and keeps the old page for reference.

The practical lesson survives the change: before you can detect a technique you must be collecting the evidence it leaves. A detection idea with no log behind it is a wish.

Blind spots

A blind spot is a stage you would not see because the evidence is not collected, not kept long enough, or not readable. Typical reasons: auditing was never turned on, the log fills the disk and stops, clocks disagree so events cannot be lined up, or logs sit only on the machine an attacker controls. NIST advises keeping log sources' clocks consistent with a time synchronization technology and lists monitoring log rotation and archival among routine tasks.

A good habit is to list the stages of the incidents you worry about and, beside each, the log that would show it and whether you actually collect it. Gaps in that list are your first improvements.

Do not rely on one source

Defense in depth applies to detection too. An attacker who disables one sensor should still be visible in another, such as network records. ATT&CK even lists impairing defenses as its own goal, because tampering with logs and tools is something real attackers do, so protect and copy your logs off the machines that produce them.

Key points

Sources

Practice in the labs

Read the two most common sources of endpoint evidence, and turn on the auditing that makes them possible.

Also try, in the simulators

Knowledge check

  1. Why can a detection idea be useless? Answer: The evidence it needs is not being collected. A detection depends on records of the behaviour; without the log or sensor data behind it, nothing can fire.
  2. Which is a typical cause of a blind spot? Answer: Auditing was never turned on. Evidence that is not produced cannot be read later; missing auditing, short retention and local-only logs are the usual causes.
  3. Why copy logs off the machine that produced them? Answer: An attacker who controls the machine can alter or clear local logs. ATT&CK lists impairing defenses as an attacker goal, so tampering with local logs is expected; a remote copy keeps the record.

Back to the syllabus or see all classes.

Related