Skip to content
Data recovery lab · Denver, Colorado24/7 emergency line (720) 222-0110Check Case

Knowledge Base

Forensics

Digital forensics: preserving evidence, chain of custody, and what can be found on computers and phones.

Digital Forensics

Legal aspects of data recovery and investigation

Digital forensics is the recovery and examination of data in a way that can stand up in court, an HR investigation, or an insurance dispute. The data itself may be the same files a normal recovery would find. What differs is how they are handled and documented.

The basic steps are consistent. Evidence is collected with a write blocker, a device that lets the examiner read a drive without writing anything to it. The examiner makes a bit-for-bit image and records a cryptographic hash, a fingerprint of the data. If the image later produces the same hash, nothing has changed. All analysis happens on copies of that image, and the original goes back into secure storage.

Chain of custody is the written record of who held the evidence, when, where it was kept, and why it moved. A gap in that record gives the other side a reason to challenge the evidence. The examiner also keeps notes of tools, settings, and findings so another expert could repeat the work.

If you think a device may become evidence, don't browse it, copy files off it, or run cleanup tools, since each action changes timestamps and may destroy deleted data. Power it down according to your lawyer's or examiner's instructions, label it, and write down who touched it. Consult an attorney about preservation duties.

Advanced · forensics · legal · investigation

Network Forensics

Analyzing network data for investigations

Network forensics is the examination of network traffic and the logs of network devices to learn what happened: which machines talked to which, when, and how much data moved. It supports investigations of intrusions, data theft, malware activity, and policy violations.

The sources come in a few kinds. Full packet captures hold everything that crossed the wire and can be opened in tools such as Wireshark, but they exist only if a capture was already running, and they take a lot of storage. Flow records, such as NetFlow, store summaries of connections without contents. Firewall, DNS, proxy, VPN, and server logs record who connected and what was requested. Even without contents, these records can show when an attacker first got in, which accounts were used, and where stolen data was sent.

Encryption limits what can be read. Most web traffic is protected with TLS, so a capture usually shows the endpoints, timing, and volume rather than the data inside. That is still useful, since it can show an unusual transfer to an unknown address.

Timing matters, because many logs rotate out after a short period. If an incident is suspected, tell whoever manages your network to keep existing logs and captures and stop automatic deletion. Don't rebuild or wipe systems before logs are saved. Make sure device clocks are accurate, since correlating events across machines depends on it.

Advanced · network · wireshark · traffic

Memory Forensics

RAM analysis for digital investigations

Memory forensics examines a computer's RAM, the working memory that holds running programs and the data they are using. RAM is volatile, which means its contents vanish when power goes off. That makes it valuable and fragile: it can hold things that never reach the disk, such as running processes, open network connections, decrypted data, encryption keys, passwords typed in a session, and malware that exists only in memory.

The examiner captures an image of memory from the running machine with a specialized tool, then studies it with frameworks such as Volatility, which can list processes, connections, loaded modules, and recover strings and artifacts from the image. Hibernation files and page files on disk also hold pieces of memory, which can help when a live capture was not possible.

The big decision comes early. If a system may be compromised or holds evidence, shutting it down destroys the memory, while leaving it running lets an attacker keep working. Which is right depends on the situation, and it is a call for an incident response professional. Capturing memory also changes the machine a little, so it should be documented.

Until someone qualified arrives, don't reboot or log out, and don't run antivirus scans or cleanup tools, which alter the evidence. Disconnecting the network cable is often reasonable. Write down what is on the screen and the time.

Advanced · memory · ram · volatility

Mobile Forensics

Smartphone and tablet investigation techniques

Mobile forensics is the structured examination of a phone or tablet to collect evidence, such as messages, call logs, photos, location history, app data, and deleted items. It is used in criminal and civil cases, workplace investigations, and sometimes by people who need proof of harassment or threats.

Examiners generally speak of three levels. A logical acquisition copies the data the phone is willing to share, much like a backup. A file system acquisition gets deeper access to the app databases and files. A physical acquisition reads the raw memory, which can include deleted data. On modern devices with full encryption, physical access depends on the model, the operating system version, and whether the device is unlocked, so what is possible changes with every new release.

The phone must be handled with care from the start. A phone connected to a network can receive a remote wipe command or new messages that overwrite data. Examiners often isolate a phone from the network with a shielded bag or airplane mode. They also record hashes of what they extract and keep a chain of custody.

