Course contentsShow
← Security
Lesson 2462 of 3,05247. Vulnerability ManagementFree lesson

Virtual Patching and Temporary Mitigations

Using WAFs, IPS rules, and configuration changes to protect systems when patches cannot be applied immediately.

Virtual Patching and Temporary Mitigations

What you'll learn: How to protect vulnerable systems using alternative controls when immediate patching isn't possible.

The Challenge of Patching Gaps

Even with mature patch management processes, you'll face situations where critical patches can't be deployed immediately. Maybe the patch breaks essential business functionality, requires extensive testing, or affects systems that can't tolerate downtime during business hours. During these windows of exposure, attackers don't wait—you need protection now.

What Is Virtual Patching?

Virtual patching means placing security controls in front of vulnerable systems to block exploitation attempts without modifying the vulnerable application itself. Think of it like putting a security guard at the door when you can't yet fix a broken lock.

Primary Virtual Patching Mechanisms

Web Application Firewalls (WAFs) can block HTTP/HTTPS attacks targeting known vulnerabilities. If your web server has an unpatched SQL injection flaw, you can deploy WAF rules that detect and block SQL injection patterns before they reach the application.

Intrusion Prevention Systems (IPS) monitor network traffic for exploit signatures. They can drop packets containing exploit code targeting a specific CVE, protecting multiple systems simultaneously at the network perimeter or segment boundaries.

Configuration changes can reduce attack surface: disable vulnerable features, restrict access via firewall rules, enforce stricter authentication, or enable additional logging. If a service has an unauthenticated RCE vulnerability, you might restrict access to trusted IP ranges only.

Implementation Strategy

Virtual patches are temporary—they buy time for proper testing and deployment of vendor patches. Document every virtual patch with the CVE it addresses, implementation date, and removal plan. Monitor for bypass attempts, as attackers may find ways around your controls.

Key Takeaway: Virtual patching uses WAFs, IPS rules, and configuration hardening to protect vulnerable systems when patches can't be applied immediately—but always treat these as temporary measures until real patches are deployed.