Skip to content

Cloud Forensics: Multi-Tenant, API and Jurisdictional Challenges

NIST IR 8006 cloud forensics, volatility and multi-tenancy, CloudTrail-class API evidence, VM snapshot acquisition, and the Indian legal frame: DPDP Act 2023, CERT-In Direction 2022, MLAT and IT Rules 2021.

Last updated:

Share

Cloud forensics applies standard digital forensic principles to evidence held in provider-controlled infrastructure, accessible only through APIs and shared at the hardware layer with other tenants. NIST Interagency Report 8006 (August 2020) defines it as a subset of network forensics applied to cloud computing, cataloguing 65 challenges across nine categories that the on-premises playbook does not address. Acquisition never involves physical media: the examiner works entirely through provider APIs, shared snapshots, and cross-account transfers, with chain-of-custody documented in API call logs and provider attestations. In India, every step of this workflow is constrained by the CERT-In Direction of April 2022 (180-day log retention, 6-hour incident reporting), the DPDP Act 2023, IT Rules 2021, and MLAT procedures for cross-border evidence.

Cloud forensics is the discipline of recovering and analysing digital evidence that resides in provider-controlled infrastructure, accessible only through an API and shared at the hardware layer with other tenants. NIST Interagency Report 8006 published in August 2020 codified the definition: a subset of network forensics applied to cloud computing, with the same evidence-handling principles but a fundamentally different acquisition surface. The Indian relevance is direct. Indian fintechs, e-commerce platforms, SaaS firms and increasingly Indian government departments run their production data in AWS Mumbai, Azure India, GCP asia-south, OCI Hyderabad, or in MeitY-empanelled private clouds. When an incident happens, the examiner cannot pull a hard drive; they can only call an API.

Key takeaways

  • NIST Interagency Report 8006, published in August 2020, defines cloud forensics as a subset of network forensics applied to cloud computing, with the same evidence-handling principles but a fundamentally different acquisition surface.
  • The examiner cannot pull a hard drive from a cloud environment: the only acquisition route is through an API that returns what the provider decides to return.
  • The four-step IPAA workflow, identify, preserve, acquire and analyse, structures the cloud evidence process from the first API call to the final hash chain.
  • The CERT-In Direction of April 2022 mandates 180-day log retention for service providers and intermediaries, setting the Indian baseline for how far back a cloud investigation can reach.
  • The unresolved tension between the US CLOUD Act and Indian sovereignty means cross-border cloud evidence requests may require the GAC mechanism or diplomatic channels rather than a direct provider subpoena.

This topic is the operational sequel to Cloud Technology, Virtualization and Cloud Security Architecture. It covers the seven challenges the examiner inherits (volatility, multi-tenancy, jurisdiction, API dependency, no physical access, log trust, vendor cooperation, encryption), the four-step IPAA evidence workflow (identify, preserve, acquire, analyse), the control-plane and data-plane API logging surfaces, the snapshot-based VM acquisition pattern, and the Indian legal frame that constrains every step: DPDP Act 2023, CERT-In Direction 2022, IT Rules 2021, the Significant Social Media Intermediary thresholds, the GAC mechanism, and the unresolved tension between the US CLOUD Act and Indian sovereignty. The acquisition flows tie into the deeper logging and snapshot workflows covered in Cloud Logging, VM Snapshots and Cloud Incident Response.

By the end of this topic you will be able to:

  • Identify the seven practical challenges that distinguish cloud forensics from on-premises investigation: volatility, multi-tenancy, cross-jurisdiction, API dependency, lack of physical access, log trust, and vendor cooperation.
  • Apply the IPAA workflow (identify, preserve, acquire, analyse) to a cloud incident, selecting the correct API calls, tools, and chain-of-custody steps for each phase.
  • Distinguish control-plane logs (CloudTrail / Activity Log / Cloud Audit Logs) from data-plane logs (S3 access logs / Storage Analytics / GCS access logs) and explain what each layer contributes to a forensic timeline.
  • Execute the forensic AWS account snapshot workflow: share a snapshot cross-account, copy it into the forensic account, and mount it read-only for analysis.
  • Map the Indian legal instruments (CERT-In Direction 2022, DPDP Act 2023, IT Rules 2021, BSA 2023 Section 63, MLAT) to their specific forensic touchpoints and explain the CLOUD Act tension with Indian sovereignty.
