Runtime virtual patching applies a security policy to running software to block a covered exploitation path without changing the vulnerable application or library code.
Raven implements runtime virtual patching through library call-chain enforcement. It connects a vulnerable function to the chain of libraries that leads to a dangerous action, then applies a policy that denies that action in the defined context. The protection operates while the application runs, including when the vulnerable component is an open-source dependency or a supported library inside third-party software.
Once Raven's host-level sensor is deployed in a supported environment, protection policies can be applied without changing source code, rebuilding or redeploying the application, or injecting code into its processes. Security teams can protect existing workloads while engineering teams prepare a permanent software fix.
How Raven creates a runtime virtual patch
A runtime virtual patch starts with understanding how a vulnerability can produce a dangerous action. For a known CVE, or a security fix published before a CVE is assigned, Raven's process connects vulnerability research with actual execution evidence.
- Locate the vulnerable function. Analyze the affected component and the conditions that make the code vulnerable.
- Map the library call chain. Identify the chain connecting that function, through other libraries, to a protected action. The context includes the libraries involved and their relationships along the execution path.
- Validate the proposed restriction. Analyze source code and cross-check runtime history to understand whether the library and path also perform the action legitimately.
- Apply a focused Deny policy. Create a runtime enforcement rule, called an Application Detection and Response (ADR) Deny signature, for that chain and action. Raven enforces that policy when execution reaches the protected operation.
Consider an illustrative case in which an application framework calls a vulnerable parser, which reaches a system library to launch a process. Raven can restrict process creation through that particular library chain. The parser can continue handling permitted work, and other legitimate paths can retain permission to launch processes.
The same principle applies to supported network and file-access controls. The scope of a particular virtual patch is defined by its covered chain, protected action, and supported environment. That context lets the policy stay focused, and static analysis plus runtime validation reduce the risk of blocking legitimate activity.
How the policy handles new payload variants
An attacker may change a payload's encoding, structure, or obfuscation while still reaching the same vulnerable function and forbidden execution chain.
When that happens, the existing runtime policy continues to apply. Raven does not need to recognize the new payload's appearance to deny the operation. By the time execution reaches the enforcement point, the application has already performed the relevant parsing and interpretation of the input.
This matters as attackers use AI to explore variations. A growing number of input representations does not necessarily require a corresponding number of runtime policies when those representations converge on the same covered chain. An alternative execution path requires its own coverage assessment.
WAF virtual patching vs. runtime enforcement
Traditional software patching changes or upgrades vulnerable code. Traditional virtual patching through a web application firewall adds a rule to filter requests that could exploit it. The vulnerable code remains in place while the WAF provides a separate enforcement layer, as described in OWASP's virtual patching guidance.
WAF rules can cover broad attack classes and normalize many encodings. They do not necessarily need a separate rule for every payload. Their effectiveness still depends on the traffic and content they inspect, the conditions their rules express, and how closely that inspection matches the application's interpretation of the input.
Raven's runtime virtual patching makes the decision at a different point: the protected action and the library chain that leads to it.
Virtual patching for third-party and open-source libraries
Applications depend on frameworks, open-source packages, and libraries embedded in third-party products. A security team may know that a dependency is vulnerable while having little control over when its vendor releases an update or when the application owner can deploy it.
Runtime virtual patching provides an enforcement option for supported components in the software already running. Your team does not need to own or edit the library's source code to apply the protection. An open-source parser embedded in a commercial application, for example, can be analyzed and protected without rebuilding that application.
Research into a shared library can also be reused across environments where the relevant version, chain, and enforcement conditions match. You don't need to own the code to protect it. You need supported execution visibility and a validated policy.
The limits of adding more WAF rules
AI can accelerate rule creation. Applying those rules still consumes inspection capacity and requires validation and maintenance.
AWS, for example, measures WAF rule requirements in Web ACL capacity units, or WCUs. Its documentation sets a maximum of 5,000 WCUs per web ACL and explains that more complex rules consume more processing resources. AWS's capacity model also accounts for optimizations that share work between rules. WCU usage is a capacity measure, not a direct measurement of latency.
Handling evasive representations has a cost too. AWS supports decoding and normalization transformations, including URL and Base64 decoding; each text transformation adds 10 WCUs to the rule's capacity calculation.
The practical challenge is maintaining accurate coverage within an inspection budget. Broader rules can also affect legitimate traffic, while narrow rules can miss alternate forms of an attack. Runtime enforcement offers a different way to group those variations: by the covered execution chain and action they produce.
Virtual patching beyond HTTP: messages, files, and jobs
Applications also consume messages, read stored files, and process data in background jobs. Adding rules to a web ingress point does not extend inspection to a separate messaging connection or a file read from storage.
Apache ActiveMQ's CVE-2023-46604 illustrates the distinction. Apache describes a remote code execution vulnerability triggered by manipulated OpenWire commands sent to a Java client or broker. The documented exploit later retrieves configuration over HTTP, but its initial trigger is the messaging protocol.
A runtime enforcement policy does not require the original input to arrive as a web request. It can apply when a covered chain attempts the protected action, whether the data came from an API, a message, or a file. A different input route can also produce a different chain, so coverage must follow the execution paths actually supported and protected.
Protect running software while remediation proceeds
Runtime virtual patching helps security teams apply protection to software they are still operating, including dependencies they cannot immediately upgrade. Full library call-chain context lets the policy focus on the path that leads to the protected action while preserving permitted uses of the same components.
The vulnerable code still needs a permanent fix. Virtual patching provides a way to reduce exposure while that work proceeds, and its coverage should be reviewed when libraries, execution paths, or deployment conditions change.
Raven brings this approach into Runtime Code Security.
Book a Raven demo and we'll walk through a known vulnerability on your workloads: the original exploit, a changed payload, and legitimate application behavior, all under the same policy and with no code changes or redeploy.

