No. 04 — Lab 03

Forensic

security

Twelve questions from my digital forensics assignment, answered in detail: volatile evidence, hashing, Windows artifacts and chain of custody. Each answer starts with the short version.

Question 01

What is the difference between volatile and non-volatile evidence?

Volatile evidence disappears when the power goes off or the system state changes; non-volatile evidence stays on storage without power.

Volatile evidence lives in places that need constant power or constant activity: RAM, running processes, open network connections, logged-in users, the clipboard, ARP and DNS caches, routing tables and the system clock. It can be lost in seconds by a reboot, a shutdown, or simply by the machine carrying on running.

Non-volatile evidence survives without power: files on a hard drive or SSD, partitions, event logs, registry hives stored on disk, browser history, email stores, USB sticks and backups. It is not fragile in the same way, so it can be collected later and more than once.

Answer 01

Question 02

Why should an investigator preserve RAM when appropriate?

Memory holds evidence that exists nowhere on disk, and it is gone the moment the machine is switched off.

RAM shows what the computer was doing at that moment: the processes that were running, the network connections they held open, the commands that had been typed, and the files and registry keys they were using. Fileless malware and injected code may exist only in memory, so a disk image alone can miss the whole attack.

Memory can also contain things that are never saved in plain form on disk: encryption keys for BitLocker or VeraCrypt volumes, passwords and session tokens, chat messages, and the contents of private browser windows. A memory image gives an analyst a chance to unlock encrypted disks and to see an attack as it happened.

Answer 02

Question 03

Why is a forensic image different from a normal file backup?

A backup copies the files you can see so they can be restored; a forensic image is an exact, verified, bit-for-bit copy of the whole device.

A normal backup copies files and folders through the operating system. It skips deleted files, unallocated space, slack space and hidden areas, it may change timestamps as it reads, and it proves nothing about whether the copy matches the original.

A forensic image copies every sector of the storage device, in order, including partition tables, file system metadata, deleted files that have not been overwritten, and unused space where fragments of old data survive. It is made through a write blocker so the original cannot be changed, and the source and the image are hashed to prove they match.

Answer 03

Question 04

What does a SHA-256 hash tell you?

It is a 64-character fingerprint of the data: identical data always gives the same hash, and any change gives a completely different one.

SHA-256 turns any input into a fixed 256-bit value, written as 64 hexadecimal characters. It is one-way, so you cannot rebuild the data from the hash, and it is collision-resistant, so finding two different inputs with the same hash is not practical.

In forensics that gives three uses. Examiners hash a drive when they acquire it and again after imaging to show the copy is exact. They re-hash later to show nothing has changed since. They also compare file hashes against known sets, such as the NSRL list of standard software files to ignore, or lists of known malware to find.

See it on a real message in Lab 01: one added character changed 58 of the 64 hash characters. →

Answer 04

Question 05

What are the limitations of using a hash to establish evidence integrity?

A hash can show that data has changed, but it cannot show that it is genuine, who changed it, or what changed.

A hash is only as trustworthy as the place it is recorded. If someone can alter the evidence and the stored hash together, the check still passes. A hash taken after tampering simply fingerprints the tampered data, so the first hash must be taken at acquisition, by the examiner, and recorded somewhere safe.

A hash also gives a bare yes or no. It does not say which bytes changed, and harmless changes such as a mounted file system updating a timestamp break it just like malicious ones. It cannot be used on live data that keeps changing, such as RAM or running logs, except on the captured copy.

Lab 01 shows the weak spot: if Amaka replaced both the message and its hash, nobody would notice. →

Answer 05

Question 06

What information can be obtained from a Windows process listing?

A process listing shows what is running on the machine, who started it, from where, and what it is connected to.

For each process Windows records its name and process ID (PID), the parent process ID, the account it runs as, the session, when it started, and how much CPU and memory it uses. With more detail you also get the full path of the program, its command-line arguments, the DLLs it has loaded, the files and registry keys it has open, its threads, and the network connections it owns.

The parent-child relationships are especially useful, because they show how a program was launched and let the examiner follow an attack from the first process to the last.

Answer 06

Question 07

Why might a suspicious process require further investigation?

Odd details in a process listing are leads, not proof; each one needs checking against other evidence before anyone concludes it is malicious.

Attackers disguise malware by copying the look of normal Windows processes, so examiners check each process against what is normal. These are the common warning signs, and any one of them is a reason to dig further rather than a verdict.

Legitimate tools are misused too, so context decides. The next steps are to check the file hash and signature against threat intelligence such as VirusTotal, dump the process memory, look for how it persists (Run keys, services, scheduled tasks), and line it up with logs and network records.

Answer 07

Question 08

What types of activity may be recorded in the Windows Registry?

The Registry is Windows' configuration database, and it keeps traces of software, devices, users and what they have done.

The Registry is stored in hive files such as SYSTEM, SOFTWARE, SAM, SECURITY and each user's NTUSER.DAT. Every key keeps a last-write time, which lets an examiner date activity.

The Registry shows traces and settings, not intent, so findings are read together with other artifacts.

Answer 08

Question 09

Why does a USB device record not necessarily prove that files were copied?

A USB record proves a device was connected; it does not prove anything was copied to or from it.

Windows records the make, serial number and first and last connection times of a USB storage device, plus the drive letter and the user account it was used under. All of that shows a device was plugged in. It does not show what happened next.

To claim files were copied, the examiner needs corroboration: shortcut (LNK) files and Jump Lists that point to files on the removable drive, ShellBags showing its folders were opened, file system records and the USN journal, event logs for the device, and ideally the same files, matching by hash, found on the device itself. Without that, the careful statement is 'this device was connected between these times', not 'this person took these files'.

Answer 09

Question 10

Why must investigators correlate multiple artifacts?

One artifact is a single fragment that can be innocent, incomplete or wrong; several independent artifacts agreeing is what makes a finding reliable.

Each artifact records only a narrow piece of the story, on its own clock, with its own limits. Logs rotate, timestamps can be changed on purpose (timestomping) or thrown off by clock errors, and individual records can be misread. When different sources point to the same event, the conclusion is much harder to dispute.

Answer 10

Question 11

What information should be included in a chain of custody?

The chain of custody is the unbroken written record of who held the evidence, when, where and why, from collection to court.

Every item gets a unique evidence ID, and the record should include the following.

A gap or an unexplained change in the record lets the other side argue the evidence could have been tampered with, which can reduce its weight or get it excluded.

Answer 11

Question 12

Why should investigators document unsuccessful procedures and acquisition errors?

The examiner's work must be open to challenge and repeatable, so failures and errors are part of the evidence's history and must be recorded.

A failed attempt can change the evidence. A tool that crashed may have written to the disk, a retried command may have altered timestamps, and an interrupted copy may be incomplete. The court needs to know this, because it affects how far the evidence can be trusted.

Answer 12

←encryptionPrevious→passwordsNext

All labs