Professor Franklin
Accessibility settings

Preferences are saved in this browser when storage is available.

Getting Started

Chapter 3 · Reading 3 of 3

Targeted triage and the forensic laboratory

CHFI domains 1, 2, 3, 4, 6 · GCFE: Evidence collection for forensic triage

Ridgeway’s security team finds that the same malicious email reached forty workstations in the billing and customer-service offices. A full image of each, followed by a full examination, would take the lab weeks. Ridgeway needs to know by tomorrow which machines actually ran the attachment. The answer is not a faster imager. It is a different kind of collection.

Collect the artifacts that answer the question

Targeted triage collection gathers a defined set of high-value artifacts instead of the whole disk. On Windows, that usually means the registry hives, event logs, Prefetch files, the Amcache, the NTFS master file table and journal, browser history, Jump Lists and LNK files. These artifacts are small, often a few hundred megabytes together, and they answer the most common questions: what ran, when, under which account and what files were touched.

KAPE (Kroll Artifact Parser and Extractor) is a free Windows tool that collects artifacts using targets, definitions of which files to copy, and then processes them with modules, which run parsers such as Eric Zimmerman’s tools against the copies. It can collect locked system files and preserves their original timestamps. Velociraptor is an open-source endpoint tool that runs collections, called artifacts, on many machines at once from a central server. It suits the Ridgeway problem: one collection definition sent to forty machines, results back in minutes.

Figure 1. Triage first, image where it countsThe Ridgeway plan narrows forty candidates to the machines that justify a full examination.
  1. Define the question. Which machines opened INVOICE.ZIP and ran the program inside it?
  2. Collect the same artifact set from all forty. Event logs, Prefetch, Amcache, browser data, the email client’s attachment cache.
  3. Parse and compare. Prefetch for INVOICE.EXE appears on three machines. The other thirty-seven show the email arrived but no execution.
  4. Image and examine the three fully. Keep the triage collections from all forty in case the picture changes.

Triage has limits. It sees only what its targets collect, so deleted files, unallocated space and anything the collection did not define are missed. Each triage collection is still evidence: hash it, record the tool version and target list, and keep it with the case. Triage decides where to look closely. It does not replace a full examination where one is needed.

What makes a forensic laboratory

Everything in this chapter is only as good as the lab behind it. A forensic laboratory is the combination of facilities, equipment, people and procedures that makes examination results reliable and repeatable. Planning one means making decisions in five areas.

Figure 2. Five areas of laboratory planning
Facility and security
Controlled entry with an access log, an evidence room or lockers, and examination workstations isolated from the corporate network.
Hardware
Forensic workstations with large, fast storage, write blockers for every interface, adapters, collection drives and spares.
Software and validation
Licensed tools with recorded versions. Each tool and each update is tested against known data before use.
Quality assurance
Written procedures, peer review, proficiency tests and accreditation to ISO/IEC 17025.
People and roles
Lab manager, examiners, evidence custodian and technical reviewer, each with training records and defined authority.

Validate tools before you trust them

Tool validation confirms that a tool does what it claims, under the conditions the lab uses it, before its output is relied on. For a write blocker, the lab connects a test drive with a known hash, tries to write to it through the blocker and confirms that the hash is unchanged. For an imager, the lab images a reference drive and confirms the hash matches the known value. The NIST Computer Forensics Tool Testing (CFTT) program publishes test reports for many write blockers and imaging tools, which help a lab plan its own tests but do not replace them. Chapter 19 returns to validation in detail.

Health and safety on the bench

Forensic work has real physical hazards. Damaged lithium-ion batteries in phones and laptops can overheat and catch fire, so swollen devices go in a fireproof container and the lab keeps a suitable extinguisher. Static discharge can damage exposed circuit boards, so examiners use grounded mats and wrist straps. Servers and drive arrays are heavy, which calls for two-person lifts and rack-safe handling. Evidence can also carry biological contamination, which calls for gloves and cleaning procedures. Long examination sessions call for ergonomic workstations and breaks, and examiners exposed to disturbing material need access to support. A lab’s safety procedures belong in the same quality manual as its technical ones.

Exam questions about laboratories often ask what validates a result. The answer is a tested tool, a documented procedure and a second person who can reproduce the work. The next chapter, Disks, boot records, and file systems, opens the image and reads what is on it.

Triage results

Inspect the three records, then use the evidence to answer the question.

1. Hosts triaged

40 workstations, 18 minutes average each

2. Execution found

Prefetch for INVOICE.EXE on 3 hosts

3. Plan

Full image only where execution is found

Apply the reading

Ridgeway has forty workstations that may have received the same malicious email. Would you image all forty or triage them, and why?

Compare your reasoning

Triage all forty with a targeted collection of the artifacts that show the email was opened and the attachment ran, such as event logs, Prefetch, Amcache and browser data. Image fully only the machines where triage shows execution. That answers the question quickly and keeps full imaging for where it matters.