Blog / Risk Management

A Log Is Not a Control: Place the Function, Not the Software

A log records that something happened. A detection rule decides that a particular risk event happened, and someone acts on that decision. Only the rule can be measured against the event it watches. A product is a bundle of such functions, each of which belongs to a different event, so a control register that lists products is really a software inventory.

BK
Bernhard Kreinz
• • ~12 min read • TLCTC v2.7

Here is a line from a real kind of control register, anonymised:

ControlDescriptionOwnerEvidence
C-17Insider threat monitoring: user-activity-monitoring tool deployed on all privileged workstations, activity logs retainedIT SecurityAgent coverage report, 97 %

The auditor asks for the coverage report, receives it and marks the control effective. Nobody in the room asks the two questions that decide whether C-17 is a control at all. Which risk event does it act on? How would anyone know that it failed?

This post argues three things. A log is not a control: it is what detection controls read. Detection is the control, and a detection rule is always specific to a risk event, because only an event has a Δt to measure detection against. A product is not a control either, because one product carries several functions, and each function belongs to a different event. The practical rule for control owners and auditors follows from these: don’t map the software; take each function you have in mind and attach it to the risk event you want to manage. At the end we correct our own CIS Controls mapping, which made exactly this mistake.

What makes something a control

ISO 31000 defines a control as a “measure that maintains and/or modifies risk”.[1] That definition is only as precise as the word risk. A risk you can manage is a named event with causes on one side and consequences on the other. TLCTC names those events: a System Risk Event (SRE) when a cluster step succeeds, a Data Risk Event (DRE) when data loses a property, and a Business Risk Event (BRE) when a process or a duty is hit. Every event is the centre of its own bow-tie, with the six control functions around it.[2] A control is therefore a measure with three properties:

The control test
  • Object. Which risk event does it act on? A cluster step and its SRE, a DRE code, or a business event or duty.
  • Objective. What does it do to that event? Govern, identify, protect, detect, respond or recover.
  • Measure. How do you know it works, and against what? A KCI with a target derived from the event.[3]

If any of the three is missing, you have a capability, a tool or an input, but not a control. You can only report its existence. You cannot report its effectiveness.

A log fails the test; a detection rule passes it

A log records that something happened: a logon, a process start, a query, a file read. It decides nothing. Detection is a decision: an event of this kind has just happened, together with a route to someone who acts on it. A detection that nobody acts on is observation, not control. The difference shows in all three parts of the test.

  • Object. A Windows security log serves every cluster and names none of them. A rule that fires when a service account logs on interactively names one event: use of a credential by someone it was not issued to, #4.
  • Objective. The log has none of its own. The rule has one: detect that #4 step.
  • Measure. This is the decisive part. A detection objective is measured against the event’s velocity. TLCTC’s Detection Coverage Score is DCSd = TTDP90 / Δt, the 90th-percentile time to detect divided by the time to the next step, defined for Δt > 0. Below 1 the rule sees the step before the attacker moves on; above 1 it is reading history.[4] Δt belongs to an edge between two named events. A log source has no edge, so it has no Δt and no DCS. That is why detection must be specific. Specificity is what makes it measurable.

A few rules, written so that the test can be read off each line:

Detection ruleRisk event it detectsTypical Δt to the next stepWho acts
Session token replayed from a second network within its lifetime#4 credential use (SRE)minutes (VC-3)SOC
Office application spawns a script interpreter#7 foreign executable content runningseconds to minutes (VC-4/VC-3)SOC, automated isolation
Web server process starts a shell#7 after a #2 step (web shell)minutes (VC-3)SOC
Privileged function used outside the actor’s documented grant#1 abuse of a designed functionminutes to hoursSOC
Entitled user exports far above their task baselineAbuse of Rights → [DRE: C] (no cluster)often days to months (VC-1)line management, compliance

Each row reads one or more log sources, and the log sources overlap heavily. The rows still differ in everything that matters for control: the event, the Δt, the time-to-detect target and the responder. Count the controls by the rules, not by the log sources.

