Digital Forensics Case B4DM755 Walk through

Introduction

Disclaimer

This fictional scenario presents a narrative with invented names, characters, and events. It is not meant to suggest any connection or resemblance to actual individuals, locations, structures, or merchandise.

Building up on Intro to Digital Forensics

During Intro to Digital Forensics, we learned about the two types of investigations that either the public-sector or private-sector initiates, the digital forensic process, and some practical examples of how we can apply our newly acquired knowledge of digital forensics.

In this room, we will simulate an actual crime scenario whereby a court of law has authorised us to conduct a search on a specific person and analyse obtained artefacts and evidence.

Room Objectives

Learn about the following to build up the confidence of future Forensics Lab Analysts, DFIR First Responders, and Digital Forensics Investigators:

  • Ensure proper Chain of Custody procedures for transport to the Forensics Laboratory.
  • Use FTK Imager to acquire a forensic disk image and preserve digital artefacts and evidence.
  • Analyse forensic artefacts received at the Forensics Laboratory for presentation during a trial in a court of law.

Case B4DM755 – Details

Suspect: William S. McClean (William Super McClean) Nationality: British Charges Pressed / Accused Crimes: Corporate espionage Theft of trade secretsLaw enforcement officer writing down the case details.

Scenario

As a Forensics Lab Analyst, you analyse the artefacts from crime scenes. Occasionally, the law enforcement agency you work for receives “intelligence reports” about different cases, and today is one such day. A trusted informant, who has connections to an international crime syndicate, contacted your supervisor about William S. McClean from Case #B4DM755.

The informant provided information about the suspect’s whereabouts in Metro Manila, Philippines, which is currently at large, and a transaction that will happen today with a local gang member. They also knew the exact location of the meetup and that the suspect would have incriminating materials at the time.

The law enforcement agency prepared for the operation by obtaining proper search authority and assigning a DFIR (Digital Forensics & Incident Response) First Responder (i.e., you) to ensure the appropriate acquisition of digital artefacts and evidence for examination at the Forensics Lab, and eventually for use in litigation. The court issued a search warrant on the same day, allowing law enforcement officers to investigate the suspect and his place of residence based on the informant’s tip.

NOTE: In an understaffed agency, one person may be assigned multiple roles, including acquisition and analysis, particularly for high-profile cases. This can help minimize evidence tampering, and ensure accountability as the chain of custody is mainly handled by a single individual (i.e., you).

Answer the questions below

What is your official role?

  • Forensics Lab Analyst

What role was assigned to you for this specific scenario?

  • DFIR First Responder

What do you have to gather?

  • digital artefacts and evidence

What document is needed before performing any legal search?

  • search warrant

Practical Application of the Digital Forensics Process

Forensic Acquisition Process for Digital Artefacts and Evidence

A DFIR First Responder holding bagged obtained artefacts
Each department might have unique protocols for acquiring digital artefacts and evidence. However, DFIR First Responders should typically adhere to the following guidelines if there is any computer system at the scene of a crime: Taking an image of the RAM. Checking for drive encryption. Taking an image of the drive(s).

Process for Establishing Chain of Custody

Each department might have unique protocols regarding maintaining the chain of custody. However, DFIR First Responders should typically adhere to the following guidelines when handling digital artefacts and evidence before, during, and after collection: Ensure proper documentation of any seized materials as evidence (devices/files). Hash and copy obtained files to maintain the integrity of the original. Do not perform an appropriate shutdown of devices. Pull the power plug from suspect devices instead. This is to avoid data alteration as a proper shutdown may trigger anti-forensic measures. Bag, Seal, and Tag the obtained artefacts before sending them to the Forensics Laboratory.A DFIR First Responder handing over Chain of Custody documentation

Before, during, and after turnover, ensure that the artefacts and evidence are complete and the Field Operative and Forensics Lab Analyst verifies inventory. Any related Chain of Custody forms must be adequately filled-out to guarantee a transparent and untainted handover of artefacts and evidence.

