01 / 20

Compensating
Controls

Learn how organizations protect systems when immediate patching isn't possible, using alternative security measures to reduce risk.

Cyber Security

What Is a Compensating Control?

A compensating control is an alternative security measure put in place when the primary control (such as applying a software patch) cannot be implemented immediately. It does not fix the underlying vulnerability but reduces the risk to an acceptable level until the primary fix is deployed.

Why Patching Isn't Always Immediate

Compatibility
A patch may break critical applications or legacy systems that depend on the unpatched software.
Downtime Risk
Production servers cannot always be restarted during business hours without major service disruption.
Testing Lag
Patches must be tested in a staging environment first, which can take days or weeks.

The Risk Window Explained

Vulnerability Discovered Compensating Control Applied Patch Deployed HIGH RISK REDUCED RISK RESOLVED Timeline of a Vulnerability Response Compensating controls shrink the high-risk window

The risk window is the time between discovering a vulnerability and deploying a patch. Compensating controls narrow the high-risk period to a reduced-risk state until the system is fully resolved.

The Core Principle

GOAL Reduce Risk to Acceptable Level Primary Control (e.g., Patch) ✕ Compensating Control (Alternative) ✓ Must Address Same Risk Must Be Documented Must Be Temporary

Types of Compensating Controls

Network
Firewall rules, network segmentation, or ACLs to isolate vulnerable systems from attack paths.
Monitoring
Enhanced logging, IDS/IPS signatures, and real-time alerts targeted at the known exploit vector.
Access
Restricting user permissions, adding multi-factor authentication, or disabling risky features.
Physical
Disconnecting from the internet, locking down physical access, or powering off non-essential services.

Compensating vs. Alternative vs. Mitigating

Compensating Mitigating Alternative
Purpose Replace a specific primary control temporarily Reduce severity of a general threat Permanent different approach
Duration Temporary Ongoing Permanent
Documentation Formally required Recommended Formally required
Example Firewall rule until patch Employee security training Replacing legacy app entirely

Compensating Controls in Defense in Depth

PERIMETER (Firewalls, WAF) NETWORK (Segmentation, VLANs) HOST (IDS, Endpoint Protection) APPLICATION Unpatched Vulnerability ★ Compensating controls here Defense in Depth: Layers of Security

Compensating controls strengthen the layers around a vulnerability. Even when the innermost layer (the patch) is missing, outer layers of network, host, and perimeter controls can contain the risk.

How to Implement a Compensating Control

1
Identify the vulnerability. Understand exactly what the threat is and which systems are affected.
2
Assess why patching is delayed. Document the reason: compatibility, testing, scheduling, or vendor dependency.
3
Select an appropriate control. Choose one (or more) compensating measures that address the same risk vector.
4
Document everything. Record what control is used, why, who approved it, and the expected patch timeline.
5
Monitor and review. Continuously verify the control is effective and plan for the primary fix.

Example 1: Web Server Vulnerability

Internet Attacker WAF Block Exploit Safe Web Server Unpatched Network Segmentation: Isolated VLAN IDS Monitor Scenario: Apache CVE, Patch Requires Testing

Example 2: Database Server at Risk

SQL Database Unpatched CVE Restrict Access Only 2 admin IPs Encrypt in Transit TLS enforced Enhanced Audit Logging All queries logged + alerts Three compensating controls protecting one asset

Example 3: Critical Infrastructure (Hospital IoT)

A hospital's MRI machine runs an embedded OS with a known vulnerability. The manufacturer hasn't released a patch. The machine cannot be taken offline because patients depend on it daily.

1
Network isolation: Place the MRI on a dedicated VLAN with no internet access and strict firewall rules.
2
Physical access control: Require badge access to the room and log all personnel who interact with the machine.
3
Application whitelisting: Only approved processes can run on the MRI's embedded system.
4
Vendor escalation: Document everything and pressure the vendor for a firmware update with a timeline.

Why Documentation Matters

Every compensating control must be formally documented. This is not optional: frameworks like PCI DSS, NIST, and ISO 27001 require written justification.

What to Document
The vulnerability, why patching is delayed, what control is used, and its effectiveness.
Who Approves
Management sign-off is required. The security team cannot act alone on compensating controls.
When to Review
Set a review date. Compensating controls must be re-evaluated periodically (monthly or quarterly).

PCI DSS and Compensating Controls

The Payment Card Industry Data Security Standard (PCI DSS) is one of the most well-known frameworks that formally defines compensating controls. It requires organizations to complete a Compensating Control Worksheet for each control.

1
Constraint: State why the original requirement cannot be met.
2
Objective: Define what the original control was meant to achieve.
3
Risk: Identify the risk that the compensating control must address.
4
Validation: Describe how the compensating control is tested and verified as effective.

Common Mistakes

✕ Treating It as Permanent
A compensating control that stays forever means the real fix was abandoned. Always set and enforce a deadline for the primary patch.
✕ No Documentation
Without formal records, auditors and team members won't know why a system is unpatched or what protections are in place.
✕ Wrong Risk Addressed
A compensating control must target the exact same attack vector as the patch. Blocking ICMP doesn't help a SQL injection vulnerability.

Summary of Compensating Control Properties

Property Correct Approach Incorrect Approach
Duration Temporary with a deadline Indefinite, no end date
Risk Targeting Addresses the same attack vector Addresses unrelated risks
Documentation Formal worksheet, management approved Verbal agreement or nothing
Review Cycle Monthly/quarterly re-evaluation Set and forget
Scope Layered: multiple controls Single weak measure alone

Question 1 of 5

A critical vulnerability is found on a production server, but the patch will take two weeks to test. What is the primary purpose of implementing a compensating control?

Question 2 of 5

A hospital's MRI machine has a known vulnerability but cannot be taken offline. Which of the following is the most appropriate compensating control?

Question 3 of 5

According to PCI DSS, which of the following is NOT a required element of a Compensating Control Worksheet?

Question 4 of 5

What is the biggest mistake an organization can make when using compensating controls?

Question 5 of 5

A server has an SQL injection vulnerability. The team adds a firewall rule to block ICMP traffic as a compensating control. Why is this ineffective?