This does not make logs unimportant. A rule cannot see what was never logged, so log coverage, completeness, retention, integrity and time sync set a ceiling on every rule that reads them. For an auditor, the consequence is about where to test, not whether. Test the log under the rule, not next to it: its completeness is part of the detection control’s design effectiveness, and a gap in it is a deficiency of every rule that depends on it. A coverage percentage shows that the input exists. It shows nothing about detection.

NIST CSF 2.0 already draws the line in the same place. Log generation is a PROTECT outcome under platform security: PR.PS-04, “Log records are generated and made available for continuous monitoring”. Monitoring and analysis sit in DETECT (DE.CM, DE.AE).[5] The CIS Controls, by contrast, file most of Control 8 (audit log management) under DETECT.

Software is not a control either

Back to C-17. A user-activity-monitoring tool records sessions, captures commands and keystrokes, raises alerts on policies, can block actions and can show the user a warning before a risky one. That is at least five functions, and each one lands on a different object or objective in the control test:

Function of the toolWhat it isWhere it belongs
Session and command recordingInputUnder the rules that read it; tested as part of their design
Alert policiesDetection rulesDETECT, one row per risk event the policy names
Blocking a command or a file transferPreventionPROTECT, on the step it denies (for example #1 for misuse of a designed admin function)
Warning before a risky actionPrevention on the operational sidePROTECT against Error in Use and Abuse of Rights; no cluster
Session replay after an incidentResponseRESPOND at the DRE: establishes which data was touched

It gets sharper. Take only the recording-plus-alerting part, the core of what such tools are bought for. TLCTC’s cause-side partition asks three questions in order: is there an actor, did they intend the action, and did an accountable grantor confer an entitlement covering this action?[6] The same recorded session can be any of four risk events:

What the recorded session showsRisk eventRegisterWho actsΔt profile
An outside actor working with a stolen login#4 → #1cyber (attack)SOCminutes to hours
An employee acting outside their grant#1cyber (attack): insiders are not exemptSOCvaries
An employee acting within their grant, with bad intentAbuse of Rights: no cluster, no SRE, the chain starts at the DREoperational riskthe grantor: line management, HR, complianceoften VC-1
An employee making a mistakeError in Useoperational riskprocess ownernone to detect against

That is one product and four events, in two registers, with different responders. Each detection objective needs its own rules and its own time target. The VC-1 row is the instructive one. The Adoboli case ran for months, the most generous detection window the framework recognises, and was still missed.[7] If the register says “UAM tool deployed”, it says none of this. It may even hide that nobody wrote the rules for row three.

The pattern generalises to every security product:

  • EDR = telemetry (input), behaviour rules (detect #7), exploit mitigation (protect: #3 on a workstation, #2 on a server, by role), host isolation (respond) and file rollback (recover, at [DRE: Av]/[DRE: Ac]).
  • SIEM = a platform. The correlation rules running on it are the controls, each placed on the event it detects. Our Sigma mapping does exactly this for community rules.[8]
  • DLP has no controls in the cluster matrix at all. It acts at the Data Risk Event: preventing or detecting [DRE: C] after a system has already been compromised, or after an entitled user decided to take the data.
  • An identity provider = MFA enforcement (protect #4 at the point of use), risky sign-in rules (detect #4), session revocation (respond), and its own audit log (input).

A product can implement many controls, and one control can rely on several products. The relation is many-to-many. That is why the product belongs in an asset or capability inventory, linked to the controls it implements or feeds, and not in the control register itself.

Where a log is the control: duties

So far all of this is on the cause side and the data layer. There is one place where keeping a log is itself the control, and it sits further up the chain, at the duty.

Some norms require records directly. PCI DSS requires audit logs to be kept for at least twelve months, with the latest three immediately available.[9] The NIS2 implementing regulation for digital infrastructure and service providers has a section of its own on monitoring and logging.[10] These are illustrative examples; the legal texts govern. Whether a norm applies is set by the business model: you are in PCI scope because you process card payments, and in NIS2 scope because of your sector and size. The duty attaches by a normative edge, which carries no Δt.[11]

Run the control test again on “retain audit logs for twelve months”:

  • Object: the duty to keep records, and the compliance risk event that follows if it is violated.
  • Objective: protect against that violation.
  • Measure: retention coverage and integrity across the in-scope systems, against the period the norm sets.

All three are present. The log passes the test, but as a control on an obligation, not on an attack. Keep the two apart in the register. The same retention setting can be fully effective against the duty while the detection controls above it fail completely. Compliance with the logging norm says nothing about whether anyone would have seen the #4 step in time.

Logs also matter after a Data Risk Event, and the same distinction applies there. Scoping which records an intruder or an entitled user actually read is a RESPOND activity at the [DRE: C]. Its result decides which notification duties arise: GDPR at the DRE, NIS2 already at the SRE.[11] The control is the scoping procedure, with an owner and a time target; the log is what it reads. Without access records you usually cannot show that data was not read, so the scope you report grows to everything the account could reach. That is a good argument for logging, provided it is written down as a property of the response control, not as a control of its own.

For control owners and auditors: rewrite the row

Here is C-17 again, rewritten so that every row passes the control test:

ControlEventFunctionOwnerMeasure (KCI)Reads / uses
Detect a privileged session whose behaviour does not match its owner#4DESOC leadTTDP90 ≤ 15 min (VC-3); fires on the quarterly replay testsession records, IdP log
Detect privileged functions used outside the documented grant#1DESOC leadTTDP90 against the target Δt; grant register currentsession records, entitlement register
Block high-risk commands in production sessions#1PRplatform ownerpolicy coverage of production hosts; bypass ratesession agent
Detect bulk export by entitled users above the task baselineAbuse of Rights → [DRE: C]DEhead of the business line (grantor)weekly review completed; time from export to reviewsession records, data-access log
Scope data touched after an incident[DRE: C]RSincident leadscope established within the notification timelinesession replay, access logs
Retain session and audit records as requiredrecords duty (BRE, normative)PRcomplianceretention coverage and integrity of in-scope systemslog store

The tool still appears, in the last column, which is where it belongs. The register now shows which events it covers and with what target. It also shows what is missing: in this example nothing detects #4 on non-privileged sessions, and nobody owns Error in Use. The coverage report, the only evidence the old row had, is now just the input KCI for the column on the right.

Five checks for the next review
  • Name the event in every row. A cluster, a DRE code, or a business event or duty. If a row names a product, split it into the functions you rely on.
  • One row per event and function. The same rule may serve two events, but it then gets two objectives and two targets.
  • Every detection row has a Δt and a responder. Without a Δt there is no target; without a responder there is no control.
  • Test the rule, not the switch. Evidence that logging is on proves an input. Evidence that the rule fired on a test case and that someone acted within the target time proves a control.
  • Keep duty controls separate. “Logs retained as required” can be fully effective while detection fails. Report the two in separate rows.

A correction to our own CIS mapping

Our CIS Controls v8.1.2 → TLCTC mapping made this mistake.[12] The October rebuild placed audit logging, log collection, DNS, URL and flow logging and the SIEM platform as Umbrella DETECT controls in every cluster row. It placed command-line logging (8.8) on #1/#7 and service-provider log collection (8.12) on #10. A Control Matrix built from that starter showed “audit logging switched on” as a detection control for #4, the same kind of line as C-17.

As of today the mapping says what this post says:

  • Thirteen Safeguards are now marked enabler: "detection": 8.2–8.10, 8.12, 13.1 (the SIEM platform), 13.6, and 3.14 on the data layer. They are placed in no cell of either matrix. The Control Matrix and DRE Matrix starters list them separately in an enabling register, to be linked to the rules that read them. An informational feeds field says which rows those rules typically serve (8.8 → #1, #7).
  • The detection controls stay where they were: 8.11 log review (#1, #4, #7), 13.2 and 13.3 intrusion detection, 10.7 behaviour-based anti-malware. Alert tuning (13.11) acts on the rules, so it sits on the rows that have them.
  • Three detection-response placements that were really inputs (8.8 on #1/#7, 8.12 on #10) leave the cluster matrix. At the data layer the finding becomes stark: CIS contains no detection control for a Data Risk Event. 3.14 logs access to sensitive data, but no Safeguard asks for the rule that reads it.
  • 8.10 (log retention) now notes that it is also the control on a records duty where a norm requires one, at the normative BRE, outside both matrices.

The CIS security function is still recorded as a fact. CIS calls these Safeguards DETECT; TLCTC counts them as inputs to DETECT. Our NIST CSF mapping needed only a sharper rationale, since CSF already files log generation under PROTECT.

The same test for “umbrella” controls

The review did not stop at logs. The mapping had used “Umbrella” to mean every row: 35 Safeguards sat in all ten rows of their column, so a host firewall appeared as a PROTECT control for #9. The application paper defines an umbrella control by its reach (enterprise-wide, shared), not by its rows. Every one of the 35 now passes the control test or leaves the matrix:

  • Inventories are bound to threat identification. An inventory entry must carry the attribute that lets a cluster be identified: server role yes/no and client role yes/no (#2/#3), executes foreign code by design (#7), physical location and interfaces (#8), update channel and publisher (#10), authentication method (#4), what the grant covers (#1, the register the Abuse-of-Rights test needs). Each attribute is its own IDENTIFY control, measured by the share of entries that carry it.
  • Firewalls, segmentation, training, root-cause analysis and pen-test follow-up name the rows they act on, each with a row-specific objective; host firewalls, for example, sit on #1, #2 and #4.
  • Only the GOVERN band and threat modelling stay in every row. Response capability (incident lead, roles, channels, exercises) joins the logs as an enabler: the response controls are the per-event containment playbooks, each with a time-to-contain target against Δt.

Place the function, not the software

A control register is a list of decisions about risk events. Logs, platforms and products are what those decisions run on. Put them in the register and it looks complete, but it cannot tell you whether anything works, because nothing in it has an event to be measured against. Put the functions there, each one attached to the event it manages, and every row has a Δt, a target and an owner. Then the gaps become visible.

A log is what detection reads. A detection rule is a control, and it is specific to the risk event it detects. Don’t map the software: take the function you have in mind and attach it to the risk event you want to manage.

Sources

  1. [1] ISO 31000:2018, Risk management — Guidelines, 3.8 (control) and 3.5 (event).
  2. [2] The Cyber Bow-Tie (TLCTC blog); glossary: System Risk Event, Data Risk Event, Business Risk Event.
  3. [3] Glossary: KCI (Key Control Indicator); TLCTC Control Matrix: ten clusters × six functions.
  4. [4] TLCTC v2.7 core paper, §7.2 Velocity (Δt): Δt as an edge property, velocity classes VC-1 to VC-4, DCSd = TTDP90/Δt; glossary: Detection Coverage Score.
  5. [5] NIST, The NIST Cybersecurity Framework (CSF) 2.0, CSWP 29, February 2024: PR.PS-04, DE.CM-03 (“Personnel activity and technology usage are monitored to find potentially adverse events”), DE.AE-03. TLCTC mapping: NIST CSF 2.0 and TLCTC.
  6. [6] Glossary: Cause-side partition, R-SCOPE (Entitlement Scope Boundary), Abuse of Rights, Error in Use.
  7. [7] The Adoboli Paradox: Why a $2.3 Billion Loss Was Not a Cyber Attack (TLCTC blog).
  8. [8] Sigma and the TLCTC — a coverage map for the detections you already run (TLCTC blog).
  9. [9] PCI Security Standards Council, PCI DSS v4.0.1, Requirement 10 (log and monitor all access), 10.5.1 (audit log retention). Illustrative; the standard governs.
  10. [10] Commission Implementing Regulation (EU) 2024/2690 of 17 October 2024 (NIS2 technical and methodological requirements), Annex, point 3.2 “Monitoring and logging”. Illustrative; the legal text governs.
  11. [11] Propagated Controls: Managing Controls Over Event Chains (TLCTC blog): causal vs normative edges, trigger map NIS2 at the SRE, GDPR at the DRE; glossary: Normative Edge.
  12. [12] CIS Controls v8.1.2 → TLCTC mapping (README, section “Logs are detection inputs, not controls”); CIS Controls v8.1 mapping page. CIS Controls® © Center for Internet Security, CC BY-NC-ND 4.0; the mapping holds ids and TLCTC wording only.

TLCTC Framework · v2.7 · CC BY 4.0