English:Digital Forensics

Digital Forensics
Introduction
Digital Forensics is the systematic examination of digital data so that you can answer questions about events, actions, devices, accounts, and systems while preserving the integrity and context of the evidence. The field draws on Computer science, Cybersecurity, Forensic science, Information security, law, statistics, and scientific reasoning. At university level, the goal is not simply to learn a collection of tools. You need to understand why a method is appropriate, what assumptions it makes, what it can miss, and how to explain your conclusions so that another qualified examiner could evaluate them.
The National Institute of Standards and Technology describes digital forensics as involving the identification, collection, examination, and analysis of data while preserving information integrity and maintaining a documented chain of custody. Digital evidence can come from computers, phones, removable media, applications, network traffic, cloud services, embedded systems, and many other sources.

The image above shows forensic imaging of a hard drive in the field. Imaging is a common way to create a working copy for examination while protecting the original source from unnecessary alteration.
This introductory video provides a broad orientation to digital forensic science. As you watch, focus on the relationship between technical knowledge, evidence-based reasoning, and communication.
This aiMOOC is designed for university students in computing, cybersecurity, forensic science, criminal justice, and related disciplines. Practical activities should be carried out only on systems, accounts, devices, and datasets that you are authorized to examine. Use synthetic or openly licensed training evidence whenever possible.
Learning Objectives
By the end of this aiMOOC, you should be able to:
- Digital evidence: Explain what makes digital data useful as evidence and distinguish data, artifacts, interpretations, and conclusions.
- Forensic acquisition: Plan an acquisition strategy that considers volatility, preservation, legal authority, scope, and technical risk.
- Evidence integrity: Explain the roles of cryptographic hashes, write blocking, documentation, and chain of custody.
- Forensic analysis: Examine storage, file-system, memory, network, mobile, and cloud artifacts at an introductory university level.
- Scientific method: Form hypotheses, test them against evidence, document limitations, and distinguish observation from inference.
- Forensic reporting: Produce a clear report that is reproducible, appropriately cautious, and understandable to technical and non-technical readers.
Foundations of Digital Forensics
Digital Evidence and Investigative Questions
A digital investigation begins with a question, not with a tool. Examples include: What happened? When did it happen? Which user account or device was involved? What data was accessed, created, modified, transferred, or deleted? Which alternative explanations remain possible? These questions determine which data sources are relevant.
Digital evidence is data with potential probative value. A file, log record, network packet, database row, memory structure, thumbnail, browser artifact, or cloud audit event may all become evidence when connected to an investigative question. The same artifact can support different interpretations depending on system configuration, software version, time settings, and surrounding evidence.
A disciplined examiner separates at least three levels:
- Observation: What the data directly shows, such as a timestamp value, hash value, or log entry.
- Inference: What the observation may imply, such as probable program execution or file access.
- Conclusion: A reasoned statement that integrates multiple observations, explains uncertainty, and addresses alternative explanations.
This distinction matters because digital artifacts do not automatically explain human intent. A file may exist because a user created it, because software generated it automatically, because it was synchronized from another device, or because malware placed it there.
The Forensic Process
A useful high-level process is collection, examination, analysis, and reporting. NIST guidance also emphasizes identifying relevant sources, protecting evidence, and learning from the process. Different organizations may use different terminology, but the core reasoning is similar.
Collection concerns what data to acquire and how to preserve it. Examination extracts and organizes potentially relevant information. Analysis interprets relationships among artifacts and tests hypotheses. Reporting records methods, results, limitations, and conclusions.
Digital forensics often supports Incident response, internal investigations, regulatory work, civil litigation, intelligence analysis, and criminal investigations. The required procedures may differ by jurisdiction and organizational policy, so technical competence must be paired with appropriate legal and ethical guidance.
Preservation, Acquisition, and Integrity
Volatile and Non-Volatile Data
Some evidence is highly volatile. Contents of Random-access memory, active network connections, running processes, logged-in sessions, and temporary encryption material may change quickly or disappear when a system is shut down. Other evidence, such as data on a powered-off hard disk, may persist longer. Acquisition planning therefore requires a justified order of volatility rather than a universal rule.
A live acquisition can preserve volatile evidence but may also change the system by running collection software, creating logs, allocating memory, or altering timestamps. A dead-box acquisition may reduce those changes but can destroy volatile information. The investigator must document the trade-off and explain why the chosen method was proportionate to the question.
Write Blocking and Forensic Imaging
A write blocker is designed to prevent commands that would modify a storage device while allowing read access. Hardware and software write-blocking approaches exist, but both should be validated for the interfaces and media in use.