If you may need a phone examined, don't scroll through it, delete anything, or reset it. Keep the phone charged and off the network, and talk to an attorney about preservation duties.

Advanced · mobile · forensics · extraction

Cloud Forensics

Investigating cloud-based evidence

Cloud forensics investigates evidence that lives in services you don't own, such as Microsoft 365, Google Workspace, Amazon Web Services, Azure, or Dropbox. It differs from examining a laptop because you cannot pick up the hardware. The data sits on shared infrastructure, maybe in several countries, and the provider controls what you can see.

The usual sources are the logs and exports the service offers. Examples are sign-in records, audit logs of file access and sharing, mailbox activity, and, for infrastructure services, configuration history and network flow records. How long they are kept depends on the product and the plan, and some of the most useful logging is not turned on by default or is not available at lower tiers.

Access to data goes through the customer's administrator, the provider's tools, or, for outsiders, legal process. Laws about data location and privacy, such as GDPR, can affect what may be collected and moved. The shared responsibility model means the provider secures the platform, but the customer is responsible for how accounts and settings are configured.

If a cloud account is part of an incident, act fast to preserve logs and export them. Don't delete accounts or reset configurations before the logs are saved.

Advanced · cloud · jurisdiction · evidence

Evidence Preservation

Maintaining evidence integrity during recovery

Evidence preservation means keeping digital material in a state where nobody can later claim it was altered. The goal is to be able to show that what you analyze is the same as what was originally collected.

The technical methods are standard. A write blocker sits between the drive and the examiner's computer so that nothing is written to the original. The examiner makes a forensic image, an exact copy of every sector, and calculates a hash such as SHA-256, a fingerprint that changes if even one bit differs. The hash of the copy is compared with the original's, and analysis is done on the copy. The original is sealed, labeled, and stored.

Documentation is as important as the technique. A chain of custody log records who collected each item, when, where it was stored, and every transfer. Photographs, the serial number, and a record of the tools used let another expert repeat the process.

Most evidence is lost before an examiner is ever called. People turn on a computer to look around, which changes timestamps, or run cleanup software.

If something may be needed in a dispute, leave it as it is, switch it off or isolate it according to guidance, label it, write down who has handled it, and speak to a lawyer.

Advanced · evidence · chain of custody · preservation

Write Blockers

Reading evidence without changing it

Simply connecting a drive to a computer can change it: operating systems update timestamps, write logs, create hidden files, and may even try to repair file systems. A write blocker sits between the evidence drive and the examination computer and lets read commands through while blocking anything that would write.

Hardware write blockers are dedicated devices for SATA, SAS, USB, and NVMe drives; software write blocking is used in some situations. Either way, the method should be documented and tested.

A write blocker, together with hashing the drive before and after imaging, shows that the evidence wasn't altered during acquisition.

Intermediate · write blocker · evidence · forensic imaging · integrity

Hash Values: MD5, SHA-1, and SHA-256

Digital fingerprints that prove a copy is exact

A hash function turns any amount of data into a short, fixed-length value. Change a single bit and the hash changes completely. Examiners hash the original drive and the forensic image, and matching values show the copy is identical.

MD5 and SHA-1 are still common for verifying images, though both are considered broken for security purposes because collisions can be engineered. SHA-256 is widely used today, and many examiners record more than one algorithm.

Hashes also identify known files: matching against lists of standard operating system files filters them out, and matching against lists of files of interest finds those quickly.

Intermediate · hashing · sha-256 · md5 · verification

Forensic Image Formats

Raw, E01, and AFF4

A raw image, often named .dd or .img, is a plain sector-by-sector copy with nothing added. It's simple and universal but large, and its hash and case information must be recorded separately.

The Expert Witness Format, E01, stores the same data compressed in segments, with embedded case notes, hashes, and error records, and most forensic tools support it. AFF4 is an open format designed for very large evidence sets and more complex sources.

Whatever the format, the documentation should record the acquisition tool and version, settings, start and end times, any read errors, and the verification hashes.

Advanced · e01 · raw image · aff4 · forensic image

File Timestamps and MAC Times

What modified, accessed, and created really mean

File systems record several times for each file, often summarized as MAC or MACB: modified, accessed, changed (metadata changed), and born (created). NTFS keeps two sets: one in the standard information attribute, which programs can easily alter, and one in the file name attribute, which is harder to change.

These times don't always mean what they seem. Copying a file can give it a new creation time while keeping the old modified time. Access times are often disabled or updated lazily. Moving files between file systems or devices, or through email and cloud services, can reset some of them.