Answer the questions below

Before imaging drives, what must we check them for?

  • drive encryption

What should be done to ensure and maintain the integrity of original files in the Chain of Custody?

  • Hash and copy

What must be done before sending obtained artefacts to the Forensics Laboratory?

  • Bag, Seal, and Tag the obtained artefacts

Case B4DM755: At the Scene of Crime

Scenario (continuation)

Unfortunately, law enforcement arrived late at the suspect’s residence, where the transaction supposedly happened. Upon arrival, everyone appeared to have already left; there were indications of evidence eradication attempts, and a transaction between the nefarious elements had successfully occurred.

Shiny object under the suspect's desk

During a thorough search of the suspect’s place, law enforcement officers discovered a flash drive under the desk. A key chain with the initials WSM was attached to the flash drive, which the team believes belongs to the suspect. It may have been left behind accidentally in their haste to vacate the place.

A DFIR First Responder picking up the shiny object which turns out to be a flash drive

As a DFIR First Responder accompanying the Field Operatives, you documented, labelled, and preserved the artefact found and completed the Chain of Custody form. You then transported the artefact to the Forensics Laboratory for further examination.

Answer the questions below

What is the only possible artefact found in the suspect’s residence?

flash drive

Based on the scenario and the previous task, what should be done with that acquired suspect artefact?

Taking an image

What is the crucial aspect of the Chain of Custody that ensures individual accountability and guarantees a transparent and untainted transfer of artefacts and evidence?

Ensure proper documentation

Introduction to FTK Imager

Connecting to the machine

Start the virtual machine in split-screen view by clicking on the green Start Machine button on the upper right section of this task. If the VM is not visible, use the blue Show Split View button at the top-right of the page. Alternatively, you can connect to the VM via RDP using the credentials below.

THM Key Credentials

Usernameanalyst
PasswordDFIR321!
IPMACHINE_IP

IMPORTANT: The attached VM has a copy of the FTK Imager installation. Proceed to work on the subsequent tasks, and experiment with FTK Imager through a case example.

FTK Imager

FTK Imager LogoFTK Imager is a forensics tool that allows forensic specialists to acquire computer data and perform analysis without affecting the original evidence, preserving its authenticity, integrity, and validity for presentation during a trial in a court of law.

NOTE: In a real-world scenario, a Forensics Lab Analyst will use a write-blocking device to mount the suspect drive / forensic artefact to prevent accidental tampering.

Write-Blocking Device with the obtained flash drive plugged in

FTK Imager – User Interface (UI)

FTK Imager includes vital UI components that are crucial to its functionality. These components are: Evidence Tree Pane: Displays a hierarchical view of the added evidence sources such as hard drives, flash drives, and forensic image files. File List Pane: Displays a list of files and folders contained in the selected directory from the Evidence Tree Pane. Viewer Pane: Displays the content of selected files in either the Evidence Tree Pane or the File List Pane.

Working with FTK Imager

OBJECTIVES: Verify encryption, obtain a forensic disk image, and analyse the recovered artefact.

IMPORTANT: The VM contains an emulated flash drive,“\\PHYSICALDRIVE2 – Microsoft Virtual Disk [1GB SCSI]”, to replicate the scenario where a physical drive, connected to a write blocker, is attached to an actual machine for forensic analysis. The steps performed in this activity are practically the same as in real-world situations. The write-protected flash drive is automatically attached to the VM upon startup.

STEP 1: Detecting EFS Encryption with FTK Imager

IMPORTANT: The drive’s file system must be NTFS to utilise EFS encryption. EFS encryption is not compatible with FAT32 or exFAT file systems.

