Lecture 14 - Cloud Forensics

Updated 11 Nov 2026

What is Cloud Computing?

  • NIST definition: Cloud computing is a model for enabling:
    • Ubiquitous (available anywhere)
    • Convenient
    • On-demand network access
    • …to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, services)
    • …that can be rapidly provisioned and released with minimal management effort or service provider interaction
  • Alternative definition: "An Internet-based computing paradigm that delivers on-demand software and hardwarecomputing capability as a 'service' through virtualization, where the end user is completely abstracted from the computing resources"

Analogy: Cloud computing is like the electricity grid. You don't own a power plant — you plug in, use as much as you need, and pay for what you use. You never see (or care) which generator produced your electricity.


Cloud Computing Characteristics — the "3-4-5 Rule"

3 : Services (Service Models)

  • IaaS — Infrastructure as a Service
  • PaaS — Platform as a Service
  • SaaS — Software as a Service

4 : Deployment Models

  • Private cloud
  • Community cloud
  • Public cloud
  • Hybrid cloud

5 : Essential Characteristics

  • On-demand self-service
  • Broad network access
  • Resource pooling
  • Rapid elasticity
  • Metered (measured) service

Analogy (service models) — "Pizza as a Service":

  • IaaS = renting a kitchen (you bring ingredients and cook)
  • PaaS = the kitchen + ingredients are provided; you just make the pizza
  • SaaS = ordering a ready-made pizza delivered to your door

The more "as a Service" it is, the less you control — which also means less forensic data you can reach(important later!).


Criminal Cloud

  • The cloud opens a world of possibilities for criminal computing
  • Unlike zombie computers and malware (the mainstay of computer crime for the past decade), cloud computing provides a well-managed, reliable, scalable global infrastructure
  • Unfortunately, it is almost as well suited to illicit computing as it is to legitimate business

Analogy: A criminal used to need to steal cars (zombie PCs) to commit a crime. Now they can just rent a fleet of brand-new cars legally (cloud resources) — reliable, fast, and anonymous-looking.

Vanishing Fingerprints

  • The cloud can make it difficult for authorities or companies to track digital crime
  • One reason: virtualization technology — assembles virtual servers from numerous real computers
  • When the virtual machine (VM) is shut down, the storage allocated to its virtual disks is rapidly reused by other VMs
    • → criminal data is overwritten by data from legitimate customers

Analogy: Like a hotel room — once the criminal checks out, housekeeping cleans it and a new guest immediately moves in. Any fingerprints are quickly wiped or covered.

Scam as a Service

  • Stems from web-based applications (SaaS offerings) provided by many cloud companies
  • With millions of users commingling on thousands of machines, a criminal can easily blend in with legitimate users → harder for authorities and victims
  • Example (Google Forms phishing):
    • Online forms hosted on a real Google server
    • Authenticated with Google's own encryption certificate
    • Asked for sensitive info: full name, username, Google password, etc.
    • Researchers noted these attacks are nasty because the phishing pages sit on the real google.com with a valid security certificate
  • Fraud as a Service (FaaS): a bad actor provides tools and services to others to help them commit fraudulent online activity; FaaS can involve many different fraud tactics

Analogy: It's like a con artist renting a booth inside a real bank branch. The building, logo, and security guard are all genuine — so customers trust the fake teller.

Risk of Mass Attacks

  • Everyone shares the cloud infrastructure → a hack could cause widespread damage, affecting hundreds of companies and millions of users
  • A user's VM could theoretically get infected with malware simply by moving from Server A to Server B

Analogy: In an apartment building, one fire on a shared floor can spread to every unit — unlike a detached house.


Cloud Crime

  • Cloud crime: "a crime that involves cloud computing in the sense that the cloud can be the object, subject, or toolof crimes"
    • Object — the CSP (Cloud Service Provider) is the target of the crime
    • Subject — the cloud is the environment where the crime is committed
    • Tool — the cloud is the tool used to conduct or plan a crime

Analogy (a bank):

  • Object = robbing the bank itself
  • Subject = a crime committed inside the bank (e.g., fraud between customers in the lobby)
  • Tool = using the bank's services (e.g., wire transfers) to launder money

Cloud Forensics

  • Cloud forensics is a subset of network forensics
  • "The application of computer forensic principles and procedures in a cloud computing environment"
  • "The process of applying various digital forensic phases in a cloud platform depending on the service model and deployment model of the cloud"