Key terms
NIST IR 8006
The August 2020 NIST Interagency Report titled NIST Cloud Computing Forensic Science Challenges. Catalogues 65 challenges across nine categories: architecture, data collection, analysis, anti-forensics, incident first responders, role management, legal, standards and training.
CloudTrail
AWS service that records every control-plane API call across an AWS account, with the principal, source IP, action, target resource and timestamp. Equivalent services are Azure Activity Log and GCP Cloud Audit Logs. The first stop in any cloud incident reconstruction.
EBS snapshot
A point-in-time, block-level copy of an EBS volume stored in S3. Snapshots are incremental, encrypted if the source volume is encrypted, and shareable across AWS accounts. The standard forensic acquisition mechanism for an EC2 instance disk.
Significant Social Media Intermediary
Under IT Rules 2021, an intermediary providing services with more than 50 lakh (5 million) registered users in India. Triggers additional obligations: chief compliance officer, nodal contact officer, resident grievance officer, monthly compliance report, traceability for the first originator of information.
CERT-In Direction April 2022
Direction issued under Section 70B(6) of the IT Act 2000 requiring 6-hour incident reporting, 180-day log retention in India, KYC retention by data centres/VPS providers/cloud providers/VPN providers, and synchronisation of system clocks to NPL or NIC time sources.
MLAT
Mutual Legal Assistance Treaty. The formal mechanism for cross-border evidence requests. India has bilateral MLATs with over 40 countries including the US, UK, France and UAE. Average turnaround for the US MLAT is reported at 8 to 12 months, which is the reason informal data-sharing channels via SSMI Indian offices are preferred for time-sensitive matters.

The seven challenges that define cloud forensics

NIST IR 8006 catalogues 65 challenges across nine categories. For the digital forensics examiner, seven of them carry the practical weight.

Volatility is the first. Cloud resources can be deprovisioned in seconds, by the customer or by an attacker who has the customer's credentials. An EC2 instance terminated by an attacker disappears from the console immediately; the EBS volume backing it is deleted by default unless DeleteOnTermination was false; the memory state is gone instantly. Auto-scaling groups spin instances up and down on demand. Spot instances die when the spot market reclaims them. The CFSL Hyderabad cyber wing's documented practice is to issue a preservation order through the IO that names every active resource in the suspect account within the first hour of incident notification, then convert active snapshots and freeze auto-scaling.

Multi-tenancy is the second. Shared physical hardware is the cloud's economic model. Tenants are isolated by the hypervisor, by network segmentation and by storage allocation, but they share CPUs, NICs, storage controllers and physical RAM. Chain-of-custody concerns arise when an acquisition would, in principle, capture state belonging to another tenant. Providers handle this by acquiring at the customer-visible boundary: snapshots of customer-owned volumes, exports of customer-owned databases, never anything that traverses tenant boundaries.

Cross-jurisdiction is the third. The data may live in a region different from where the incident is being investigated. Microsoft 365 audit logs for an Indian customer can be stored in EU or US regions depending on the tenant's data residency configuration. A Salesforce instance for an Indian enterprise might have its event monitoring logs in the US. When Indian authorities require those logs, the conflict between the US CLOUD Act (which compels US providers to produce data regardless of where it is stored) and Indian sovereignty under the DPDP Act 2023 surfaces directly.

API dependency is the fourth. Every legal access pathway runs through a provider API. AWS gives subpoena response through a structured process documented at d1.awsstatic.com/legal documents. Microsoft has a Law Enforcement Request Report mechanism. Google's Transparency Report names the volume of Indian government requests served. Without provider cooperation, the data is not accessible. Without an API to query, the cooperation is meaningless.

Lack of physical access is the fifth. The examiner never touches the storage media, never sees the host, never controls the hypervisor. This breaks the traditional forensic principle of working from a write-blocked physical image. The substitute is a chain-of-custody documented in API calls and provider attestations.

