Log reviews, synthetic transactions and benchmarks

7 min 4 sections 5 practice questions 5 sources citedISC2 objective 6.2

Two tests check systems while they are running. A log review reads the records a system keeps, to see whether the right events are recorded and whether anyone notices the bad ones. A synthetic transaction is a scripted customer that uses a live service on a timetable, to see whether it still works as it should. No background is assumed. A security professional uses both, and compares their results with a benchmark that says what good looks like.

By the end of this unit you will be able to:

  • Explain what a log review tests, and list the points it checks
  • Explain how logs are reviewed by people and by machines
  • Tell apart synthetic transactions and real user monitoring
  • Explain what a benchmark is and how a result is compared with one

A quiet weekend at the ferry company

An illustrative example

A small ferry company sells tickets on its website. On Saturday evening an update breaks the payment page. Few people book on Saturday nights, and the first complaint arrives on Monday morning. By then the company has lost two days of sales.

During the same weekend the website's server recorded 4,000 failed attempts to sign in to the administrator account, all from one address abroad. The records were there on Monday. Nobody had looked at them.

What two regular checks would have caught each problem on Saturday night?

A log review tests whether events are recorded and noticed

is a control: systems record events so that misuse can be detected and investigated. Like any control, it can fail without anyone knowing. A log review examines logs to find signs of misuse or failure, and in doing so tests the logging control itself. It asks whether the right events are being recorded, whether the records can be trusted, and whether anyone acts on them.

What a log review checks
Point checkedWhat the reviewer looks forA failure it would reveal
CoverageEach important system sends the events the requires: sign-ins, failed sign-ins, changes to accounts and settings, use of administrator rightsA new server that sends no logs at all
TimeEvery system's clock is set from the same source, usually the Network Time Protocol (NTP)Events on two servers that cannot be put in order
IntegrityLogs are copied to a separate, protected store that the people being logged cannot changeAn administrator able to delete records of their own actions
ReviewLogs, or alerts drawn from them, are examined at the set frequency and findings are reported4,000 failed sign-ins that nobody saw
ResponseEach alert raised was assigned, investigated and closed with a reasonAlerts closed as false alarms without checking

The NIST , SP 800-53, states the duty plainly in its control AU-6. The organisation reviews and analyses its audit records at a frequency it sets, looking for inappropriate or unusual activity. It reports what it finds to named people, and reviews more closely when the rises, for example after a warning from the police or a service.

Reading logs by hand and by machine

A busy network produces millions of log entries a day, far more than anyone can read. NIST's guide to log management, SP 800-92, describes how review becomes manageable. The reviewer first learns what normal looks like by reading samples of the logs regularly, for example every day. Over weeks this builds a baseline: the picture of typical activity. Most entries turn out to be a few routine types.

Once the routine types are known, software filters them out and sends the rest for attention. Two reports work well. One holds the entries already known to matter, and is read first. The other holds entries nobody yet understands, and is read so that the keeps growing.

Entries are ranked by their type and by whether that type has appeared before. The system they came from, the addresses involved, the time of day and how often they repeat also count. A sign-in at three in the morning matters more on an office system than on a hospital ward system.

A security information and event management (SIEM) system does much of this automatically. It gathers logs, correlates entries from different sources and raises alerts. It does not replace the review. Someone must still check that its rules match current risks and that its alerts are acted on. An testing this control will often take a sample of days and of alerts and trace each one to what was done about it.

Synthetic transactions: scripted customers on a live service

A synthetic transaction is a scripted action, run by a program on a schedule, that uses a live service exactly as a customer would and checks the result. A script might open the ferry company's website every five minutes, choose a crossing, enter a test card and confirm that a booking page appears within three seconds. Cloud providers sell this as . Amazon Web Services calls its scripts canaries.

Because the script runs whether or not real customers are present, it finds failures before customers do. The same method checks security functions. A script can try to sign in with a wrong password and confirm that it is refused. Another can check that a page has not been altered without authority.

Real user monitoring (RUM) works the other way. It records what actually happens to real visitors: how long each page took, and which errors they met. It shows the true experience of real people on real devices, but only when real people are using the service.

Synthetic transactions against real user monitoring
PointSynthetic transactionsReal user monitoring
How it worksActive: a script creates the trafficPassive: it observes traffic real users create
When it finds a failureBefore customers do, even at quiet timesOnly after real users meet it
What it coversOnly the routes the script followsEvery route real users take
Best forChecking a known function, including security functions, around the clockUnderstanding real performance across many devices and places

Benchmarks: the yardstick a result is compared with

A test result means little without something to compare it with. A benchmark is that reference point: a published standard of good configuration or a measured standard of good performance.