Question: Soince the Cloud Forensics is subset, what type of acquisition do we deal with. Live Acquisition


Cloud Forensics — Steps

  • Diagram (staircase, from bottom → top):
    1. Identification — at the Scene of Crime
    2. Seizure & Hashing — at the Scene of Crime
    3. Acquisition
    4. Authentication
    5. Analysis ⭐ (done in the CFL — Cyber/Computer Forensics Lab)
    6. Presentation
    7. Preservation
  • Forensics Lab handles: Analysis, Authentication, Acquisition
  • Scene of Crime handles: Identification, Seizure & Hashing
  • The "Cloud" bracket covers Identification → Seizure & Hashing → Acquisition — i.e., in the cloud, these first steps are the ones that change the most (you can't simply walk in and seize a hard drive)

Analogy: In a normal crime scene you can bag the knife. In the cloud, the "knife" may be spread across 10 data centers in 3 countries — so finding, seizing, and copying the evidence becomes the hard part.


Where Is My Data Stored?

  • Cartoon (Hindi): a robber with a gun asks "Where is the gold?"; the other replies (roughly) "You fool, the whole house is empty — sleep anywhere."
  • Point: in the cloud, you don't know where your data physically is — there's no single "safe" to point at

Cloud Data?

  • Private cloud example (diagram)
    • Many VMs (each = App on top of an Operating System) inside the cloud
    • Each VM's evidence lives in three places:
      • Storage (disk / database)
      • RAM (volatile memory)
      • Logs (e.g., timestamped actions: 01:09 Action A1, A2, A3…)

Digital Forensic Model for Cloud Computing Systems

  • Flowchart, phase by phase:

1. Identification

  • Start → Identify client device

2. Client-side Data Collection & Preservation

  • Data acquisition
    • Acquire disk data
    • Acquire RAM data

3. Client-side Data Analysis

  • Analyze data
  • Remnants of cloud usage?
    • No → go straight to Report
    • Yes → Is credential info present?
      • Yes → Collect ID & password from evidence
      • No → Collect ID & password from user
  • Cloud usage for VM?
    • Yes → Compute service
    • No → Storage service

4. Cloud-side Data Collection & Preservation

  • Compute service → Collect RAM & virtual disk data (+ Cloud service logs)
  • Storage service → Collect data from cloud storage

5. Examination & Partial Analysis

  • Forensic triage (combines cloud logs, RAM/VDisk data, cloud storage data) → Results

6. Cloud-side Data Analysis

  • Analyze data

7. Report of Cloud Crime

  • Report

Analogy: Start with the suspect's phone/laptop (client). If you find a "key card" to a storage unit (cloud credentials), use it to open the storage unit (cloud) and examine what's inside.


Technical Dimension

  • Preservation (spans the whole process) covers:
    • Chain of custody, Admissibility
    • Soundness, Transport
    • Storage, Destroy
    • Case management
  • Phases: Collection (Media) → Examination (Data) → Analysis (Information) → Reporting (Evidence)
Collection (Media)Examination (Data)Analysis (Information)Reporting (Evidence)
Pro-activeEvidence segregationData miningDocumentation
Client-sideTraceabilityReconstructionPresentation
Provider-sideFilteringTime sequenceExpert testimony
Data sourcesPattern matching…
Mobile endpointsData reduction
Physical locations…
Sampling
Time sync
  • Notice the transformation: Media → Data → Information → Evidence

Analogy: Mining gold: dig up dirt (media) → sift it (data) → find nuggets (information) → certify and present the gold bar in court (evidence).


Data Acquisition

  • Diagram:
    • Investigator's workstation ↔ External network ↔ cloud
    • Inside the cloud: Virtualized hosts ↔ Internal network ↔ Storage
  • The investigator acquires data remotely over the network — they usually cannot physically touch the hardware

Data Analysis

  • Within the Virtual Machine
    • ✓ Analysis of virtual hard disk data
    • ✓ Analysis of the VM's RAM
  • Outside the Virtual Machine
    • Segregation of logs (separate this tenant's logs from others')
    • Acquisition of logs

Virtual Disk Examination Process

  1. Image file (.vmdk, .vhd, etc.)
  2. Mounting software (e.g., Image Mount Pro)
  3. Virtual drive
  4. Decision: Log?
    • Metadata path:
      • System metadata → System Metadata Extractor → System Metadata Report
    • Logs path → Decision: OS?
      • Windows → Win Registry Analyzer
      • Other → Log parser
      • → Log / Registry Analysis Report
  5. Both reports → Investigator's Examination Phase Report
  6. Hash (Report) — to protect integrity
  7. Analysis Lab

A Roadmap Ahead — Traditional vs. Cloud Forensics

  • Root: Preservation / Collection
Traditional Forensics AreaCloud Forensics Challenge
S/W toolsLack of specialized tools
Storage capacityDistributed, virtualized, and volatile storage
Chain of custodyNo roadmap for cloud forensics
Media imagingImaging physical media in a cloud is impractical
Time synchEvidence from multiple time zones
Legal authorityData stored in multiple jurisdictions
Data integrityLack of write-blocking
Live vs. dead acquisitionAcquiring physical media from providers is cumbersome; live acquisition (multi-tenancy) needed

Analogy: Traditional forensics = investigating a single locked house. Cloud forensics = investigating a giant apartment complex spread across countries, where rooms are rearranged every hour and you can't stop the elevator for your investigation.


Evidence Collection Frameworks: Cloud Storage vs. Cloud Logs

Forensic Analysis FrameworkEvidence Collection for Cloud StorageEvidence Collection for Cloud Log Analysis
Evidence identificationIdentify evidence from cloud storage (Dropbox, iCloud, SkyDrive, Google Drive, etc.) and from user account informationIdentify evidence from cloud log files
Evidence collection• Collect evidence from the VM image to access the cloud storage account, using packet analysis tools (Ethernet capture, Wireshark, Burp Suite, etc.) to capture packets between client and server
• Collect evidence from the VM browser (Chrome, Chromium, IE, Safari, Firefox, etc.)
• Collect evidence from cloud storage: user account and password
• Collect evidence from client software to access the VM hard drive and synchronize the user account to retrieve files and folders in VMs
Collect evidence from various sources in the VM as log files: network log, access log, authentication log, error log, database log, etc., and via network analysis tools (Wireshark, Snort, Snappy tool, Burp Suite, etc.)
Evidence analysisIdentify patterns from the collected evidence to determine the source of attacks in the cloudDetermine attack patternsfrom cloud log files and analyze them using a cloud traceback mechanism to identify the source
Evidence presentation & reportingForensic investigator examines the evidence and presents it in courtIdentify the evidence from analysis and report it

CSP's Forensic Support Features

  • Figure 1: Features a Cloud Service Provider (CSP) should offer to support forensics:
    • Access to the evidence data
    • Snapshots
    • Redundancy
    • Integrity
    • Secure and isolated storage
    • Logging
    • Secure provenance (trustworthy history of who did what to the data)
    • Virtual machine introspection (inspecting a VM from outside it)
    • Time synchronization
    • Data retention
    • International legislation and regulation
    • Standardized SLA (Service Level Agreement)
    • Trust

Open Cloud Forensics Model (OCF) #FinalExam

Check the integrity of Cloud Log

  • Provides a guideline for designing trustworthy forensics-enabled cloud architectures
  • Facilitates continuous forensics — needed because cloud usage continuously generates electronically stored information (ESI) and translates it into verifiable ESI
  • Enables the court to verify the integrity of evidence collected from clouds
  • Investigators collect verifiable ESI securely via read-only APIs or a web console
  • They then extract the required evidence, organize it, and present it to the court
  • The system must segregate data while extracting ESI and assure user privacy via cryptographic schemes such as hashing

OCF Process (Figure 1)

  • Cloud services (Application, Storage, Computing, …) → Generate → ESI
  • ESI → Translation (via a cryptographic scheme) → Verifiable ESI (tamper-evident)
  • Verifiable ESI → Collection → Investigator
  • Investigator → Extract evidence → Organization → Presentation → Evidence
  • Court → Verification of the evidence (trustworthiness)

Analogy: ESI is a regular receipt. Verifiable ESI is that receipt notarized, stamped with the date, and sealed in a tamper-evident envelope by the store (CSP). The court can check the seal to know nobody altered it.

OCF Model Relationships (Fig. 3)

  • Continuous Forensics box:
    • Cloud Services — usedBy → User; providedBy → CSP
    • ESI — generatedBy → Cloud Services
    • User — hasFullContributionTowards → ESI
    • ESI — translatedInto → Verifiable ESI
    • Verifiable ESI — translatedBy → CSP
  • Outside:
    • Verifiable ESI — collectedBy → Investigator
    • Evidence — derivedFrom → Verifiable ESI
    • Evidence — presentedBy → Investigator
    • Evidence — verifiedBy and usedBy → Court Authority

OCF Formal Definitions

  • Let UU be the set of all users (customers) of a CSP, with nn users:

U=u1,u2,…,unU = {u_1, u_2, \dots, u_n}

  • The CSP provides mm services; let SS be the set of all services:

S=s1,s2,…,smS = {s_1, s_2, \dots, s_m}

  • SS includes (but is not limited to) software, computing and storage resources, platforms, etc.
  • Any service (when used) creates ESI, such as documents, activity logs, file system provenance, etc.
  • ESI generated for accessing service sis_i by user uju_j at time tt is written as EtujsiE^{s_i}_{t u_j}
  • If user uju_j has access to qq services (q≤mq \le m), then all ESI of user uju_j between time tsts and tete is:

Euj=⋃1≤i≤q;⋃ts≤t≤teEtujsi(1)\boxed{E_{u_j} = \bigcup_{1 \le i \le q} ; \bigcup_{ts \le t \le te} E^{s_i}_{t u_j}} \tag{1}

  • The complete set of ESI between tsts and tete for all nn users:

Etets=⋃1≤j≤nEuj(2)\boxed{E^{ts}_{te} = \bigcup_{1 \le j \le n} E_{u_j}} \tag{2}

  • Verifiable ESI:

Verifiable ESI=translate(ESI, CSP_signature, timestamp, hash)\boxed{\text{Verifiable ESI} = \text{translate}(\text{ESI},\ \text{CSP\_signature},\ \text{timestamp},\ \text{hash})}

Analogy for the formulas:

  • Eq. (1): collect every receipt one customer (uju_j) got, from every shop (sis_i) they used, during the time window [ts,te][ts, te].
  • Eq. (2): combine every customer's receipt pile into one giant pile.
  • Verifiable ESI: each receipt gets the shop's signature, a date stamp, and a fingerprint (hash) so it can't be forged.

Big cost OCF = storage cost
From the previous question, suggest optimization reduction.


OCF Issues

CategoryDescriptionImpact
Volume explosionLarge-scale generation of ESI/VESI from a multi-user, multi-service environmentStorage, cost, and performanceoverhead
Verification overheadEvery ESI requires cryptographic verification and provenance linkageHigh computational load and latency
Centralized trust in CSPReliance on the CSP as the evidence authoritySingle point of failure, limited transparency
Irrelevant evidenceNo prioritization or filtering of meaningful ESIData deluge and inefficient investigations
Scalability limitationsContinuous forensics model without optimizationResource exhaustion and limited real-time response

Analogy: Recording and notarizing every receipt from every customer forever means a warehouse full of paper, notaries working 24/7, and investigators drowning in irrelevant receipts — and you must trust the store not to cheat.


Forensics-Enabled Cloud (FECloud)

  • Figure 2: FECloud components — built on top of OpenStack
    • Horizon dashboard (UI) on one side
    • Identity (Keystone) / Authentication on the other side
    • Top layer (forensic modules):
      • Provenance manager
      • Logger
      • Data-possession manager
      • Time-stamp manager
      • → all feed the Proof publisher
    • Middle: Virtual machine
    • Bottom layer (OpenStack services): Object storage, Block storage, Compute, Network, Image
  • The elements communicate with VMs and system modules holding integrity-relevant information (logs, timestamps), then collect and secure the data
  • Ref: S. Zawoad and R. Hasan, "Trustworthy Digital Forensics in the Cloud," Computer, vol. 49, no. 3, pp. 78–81, Mar. 2016, doi: 10.1109/MC.2016.89

An OCF-Supported Cloud (Fig. 4)

  • User → uses → Cloud services
  • Cloud services → Generates → Data / Log → Provenance
    • Persistent record → Persistent Record Storage
    • Volatile record → Continuous Synchronization → Persistent Record Storage
  • Persistent Record Storage → Proof Publisher → Publicly Available Proofs
  • Persistent Record Storage ↔ Web Server ↔ (cloud) ↔ API ↔ Investigator
  • Investigator → Present evidence → Court Authority
  • Court Authority → Evidence Verification ← Collect proofs (from publicly available proofs)
  • Ref: S. Zawoad, R. Hasan and A. Skjellum, "OCF: An Open Cloud Forensics Model for Reliable Digital Forensics," 2015 IEEE 8th International Conference on Cloud Computing, New York, NY, USA, 2015, pp. 437–444, doi: 10.1109/CLOUD.2015.65

Analogy: Publishing proofs publicly is like posting a hash of every page of a ledger in the newspaper each day. Later, the court compares the investigator's pages against the newspaper — if anything was altered, it won't match.


Sample Tools for Cloud Forensics

  • Table 2: The Tools for Cloud Forensics
No.ToolFunctionality
1DiskPulseTrack disk usage — files created, modified, and deleted
2RegShot and RegFromAppTrack registry changes
3TerremarkMonitoring and management of vSphere cloud computing offering
4Guidance EnCaseAcquire a hard drive and memory image remotely
5FTKAcquire a hard drive and memory image remotely
6FTK Imager (disk image)Acquire disk images
9Fast DumpAcquire images of system memory
10MemorizeAcquire images of system memory
11FTK ImagerAcquire images of system memory
12AWS ExportA service request to Amazon to ship a storage device (only S3 bucket)
13AWS CloudWatchEC2 monitoring service

AWS CloudWatch

  • Diagram:
    • Inputs: Resources that use CloudWatch (AWS) + your custom data
    • Amazon CloudWatch stores Metrics (e.g., SVR1-CPU-Percent, SVR2-CPU-Percent, Hrs/Week-Count, other metrics)
    • Amazon CloudWatch Alarm → Actions:
      • SNS email notification
      • Auto Scaling
    • Available statistics → AWS Management Console and Statistics consumer

Analogy: CloudWatch is the security camera + motion sensor of your AWS account — it records metrics constantly and sounds an alarm (email / auto-scale) when something crosses a threshold.


Cloud Forensics Mind Map

  • Standardisation
    • Existing bodies
    • New initiatives
  • Tools
    • Conventional forensics tools
    • Cloud-centric
  • Test and simulation environments
    • Open source
    • Proprietary
  • Research gaps
    • Complete evidence
    • Formalisation
    • Forensics procedure
    • Scalability and load balancing
    • Data redundancy
    • Time stamp and synchronisation

Cloud Forensic Tools Used by Investigators

  • Because cloud-specific forensic tools aren't on the market yet, testing forensic tools on the cloud isn't feasible
    • Investigators still use tried-and-true techniques to get evidence from the cloud
  • EnCase Enterprise — access the guest OS layer to collect data; use IaaS data instead of analyzing historical data
  • AccessData FTK — collect data from the cloud's guest OS layer
  • FROST (slide: "FORST") — an OpenStack cloud tool that gathers API logs, info on virtual disks, and guest firewalls
  • UFED Cloud Analyzer — performs data and metadata analysis on collected data
  • Container Exploration Toolkit and Docker Forensics Toolkit — extract and analyze Docker host system forensic artifacts from their disk images
  • Diffy — provides cloud service and data transparency (used by Netflix)
  • Cloud computing infrastructure isn't disclosed enough — as a safety precaution, CSPs are prohibited from revealing details of the software they use
  • Cellebrite UFED (Universal Forensics Extraction Device) — a hardware-based platform that supports extraction of data from more than 4,000 phones and devices

UFED Cloud

If the token expired it’ll not work. #FinalExam

Analogy: Instead of asking the landlord (CSP) for the key to the suspect's storage unit, investigators use the key the suspect already left in their pocket (login token on their phone).


Docker Forensics Toolkit

  • File system
    • Leading container runtimes use a copy-on-write (CoW) file system
    • Great advantage for forensic acquisition: all default system and application files exist within the container image → only the changes need to be examined
  • Memory
    • By default, processes inside a container cannot interact with memory controlled by processes outside the container
    • Consequence: if you capture all memory for each process in a container, you've captured all allocated memory for that container
  • Diagram: Container on a Host can store data via:
    • Bind mount → host filesystem
    • Volume → Docker area of the filesystem
    • tmpfs mount → host memory
  • https://github.com/docker-forensics-toolkit/toolkit

Analogy: The container image is a printed textbook; CoW means the container only writes in a separate notebook of "edits." An investigator just reads the notebook to see everything that changed.


Copy-on-Write (CoW)

  • A strategy in programming and OS design to optimize copying of data
  • Instead of immediately duplicating the data when a copy is requested, the system creates a new reference to the existing data
  • Actual copying happens only when one party (original or copy) modifies the data
  • Minimizes resource usage and improves efficiency, especially for large datasets
  • Often used in implementing processes (e.g., fork()) and file systems
  • Fundamental idea:
    • If multiple callers ask for resources that are initially indistinguishable, give them pointers to the same resource
    • When a caller tries to modify its "copy," a true private copy is created so the change isn't visible to everyone else
    • All of this happens transparently to the callers
    • Primary advantage: if a caller never modifies, no private copy is ever created
  • In data sharing: everyone shares one copy until someone writes, then a copy is made
  • Usually used to resolve concurrency problems

Analogy: A class shares one Google Doc as "view only." Nobody gets their own copy until someone wants to edit — then they hit "Make a copy," and only their edits go into their personal copy.


Diffy (for Netflix)

  • A triage tool for cloud-centric security incidents, helping DFIR (Digital Forensics & Incident Response) teams quickly identify suspicious hosts to focus on
  • Name comes from its function: identifies differences between instances that might point to compromise, e.g.:
    • Unexpected listening port
    • Running process with an unusual name
    • Strange crontab entry
    • Surprising kernel module
  • Functional baseline method:
    1. Collect an osquery table output (system state) from a single newly-deployed (clean) instance, store it as the baseline
    2. When an incident happens, collect osquery output from all instances in the application group
    3. Compare the two → highlight security-relevant differences for the investigator
  • https://github.com/Netflix-Skunkworks/diffy

Netflix Diffy = Current VM instances - Basline VM instance
it may not identify the malware or ctyber attack, but it says there’s some changes??

Diffy Sequence Diagram

  • Participants: CI/CD, Diffy, App
  • Normal operation:
    1. CI/CD → App: Deploy app VM image
    2. CI/CD: Start VM (running services, open ports, begin serving traffic)
    3. CI/CD → Diffy: HTTP POST /baseline/appname
    4. Diffy → App: Install osquery on "clean" instance
    5. App → Diffy: Collect and retain baseline
  • Active incident: 6. Diffy → App: Install osquery on all instances in group 7. App → Diffy: Collect observations from all instances

Analogy: "Spot the difference" puzzle. Take a photo of a freshly cleaned room (baseline). After a break-in, photograph every room and compare — whatever is different (an open window, a moved vase) is where you look first.


Supporting Strategies

  • Service Level Agreements (SLAs) must specify how an investigator and the CSP would conduct a forensic investigation in case of a criminal occurrence
  • CSPs should provide a method or service allowing investigators to perform in-depth forensic investigations
  • Use IT-based systems to look for evidence of illicit or illegal activity
  • After receiving a complaint and detecting abnormalities, it's possible to monitor and profile the impacted party using an IDS
  • Depending on:
    • Deployment style (community, private, hybrid, public)
    • Cloud service type (SaaS, PaaS, or IoT)
    • Impacted party's location
    • …suspicious cloud events may be discovered — including in hybrid clouds

Challenges in Forensic Data Collection

  • Access to forensic data depends on the cloud model:
    • IaaS customers → relatively easy access to all data needed
    • SaaS customers → little to no access
  • Decreased access means the customer generally has no control or knowledge of the exact physical location of their data
    • May only specify location at a higher abstraction level (object or container identifier)
  • CSPs intentionally hide data location to facilitate data movement and replication

Analogy: IaaS = renting a whole house: you can search every room. SaaS = staying in a hotel: you can only see your room; the hotel won't let you into the basement or the server closet.


Challenges in Elastic, Static, and Live Forensics

  • Proliferation of endpoints (especially mobile) complicates data discovery and evidence collection
    • The sheer number of resources connected to the cloud amplifies crime impact and investigation workload
  • Time synchronization is crucial for audit logs used as evidence
    • Always an issue in network forensics; even harder in the cloud
  • Unification of log formats — traditional network forensics problem, exacerbated in the cloud
    • Extremely difficult to unify log formats or make them convertible across massive resources

Analogy: Reconstructing a timeline from 1,000 CCTV cameras where each clock is slightly off and each camera records in a different video format.


Challenges in the Recovery of Deleted Data

  • In AWS, the right to alter or delete the original snapshot is explicitly reserved for the AWS account that created the volume
  • When item and attribute data are deleted within a domain, removal of the mapping starts immediately and is generally complete within seconds
  • Once the mapping is removed, there is no remote access to the deleted data
  • Key challenge: how to
    • Recover deleted data
    • Identify ownership of deleted data
    • Use deleted data as a source for event reconstruction in the cloud

Challenges in Evidence Segregation

  • In the cloud, instances on the same physical machine are logically isolated via the hypervisor
  • Customer instances have no access to raw disk devices — only virtualized disks
  • At the physical level, system audit logs of shared resources and other forensic data are shared among multiple tenants
  • Challenge for CSPs and law enforcement: maintain segregation throughout the investigation without breaching other tenants' confidentiality, while ensuring admissibility of evidence

Analogy: Searching one tenant's mail in an apartment building's shared mailroom — you must take only their letters without reading anyone else's.


Challenges to the Encryption Feature

  • Encryption separates data hosting (CSP) from data usage (customer)
  • Major CSPs encourage customers to encrypt sensitive data before uploading if the CSP doesn't encrypt by default
  • From a strict security view, unencrypted data in the cloud can be considered lost
  • A chain of separation is required to segregate key management from the CSP hosting the data — this needs to be standardized in contract language
  • (Forensic impact: if the investigator can't get the keys, encrypted evidence may be unreadable)

Challenges in Virtualized Environments

  • Most CSPs run cloud instances in a virtualized environment
    • Servers run as VMs, monitored and provisioned by a hypervisor
  • Attackers will target the hypervisor — compromising it amplifies any attack, since many compute resources depend on its security

Analogy: The hypervisor is the building's master-key system. Pick that one lock and every apartment opens.


Opportunity: Forensics as a Service?

  • "Forensics as a (Cloud) Service" can be developed similarly to other cloud services
  • Uses the cloud's massive computing power to facilitate cybercrime investigations at all levels

Analogy: The same cloud that criminals rent can be rented by investigators — e.g., spinning up 1,000 machines to crack, hash, or search evidence in hours instead of weeks.


Customer's Expectations from CSP

  • Cloud Offering (top) / Auditing (bottom), with four dimensions:
Access to Forensic DataTechnical DimensionOrganizational DimensionLegal Dimension
Encryption keysProactive preparationStaffing structureMulti-jurisdiction
Logs on all levelsForensic data collectionForensic trainingMulti-tenancy
Physical location / physical infrastructureTransparency of data collectionCollaborationChain of custody
Disk images and other forensic data generatedForensic toolsExternal assistanceNotification
Pro-active forensic data collectionEvidence segregationTransparency on chain of dependenciesResource seizure
Virtual environment and hypervisor investigationForensic soundness
Data deletionEvidence admissibility
Incident response & recoveryChange of CSP

CI/CD (Continuous Integration / Delivery / Deployment)

  • Continuous integration loop: Developer → Source control → Build → Test → Report (✓/✗) → back to developer; then Release
  • Pipelines:
    • Continuous Integration: Build →(auto)→ Unit Tests →(auto)→ Deploy to stage →(auto)→ Acceptance Tests
    • Continuous Delivery: Build → Unit Tests → Deploy to stage → Acceptance Tests →(manual)→ Deploy to production
    • Continuous Deployment: Build → Unit Tests → Deploy to stage → Acceptance Tests →(auto)→ Deploy to production
  • Key difference: Delivery = manual approval before production; Deployment = fully automatic
  • (Relevance: Diffy hooks into CI/CD to capture a clean baseline at deploy time)

Analogy: Delivery = the pizza is boxed and waiting at the door; a human decides when to hand it over. Deployment = a robot hands it over automatically the moment it's ready.


END


Virtual Machine vs. Docker Architecture

Virtual Machine ArchitectureDocker Architecture
Host OSHost OS
HypervisorDocker Engine
Each VM: Guest OS + Bins/Libs + AppEach container: App + Bins/Libs (no guest OS)
APP 1, APP 2, APP 3 each with own Guest OSContainer 1 (App 1), Container 2 (App 2) share the host kernel
  • VMs are heavier (full OS each) but more isolated; containers are lightweight and share the host OS kernel
  • Forensic angle: VM evidence = virtual disk + VM RAM; container evidence = CoW layers + per-process memory + mounts

Analogy: VMs are separate houses, each with its own foundation and plumbing (guest OS). Containers are apartments in one building — they share the foundation and plumbing (host kernel) but have their own rooms.