ExamRange
Home ExamRange Practice Tests

In this simulation, you will learn how to capture and analyze volatile system data. Understanding how to correlate active processes with their associated open files and network sockets is critical during live system forensics.

CHFI (312-49) Digital Forensics Simulation

Investigation Scenario

A CentOS 8 database server at a healthcare organization is suspected of active data exfiltration. Because pulling the power plug to create a dead-box image would destroy volatile RAM artifacts, the digital forensics team initiates a "live response" data collection following the Order of Volatility protocols.

The investigator executes a trusted, statically-compiled binary from a USB drive to document current system states. They need to identify which specific malicious process is maintaining an unauthorized outward-bound network socket while simultaneously reading sensitive database files from the disk.

Evidence Collected

System State: Live Volatile Data
Collection Tool Source: Sanitized Forensic USB Drive (/mnt/usb_forensics/)
Artifact Type: Process to File Descriptor Mapping

The investigator pipes the standard output of their command into an evidence text file on their USB drive. A review of the volatile data output reveals the following suspicious entries:

root@db-srv-01:~# /mnt/usb_forensics/[INVESTIGATOR RUNS COMMAND] -i -nP | grep -i 'patient\|198.51' COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME nc 3499 root 3u IPv4 88492 0t0 TCP 10.0.0.5:4444->198.51.100.22:80 (ESTABLISHED) nc 3499 root 4r REG 259,1 4294967 8234 /var/lib/pgsql/data/patient_records.csv

Question

Which Linux command allows an investigator to view a list of all open files and the processes that opened them?