Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Is Digital Forensics?

Digital forensics is the discipline of identifying, preserving, analysing, and presenting digital evidence in a way that keeps it reliable enough for an investigation, a disciplinary hearing, or a court.

Illustration for the cybersecurity term Digital Forensics
Home / Blog / Cybersecurity Terms / What Is Digital Forensics?
17 November 2026

What Is Digital Forensics?

What Is Digital Forensics?

Digital forensics is the scientific discipline of finding, preserving, examining, and reporting on evidence held in computers, phones, networks, and cloud services. Its defining feature is method: every step is carried out so that the evidence stays unaltered and the findings can be repeated and defended, whether in a criminal trial, an employment tribunal, or a board report after a breach.

In corporate cybersecurity, digital forensics usually runs alongside incident response. Responders contain the attack; forensic examiners work out exactly what happened, when it started, which data was touched, and whether the attacker is still present.

The Forensic Process, Step by Step

Most methodologies, including ISO/IEC 27037 for the handling of digital evidence, follow a similar sequence:

  1. Identification: decide which devices, accounts, logs, and cloud tenants are likely to hold relevant evidence.
  2. Preservation: isolate systems where possible, stop log rotation, suspend automatic deletion, and record the chain of custody from the first moment.
  3. Acquisition: create forensic images—bit-for-bit copies—using write blockers for physical media and trusted tools for live systems, then calculate a SHA-256 hash so the copy can later be proven identical to the original.
  4. Analysis: examine the copies, never the originals, to reconstruct activity and build a timeline.
  5. Reporting: present findings clearly, separating fact from interpretation, with enough detail that another examiner could reproduce the work.

Order of Volatility

Evidence does not all last equally long. RFC 3227 sets out the order of volatility: CPU registers and cache, then memory, network connections and running processes, temporary files, disk, remote logs, and finally archival media. Pulling the power on a compromised server destroys memory, which may be the only place where fileless malware, injected code, or decrypted credentials can be found. That is why examiners often capture RAM first.

Branches of Digital Forensics

BranchTypical evidenceCommon tools
Disk and file system$MFT records, deleted files, Prefetch, Amcache, registry hivesAutopsy and The Sleuth Kit, X-Ways, EnCase, FTK
MemoryRunning processes, network sockets, injected code, credentials in LSASSVolatility, MemProcFS
NetworkPacket captures, NetFlow, proxy and DNS logsWireshark, Zeek, Arkime
MobileMessages, app databases, location historyCellebrite, Magnet AXIOM
CloudMicrosoft 365 unified audit log, AWS CloudTrail, Entra ID sign-in logsNative consoles, Microsoft Extractor Suite, Velociraptor

For large estates, triage collectors such as KAPE and Velociraptor gather the most valuable artefacts from hundreds of endpoints in minutes, so examiners can decide where full imaging is worth the time.

What a Forensic Investigation Answers

After a ransomware attack or a suspected data theft, the questions that matter to the business are concrete. How did the attacker get in? Which accounts did they use? Was data exfiltrated, and if so, which records? Is there persistence left behind? Windows event logs (for example event ID 4624 for logons and 4688 for process creation), EDR telemetry, and firewall logs are combined into a single timeline that answers them.

Those answers drive legal decisions. Under UK GDPR, a personal data breach that poses a risk to individuals must be reported to the ICO within 72 hours of becoming aware of it, and forensic findings determine whether that threshold is met and what you can tell affected people. Insurers and regulators such as the FCA will also expect evidence-based conclusions rather than assumptions. Good findings also feed back into detection engineering, turning each indicator of compromise into a new alert.

UK Standards and Admissibility

In England and Wales, many practitioners still follow the four principles of the ACPO Good Practice Guide for Digital Evidence: do not change data that may be relied on in court; if original data must be accessed, the person doing so must be competent and able to explain their actions; keep an audit trail that an independent third party could follow; and the person in charge of the investigation is responsible for ensuring these principles are adhered to.

Since the Forensic Science Regulator Act 2021, the Regulator’s Code of Practice has had a statutory footing, and digital forensic units supporting criminal cases are expected to work to it, typically with ISO/IEC 17025 accreditation. Corporate investigations are not bound in the same way, but following the same discipline keeps your options open if a matter later becomes criminal or contentious.

Preparing Before You Need It

Forensic readiness makes investigations faster and cheaper. Keep logs long enough to cover typical dwell times, synchronise clocks across systems, enable the Microsoft 365 audit features that your licence includes, and agree in advance who may authorise imaging of an executive’s laptop. If you suspect an incident now, our digital forensics services team can preserve and analyse the evidence before it disappears.

FAQ – Frequently Asked Questions

Should I Switch Off a Computer I Think Has Been Hacked?

Usually not. Turning a machine off destroys the contents of memory, which may hold the only trace of fileless malware, attacker tools, or active network connections. Disconnect it from the network instead, by unplugging the cable or isolating it through your EDR console, leave it powered on, and contact a forensic specialist so that memory and disk can be captured properly.

How Long Does a Digital Forensic Investigation Take?

It depends on scope. A single laptop in an insider case might take a few days, while a ransomware attack across hundreds of servers can take several weeks to investigate fully. Initial triage findings, such as the likely entry point and whether data left the network, can often be delivered within the first 48 to 72 hours, which matters for regulatory deadlines.

What Is the Difference Between Digital Forensics and Incident Response?

Incident response focuses on containing and recovering from an attack as quickly as possible. Digital forensics focuses on establishing what happened with evidence that will stand up to scrutiny. In practice the two overlap heavily and are often delivered together as DFIR, with forensic findings guiding containment decisions and response actions carefully recorded so they do not destroy evidence.

Can Deleted Files Be Recovered by Forensic Examiners?

Often, yes. On traditional hard drives, deleting a file usually removes only the reference to it, so the content remains until overwritten. Solid-state drives complicate this because TRIM and wear levelling may clear deleted blocks quickly. Even when content is gone, metadata, logs, shadow copies, cloud sync histories, and backups frequently reveal that a file existed and who accessed it.

Related Terms

You May Be Interested In These

What Is a Trust Boundary?

Cybersecurity Terms

17 November 2026

What Is a Trust Boundary?

Read More
What Is Kerberoasting?

Cybersecurity Terms

3 July 2020

What Is Kerberoasting?

Read More
What Is a Model Card?

Cybersecurity Terms

17 November 2026

What Is a Model Card?

Read More