6.7: Regularly Review Logs

On a regular basis, review logs to identify anomalies or abnormal events.

Asset Type

Security Function

Implementation Groups

Network

Detect

2, 3

Dependencies

  • None

Inputs

  1. The timestamp at which a log review i has been made, represented as t(i)

  2. The number of reviews (timestamps) taken so far, represented as N

  3. The maximum possible irregularity (can be fixed as 30 day), represented as R

  4. (Optional) Target/desirable review interval threshold, represented as T

  5. The number of log reviews in which at least one anomaly was detected, represented as D

  6. The total number of Log Reviews, represented as L

Operations

  1. Calculate the average of log review, M1 = (SUM from i=1..N (t(i+1) - t(i))) / N

  2. Calculate the threshold-based regularity measure of log review, M2 = (SUM from i=1..N ( (t(i+1) - t(i)) - T)^2 / N ) / R

  3. Calculate the probability of detecting an anomaly in log review, M3 = D / L

Measures

  • M1 = The average of log review from Operation 1

  • M2 = The threshold-based regularity measure of log review from Operation 2

  • M3 = The probability of detecting an anomaly in log review from Operation 3

Metrics

Regularity Measure of Log Review

Metric

Measure the irregularity or variance of log review. The higher the value the more
irregularity.

Calculation

(SUM from i=1..N ( (t(i+1) - t(i)) - M1)^2 / N ) / R

Quality of Log Review

Metric

The quality of review is high if-and-only-if the review is highly regular and the
potential for detecting anomalies (at least one per review) is also high.

Calculation

(1-M2) * M3