ExamRange
Home ExamRange Practice Tests

In this simulation, you will learn how to extract and interpret MAC (Modified, Accessed, Changed) timestamps in a Linux environment. Understanding file metadata is essential for establishing an accurate timeline of threat actor activity.

CHFI (312-49) Digital Forensics Simulation

Investigation Scenario

A corporate Ubuntu web server experienced a security breach. Suspecting a web shell deployment, the digital forensics team performed a logical acquisition of the /var/www/html/ directory, maintaining strict chain of custody protocols.

During the examination of the acquired disk image (mounted read-only to an analysis workstation), an investigator identifies a highly suspicious PHP file named update_module.php. To reconstruct the attack timeline, the investigator needs to determine the exact timestamp when the threat actor last triggered (accessed) this payload via HTTP requests.

Evidence Collected

Image File: web_server_var_www.dd
Mount Point (Read-Only): /mnt/forensics/case404/
Target Artifact: /mnt/forensics/case404/html/uploads/update_module.php

The investigator opens a terminal to query the file's inode metadata to extract the precise MAC timestamps.

root@forensics-ws:/mnt/forensics/case404/html/uploads# ls images documents update_module.php root@forensics-ws:/mnt/forensics/case404/html/uploads# [INVESTIGATOR RUNS COMMAND] File: update_module.php Size: 4096 Blocks: 8 IO Block: 4096 regular file Device: 801h/2049d Inode: 131072 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 33/www-data) Gid: ( 33/www-data) Access: 2026-04-09 23:14:02.000000000 +0000 Modify: 2026-04-05 10:11:45.000000000 +0000 Change: 2026-04-05 10:11:45.000000000 +0000 Birth: -

Question

During a forensic examination of a Linux system, an analyst needs to determine the last time a specific file was accessed. Which command-line tool should the analyst use?