Reliable conclusions come from comparing several sources, such as file system records, journals, internal document metadata, and logs, rather than trusting one timestamp.

Advanced · timestamps · mac times · ntfs · metadata

Document and Photo Metadata

EXIF, author fields, and embedded history

Photos often contain EXIF metadata: camera model, capture time, settings, and sometimes GPS location. Office documents and PDFs record authors, organization names, creation and editing times, revision counts, and sometimes the software used.

Metadata can help establish when, where, and by whom something was created, but it can be edited, it's stripped by many social media and messaging apps, and it's distorted by camera clocks that were set wrong.

Treat metadata as one piece of evidence to be corroborated, not proof on its own. Preserve originals, since forwarding or re-downloading a file often removes the metadata you need.

Intermediate · exif · metadata · document properties · authenticity

Unallocated and Slack Space

Where deleted data hides

Unallocated space is the part of a drive the file system considers free. It often holds remnants of deleted files, old versions, and temporary data until it's overwritten. Slack space is the unused area at the end of a file's last cluster, which can contain leftovers from whatever was stored there before.

Examiners search these areas for fragments of documents, images, messages, and browsing history that no longer appear in any folder.

On SSDs, TRIM and garbage collection often clear unallocated space, so these artifacts are much rarer. That's one more reason to collect devices promptly and stop using them after an incident.

Advanced · unallocated space · slack space · deleted data · forensics

Timeline Analysis

Putting events in order across many sources

Timeline analysis combines timestamps from many sources into one sequence: file system records, event logs, browser history, USB connection records, email, cloud audit logs, and application data. Seeing events side by side often reveals what no single artifact can.

A good timeline accounts for time zones, differences between device clocks, and how each source records time. Some sources use local time, others UTC, and device clocks can simply be wrong.

In investigations, timelines answer questions like what happened just before files were deleted, when a USB drive was connected, or whether activity happened during working hours.

Advanced · timeline · forensics · event logs · investigation

Windows Activity Artifacts

Traces Windows leaves of what users did

Windows records a great deal of activity as part of normal operation: recently opened files, shortcut (LNK) files and jump lists, folder views known as ShellBags, program execution traces such as Prefetch, registry records of connected USB devices, event logs, and more.

Together, these can show which files a user opened, which programs ran and when, and which external drives were connected, even after the files themselves were deleted.

These artifacts vary with Windows versions and settings, and some are overwritten quickly. Imaging the computer early preserves them; using it normally afterward erodes them.

Advanced · windows artifacts · registry · lnk files · prefetch

USB Device History

Showing which drives were connected

When a USB storage device is connected to a Windows or Mac computer, the system records details such as the device's vendor, model, and often a serial number, along with connection times. Event logs and other artifacts can add drive letters, volume names, and files opened from the device.

In data-theft investigations, this can show that a particular drive was connected on a particular date and, if that drive is found, which files were copied to it.

The records aren't perfect: some devices lack unique serial numbers, and some traces are overwritten over time. Combining several sources gives the most reliable picture.

Advanced · usb history · data exfiltration · registry · investigation

Email Header Analysis

Tracing where a message really came from

Every email carries headers recording the servers it passed through, with timestamps, plus authentication results such as SPF, DKIM, and DMARC. The visible sender name and address are easy to fake; the routing and authentication headers are much harder to forge.

Header analysis helps verify whether a message was really sent by the claimed sender, when it was sent, and whether it was altered. It's central to business email compromise cases and disputes over whether an email is genuine.

Preserve suspicious emails in their original form, exported from the mail system as the original message file, rather than forwarding them, which rewrites headers. Screenshots and printouts lose most of this information.

Advanced · email headers · spf dkim · email authentication · phishing

Live vs Dead-Box Acquisition

Collecting a running system vs a powered-off one

Traditional dead-box forensics images a powered-off computer's drive. Live acquisition collects data from a running system: memory contents, running processes, network connections, and decrypted volumes that would lock again at shutdown.

With full-disk encryption now common, live acquisition can be the only chance to capture readable data when keys aren't available. It also captures volatile evidence of malware and intrusions that disappears when the machine is turned off.

The tradeoff is that interacting with a live system changes it slightly, so every action must be minimal, documented, and justified. Whether to pull the plug or collect live is a decision best made with a professional before anyone touches the machine.

Advanced · live acquisition · memory capture · encryption · forensics

More categories