A forensic image is an acquired representation of source data. A bitstream image aims to preserve addressable sectors, including allocated and unallocated space, rather than merely copying visible files. Depending on the device and investigative need, a logical acquisition may instead collect selected files and application data. Neither approach is automatically superior; the choice depends on scope, access, device technology, legal authority, and the questions being asked.
Hashing and Integrity Verification
A Cryptographic hash function maps input data to a fixed-length digest. In digital forensics, a strong hash such as SHA-256 can help demonstrate that an acquired image or exported artifact has not changed between documented processing steps. Hashes support integrity verification, but a matching hash does not by itself prove who created the data, when it was created, or whether the original device was lawfully obtained.

A sound workflow records the hash algorithm, the resulting digest, the item it applies to, the time of computation, and any later verification. Laboratories should follow current organizational standards for acceptable algorithms and validation.
Chain of Custody and Documentation
Chain of custody is the documented history of evidence possession, transfer, storage, and handling. Good documentation allows another person to reconstruct who handled an item, when, why, and under what conditions. Digital case notes should also record device identifiers, acquisition settings, tool names and versions, time sources, hashes, errors, deviations from procedure, and significant analyst decisions.
Documentation is not an administrative afterthought. It is part of the evidence quality system. If an examiner cannot explain how an artifact was acquired or derived, the reliability of the conclusion becomes harder to evaluate.
Storage Media and File Systems
Hard Disk Drives
A traditional Hard disk drive stores data magnetically on rotating platters. File-system structures map names, directories, timestamps, allocation metadata, and data blocks or clusters to these physical or logical locations.

Understanding the difference between logical files and underlying storage matters because deletion often changes metadata before all associated data is overwritten. However, recovery is not guaranteed, and recovered fragments may lack the context needed for reliable interpretation.
Solid-State Drives and Flash Memory
Solid-state drive technology uses flash memory rather than magnetic platters. SSD controllers may perform wear leveling, garbage collection, and address translation. Operating systems can send TRIM information to indicate blocks that no longer contain needed file data. These mechanisms can make assumptions developed for older magnetic disks unreliable when applied to flash storage.


The diagram illustrates the page-and-block structure used in NAND flash. Forensic interpretation must account for the fact that logical block addresses seen by the operating system are mediated by the device controller.
Removable flash media can also hold valuable evidence. Its small size and portability make careful inventory, labeling, and preservation especially important.
File Systems, Metadata, and Artifacts
A File system organizes storage and records metadata about files and directories. Common examples include NTFS, APFS, ext4, FAT variants, and exFAT. Examiners should understand the specific file-system version and operating-system behavior rather than assuming that one platform's artifacts apply to another.
Useful sources can include file names, paths, sizes, timestamps, access-control information, journal records, thumbnail caches, shortcut data, recent-item lists, browser history, application databases, registry or configuration data, system logs, and synchronization metadata.
Metadata is contextual evidence. A timestamp is a stored value produced according to rules. Its meaning depends on which timestamp field it is, how the operating system updates it, which clock settings were in force, whether the file was copied or synchronized, and whether software later rewrote the metadata.
Deleted Data and File Carving
Deletion frequently means that a file-system reference is removed or marked reusable. Data may remain until it is overwritten, but the persistence pattern differs among storage technologies and file systems.
File carving attempts to recover data by recognizing file structures or signatures independently of active file-system metadata. Carving can be useful, but it may produce incomplete, duplicated, or misidentified output. A carved object may lack its original filename, path, timestamps, or ownership context. NIST's scientific foundation review specifically warns that deleted-file recovery can include extraneous material, so recovered content should be validated and interpreted cautiously.
Memory Forensics
Random-access memory can contain information that is unavailable on disk, including running processes, loaded modules, command history, network state, decrypted content, credentials or cryptographic material, and remnants of user or malware activity. Because RAM is volatile, it may need to be acquired before shutdown when doing so is authorized and proportionate.