Configuration benchmark
A published set of recommended settings for a product. The Center for Internet Security (CIS) publishes CIS Benchmarks for more than 25 families of products, agreed by consensus among security experts. A system is checked setting by setting against it.
Performance benchmark
A measured figure for normal behaviour, such as the booking completing within three seconds, or the usual number of failed sign-ins an hour. A synthetic transaction or a log review compares today's result with it.

The log baseline and the booking time are both benchmarks of this second kind. A result outside the benchmark is not automatically an attack or a fault. It is the trigger to find out why.

Common misconception

“A synthetic transaction is a load test that floods a system with fake users.”

A synthetic transaction is usually a single scripted customer repeated on a timetable, checking that a function works and how long it takes. A load test deliberately creates heavy traffic to find the breaking point.

A question, worked through

A council runs an online service for reporting missing bins. It is used mostly on weekday mornings. The council's security manager wants to know within minutes, at any hour, if the sign-in page stops refusing wrong passwords after a software update.

Which control BEST meets this need?

  1. Real user monitoring of the sign-in page
  2. A weekly manual review of the sign-in logs
  3. A synthetic transaction run every few minutes
  4. A monthly scan against a configuration benchmark
Decide on your answer, then open the reasoning
  1. The need is to know within minutes, at any hour, whether one security function still works.
  2. Rule out b: a weekly review could leave the fault unseen for days.
  3. Rule out d: a monthly check against recommended settings does not test whether the sign-in page refuses a wrong password, and it runs too rarely.
  4. Between a and c: real user monitoring observes real visitors, and at night there are almost none. It would also see only whether pages loaded, not that a wrong password was wrongly accepted. A scripted sign-in with a wrong password, run every few minutes, checks exactly this at any hour.

Answer: C. A synthetic transaction run every few minutes

Choosing between good answers

A question asks how to detect a failure on a service before customers notice, especially at quiet times
choose synthetic transactions. Real user monitoring waits for real users.
A question asks what a log review tests beyond finding attacks
look for whether the right events are logged, clocks agree, logs are protected and alerts are acted on.
A question offers more logging as the fix when nobody reads the existing logs
prefer the answer that establishes review and response. Unread logs detect nothing.
A question asks what a test result is compared with
think benchmark: a published configuration standard such as a CIS Benchmark, or a measured normal level.

Check your understanding

5 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.

These questions are drafts that no named reviewer has approved yet.

Question 1 of 5

A ticket seller's website runs a script every ten minutes. The script signs in as a test customer, books a seat and checks that a confirmation page appears within three seconds.

What is this kind of check called?

What to remember

  • A log review examines records for misuse and failures, and tests the logging control: coverage, common time, protection, review and response.
  • Reviewers learn normal activity first, filter out the routine and prioritise the rest. A SIEM automates gathering and correlation but still needs people to check rules and act on alerts.
  • A synthetic transaction is an active, scripted customer run on a schedule against a live service. It finds failures before customers do.
  • Real user monitoring is passive: it records what real visitors experience, and sees nothing when nobody visits.
  • A benchmark is the yardstick for a result: a published configuration standard such as a CIS Benchmark, or a measured level of normal performance.

Say it from memory

  1. What does a log review test, and what points does it check?

    It examines logs for misuse and failures, and so tests the logging control itself. It checks that important systems send the required events and that clocks share one source such as NTP. It checks that logs are protected from change, reviewed at the set frequency, and that alerts are investigated and closed with a reason.

    Read this part again

  2. What is a synthetic transaction, how does it differ from real user monitoring, and what is a benchmark?

    A scripted action run on a schedule that uses a live service as a customer would and checks the result. It is active and finds failures before customers do, even at quiet times. Real user monitoring is passive and records only what real visitors meet. A benchmark is the reference a result is compared with: a published configuration standard or a measured normal level.

    Read this part again

  3. How does a reviewer make millions of log entries manageable, and what does a SIEM system leave for people to do?

    The reviewer reads samples regularly to build a baseline of typical activity. Software then filters out the routine types and sends the rest in two reports: entries known to matter, and entries nobody yet understands. A SIEM gathers, correlates and alerts, but someone must still check its rules match current risks and its alerts are acted on.

    Read this part again

  4. How does a configuration benchmark differ from a performance benchmark, and what does a result outside a benchmark mean?

    A configuration benchmark is a published set of recommended settings for a product, such as the CIS Benchmarks, checked setting by setting. A performance benchmark is a measured figure for normal behaviour, such as a booking completing within three seconds. A result outside the benchmark is not automatically an attack or fault; it is the trigger to find out why.

    Read this part again

Sources