Cloud malware detection: how agentless scanning and deception work together
An attacker holding a leaked access key does not need to break anything. They list storage buckets, read environment variables from a running container, and drop a miner or web shell into a workload that autoscaling will copy for them. An agentless scan of the next disk snapshot may find the file. Whether it ran, who placed it, and what else that key touched are separate questions. Detecting malware in the cloud means answering all of them: file inspection, runtime evidence, identity context, and, increasingly, interaction with decoy workloads that no legitimate process should use.
At a glance
- Layers, not a single tool: Agentless scanning finds suspicious files; runtime monitoring shows execution; identity logs show who acted; deception shows intent.
- A file is not a compromise: A flagged file in a snapshot is a lead until execution or access is corroborated.
- Decoy workloads add a different signal: A decoy bucket, database, or pod has no business use, so any touch is high-confidence.
- Plan coverage per account: Map which workloads each layer covers and where none does.
- Proof point: In the U.S. Navy ANTX FY25 exercise, Acalvio deception produced 100% true positive alerts and denied 80% of attacker objectives, against automated, credential-driven techniques in the exercise.
What cloud malware detection covers
Cloud malware detection is the practice of finding malicious code in cloud workloads, storage, and pipelines, then establishing whether it executed and what it reached. It spans four kinds of evidence. File inspection examines disk snapshots, images, and objects in storage without installing an agent. Runtime evidence records processes, network connections, and system calls on a live workload. Identity and control-plane logs show which principal created, modified, or accessed a resource. Investigation ties these together into a decision.
Each piece establishes something different. A suspicious file proves presence, not execution. A process event proves execution on that host, not how the file arrived. A control-plane record proves an action by a principal, not intent. Treat each as a partial answer and plan for the gaps between them, especially in ephemeral workloads that may disappear before anyone looks. The MITRE ATT&CK cloud matrix is a useful checklist of the techniques each layer should be able to evidence.
Agentless scanning, runtime detection, and deception compared
The three approaches see different things, so the practical question is how they combine. The table gives each layer its genuine strength and its dependency.
| Layer | What it sees | Strength | Dependency or limit |
|---|---|---|---|
| Agentless scanning | Files in snapshots, images, and storage objects | Broad coverage with no agent to deploy | Point-in-time; does not show execution |
| Runtime monitoring | Processes, connections, and system calls | Shows what actually ran | Needs a sensor or supported service on each workload |
| Cloud and identity logs | API calls, key use, role assumption | Attributes actions to principals | Volume is high and authorized activity can still be hostile |
| Deception (decoy workloads, honeytokens) | Interaction with assets no legitimate process needs | High-confidence signal of intent | Signal quality depends on credible placement and automation at scale |
Deception does not scan files and is not a substitute for malware scanning. It answers the question scanning cannot: is someone in this account acting on what they found?
Design complementary cloud malware coverage
Coverage design is a mapping exercise with an owner at each step. The sequence below is a proposed method, not a published standard.
- Inventory workloads by account, region, and type, including containers, serverless functions, and data stores. Owner: cloud platform team.
- Define the objective for each workload class: prevent, detect, or investigate.
- Map scanning and runtime coverage, and record where neither reaches.
- Assess identity context: which keys and roles can reach each workload, and whether their use is logged.
- Place decoy workloads and honeytokens where an intruder would look next: configuration files, environment variables, and registries.
- Validate with authorized test scenarios and record which layer produced evidence. Stop if a test touches production data.
- Assign a response owner for each alert type, and document every gap that remains.
A decoy-workload architecture for cloud malware
A decoy workload works because it mirrors the application an attacker expects to find. Modern applications span hybrid cloud, follow a microservices design, and rely on native services such as object storage and managed databases, so a credible decoy is a tiered stack: a front end, a message bus, a database, and back-end services, placed so they never conflict with production.
Acalvio ShadowPlex Cloud Security, part of the ShadowPlex Preemptive Cybersecurity Platform, recommends a decoy rollout from a production workload blueprint. It can place decoy virtual machine instances, storage buckets, SQL databases, and Kubernetes pods and services, in an existing namespace or a dedicated one, then add breadcrumbs as environment variables, registry references, and configmaps that point an intruder toward the decoys. The approach builds on our earlier work on deceiving attackers in Kubernetes environments.
Automation matters here more than anywhere. Cloud estates change by the hour, and hand-built honeypots go stale and fail at machine speed. 360 Deception applies decoys and honeytokens across reconnaissance, credential abuse, and lateral movement to detect, divert, and degrade an attack, and it runs alongside SIEM, EDR, IAM, PAM, MFA, XDR, and cloud-native controls rather than replacing them.
Cloud malware evidence worksheet
Use this worksheet to decide what each observation proves. It is illustrative, not a verified deployment.
| Evidence type | What it establishes | What it does not establish | Corroborate with |
|---|---|---|---|
| File inspection finding | A suspicious file exists in an image or snapshot | That it executed or who placed it | Runtime records and image build history |
| Runtime observation | A process ran or connected out | How the file arrived | Control-plane and deployment logs |
| Identity record | A principal performed an action | Intent behind the action | Session context and key usage history |
| Decoy interaction | Something touched an asset with no business use | Which malware family is present | Scan results and runtime evidence on the source |
A hypothetical workload triage
This example is hypothetical. A scan of an autoscaling worker snapshot flags a cryptomining binary. Runtime data for that node group is missing because the sensor was never rolled out there. The control-plane log shows the image was rebuilt two days earlier by a pipeline role.
Two benign explanations remain: a security test artifact or a dependency pulled into the build. The decisive evidence arrives from a different layer. The same pipeline key lists a decoy storage bucket and reads a honeytoken credential from a decoy configmap. No pipeline has a reason to do either. The analyst rotates the key, quarantines the image, and records the missing runtime coverage as a gap to close.
Implementation guardrails
- Deploy decoys only in approved accounts and subscriptions, isolated from production data.
- Use synthetic content only; never copy real customer data into a decoy.
- Grant the deception platform least-privilege roles and log its own actions.
- Validate behavior with each cloud provider before relying on it, and document cleanup steps.
- Route alerts to a named incident owner with authority to rotate keys and isolate workloads.
Evaluate coverage and investigation readiness
Measure readiness by coverage and outcomes, not by alert counts. Track the share of workloads covered by scanning, runtime monitoring, and decoys in each account; the scenarios tested and which layer produced evidence; open coverage gaps; and the time from a decoy interaction to a responsible owner acting on it. Avoid publishing scan-equivalence or detection-rate claims without a defined baseline and calculation method.
The path forward
No single layer answers every cloud malware question. Scanning finds files, runtime shows execution, identity logs attribute actions, and deception shows intent at the moment an intruder acts on what they found. Designing them together turns separate findings into a decision. To see where decoy workloads and honeytokens fit in AWS, Azure, and GCP, see how 360 Deception works or explore cloud detection and response with deception.
Frequently asked questions
Combine file inspection of images and snapshots, runtime monitoring of live workloads, and identity and control-plane logs, then add decoy workloads and honeytokens where an intruder would look next. Each layer answers a different question, so the decision comes from correlation.
Agentless scanning inspects files for known or suspicious content without a sensor on the workload. Deception places decoy resources that have no business use, so any interaction is a high-confidence signal of intent. Scanning finds the file; deception shows someone acting on what they found.
There is no universal ranking. The right mix depends on workload types, which services the provider supports for scanning, whether runtime sensors are feasible, and the response process. Evaluate each option against the evidence worksheet above rather than a feature list.
No. Agentless scanning examines stored data at a point in time. Runtime detection observes processes and connections as they happen. A file found by a scan may never execute, and a fileless technique may never appear in a snapshot.
Check the principal and key that made the call, the source workload, related control-plane activity, and runtime records on the source. Rule out authorized scanners and red team tests, then escalate with the decoy event as the anchor.