Memory analysis commonly involves identifying processes, parent-child relationships, loaded libraries, handles, sockets, and anomalous memory regions. The examiner should compare multiple sources and avoid treating any single automated plugin result as conclusive.
This Volatility 3 tutorial demonstrates a widely used approach to memory analysis. For university practice, work only with training memory images and document the image hash, operating-system context, tool version, commands or plugin names used, and your interpretation of each result.
Network Forensics
Network forensics analyzes network traffic and related records to reconstruct communications and events. Sources can include packet captures, firewall logs, DNS logs, proxy logs, VPN records, flow data, authentication events, intrusion-detection alerts, and cloud network telemetry.

A packet capture can expose protocol details such as source and destination addresses, ports, flags, sequence behavior, queries, and unencrypted payloads. Encryption may limit content visibility but still leave metadata such as endpoints, timing, sizes, certificates, or connection patterns.
When analyzing network evidence, correlate packet-level observations with host and service logs. A single IP address does not necessarily identify a person, and network address translation, VPNs, proxies, shared systems, dynamic addressing, and spoofing can complicate attribution.
Mobile Device Forensics
Smartphones combine storage, sensors, communications, accounts, applications, cloud synchronization, and strong security controls. Potential artifacts include calls, messages, contacts, application databases, photos, geolocation records, browser activity, notifications, device identifiers, authentication state, and synchronized cloud content.