A Forensics Lab Analyst can perform the following steps to detect the presence of EFS encryption on a physical drive:

  1. Open FTK Imager and navigate to File > Add Evidence Item Adding an evidence item using FTK Imager

  2. Choose Physical Drive on the Select Source window, then click Next. Selecting a physical drive as an evidence source

  3. Choose Microsoft Virtual Disk (our virtual flash drive) on the Select Drive window, then click Finish. Choosing the forensic artefact from the scenario as the evidence source

  4. Navigate and click File > Detect EFS Encryption to scan the drive and detect the presence of encryption. Detecting EFS Encryption with FTK Imager on the forensic artefact

  5. A message box will indicate whether or not EFS encryption is on the attached drive. Result of Detecting EFS Encryption on the forensic artefact

Answer the questions below

Start the attached VM, work on the subsequent tasks, and experiment with FTK Imager through a case example.

Answer Not Required

What device will prevent tampering when acquiring a forensic disk image?

write-blocking device

What is the UI element of FTK Imager which displays a hierarchical view of the added evidence sources?

Evidence Tree Pane

Is the attached flash drive encrypted? (Y/N)

N

What is the UI element of FTK Imager which displays a list of files and folders?

File List Pane

Using FTK Imager to Acquire Digital Artefacts and Evidence

STEP 2: Creating a Forensic Disk Image with FTK Imager

A Forensics Lab Analyst can perform the following steps to create a forensic disk image from a physical drive:

  1. Open FTK Imager and navigate to File > Create Disk Image Creating a frensic disk image with FTK Imager

  2. Choose Physical Drive on the Select Source window, then click Next. Selecting a physical drive as an evidence source

  3. Choose Microsoft Virtual Disk (our virtual flash drive) on the Select Drive window, then click Finish. Choosing the forensic artefact from the scenario as the evidence source for forensic disk imaging

  4. Ensure you check “Verify images after they are created” and “Create directory listings of all files in the image after they are created” on the Create Image window. Press Add to open the Select Image Type window, choose Raw (dd), then click Next. Enabling settings to verify the hash and create a directory list of the forensic disk image

  5. Enter case details in the Evidence Item Information window, then click Next. Entering case details in FTK Imager for the forensic disk image

  6. Enter the Image Destination Folder and Image Filename, then click Finish. Setting the destination folder to save the forensic disk image

  7. Press Start to begin creating the forensic disk image. Starting the creation of a forensic disk imageCreating a Forensic Disk Image with FTK Imager

  8. When you check “Verify images after they are created”, FTK Imager will hash both the physical drive and the forensic disk image after disk imaging. It will then validate if both hashes are equal to confirm a match. Validating that the hash of the physical drive and the forensic disk image matches

Note: You can go ahead and answer Question 1 and 2, then come back and follow along with the Step 3 section.

STEP 3: Mounting a Forensic Disk Image and Extracting Artefacts

A Forensics Lab Analyst can perform the following steps to mount a forensic disk image and extract artefacts using FTK Imager:

  1. Open FTK Imager and navigate to File > Add Evidence Item Adding an evidence item using FTK Imager

  2. Choose Image File on the Select Source window, then click Next. Selecting an image file as an evidence source

  3. Set Evidence Source to the path of the forensic disk image that we created previously and click Finish. Choosing the captured forensic disk image as the evidence source

  4. The Evidence Tree Pane will be populated, and artefacts will be visible on the File List Pane. The Viewer Pane will display the contents of selected elements for analysis. IMPORTANT: During forensic analysis with FTK Imager, it is always crucial to analyse using the forensic disk image that has been created. It is also equally important to look for signs of deleted files (i.e., those with an x symbol), corrupted files (e.g., 0 file size) and obfuscation (e.g., conflicting information about a file’s extension and header information). FTK Imager UI when an evidence source has been mounted

  5. To recover all deleted files, right-click on the target directory or file and press Export Files to save artefacts. Recovering deleted files by exporting themPrompt upon successful export of filesNavigating to the recovered files using Windows Explorer

Answer the questions below

What is the UI element of FTK Imager which displays the content of selected files?

  • Viewer Pane

What is the SHA1 hash of the physical drive and forensic image?

  • d82f393a67c6fc87a023b50c785a7247ab1ac395

