Runtime security discussions still tend to center on Kubernetes, where monitoring tools can observe workloads from a persistent node even as individual pods start and stop.
Serverless containers, however, create a different challenge. Instances may appear for a brief burst of traffic and disappear as the service scales down, leaving little time to detect malicious activity or preserve evidence.
The gap is beginning to receive more direct attention from cybersecurity vendors. Wiz’s runtime threat detection for Google Cloud Run includes more than 2,000 built-in detection rules, covering a wide range of malicious activity inside serverless containers.
The release shows that serverless runtime security is moving from a theoretical concern into an active area of product development.
Wiz’s expansion into Google Cloud Run extends real-time detection beyond the persistent Kubernetes pods and virtual machines its eBPF-based Sensor was built for, using a different mechanism suited to an environment where that kind of kernel-level access isn’t available.
In this sense, Wiz Sensor reflects a wider shift toward covering ephemeral container environments with real-time detection, even where there’s no long-running host to observe.
Why Serverless Containers Break the Old Runtime Security Model
Serverless container platforms enable teams to deploy applications without managing hosts or cluster nodes. In this model, the cloud provider handles provisioning, scheduling, and scaling.
Solutions like Azure Container Apps, AWS Fargate, Render and Google Cloud Run, for example, automatically create and remove instances according to demand.
A service can scale down to zero when it has no traffic unless a minimum number of instances is configured. Its writable container file system is also disposable, with local changes lost when an instance stops.
These properties suit APIs and event-driven services, but as a security tradeoff, they reduce the time available for monitoring. Traditional endpoint agents were designed for durable machines.
Container runtime tools also often rely on a stable Kubernetes node while individual pods come and go.
This is a real limitation for some of the best-known tools in this space. For example, Falco and Cilium’s Tetragon, both widely used for eBPF-based runtime detection, are built around a persistent host or Kubernetes node to run their instrumentation.
Neither was designed to attach to a container that exists for only a few seconds on infrastructure the customer doesn’t manage directly.
This is, of course, a structural limit of eBPF itself, as the technique requires kernel-level access to a host, and managed serverless platforms don’t give customers that access.
Any runtime approach built around eBPF, including Wiz Sensor on Kubernetes and VMs, runs into the same wall once the host disappears.
A serverless instance may live long enough to process only a few requests. Detection must begin as the workload starts, observe relevant activity while it runs, and retain the evidence after the instance disappears.
What Changes When There’s No Persistent Host to Monitor
Kubernetes gives security teams a persistent layer from which to observe changing workloads. A node-level sensor can continue collecting process, file, network, and system-call activity as pods move through their lifecycles.
Serverless containers remove that observation point. Customers do not manage the underlying Cloud Run host, and individual instances do not have durable identities that analysts can revisit later.
A reverse shell detected inside a short-lived container is useful, but responders still need to know which service revision and image were involved, what permissions were available, and what data or resources it could reach.
That context needs to survive the container. Otherwise, investigators are left with isolated events tied to an instance that no longer exists.
Effective monitoring must capture activity immediately, connect it with the wider cloud environment, and retain the record independently of the workload.
The value of catching the issue in real time isn’t necessarily relegated to stopping that specific instance, since in many cases it’s already gone by the time a human sees the alert.
The important thing is knowing what that instance’s credentials and data access could have exposed before it disappeared, and fixing the underlying image before the next thousand instances launch with the same flaw.
The same problematic image will be redeployed with every new instance, so a vulnerability exploited once will keep coming back until the image itself is fixed.
How Detection Rules Adapt to Ephemeral Workloads
Short-lived containers are difficult for scanning systems that depend on tracking data over a lengthy learning period.
An instance operating for seconds or minutes may never remain active long enough to establish a meaningful behavioral baseline.
Prebuilt rules provide an immediate starting point.
The system can check processes, command lines, files, and network activity against established threat logic.
Wiz’s Google Cloud Run capability includes thousands of built-in rules. Examples include binaries absent from the original image, reverse-shell activity, malicious domain lookups, suspicious command-line arguments, and files associated with cryptomining.
Customers can also add rules for application-specific behavior.
The built-in library allows detection to begin as soon as the workload runs. A new container does not need to remain active for days before common attack patterns can be recognized.
Individual events still need to be connected. A cryptomining incident might involve a downloaded file, an unfamiliar process, a DNS request to a mining pool, and unusual command-line activity.
Wiz correlates related detections over a time window and enriches them through its Security Graph with details such as the affected revision’s permissions, accessible data, and other cloud resources at risk.
That record survives even after the original instance is gone. Response capability at that point varies by vendor and configuration, as some platforms can trigger an automated workflow or alert a response team, while others require a human decision before any action is taken on a live workload.
Either way, the value of the detection depends on how much context arrives with it, since a bare alert forces a responder to reconstruct what happened after the fact, while a detection tied to the workload’s permissions and data access lets them act with that picture already in hand.
Where This Fits Alongside Kubernetes and VM Runtime Coverage
Serverless detection is one part of broader runtime coverage. Kubernetes workloads, virtual machines, and serverless containers all require visibility into executing code and its behavior, although their infrastructure models call for different collection methods.
For Linux hosts, virtual machines, and Kubernetes environments, eBPF sensors can observe activity close to the kernel, including process execution, system calls, file activity, and network connections.
The Wiz Runtime Sensor uses an eBPF-based model for kernel-level visibility on Linux hosts, virtual machines, and Kubernetes, the environments where that kind of access is available.
On managed serverless platforms like Cloud Run, Wiz relies on the cloud-native, log-based detection described earlier instead, since eBPF isn’t an option there.
This places Wiz’s eBPF-based Sensor within the technical discussion around kernel-level cloud runtime monitoring, alongside tools like Falco and Tetragon.
Wiz’s runtime coverage, however, operates in tandem with the platform’s agentless scanning layer, which scans cloud environments for misconfigurations, exposed data, and vulnerabilities without installing anything on the workload itself.
Whether through the Sensor or its serverless detection, Wiz connects execution signals from runtime with that existing configuration, identity, vulnerability, and exposure data, so a detection arrives already tied to what the affected workload can access.
Other vendors are addressing this same gap. AWS GuardDuty Runtime Monitoring, for example, supports Amazon ECS workloads on Fargate through a managed security-agent sidecar attached to new tasks, a different implementation than Wiz’s, but built around the same constraint.
The methods differ, but the objective is similar: detect malicious execution and connect it with the affected workload and cloud resources.
What Security Teams Should Ask Vendors About Serverless Runtime Coverage
How much time passes between an instance starting and monitoring actually capturing its activity? A serverless container may process requests immediately after startup, so detection that begins several seconds later can miss the activity entirely, and by the time a response team sees the alert, the instance itself is often already gone.
Stopping that specific instance matters less than capturing enough of what happened before it disappears, since that’s what prevents the same exploit from succeeding on the next instance.
Ask whether monitoring starts with the instance and how long it takes for an event to produce an alert.
Do detections work immediately, or do they require a learning period? Ephemeral workloads may not remain active long enough to establish a reliable baseline. Vendors should explain which threats are covered by built-in rules, how behavioral detections are created, and whether custom rules are required for meaningful protection.
What evidence remains after the container stops? Process activity, command-line arguments, files, system calls, and network connections should remain available after an instance scales down. The evidence should also stay linked to the relevant service revision, image, identity, permissions, and accessible data.
Is serverless coverage comparable with Kubernetes and VM protection? The telemetry will differ because the underlying infrastructure is managed differently. Security teams should still expect enough context to understand what happened, assess the potential impact, and investigate related cloud resources.
What response actions can run before the workload disappears? Automated process termination, blocking, or workflow activation may be necessary when the opportunity for manual containment is brief.
Runtime security is only as complete as its least-covered workload. As more production applications move into serverless containers, ephemeral infrastructure needs to be included in the same detection and response strategy used for Kubernetes and virtual machines.