Quick answer: Cloud forensics is fundamentally different from traditional forensics because there is no disk whose image you take by hand. Evidence lives in API logs, identity events, audit records and fast-disappearing volatile resources (running server instances, memory, temporary keys). CloudTrail on AWS, Activity and Entra ID logs on Azure, and the Unified Audit Log on Microsoft 365 are the basis for building an incident timeline: who did what operation, when, and from which IP. The most common cloud incidents are account takeover, data breach from misconfiguration, and privilege escalation. Two critical points: shared responsibility (the provider protects the infrastructure, you protect the configuration) and speed, because volatile evidence and log retention periods are limited.

As organizations move workloads to the cloud, answering "what happened, who did it, how far did it go" when a security incident occurs has become a cloud-specific discipline. In traditional forensics you image a disk and examine it; in the cloud there is often no such disk, or it is not in your reach. This guide explains why cloud forensics is different, where evidence is stored, which logs are critical on AWS, Azure and Microsoft 365, and how a typical incident investigation is conducted.

Why cloud forensics is different

Traditional forensics rests on a physical medium (disk, phone, memory): you image the medium bit for bit, prove integrity with a hash, and examine it. In the cloud this model often cannot be applied. Servers are virtual and can vanish within minutes; storage is on the provider's infrastructure; many services have no operating system underneath that you can touch.

So in the cloud, evidence lives not on a disk but in event records. Every API call, every login, every authorization change is written to an audit log. The forensic analyst's job is to collect these logs, turn them into a timeline, and reconstruct the story of the incident (who did what, when, from where). This is the new foundation that replaces traditional disk imaging. We cover the general frame of the cloud security model in our cloud security and shared responsibility article.

Where the evidence is: log sources

The success of a cloud investigation depends on accessing the right log sources. Every major provider has a central audit record.

Platform Primary audit log What it shows
AWS CloudTrail all API calls, who/when/which IP
AWS VPC Flow Logs, S3 access logs network flow, storage access
Azure Activity Log + Entra ID sign-in/audit resource and identity events
Microsoft 365 Unified Audit Log mail, file, session, admin operations
General identity provider (SSO) logs login, MFA, anomalous session

The value of these logs depends on their being enabled before the incident and retained long enough. In many organizations the biggest obstacle to an investigation is that critical logging was never turned on or the retention period is too short. This is why the first step of cloud forensic readiness is ensuring the right logs are on before an incident. We cover how misconfigured, exposed cloud assets lead to breaches in our exposed database and cloud misconfiguration article.

Volatile evidence and speed

In the cloud, part of the evidence is extremely short-lived. The memory of a running server instance, temporary identity keys, short-lived sessions and resources that vanish with auto-scaling can disappear within hours or even minutes. When an incident is detected, you must act fast and in a planned way to preserve this volatile evidence: take a snapshot of suspicious instances, capture memory, export the relevant logs and copy them to a safe place.

At the same time, you must balance containment with preserving evidence; hastily shutting down a resource can destroy unexamined volatile evidence. This balance aligns with the general principles of incident response and is the same first-response discipline we describe in our ransomware attack first 24 hours article. Chain of custody must be kept with the same rigor in the cloud too; every log and snapshot collected must be documented with its source, time and integrity. For chain of custody and the court process, see our forensics process and chain of custody article.

Typical incidents: account takeover and data breach

The most common investigation topics in the cloud are account takeover and data breach. In account takeover the attacker logs in with stolen or phished credentials; the investigation derives the anomalous login (unexpected IP, impossible travel, MFA bypass) and then the operations performed (adding privileges, downloading data, creating new keys) from identity and audit logs. In a data breach there is usually a misconfigured storage (a bucket left public) or overly broad permissions; the investigation determines which data was accessed, when, and by which identity from access logs.

In both cases the goal is the same: to establish, on an evidence basis, the full timeline of the incident, the scope of impact (which data, which system) and the root cause (which weakness was exploited). To frame attacker techniques, our MITRE ATT&CK guide is useful in cloud incidents too.

The KAOS and DSET approach

At DSET, in cloud incident investigations we collect AWS CloudTrail, Azure and Microsoft 365 audit logs, merge them into a single timeline, and build the story of the incident with the clarity of who/when/from where/did what; we act fast to preserve volatile evidence and keep chain of custody rigorously. Our KAOS tool supports deriving incident patterns (anomalous login, privilege escalation, mass data access) from log sources and ties every finding to evidence, producing no speculation. To investigate your cloud security incident or evaluate your pre-incident forensic readiness (logging, retention), contact DSET and reach our team at Ankara Hacettepe Teknokent.

Frequently asked questions

If I cannot image a disk in the cloud, what do I examine? In the cloud most evidence is not on a disk but in audit logs and API records. CloudTrail, Azure Activity/Entra logs and the Microsoft 365 Unified Audit Log show who did what operation and when. Snapshots and memory of running servers can also be taken, but the real foundation is log analysis. So the examination runs over event records rather than a physical medium.

Does turning on logs after the incident help? Usually no. Logs only record events after they are enabled; if they were off before the incident, evidence for that period most likely does not exist. This is why the most important step of cloud forensic readiness is turning on critical logging before an incident and retaining it long enough. The success of the investigation often depends on this preparation in advance.

How does shared responsibility affect the investigation? In the cloud the provider is responsible for the security of the infrastructure, while you are responsible for configuration and data. This defines the limit of the evidence you can access in an investigation: you generally cannot access the provider's infrastructure layer, but you can access your own account's audit logs and configuration. The good news is that the evidence for incidents like account takeover and data breach lives in exactly this layer you can access.

Sources