Including hidden files, how many files are currently stored on the flash drive?

  • 8

How many files were deleted in total?

  • 6

How many recovered files are corrupted (e.g., 0 file size)?

  • 3

Case B4DM755: At the Forensics Laboratory

Scenario (continuation)

Upon receiving the artefacts and evidence from the crime scene at the Forensics Lab, it is imperative to establish their authenticity. Since the DFIR First Responders recovered only a flash drive, you then proceed with the following actions:

  • Verify and document every detail of the Chain of Custody form from the crime scene to the present.
  • Use FTK Imager to create a forensic disk image of the seized flash drive from the suspect’s (William S. McClean) residence in Case B4DM755.
  • Match the cryptographic hashes of the physical drive and the acquired forensic image to guarantee the authenticity and integrity of the artefacts, making them admissible evidence in a court of law.
  • Preserve the physical evidence (i.e., flash drive) for presentation in a court of law during trial after creating a forensic disk image.
  • Perform any review and analysis on the created forensic disk image to avoid tampering with evidence.
  • Document all examination operations and activities to ensure the admissibility of evidence in court.
  • During a presentation at trial, ensure that the cryptographic hashes of the physical evidence and the forensic disk image MATCH.
Commencing Digital Forensic Analysis at the Forensics Lab

Answer the questions below

Aside from FTK Imager, what is the directory name of the other tool located in the tools directory under Desktop?

  • exiftool-12.47

What is the visible extension of the “hideout” file?

  • .pdf

View the metadata of the “hideout” file. What is its actual extension?

  • .jpg

A phone was used to photograph the “hideout”. What is the phone’s model?

  • ONEPLUS A6013

A phone was used to photograph the “warehouse”. What is the phone’s model?

  • Mi 9 Lite

Are there any indications that the suspect is involved in other illegal activity? (Y/N)

  • Y

Who was the point of contact of Mr William S. McClean in 2022?

  • Karl Renato Abelardo

A meetup occurred in 2022. What are the GPS coordinates during that time?

  • 14°26’25.7″N 120°59’00.8″E

What is the password to extract the contents of pandorasbox.zip?

DarkVault$Pandora=DONOTOPEN!K 1ngCr1ms0n!

From which company did the source code in the pandorasbox directory originate?

SwiftSpend Financial

In one of the documents that the suspect has yet to sign, who was listed as the beneficiary?

Mr. Giovanni Vittorio DeVentura

What is the hidden flag?

THM{sCr0LL_cL1cK_cL1ck_4TT3NT10N_2_D3T41L5_15_CRUC14L!!}

Post-Analysis of Evidence to Court Proceedings

If there is reasonable suspicion that the suspect possesses and distributes these materials, the law enforcement agency handling the case must follow these 4 Phases of Investigation. Additionally, the DFIR First Responder must observe the following steps before, during, and after acquiring digital artefacts and evidence:

Pre-search Send a request to preserve the data and logs of the suspect to social media networks (subscriber’s information, traffic, and content data). Send a request to preserve the data and logs of the suspect to ISPs (subscriber’s information, traffic, and content data). Obtain a warrant for search, seizure, and examination of the suspect’s computer data for violation of domestic and international laws. Perform an inspection of the suspect’s social media accounts and public profiles.Court room judge smashing the hammer
Lawyers arguing at the courtroomSearch By a warrant issued by a court of law, obtain data requested from social media networks and ISPs.Perform search, seizure, and examination of the suspect’s computer data.
Post-search Perform forensic analysis of acquired digital artefacts & evidence.
Trial Present forensic artefacts & evidence together with proper documentation during court proceedings.
The End

Answer the questions below

In which phase is a warrant obtained for search, seizure, and examination of the suspect’s computer data due to violations of domestic and international laws?

Pre-search

In which phase is a forensic analysis performed on the acquired digital evidence requested from various sources?

Post-search

Which phase involves presenting forensic artefacts and evidence with proper documentation in a court of law?

Trial

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
Scroll to Top