Trust in provider logs is the sixth. The examiner accepts CloudTrail, Activity Log and Cloud Audit Logs as authoritative because there is no alternative. The provider's certifications (SOC 2, ISO 27001, the MeitY empanelment audit) are the only assurance that the logs are accurate and tamper-evident. CERT-In Direction April 2022 demands 180-day retention precisely because of this dependency.

Vendor cooperation, the seventh, varies by provider and request type. Subpoenaed metadata is usually handed over quickly; content takes a court order and an MLAT for cross-border. Customer-managed encryption keys mean the provider hands over ciphertext only.

IPAA: identify, preserve, acquire, analyse

The cloud version of the standard digital forensics workflow retains the four phases but changes the mechanics of every step.

Identify means working out what cloud services the suspect or victim was using. The starting points are the AWS account ID or the Azure tenant ID, the admin console history, the monthly bill, and the corporate IAM directory. The bill is often the most useful identification artifact in an unknown-environment investigation: every service that was active in the billing period is itemised. A subpoena to the provider yields the account inventory if the customer cannot or will not cooperate.

Preserve means stopping the resources from being modified or destroyed. The legal mechanism is a litigation hold (US-style term) or a preservation order (Indian-style term), served on the provider through their law-enforcement channel. The technical mechanism is provider-specific: enable S3 Object Lock on buckets, take EBS snapshots of active volumes, enable RDS snapshot retention, freeze the auto-scaling group at current capacity, revoke API keys to prevent attacker tampering. CERT-In Direction 2022's 180-day retention obligation is the regulatory floor; for an active investigation, the preservation order extends it.

Acquire means pulling the evidence out of the provider and into the forensic workspace. API-based acquisition uses the provider SDK: boto3 for AWS, azure-cli and the Azure SDK for Python for Azure, gcloud and the GCP Python SDK for GCP. Provider-console export is the manual fallback. Third-party tools sit on top of the APIs: Magnet AXIOM Cloud handles AWS, Azure and major SaaS; FaceIt Cloud (now branded as Cellebrite Cloud Analyzer in newer versions) covers similar ground; Oxygen Forensic Cloud Extractor focuses on cloud backup acquisition (iCloud, Google, Microsoft); Belkasoft Forensic Studio includes a cloud module. Each tool produces its own report format; each must be named in the BSA 2023 Section 63 certificate.

Analyse means running the same analytic toolchain the examiner uses on-prem against the acquired data, once it is on disk in the forensic workspace. The cloud-specific cognitive shift is that the analyst now thinks in terms of timelines built from API call logs alongside file-level evidence, with the principal-to-action mapping carrying as much weight as the file MAC times.

  1. Identify the cloud footprint
    Pull the account inventory from billing, admin console, and IAM directory. For an unknown environment, subpoena the provider for the account list tied to the suspect identity. Document the AWS account ID, the Azure tenant ID and any Google Workspace domain in the case file.
  2. Preserve before acquiring
    Issue the preservation letter through the provider's law-enforcement channel. Technically enable S3 Object Lock, take EBS snapshots with the forensic AWS account as the snapshot owner, freeze auto-scaling and revoke compromised credentials. CERT-In retention obligations run from the date of notification.
  3. Acquire through API and tools
    Use boto3, az cli or gcloud to enumerate and export. Use Magnet AXIOM Cloud, Oxygen Cloud Extractor or Belkasoft to acquire SaaS-side artifacts (Microsoft 365 mailbox, Google Workspace audit, iCloud backup). Hash every artifact with SHA-256 at the moment of acquisition.
  4. Transfer to forensic workspace
    Bring snapshots into a dedicated forensic AWS or Azure account that is isolated from the production environment. Mount snapshots read-only against forensic EC2 instances. Maintain the chain-of-custody log with every API call timestamp and principal.
  5. Analyse with on-prem tools
    Once data is on disk in the forensic workspace, run the standard tools: Plaso for super-timelines, Volatility for memory captures, Autopsy and X-Ways for disk images, jq and Splunk for log analysis. The BSA 2023 Section 63 certificate names every tool with version.

