Lesson 2 of 3 Security Controls

Functional Control Types

Controls are also classified by what they do in relation to an incident. This lesson explains deterrent, preventive, detective, corrective and compensating controls, how to classify a control and how controls are documented and maintained.

Learning outcomes

After completing this lesson, you will be able to:

  • Classify controls as deterrent, preventive, detective, corrective or compensating.
  • Explain why detective and corrective controls complement prevention.
  • Describe when a compensating control is appropriate and how it is documented.
  • Explain how functional controls are documented and maintained.

Classifying by function

A control's function describes its role relative to an incident: discouraging it, stopping it, discovering it, fixing its effects or substituting for another control. The function is independent of the category: a camera (physical) and a login banner (technical) can both deter. Classifying controls by function shows whether an organisation relies too heavily on one kind, for example investing only in prevention and having no way to detect when prevention fails.

The following diagram classifies four controls introduced after a laptop theft by their function.

Four controls after a laptop theft, classified by what each does in relation to the incident. Restoring the files is corrective, the monitoring banner is deterrent, full disk encryption is preventive because it stops disclosure from a stolen laptop, and alerts for devices that have not checked in for 30 days are detective.
The scenario is illustrative.

Deterrent and preventive controls

Deterrent controls discourage an attacker from trying. They work on the attacker's decision: visible cameras, guards, warning signs, lighting, login banners that state that activity is monitored and unauthorised use will be prosecuted, and published disciplinary policies. Deterrents do not stop a determined attacker. Login banners also have a legal role, because they show that users were warned.

Preventive controls stop an incident from occurring. Examples are locks, firewalls that block traffic, authentication and MFA, encryption, access control lists, separation of duties, input validation and security awareness training. Prevention is preferred because it avoids damage altogether, but no preventive control is perfect, so organisations plan for failure.

Sort into groups

Which function?

Exam skills 1.4.1 · 1.4.2 · 1.4.3 · 1.4.4

Classify each control by its function.

Log in to try this activity Interactive activities are free with an account.

Detective and corrective controls

Detective controls identify an incident while it is happening or afterwards: intrusion detection systems, log monitoring and SIEM alerts, file integrity monitoring, motion sensors and alarms, CCTV that is watched or reviewed, audits and reconciliations, and job rotation, which can reveal fraud. Detection is valuable only if someone responds, so detective controls feed a monitoring and incident response process.

Corrective controls limit damage and restore normal operation after an incident: restoring files from backup, reimaging an infected computer, quarantining malware, applying a patch to close an exploited vulnerability, and changing a firewall rule after an attack. Some frameworks separate recovery controls, such as alternate sites, that restore operations after a major disruption. A good corrective action addresses the root cause so the incident does not recur.

Compensating controls

A compensating control is an alternative used when the primary or required control is not feasible for legitimate technical or business reasons, and it meets the intent of the original requirement. For example, an industrial controller that cannot run endpoint protection or be patched might be isolated on its own segment, reachable only from one jump host, with strict monitoring of its traffic.

Compensating controls must be documented with the reason the primary control cannot be used, the risk analysis showing that the alternative provides comparable protection, the owner and a review date. PCI DSS, for example, accepts compensating controls only with this documentation and validation. The following table summarises the five functions.

FunctionRoleExamples
DeterrentDiscourage an attemptWarning banner, visible camera, guard
PreventiveStop the incidentLock, firewall rule, MFA, encryption
DetectiveDiscover the incidentIDS, SIEM alert, audit, motion sensor
CorrectiveLimit damage and restoreRestore from backup, reimage, patch
CompensatingSubstitute for an infeasible controlIsolation and monitoring for an unpatchable system
Scenario questions

Compensating controls

Exam skills 1.4.5

Choose compensating controls when the primary control cannot be used.

Log in to try this activity Interactive activities are free with an account.

Documenting and maintaining controls

The outline objective is to document and maintain functional controls. Documentation records each control's purpose, the risk it addresses, its owner, how it is configured, how it is tested and evidence that it operates. Maintenance keeps controls effective as systems change: updating signatures and rules, re-testing after changes, reviewing exceptions and retiring controls that no longer serve a purpose. A control that is not maintained decays, for example an IDS whose signatures have not been updated for a year.

Worked example

Classify by function

After a laptop was stolen, a company (1) restores the employee's files from backup, (2) adds a login banner warning that devices are monitored, (3) enables full disk encryption, and (4) turns on alerts for devices that have not checked in for 30 days. Classify each by function.

Restoring files is corrective. The login banner is deterrent. Full disk encryption is preventive: it prevents disclosure if a laptop is stolen. The check-in alert is detective. Classify by what the control does in relation to the incident.

Worked example

When a compensating control fits

A standard requires MFA for all remote administrative access. A legacy storage appliance's management interface does not support MFA, and the vendor offers no upgrade before next year. What should the practitioner propose?

A compensating control: allow management access to the appliance only from a hardened jump host that itself requires MFA, restrict the interface with an ACL to that host, record and review sessions, and document the exception with an owner and an end date tied to the replacement plan. This meets the intent, that remote administrative access requires strong authentication, through other means.

Check yourself

A file integrity monitor alerts when a system binary changes. What is its function?

Show answer

Detective: it discovers that a change, possibly malicious, has already occurred; it does not prevent it.

Exam Tips

Remember for the exam

  • Classify a control by its role at the moment of the incident.
  • Compensating controls need documented justification, risk analysis and review.
  • Detective controls are useful only with a response process.