Lecture 14 - Cloud Forensics
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):
- Identification — at the Scene of Crime
- Seizure & Hashing — at the Scene of Crime
- Acquisition
- Authentication
- Analysis ⭐ (done in the CFL — Cyber/Computer Forensics Lab)
- Presentation
- 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-active | Evidence segregation | Data mining | Documentation |
| Client-side | Traceability | Reconstruction | Presentation |
| Provider-side | Filtering | Time sequence | Expert testimony |
| Data sources | Pattern matching | … | |
| Mobile endpoints | Data 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
- Image file (
.vmdk,.vhd, etc.) - Mounting software (e.g., Image Mount Pro)
- Virtual drive
- 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
- Metadata path:
- Both reports → Investigator's Examination Phase Report
- Hash (Report) — to protect integrity
- Analysis Lab
A Roadmap Ahead — Traditional vs. Cloud Forensics
- Root: Preservation / Collection
| Traditional Forensics Area | Cloud Forensics Challenge |
|---|---|
| S/W tools | Lack of specialized tools |
| Storage capacity | Distributed, virtualized, and volatile storage |
| Chain of custody | No roadmap for cloud forensics |
| Media imaging | Imaging physical media in a cloud is impractical |
| Time synch | Evidence from multiple time zones |
| Legal authority | Data stored in multiple jurisdictions |
| Data integrity | Lack of write-blocking |
| Live vs. dead acquisition | Acquiring 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 Framework | Evidence Collection for Cloud Storage | Evidence Collection for Cloud Log Analysis |
|---|---|---|
| Evidence identification | Identify evidence from cloud storage (Dropbox, iCloud, SkyDrive, Google Drive, etc.) and from user account information | Identify 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 analysis | Identify patterns from the collected evidence to determine the source of attacks in the cloud | Determine attack patternsfrom cloud log files and analyze them using a cloud traceback mechanism to identify the source |
| Evidence presentation & reporting | Forensic investigator examines the evidence and presents it in court | Identify 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
- Cloud Services —
- Outside:
- Verifiable ESI —
collectedBy→ Investigator - Evidence —
derivedFrom→ Verifiable ESI - Evidence —
presentedBy→ Investigator - Evidence —
verifiedByandusedBy→ Court Authority
- Verifiable ESI —
OCF Formal Definitions
- Let be the set of all users (customers) of a CSP, with users:
- The CSP provides services; let be the set of all services:
- 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 by user at time is written as
- If user has access to services (), then all ESI of user between time and is:
- The complete set of ESI between and for all users:
- Verifiable ESI:
Analogy for the formulas:
- Eq. (1): collect every receipt one customer () got, from every shop () they used, during the time window .
- 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
| Category | Description | Impact |
|---|---|---|
| Volume explosion | Large-scale generation of ESI/VESI from a multi-user, multi-service environment | Storage, cost, and performanceoverhead |
| Verification overhead | Every ESI requires cryptographic verification and provenance linkage | High computational load and latency |
| Centralized trust in CSP | Reliance on the CSP as the evidence authority | Single point of failure, limited transparency |
| Irrelevant evidence | No prioritization or filtering of meaningful ESI | Data deluge and inefficient investigations |
| Scalability limitations | Continuous forensics model without optimization | Resource 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. | Tool | Functionality |
|---|---|---|
| 1 | DiskPulse | Track disk usage — files created, modified, and deleted |
| 2 | RegShot and RegFromApp | Track registry changes |
| 3 | Terremark | Monitoring and management of vSphere cloud computing offering |
| 4 | Guidance EnCase | Acquire a hard drive and memory image remotely |
| 5 | FTK | Acquire a hard drive and memory image remotely |
| 6 | FTK Imager (disk image) | Acquire disk images |
| 9 | Fast Dump | Acquire images of system memory |
| 10 | Memorize | Acquire images of system memory |
| 11 | FTK Imager | Acquire images of system memory |
| 12 | AWS Export | A service request to Amazon to ship a storage device (only S3 bucket) |
| 13 | AWS CloudWatch | EC2 monitoring service |
- (Numbering on the slide skips 7–8)
- https://aws.amazon.com/cloudwatch/
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
- Uses tokens found on mobile devices and computers to access a suspect's cloud environment
- Done in a forensically responsible manner
- Investigators are no longer dependent on service providers → saves valuable time
- https://cellebrite.com/en/how-to-use-cellebrite-physical-analyzers-new-cloud-feature/
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:
- Collect an osquery table output (system state) from a single newly-deployed (clean) instance, store it as the baseline
- When an incident happens, collect osquery output from all instances in the application group
- 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:
- CI/CD → App: Deploy app VM image
- CI/CD: Start VM (running services, open ports, begin serving traffic)
- CI/CD → Diffy:
HTTP POST /baseline/appname - Diffy → App: Install osquery on "clean" instance
- 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 Data | Technical Dimension | Organizational Dimension | Legal Dimension |
|---|---|---|---|
| Encryption keys | Proactive preparation | Staffing structure | Multi-jurisdiction |
| Logs on all levels | Forensic data collection | Forensic training | Multi-tenancy |
| Physical location / physical infrastructure | Transparency of data collection | Collaboration | Chain of custody |
| Disk images and other forensic data generated | Forensic tools | External assistance | Notification |
| Pro-active forensic data collection | Evidence segregation | Transparency on chain of dependencies | Resource seizure |
| Virtual environment and hypervisor investigation | Forensic soundness | ||
| Data deletion | Evidence admissibility | ||
| Incident response & recovery | Change 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 Architecture | Docker Architecture |
|---|---|
| Host OS | Host OS |
| Hypervisor | Docker Engine |
| Each VM: Guest OS + Bins/Libs + App | Each container: App + Bins/Libs (no guest OS) |
| APP 1, APP 2, APP 3 each with own Guest OS | Container 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.