Control-plane and data-plane API logging

Every cloud incident reconstruction starts with the API call history. The architectural distinction a forensic analyst must hold is control-plane versus data-plane.

Control-plane logs record API calls that change the configuration or state of the cloud resources themselves. Creating an EC2 instance, attaching an IAM policy, opening a security group, deleting an S3 bucket: these are control-plane operations. The reference log surface is AWS CloudTrail, which records every API call to every supported AWS service. The equivalent on Azure is Activity Log (resource manager actions); on GCP it is Cloud Audit Logs (Admin Activity and System Event streams). Every entry names the principal (the IAM user, role or service account), the source IP, the user agent, the action, the target resource, the request and response details, and the timestamp in UTC. CloudTrail has been on by default since 2017 for management events; the customer must enable data-event logging and CloudTrail Lake or S3 delivery for retention beyond 90 days. CERT-In Direction 2022's 180-day retention is the operative Indian floor.

Data-plane logs record what was actually accessed inside the resources. S3 server access logs and Amazon S3 access logs record every GET, PUT and DELETE against bucket objects. GCS access logs record the equivalent for Google Cloud Storage. Azure Storage Analytics logs cover Blob, Queue and Table. The distinction matters because a control-plane API call (s3:PutObject via CloudTrail) records that an object was uploaded; the data-plane access log records who downloaded it later through which client. For a data exfiltration investigation, both layers are needed.

SurfaceAWSAzureGCPWhat it records
Control planeCloudTrailActivity LogCloud Audit Logs (Admin Activity)Configuration changes, IAM, resource lifecycle
Data plane (object storage)S3 server access logs, CloudTrail data eventsStorage Analytics logsGCS access logsObject read/write per request
Network flowVPC Flow LogsNSG Flow LogsVPC Flow LogsConnection 5-tuple plus bytes, accept/reject
Identity sign-inCloudTrail (IAM events)Entra ID sign-in logsCloud Audit Logs (Data Access)Authentication, token issue, MFA outcome
ApplicationCustomer instrumentationApp Service logsCloud Logging from appWhat the application itself records

Delta analysis between user-reported actions and API timestamps is a recurring pattern. A suspect claims they downloaded a file at 14:00 IST on 12 March. The CloudTrail s3:GetObject data event shows the same principal accessing the same object at 02:30 UTC on 14 March, which is 08:00 IST on 14 March. The 42-hour gap between the suspect's story and the API record is the evidence. The same pattern applies to claimed account compromise. If the suspect says they were hacked at 10:00 on 5 April but the IAM CreateAccessKey operation that issued the attacker's credentials happened at 09:45 with the suspect's own user principal, the compromise story has a timing problem.

API-based timestamps are nanosecond-accurate in the underlying records and second-accurate in the log surfaces. They are synchronised across regions because cloud providers run distributed time services. CERT-In Direction 2022 also requires that customer system clocks be synchronised to NPL (National Physical Laboratory) or NIC time sources, which means the Indian customer's own workload logs should also be coherent with the provider's API logs to within a few seconds.

VM snapshot acquisition and cloud storage forensics

VM snapshot acquisition is the cloud counterpart to imaging a hard drive. The steps below are AWS-specific but the pattern is identical on Azure and GCP.

The forensic AWS account is a dedicated account, separate from the production account, that the forensic team controls. Snapshots taken in the production account are shared with the forensic account through aws ec2 modify-snapshot-attribute. The snapshots are then copied (not just shared) into the forensic account, which gives the forensic team a fully owned copy that survives even if the production account is later compromised or deleted. The copied snapshot is then turned into a volume in the forensic account and attached to a dedicated forensic EC2 instance for analysis.

  1. Snapshot the source volume
    In the production account, take an EBS snapshot of the volume of interest. The snapshot is incremental but is logically a full copy. Record the snapshot ID and the SHA-256 of the snapshot manifest.
  2. Share with the forensic account
    aws ec2 modify-snapshot-attribute --snapshot-id snap-xxx --attribute createVolumePermission --operation-type add --user-ids ForensicAcctId. Document the cross-account share in the case log.
  3. Copy into the forensic account
    aws ec2 copy-snapshot --source-region ap-south-1 --source-snapshot-id snap-xxx. The copy is a new, fully owned snapshot in the forensic account, independent of the production account.
  4. Create a volume and attach read-only
    Create an EBS volume from the copied snapshot. Attach to a forensic EC2 instance with the device read-only at the OS layer (mount -o ro). Calculate dd-based hashes against the device to confirm integrity.
  5. Analyse with on-prem tools
    Run Plaso log2timeline, Volatility against any memory capture, Autopsy or X-Ways against the disk. Every analytic action is logged in the case journal. The BSA 2023 Section 63 certificate names the source snapshot, the copy chain, and the tools.