Mobile acquisition may be logical, file-system based, physical, backup based, or derived from synchronized cloud services. Available methods depend heavily on device model, operating-system version, lock state, encryption, permissions, and tool capability. Because mobile platforms change rapidly, you should verify current tool support and avoid assuming that a method valid for one version remains valid for another.
Mobile evidence also raises major privacy and scope questions because one device may contain years of intimate information unrelated to the investigation. Proportional collection, access control, minimization, and careful reporting are therefore essential.
Cloud and Distributed Evidence
Cloud computing changes both evidence location and evidence ownership. Relevant data may be distributed across endpoints, identity providers, software-as-a-service platforms, infrastructure logs, backups, object storage, and third-party providers. The investigator may not have physical access to the underlying hardware.
Important questions include: Which tenant or account produced the log? What time zone does the service use? How long are records retained? Can an administrator alter or delete them? What export format preserves relevant metadata? Which provider documentation explains the event schema? How is authenticity or integrity established?
Cloud investigations often require correlation across multiple systems. Identity logs may show authentication, endpoint logs may show process activity, and storage logs may show object access. A defensible conclusion emerges from the relationship among these sources rather than from one isolated event.
Tool-Assisted Examination
Digital forensic platforms can index, parse, search, hash, categorize, recover, and report data. Examples include Autopsy, The Sleuth Kit, Volatility, and Wireshark. Commercial tools are also widely used. Tool output is evidence-derived information, not unquestionable truth.
Good practice includes recording tool versions and settings, validating important findings with another method when feasible, preserving original evidence, and checking whether the tool's parser supports the exact artifact version being examined.
NIST's Computer Forensics Tool Testing program exists because forensic tools need systematic testing. Reference datasets such as CFReDS can help students and practitioners compare tool results with known evidence.
Scientific Reasoning, Validation, and Uncertainty
Digital forensics rests on established computer science methods, but reliable practice requires more than pressing a button. NIST's scientific foundation review emphasizes several limitations: not all evidence will necessarily be found, deleted-file recovery can include extraneous material, and software updates can change the meaning of artifacts.
A university-level forensic argument should therefore make its reasoning visible:
- Hypothesis: State the proposition you are testing.
- Prediction: Identify which artifacts should exist if the hypothesis is true and which might contradict it.
- Examination: Use appropriate methods to locate and validate those artifacts.
- Corroboration: Compare independent sources where possible.
- Alternative hypothesis: Consider other explanations for the same observations.
- Uncertainty: State missing data, tool limitations, time ambiguity, or unresolved contradictions.
Reproducibility is strengthened when another examiner can use your notes, evidence hashes, tool versions, and procedures to reproduce the key observations.
Timeline Analysis
Timeline analysis orders events from multiple data sources so that relationships become easier to test. A timeline may combine file-system timestamps, log events, browser history, application databases, network events, and cloud records.
Never assume that timestamps are perfectly synchronized. Check system clock settings, time zones, daylight-saving changes, NTP status, source-specific timestamp formats, and whether an application records UTC or local time. Distinguish a timestamp stored by a system from your interpretation of what happened at that moment.
A strong timeline includes source attribution for every event. Instead of writing "the user opened the document at 14:03," write a more precise observation such as "the application artifact records the document path with a timestamp corresponding to 14:03 UTC," then explain why that artifact is consistent with opening activity and what alternative causes are possible.
Anti-Forensics, Encryption, and Evasion
Anti-forensics describes attempts to hinder collection, analysis, or interpretation. Examples include secure deletion, log tampering, timestamp manipulation, encryption, steganography, obfuscation, and deliberate generation of misleading artifacts.
The presence of an anti-forensic technique should not automatically be treated as evidence of malicious intent. Encryption is normal and often required for legitimate security. Privacy tools also have lawful uses. Investigators should report the technical observation and avoid overclaiming intent without corroborating evidence.
When data cannot be recovered or decrypted, that absence is itself a limitation to document. A defensible report distinguishes "not found" from "did not exist."
Reporting and Expert Communication
A forensic report should explain the question, scope, authority, evidence received, acquisition method, integrity checks, examination method, significant observations, reasoning, limitations, and conclusions. Technical appendices can preserve detailed tool output while the main narrative remains understandable.
Use precise language. Prefer "the artifact is consistent with" when several explanations remain possible. Avoid claiming that an automated timestamp, IP address, filename, or account identifier proves a specific person's action unless the evidence supports that attribution.
Tables, timelines, screenshots, and diagrams can improve communication when they are labeled, sourced, and explained. Every important visual should answer an investigative question rather than merely decorate the report.
Ethics, Law, and Professional Responsibility
Digital forensic work can expose private communications, location histories, health information, financial data, trade secrets, and information about uninvolved people. Technical capability does not create legal authority. Before acquisition or analysis, establish the permitted scope through applicable law, institutional policy, consent, contractual authority, warrant or court order, or other valid authorization.
At university, use intentionally created lab images, public forensic datasets, or devices you own and are authorized to examine. Do not collect real traffic from other users, bypass access controls on third-party systems, or publish personal data found in training material.
Professional responsibility also includes competence. If an artifact lies outside your expertise, document that limitation and seek appropriate review rather than presenting speculation as fact.
Case Study: Suspected Data Exfiltration
A research laboratory reports that a confidential document may have been copied to removable media and later uploaded to a cloud account. The forensic task is to test this claim without assuming that it is true.
A reasonable plan would identify relevant endpoints, removable-media artifacts, file-system metadata, application logs, browser or sync-client records, network telemetry, authentication logs, and cloud audit events. The plan would preserve evidence first, document time sources, and collect only data within the authorized scope.
Possible observations could include a USB device connection, a file access event, a matching filename or hash in a synchronized folder, a network transfer to a cloud service, and a cloud object creation event. None of these observations alone necessarily proves intentional exfiltration. Correlation, chronology, account attribution, system behavior, and alternative explanations such as automated synchronization must be evaluated together.
This case illustrates a central principle: digital forensics is structured reasoning from evidence, not storytelling around a preferred conclusion.
Reliable References and Practice Data
The following openly accessible resources support further university study:
- NIST: Guide to Integrating Forensic Techniques into Incident Response provides a widely cited forensic process and discussion of data sources.
- Digital evidence: Digital Evidence Preservation: Considerations for Evidence Handlers focuses on preserving digital evidence.
- Scientific method: Digital Investigation Techniques: A NIST Scientific Foundation Review discusses scientific foundations and limitations.
- Forensic software: Computer Forensics Tool Testing explains NIST's methodology for evaluating forensic tools.
- Training dataset: Computer Forensic Reference DataSet Portal provides documented forensic datasets for training, testing, and proficiency work.
These resources are technical and scientific guidance rather than a substitute for jurisdiction-specific legal advice.
Interactive Tasks
Quiz: Test Your Knowledge
Why is a forensic hash commonly calculated for an acquired image? (To verify that the image has not changed) (!To identify the human who created every file) (!To decrypt encrypted evidence automatically) (!To prove that every sector was originally allocated)
Which data source is usually most volatile? (Contents of live RAM) (!A powered-off optical disc) (!A printed forensic report) (!A sealed evidence label)
What is the main purpose of a write blocker? (To prevent modification of source media during acquisition) (!To increase the storage capacity of a drive) (!To recover deleted files automatically) (!To synchronize system clocks)
What does file carving primarily rely on? (Recognizable file structures or signatures) (!The original filename alone) (!The investigator's memory) (!The account password database)
Why should timestamps be interpreted cautiously? (Their meaning depends on system and application behavior) (!They are always stored as local time) (!They always prove who used the computer) (!They cannot be altered by software)
Which statement best describes forensic tool output? (It must be interpreted and validated in context) (!It is automatically a final conclusion) (!It replaces the need for documentation) (!It is always identical across software versions)
What is chain of custody designed to document? (The handling and transfer history of evidence) (!The source code of every forensic tool) (!The physical design of a processor) (!The user's browsing preferences)
Which source is most directly associated with network forensics? (Packet captures) (!Keyboard keycaps) (!Printed invoices) (!Monitor brightness settings)
Why can solid-state drives complicate deleted-data recovery? (Controller behavior can change how unused flash is managed) (!They store all files permanently) (!They have no logical addresses) (!They cannot use file systems)
What is the strongest basis for a forensic conclusion? (Corroborated observations with documented reasoning) (!A single unexplained screenshot) (!An examiner's intuition without notes) (!The most dramatic possible interpretation)
Memory Game
| Write blocker | Prevents unintended writes to source media |
| Hash digest | Fixed-length value used for integrity comparison |
| Chain of custody | Documented history of evidence handling |
| File carving | Recovery based on file structures or signatures |
| Volatile data | Information that may disappear quickly |
| Packet capture | Recorded network traffic for later analysis |
Drag and Drop
| Match the correct terms. | Topic |
|---|---|
| Preservation | Protect evidence from avoidable change |
| Acquisition | Create an authorized forensic copy or collection |
| Examination | Extract and organize potentially relevant information |
| Analysis | Interpret relationships and test hypotheses |
| Reporting | Communicate methods findings limitations and conclusions |
...
Crossword Puzzle
| Integrity | What quality is checked when hashes of two forensic copies match? |
| Acquisition | What process collects or images digital evidence for examination? |
| Metadata | What data describes properties and context of other data? |
| Volatility | Which framework is widely used for memory forensics? |
| Timeline | What chronological structure helps correlate events from different sources? |
| Hashing | What process creates a fixed-length digest from evidence data? |
LearningApps
Cloze Text
Open-Ended Tasks
Easy
- Evidence inventory: Create a one-page evidence inventory for a fictional university laptop case, including identifiers, condition, source, date received, and authorized scope.
- Hash verification: Use a small instructor-provided file to calculate a SHA-256 hash with two independent tools, compare the results, and explain what the match does and does not prove.
- Timeline vocabulary: Build a visual glossary that distinguishes observation, inference, conclusion, timestamp, metadata, and provenance with one forensic example for each term.
- Media explanation: Choose one Wikimedia image from this aiMOOC and record a two-minute explanatory video showing how the hardware or software shown relates to digital evidence.
Standard
- Forensic acquisition plan: Design an acquisition plan for a powered-on laboratory workstation that weighs volatile evidence against the changes caused by live collection and justifies the order of actions.
- File system analysis: Examine an instructor-provided disk image with an approved forensic tool and produce a short report on three artifacts, including paths, timestamps, tool version, and limitations.
- Network timeline: Analyze a provided packet capture and create a timeline of DNS and connection events, then correlate at least two events with a supplied host log.
- Practitioner interview: Interview a digital forensic examiner, incident responder, legal professional, or laboratory quality manager about documentation and uncertainty, then summarize the interview without disclosing confidential case information.
Advanced
- Memory forensics project: Analyze a training memory image with Volatility 3, test a hypothesis about process and network activity, and document commands, plugin output, corroboration, and unresolved uncertainty.
- Tool validation study: Select one forensic function such as hashing, deleted-file recovery, or timestamp parsing and design a repeatable validation experiment using a known reference dataset.
- Cloud evidence model: Create an architecture diagram for a fictional cloud investigation that maps endpoint, identity, storage, network, and audit evidence, then explain retention and provenance risks.
- Forensic expert report: Produce a structured expert-style report from a synthetic case dataset, including scope, evidence handling, methods, key observations, alternative explanations, limitations, and a defensible conclusion.
Learning Assessment
- Corroboration assessment: Given conflicting host, network, and cloud timestamps, produce a reasoned event sequence and explain which sources you trust most and why.
- Acquisition decision: Compare live and dead-box acquisition for a ransomware-affected workstation and justify a method based on volatility, safety, scope, and expected evidence value.
- Artifact interpretation: Evaluate three possible explanations for a browser artifact and identify additional evidence needed to distinguish among them.
- Tool reliability: Review a hypothetical parser result that changes after a software update and propose a validation plan before using the artifact in a formal conclusion.
- Privacy and proportionality: Given a mobile-device investigation with large amounts of unrelated personal data, design a collection and reporting strategy that minimizes unnecessary exposure while meeting the investigative objective.
- Transfer task: Apply digital forensic principles to an unfamiliar Internet-of-Things device by identifying likely data sources, preservation risks, acquisition constraints, and validation steps.
Evidence of Learning
Important evidence of learning includes knowledge of forensic process models, evidence types, file systems, volatile data, hashing, network and mobile artifacts, and the limitations of automated tools.
It also includes skills in evidence inventory, acquisition planning, integrity verification, artifact examination, timeline construction, hypothesis testing, corroboration, uncertainty analysis, and technical reporting.
Useful products include validated hash records, acquisition plans, annotated screenshots, forensic timelines, lab notes, reproducible tool procedures, validation experiments, diagrams, and structured reports.
Strong transfer achievement is shown when you can apply the same principles to a new device, application, file system, cloud service, or dataset without assuming that familiar artifacts behave identically. You should be able to identify what must be researched, tested, and documented before drawing conclusions.
OERs on the Topic
Linked Learning Areas
aiMOOC Projects
NEWSLernweltNOAH fragen