Lesson 2 of 2 Investigations and Digital Forensics

Investigative Techniques and Digital Forensics

Investigations combine interviews, records and forensic analysis to establish what happened. This lesson covers investigative techniques, forensic procedures and tools, common artifacts and reporting.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe investigative techniques and the difference between enticement and entrapment.
  • Explain forensic procedures and identify common artifacts.

Investigative techniques

Investigators gather facts through interviews, log and timeline analysis, forensic examination, network traffic analysis, review of physical access records and CCTV, and sometimes surveillance. They form hypotheses and test them against evidence rather than seeking evidence for a conclusion already reached. Interviews of suspects involve HR and legal counsel, and interrogation is left to trained professionals.

Investigations must respect privacy laws, employment contracts and policies; monitoring employees should be based on a published policy and logon banners. Enticement (offering an opportunity to someone already intent on wrongdoing, such as a honeypot) is generally legal; entrapment (inducing someone to commit an offence they would not otherwise commit) is not.

Investigations begin with scoping and authorisation. Before collecting anything, the team confirms who has authorised the investigation, what question it must answer, which systems and people are in scope and whether law enforcement, regulators or insurers need to be involved. Interviews are planned with the facts already gathered, so that investigators can test statements against evidence, and witnesses are usually interviewed before the subject, whose interview may alert them.

Sort into groups

Enticement or entrapment?

Exam skills 7.1.3

Decide whether each tactic is enticement or entrapment.

Log in to try this activity Interactive activities are free with an account.

Forensic procedures and tools

The forensic process is identification, preservation, collection, examination, analysis and presentation. Tools include write blockers and imaging tools, forensic suites for file system analysis and recovery of deleted data, memory analysis tools, network capture and analysis tools, and mobile forensic tools. Tools must be validated, procedures documented and repeatable, and examiners trained, so that another examiner could reproduce the results. Live response collects data from running systems when shutting them down would lose evidence or disrupt critical services.

Live response has a cost: every command run on a live system changes it slightly, for example by loading programs into memory and updating access times. Examiners therefore run trusted tools from external media rather than the suspect system's own utilities, which an attacker may have replaced, record every command and its time, and collect the most volatile data first. The changes they cause are documented so that they can be distinguished from the attacker's activity.

Put in order

The forensic process

Exam skills 7.1.4

Arrange the stages of the forensic process.

Log in to try this activity Interactive activities are free with an account.

Artifacts

Artifacts are traces of activity. The following table lists common artifacts by source.

SourceExamples
ComputerFile system timestamps, registry entries, event logs, browser history, prefetch files, deleted files in unallocated space, memory
DataDocument metadata, email headers, file hashes
NetworkPacket captures, flow records, firewall, proxy, DNS and DHCP logs
Mobile deviceCall logs, messages, location history, application data, cloud backups

Seized mobile devices are placed in Faraday bags to block signals that could trigger remote wiping. Investigators build a timeline from timestamps across artifacts, taking care with time zones and clock differences.

Deleted data is often recoverable because deletion usually removes only the file system's reference to the data, leaving the content in unallocated space until it is overwritten, a consequence of the data remanence covered in Domain 2. Examiners recover such content by searching unallocated space for known file signatures, a technique called file carving.

The following diagram correlates artifacts from several sources into one timeline.

Correlating artifacts from several sources into one timeline. Email gateway logs show an attachment delivered; file system metadata shows it saved two minutes later; process records show a script launched from it a minute after that; and at the same moment proxy and DNS logs show the first connection to an unfamiliar domain. Synchronised clocks make the correlation possible.
Times are relative.
Sort into groups

Where does the artifact come from?

Exam skills 7.1.5

Classify each artifact by its source.

Log in to try this activity Interactive activities are free with an account.
Worked example

Building an infection timeline

A user reports odd behaviour on their workstation after opening an email. Investigators collect email gateway, file system, process, proxy and DNS records. How do the artifacts combine into a timeline?

The email gateway log records a message with an attachment delivered to a user at 09:02. The workstation's file system shows the attachment saved to the downloads folder at 09:04, and process execution records show a script launched from it at 09:05. The proxy log shows the workstation connecting to an unfamiliar domain at 09:05, and the DNS log shows that domain first being resolved at the same moment.

Each artifact alone is ambiguous; together they establish the sequence of infection, which tells responders where to look next and which other users received the same email.

Reporting and documentation

Investigators document every step contemporaneously: actions, tools and versions, hashes, findings and the reasoning behind conclusions. Reports are factual and suited to their audience, with management summaries and detailed technical findings, and may be used in disciplinary, civil or criminal proceedings.

A forensic report separates facts from opinions. "The file customer_list.xlsx was copied to a USB device with serial number X at 18:42 on 3 March" is a fact supported by artifacts. "The employee intended to give the list to a competitor" is an inference, and the report should either avoid it or state clearly what evidence supports it and what alternative explanations were considered. Examiners may later be cross-examined on every statement, so a report that overstates its conclusions damages both the case and the examiner's credibility.

Sort into groups

Fact or inference?

Exam skills 7.1.2

Separate the facts in a forensic report from the inferences.

Log in to try this activity Interactive activities are free with an account.
Worked example

A monitoring question

HR asks the security team to read an employee's email to look for evidence of harassment complaints. The organisation has an acceptable use policy that states email may be monitored, and employees see a logon banner. What should the team do before reading the email?

The policy and banner support monitoring, but the team should still involve legal counsel and HR to confirm the request is authorised, proportionate and lawful in the jurisdiction, define the scope (specific mailboxes and dates), and preserve the data forensically with a chain of custody. Reading email informally without authorisation or scope could breach privacy law and undermine any later proceedings.

Check yourself

Why are seized mobile phones placed in Faraday bags?

Show answer

To block signals that could be used to wipe or alter them remotely.

Exam Tips

Remember for the exam

  • Entrapment is illegal; enticement may be acceptable.
  • Use validated tools and repeatable procedures.
  • Faraday bags prevent remote wiping of seized phones.
  • Document every step as it happens.