Cloud storage forensics covers S3, Azure Blob, GCS and equivalents. The artifacts to acquire are the bucket inventory (every object with size, ETag and last-modified), the bucket policy and ACL state (who can access what), the bucket versioning state (objects may have prior versions that survive a delete), the encryption configuration (SSE-S3, SSE-KMS with which key, or customer-provided keys), the access logs covering the relevant period, and any lifecycle policy that may have transitioned or expired evidence. S3 Object Lock in Compliance mode is the strongest preservation primitive: once enabled, no principal including the account root can delete the object before the retention period expires.

Cloud database forensics covers managed databases: RDS, Aurora, DynamoDB, Cosmos DB, Cloud SQL. The standard acquisition path is the automated snapshot (RDS exports a snapshot as a Parquet dataset to S3, Cosmos DB exports a backup to a blob container). Transaction logs and change data capture streams (DynamoDB Streams, Cosmos DB change feed) record row-level changes when enabled. The acquisition has to be paired with the schema and the application code; row-level evidence without context rarely persuades a court.

The cloud forensic acquisition flow. The production AWS account holds the live workload and its EBS volumes. Snapshots are sh
The cloud forensic acquisition flow. The production AWS account holds the live workload and its EBS volumes. Snapshots are shared cross-account, copied into a dedicated forensic AWS account, mounted read-only on a forensic EC2 instance, and analysed with the standard examiner toolchain. The dotted boundary is the cross-account isolation line.

Cloud incident response: isolate, preserve, analyse

Cloud incident response inverts the on-premises priority. On a workstation, the responder captures memory before doing anything else. In the cloud, the responder isolates first: the attacker still holds valid credentials and can delete evidence faster than an acquisition can proceed.

Isolation steps are credential-first. Revoke the suspected compromised IAM user's access keys with aws iam delete-access-key. Disable the user with a deny-all policy attachment. For a role, revoke active sessions with aws iam put-role-policy setting aws:TokenIssueTime deny conditions. Quarantine the affected EC2 instance by replacing its security group with a deny-all SG (do not stop or terminate; that loses memory). Quarantine the affected S3 bucket by attaching a bucket policy that denies the principal pending investigation. For an account-wide compromise, the SCP (Service Control Policy) at the AWS Organizations layer applies a denial across the suspect account.

Preservation runs concurrently with isolation. Take an EBS snapshot of every volume on every quarantined instance. Capture memory through SSM Run Command driving Magnet RAM Capture or LiME on Linux instances. Pull the last 24 hours of CloudTrail through Athena or CloudTrail Lake into a forensic S3 bucket in the forensic account. Enable S3 Object Lock on all buckets named in the incident scope. Enable RDS automated snapshot retention if not already at the maximum.

Analysis runs after isolation and preservation. The sequence is not arbitrary: reversing it risks losing volatile evidence before it can be secured. The Indian banking sector cloud incident response playbook published by the IDRBT (Institute for Development and Research in Banking Technology) in 2022 codifies this exact ordering, with a mandatory 6-hour notification to CERT-In aligned with the April 2022 Direction.

Practice
Question 1 of 5· 0 answered

An EC2 instance is identified as compromised. The first responder's correct first action is:

Frequently asked questions

Why does cloud forensics need its own NIST IR when network forensics already exists?
Because the evidence acquisition surface is different. Network forensics assumes the examiner can touch the wire or the endpoint. Cloud forensics removes both. NIST IR 8006 catalogues 65 challenges that the on-prem playbook does not cover: deprovisioned resources, multi-tenant isolation, cross-jurisdictional storage, API-only access, customer-managed encryption keys. Network forensics is a subset of digital forensics; cloud forensics is a subset of network forensics with additional constraints, which is how NIST positions it.
How does an Indian state cybercrime cell request data from a US-based cloud provider for an active investigation?
Two pathways. For non-content data (account information, login IP, basic subscriber records), the SSMI's Indian regional office accepts a formal request from the investigating officer under IT Rules 2021 and provides the data within their published response times. For content data (message bodies, file contents), the MLAT route through the Ministry of Home Affairs to the US Department of Justice is the formal channel. Time-sensitive matters involving threat to life can use the emergency disclosure path documented by Meta, Google and Microsoft in their transparency reports.
If an attacker terminates the EC2 instance before the responder arrives, what can be reconstructed?
More than examiners expect. CloudTrail logs the terminate API call with the principal, source IP, user agent and timestamp. If DeleteOnTermination was false (a recommended hardening for production), the EBS volume survives independently and can be attached for analysis. If pre-incident EBS snapshots existed (automatic backups, AMI baselines), they are still available. VPC Flow Logs preserve the network history. AWS Config configuration history records the instance's lifecycle. The pre-termination memory is the only piece that is irrecoverable, and that is recoverable only if a memory capture was running before termination.
Does the BSA 2023 Section 63 certificate work the same for cloud evidence as for disk evidence?
Yes, with adapted source descriptions. The certificate names the source of the electronic record. For a disk image the source is the physical medium. For a cloud-acquired record the source is the cloud account ID, the resource ARN or URN, the API call that produced the record, the timestamp, the tool used (boto3 version, Magnet AXIOM Cloud version), and the hash of the artifact. Indian courts admitting cloud evidence have been receptive to API-call-based source descriptions when the chain-of-custody log is contemporaneous and the tool versions are named.
What is the most common Indian SFSL mistake in cloud acquisition?
Acquiring from the production account directly instead of through a dedicated forensic account. The pattern repeats: an examiner is granted IAM access to the production account, runs snapshots and exports from inside it, and analyses without ever crossing to an isolated account. The chain-of-custody risk is that any production-side action (administrator deleting resources, attacker still present and tampering, automation deleting snapshots through lifecycle policy) can affect the evidence. A dedicated forensic AWS account with cross-account copy-snapshot is the documented best practice and the answer expected at digital forensics vivas.
How does customer-managed key encryption affect cloud subpoena response?
Significantly. When a customer uses an AWS KMS customer-managed key (or the Azure or GCP equivalent) to encrypt data at rest, the provider can produce the ciphertext under subpoena but cannot decrypt it without the customer's KMS authorisation. The investigating authority must either compel the customer to provide the key (the standard Indian practice under IT Act Section 69 for decryption) or work with the ciphertext alone. HYOK takes this further by keeping the key entirely outside provider infrastructure. CERT-In advisories specifically discuss the chain-of-custody implications of CMK-encrypted data.
Where does the Sushant Singh Rajput case fit in the cloud forensics narrative?
The 2020 Mumbai Police and CBI investigation into the actor's death generated subpoenas to Twitter, Instagram, Google and WhatsApp covering account metadata, post and message preservation, and selective content. The case became a publicly visible reference for how SSMI Indian offices respond to preservation requests, how MLAT-routed content requests are sequenced, and how cloud-stored social media artifacts are treated as electronic evidence under the Section 65B regime (now BSA 2023 Section 63). The case did not produce new law, but it produced a working illustration of the procedural envelope.

Test yourself on Digital Forensics with free, timed mocks.

Practice Digital Forensics questions

Found this useful? Pass it along.

Share

Spotted an error in this page? Report a correction or read our editorial standards.

Your journey to becoming a forensic professional starts here.

Practice with mock tests, learn from structured notes, and get your questions answered by a global forensic community, all in one place.