Latest / CyberCode Academy / Course 36 - Windows Forensics and Tools | Episode 1: Debunking Myths and Mastering Methodology
Transcript
- 0:00Speaker 1: So imagine this. You delete a highly sensitive file on
- 0:03Speaker 1: your Windows computer, you empty the recycle bin, and you
- 0:06Speaker 1: permanently shut the machine down.
- 0:07Speaker 2: Right, and you're thinking, Okay, I'm safe.
- 0:09Speaker 1: Exactly. You probably think you've completely covered your tracks, but
- 0:13Speaker 1: the truth is you haven't actually deleted.
- 0:15Speaker 2: Anything, not even close.
- 0:16Speaker 1: Yeah, that file is still just sitting there. It's completely intact,
- 0:20Speaker 1: kind of like a ghost waiting to be summoned back.
- 0:22Speaker 2: That's a great way to put it, actually, right.
- 0:25Speaker 1: So today we are going into the real, meticulous and
- 0:29Speaker 1: well scientifically rigorous world of digital forensics. We want to
- 0:33Speaker 1: show you exactly how investigators bring those digital ghosts back
- 0:37Speaker 1: to life.
- 0:38Speaker 2: And we should probably say, right up front, forget the
- 0:41Speaker 2: flashy Hollywood movies.
- 0:42Speaker 1: Oh yeah, like the hacker furiously typing on a keyboard
- 0:45Speaker 1: for ten seconds until a giant red access denied flashes
- 0:48Speaker 1: on the screen.
- 0:49Speaker 2: Exactly, That is not how this works. Real investigations are
- 0:53Speaker 2: entirely different.
- 0:54Speaker 1: They really are. So in this deep dive, our mission
- 0:57Speaker 1: is to explore the step by step reality of an
- 1:00Speaker 1: investigating a Windows machine and you know, cracking open that
- 1:03Speaker 1: digital crime scene.
- 1:04Speaker 2: It's such a fascinating process, but it does require a
- 1:07Speaker 2: complete shift in how you think about computers, honestly.
- 1:10Speaker 1: Okay, So to grasp what we're looking at, let's start
- 1:14Speaker 1: with the basics. What actually is digital forensics.
- 1:18Speaker 2: Well, at its core, it's the application of scientific investigatory
- 1:23Speaker 2: techniques to digital crime. So we are identifying, preserving, examining,
- 1:28Speaker 2: and analyzing digital evidence.
- 1:31Speaker 1: And I'm guessing the keyword there is scientific. Oh.
- 1:33Speaker 2: Absolutely, every single step has to be done using universally
- 1:37Speaker 2: accepted methodologies.
- 1:38Speaker 1: Why is it so strict.
- 1:40Speaker 2: Because the ultimate presentation of that evidence has to hold
- 1:43Speaker 2: up in a court of law. I mean, if you
- 1:45Speaker 2: don't follow the.
- 1:45Speaker 1: Science, mark defense lawyers is going to get your findings
- 1:47Speaker 1: thrown out.
- 1:48Speaker 2: Immediately exactly, they'll tear it apart.
- 1:50Speaker 1: Okay, So let's set the record straight on what this
- 1:52Speaker 1: job actually entails. Yeah, because I think a lot of
- 1:56Speaker 1: people confuse digital forensics with security.
- 2:00Speaker 2: That is a very common misconception. Digital forensics is not
- 2:04Speaker 2: proactive security.
- 2:05Speaker 1: So they aren't the ones sitting at a terminal blocking
- 2:07Speaker 1: hackers in real time.
- 2:09Speaker 2: No, not at all. This field is strictly reactive. We're
- 2:13Speaker 2: called in after a breach, a theft, or you know,
- 2:16Speaker 2: a massive system failure has already occurred, right, And it's.
- 2:19Speaker 1: Not strictly about finding criminals either, is it.
- 2:21Speaker 2: Well, law enforcement uses it for that sure, But in
- 2:24Speaker 2: the corporate world, the day to day job is really
- 2:26Speaker 2: about finding evidence of value, like what kind of evidence,
- 2:31Speaker 2: Like maybe that evidence clears an innocent employee who was
- 2:34Speaker 2: accused of data theft, or maybe it explains why a
- 2:37Speaker 2: critical server is completely crashed.
- 2:39Speaker 1: Oh, I see.
- 2:39Speaker 2: And finally, it is not quick. I mean, modern systems
- 2:42Speaker 2: have massive multi terabyte storage capacities. Sifting through all that
- 2:47Speaker 2: takes a tremendous amount of time.
- 2:49Speaker 1: I picture it kind of like being an archaeologist. You know,
- 2:53Speaker 1: you aren't there to reinforce the walls and prevent the
- 2:55Speaker 1: ancient ruins from collapsing.
- 2:57Speaker 2: Right because the civilization has already fallen. The event is.
- 3:00Speaker 1: Completely over exactly. So your job is to meticulously dust
- 3:03Speaker 1: off these digital pottery shards, piece them together without breaking
- 3:07Speaker 1: them further, and figure out exactly how and why the
- 3:10Speaker 1: collapse happened. You're reading the history of the machine.
- 3:13Speaker 2: That's a really great analogy. And if we connect this
- 3:16Speaker 2: to the bigger picture to understand how we investigate those artifacts,
- 3:21Speaker 2: we first have to understand the soil.
- 3:23Speaker 1: We're digging in the environment itself, which in the vast
- 3:27Speaker 1: majority of cases is Windows.
- 3:29Speaker 2: Yeah, the numbers definitely speak for themselves. There something like
- 3:32Speaker 2: ninety percent of personal computers runs some version of Windows.
- 3:35Speaker 1: It's literally the infrastructure of the corporate world.
- 3:38Speaker 2: It is, and because it's the most widely used operating system,
- 3:42Speaker 2: it's naturally the most commonly analyzed platform in computer forensics.
- 3:46Speaker 1: It's basically the playground for everything from you know, basic
- 3:50Speaker 1: corporate phishing emails to elaborate multinational money laundering operations exactly.
- 3:56Speaker 2: And to know how to investigate that playground, you really
- 3:58Speaker 2: have to understand how it was built and more importantly,
- 4:01Speaker 2: how it's evolved.
- 4:02Speaker 1: Because every time Windows updates, the forensic landscape completely shifts.
- 4:06Speaker 2: Surely it's a moving target, so let's track that evolution.
- 4:10Speaker 1: But like through the lens of an investigator, let's go
- 4:12Speaker 1: back to Windows ninety five and later Windows XP. They
- 4:16Speaker 1: fundamentally change things by introducing something called the Windows Registry.
- 4:20Speaker 2: Yes, and the registry is crucial. You can think of
- 4:23Speaker 2: the Windows Registry as the central nervous system, or like
- 4:26Speaker 2: the master database of the operating system.
- 4:28Speaker 1: What exactly does it do?
- 4:30Speaker 2: It stores configuration settings for hardware, software, user preferences, you
- 4:35Speaker 2: name it. For an investigator, the registry is just an
- 4:37Speaker 2: absolute gold mine.
- 4:39Speaker 1: Oh wow, So what kind of stuff can you find
- 4:40Speaker 1: in there?
- 4:41Speaker 2: Well, it can tell you what specific USB drives were
- 4:44Speaker 2: plugged in weeks ago, or what programs were secretly set
- 4:47Speaker 2: to run automatically at startup.
- 4:49Speaker 1: That's crazy. But wait, Microsoft shifts the architecture sometimes, right,
- 4:53Speaker 1: like the massive changes they made between Windows XP and
- 4:56Speaker 1: Windows seven.
- 4:56Speaker 2: Oh yeah, and when they do that, investigators are suddenly
- 4:59Speaker 2: thrown into the dark. Your old tools might just not
- 5:01Speaker 2: work anymore, so you have.
- 5:02Speaker 1: To completely relearn how the system stores its deepest secrets.
- 5:06Speaker 2: Pretty much every major release changes the rules of the game.
- 5:09Speaker 1: Like when Windows ten introduce Quartana, the digital personal assistant,
- 5:13Speaker 1: or when it replaced Internet Explorer with microscaloft Edge.
- 5:17Speaker 2: And then Windows eleven push even deeper into cloud integration.
- 5:21Speaker 1: Right, And for the average user, that's just a fun
- 5:23Speaker 1: feature update. But for an investigator, what does that actually mean?
- 5:27Speaker 2: It means an explosion of new forensic artifacts. When an
- 5:31Speaker 2: OS integrates a voice assistant like Quortana, suddenly we have
- 5:35Speaker 2: access to voice command logs and cloud SYNCD search histories.
- 5:39Speaker 1: Stuff that simply didn't exist in older versions exactly.
- 5:42Speaker 2: Cloud integration means a user's activity on their smartphone might
- 5:46Speaker 2: be synced and stored deep within the hidden system files
- 5:50Speaker 2: of their desktop computer.
- 5:51Speaker 1: Okay, looking at this timeline, I have to bring up
- 5:53Speaker 1: an assumption I hear all the time here. It because
- 5:56Speaker 1: almost everyone uses Windows. Yeah, and we all grew up
- 5:58Speaker 1: clicking the start menu. Investigating a Windows machine must be
- 6:02Speaker 1: pretty straightforward, right, It's familiar territory.
- 6:05Speaker 2: That is probably the single most dangerous myth in the industry. Really, why,
- 6:10Speaker 2: Because Windows forensics is incredibly difficult. For one, Windows is
- 6:15Speaker 2: deeply protective of its own architecture. It does not natively
- 6:18Speaker 2: allow easy access to the physical layer of the disk, a.
- 6:21Speaker 1: Physical layer like the raw data.
- 6:23Speaker 2: Yeah, the raw ones and zeros on a hard drive.
- 6:25Speaker 2: If an investigator needs to look at those bypassing the
- 6:28Speaker 2: file system entirely. Windows actively fights that it blocks direct
- 6:33Speaker 2: low level acts.
- 6:34Speaker 1: Oh wow, So how do you get in?
- 6:36Speaker 2: You have to use specialized third party tools just to
- 6:39Speaker 2: bypass the operating system's own gatekeeping.
- 6:42Speaker 1: So it's guarding its own doors. I imagine it's full
- 6:43Speaker 1: of hidden compartments.
- 6:44Speaker 2: Too, absolutely full of them. Undocumented features are everywhere. But
- 6:48Speaker 2: here is the really fascinating trade off. What's that The
- 6:51Speaker 2: very complexity that makes Windows a nightmare to navigate also
- 6:55Speaker 2: makes it the ultimate witness. How So, because upgrading an
- 6:58Speaker 2: operating system leaves incredibly deep tracks the features designed to
- 7:02Speaker 2: make a user's life quote unquote easier, like a timeline
- 7:05Speaker 2: of recently open files or predictive text, they are silently
- 7:09Speaker 2: recording user behavior in astonishing detail.
- 7:12Speaker 1: So most people have zero idea their machine is basically
- 7:15Speaker 1: keeping a diary of their every move.
- 7:18Speaker 2: Almost no idea at all.
- 7:19Speaker 1: Okay, So, because Windows is this complex, constantly shifting labyrinth,
- 7:25Speaker 1: an investigator can't just, you know, boot up the suspect's
- 7:29Speaker 1: computer and start clicking around through their documents folder.
- 7:31Speaker 2: Oh absolutely not. You would instantly ruin the evidence. You
- 7:34Speaker 2: would overwrite that diary we just talked.
- 7:36Speaker 1: About, which brings us right back to the scientific methodology.
- 7:39Speaker 1: How do investigators actually do this without destroying the crime scene.
- 7:43Speaker 2: They follow strict frameworks. Today we're going to look at
- 7:46Speaker 2: the eight step methodology developed by the Sans Institute.
- 7:49Speaker 1: Right they're premier organization for cybersecurity training.
- 7:52Speaker 2: Exactly. Other bodies like NIST or ISO have very similar frameworks,
- 7:57Speaker 2: but the core principle across all of them is the
- 8:00Speaker 2: same response, systematically preserve the evidence.
- 8:03Speaker 1: Let's get into the mechanics of these eight steps. Step
- 8:06Speaker 1: one is verification.
- 8:08Speaker 2: Right, This is where you verify that an incident actually
- 8:11Speaker 2: took place, determine the scope, and assess the case.
- 8:14Speaker 1: You're asking like, what exactly is the situation here? This
- 8:18Speaker 1: feels like the step where you justify your actions.
- 8:21Speaker 2: Precisely, like telling a CEO, yes, we absolutely must take
- 8:25Speaker 2: your multimillion dollar database offline right now. You don't just
- 8:28Speaker 2: pull the plug on a critical business system based on
- 8:31Speaker 2: a rumor that.
- 8:32Speaker 1: Makes total sense. So once you verify the incident and
- 8:35Speaker 1: justify the investigation, you move to step two. System description.
- 8:40Speaker 2: Right before you touch a single wire, you map the terrain,
- 8:43Speaker 2: You document the environment.
- 8:44Speaker 1: What kind of things are you documenting?
- 8:46Speaker 2: Things like what is the system's role in the network.
- 8:48Speaker 2: Is it just a standard workstation or an active directory server?
- 8:52Speaker 2: What's the operating system version, the disc format, the exact
- 8:55Speaker 2: amount of RAM installed. You just take meticulous.
- 8:58Speaker 1: Notes, which leads us to step through And this is
- 9:01Speaker 1: where things get highly technical and honestly incredibly high stakes
- 9:05Speaker 1: evidence acquisition.
- 9:07Speaker 2: Yes, this is where you actually collect the data, and
- 9:10Speaker 2: you've got to deal with two completely different types of data,
- 9:13Speaker 2: volatile and non volatile.
- 9:15Speaker 1: And this is where cases are one or lost in
- 9:17Speaker 1: a matter of seconds. Right.
- 9:18Speaker 2: Absolutely, volatile data is the information currently active in the
- 9:23Speaker 2: system's memory the RAM. Non volatile data is the information
- 9:27Speaker 2: permanently written to the hard drive.
- 9:29Speaker 1: Wait, I want to make sure we visualize this perfectly
- 9:31Speaker 1: for you listening. Let's use an analogy.
- 9:32Speaker 2: Okay, I love analogies.
- 9:33Speaker 1: Let's say RAM the volatile memory is like a whiteboard
- 9:37Speaker 1: in an office. The computer is actively writing on it,
- 9:40Speaker 1: erasing things, sketching out ideas for whatever programs are currently running.
- 9:46Speaker 1: But the whiteboard is magical. It only exists as long
- 9:50Speaker 1: as the lights are on in the room. The second
- 9:52Speaker 1: the power drops, the whiteboard is wiped completely clean.
- 9:55Speaker 2: That's a great visual.
- 9:56Speaker 1: And then the non volatile hard drive, on the other hand,
- 9:59Speaker 1: is like the physical filing cabinet in the corner of
- 10:01Speaker 1: the room. Even if the lights go out, those paper
- 10:04Speaker 1: files aren't going anywhere.
- 10:05Speaker 2: That is an excellent way to conceptualize it. Active network connections,
- 10:09Speaker 2: malware currently running in the background, passwords temporarily stored in memory,
- 10:14Speaker 2: that is all on the whiteboard.
- 10:15Speaker 1: So it's incredibly fragile.
- 10:17Speaker 2: Incredibly, if you walk into a room and just pull
- 10:20Speaker 2: a power plug on a suspects computer, you've just erased
- 10:24Speaker 2: the whiteboard. The volatile data is gone forever.
- 10:27Speaker 1: Wow. So the absolute golden rule of acquisition has to
- 10:31Speaker 1: be you must capture the whiteboard first.
- 10:34Speaker 2: Yes, you have to collect the voltle ram data while
- 10:37Speaker 2: the machine is still running.
- 10:39Speaker 1: But wait, I'm stuck on something here. If I'm sitting
- 10:41Speaker 1: at the suspects computer, why can't I just use the
- 10:44Speaker 1: computer's own copy function or like the task manager to
- 10:47Speaker 1: save that memory?
- 10:48Speaker 2: Because you cannot trust the computer?
- 10:50Speaker 1: Really? Why not?
- 10:51Speaker 2: If a hacker has compromised that system, they may have
- 10:54Speaker 2: installed what's called a root kit. They might have altered
- 10:57Speaker 2: the basic commands of the operating system itself. Oh I
- 10:59Speaker 2: see Yeah, So if you use the suspect machine's own
- 11:02Speaker 2: copy command, the hackers hidden code might intercept that command
- 11:06Speaker 2: and say, copy everything except my malicious files. It will
- 11:08Speaker 2: literally lie to you.
- 11:10Speaker 1: Ah. So the system itself is an unreliable narrator exactly.
- 11:14Speaker 2: That is why investigators must use what we call trusted binaries.
- 11:17Speaker 1: Wait, just to clarify for everyone, a binary is just
- 11:20Speaker 1: the raw executable file of a program.
- 11:22Speaker 2: Right, yep. Investigators bring their own trusted clean tools, usually
- 11:28Speaker 2: on an external secure USB drive, and they run those
- 11:31Speaker 2: tools directly from the drive.
- 11:33Speaker 1: Completely bypassing the suspects potentially corrupted operating system software precisely. Okay,
- 11:38Speaker 1: so we've secured the whiteboard using our own trusted tools.
- 11:42Speaker 1: What about the filing cabinet. How do we acquire the
- 11:45Speaker 1: non volatile hard drive data without altering it?
- 11:48Speaker 2: Well, if investigators can safely take the system offline, they
- 11:51Speaker 2: will physically remove the hard drive. Then they plug that
- 11:54Speaker 2: drive into a specialized hardware device called a right blocker.
- 11:58Speaker 1: A right blocker, how does that i actually work? Does
- 12:00Speaker 1: it just use software to say don't write.
- 12:03Speaker 2: No, It's much more robust than that. It's a physical
- 12:05Speaker 2: electronic barricade. A right blocker intercepts the data cable between
- 12:10Speaker 2: the suspects drive and the investigator's computer. Okay, it allows
- 12:13Speaker 2: read signals to pass through, so the investigator can copy
- 12:16Speaker 2: the data, but it physically blocks any right signals from
- 12:19Speaker 2: traveling back to the suspects drive.
- 12:21Speaker 1: Oh wow, so it ensures that the investigator's computer cannot
- 12:24Speaker 1: offer a single zero or one on the original evidence exactly.
- 12:28Speaker 2: Using this device, they create a perfect bit for bit
- 12:31Speaker 2: mathematical clone of the drive, which is called a bitstream image.
- 12:35Speaker 1: Okay, so step three is complete. We've copied the whiteboard,
- 12:38Speaker 1: we perfectly clone the filing cabinet. But now we're just
- 12:41Speaker 1: staring at terabytes of ones and zeros.
- 12:43Speaker 2: It's a massive mountain of data.
- 12:46Speaker 1: So how do we actually start making sense of it?
- 12:48Speaker 2: That brings us to step four timeline analysis. We need
- 12:52Speaker 2: to establish a chronological order of events, so we look
- 12:55Speaker 2: for mbassy time evidence.
- 12:57Speaker 1: Let's break down MD time because that's an acronym. Trips
- 13:00Speaker 1: people up mac modified, accessed, changed, and created, right, it
- 13:06Speaker 1: sounds kind of repetitive, honestly. What is the difference between
- 13:09Speaker 1: modified and changed?
- 13:10Speaker 2: It's a crucial distinction. Modified refers to the actual content
- 13:14Speaker 2: of the file. So if I open a word document,
- 13:17Speaker 2: type a new paragraph and save it, the modified time updates.
- 13:20Speaker 1: Okay, makes sense. What about changed.
- 13:22Speaker 2: Changed refers to the file's metadata. If I don't touch
- 13:26Speaker 2: the text inside the document, but I changed the file
- 13:28Speaker 2: permissions from read only to hidden, the content wasn't modified,
- 13:32Speaker 2: but the metadata was changed.
- 13:34Speaker 1: Got it? And then access means the file was opened
- 13:38Speaker 1: or viewed.
- 13:39Speaker 2: Yep and created is the exact moment the file was
- 13:43Speaker 2: born on that specific storage volume.
- 13:45Speaker 1: So by extracting all those different timestamps from millions of files,
- 13:49Speaker 1: investigators can build what's called a super timeline.
- 13:52Speaker 2: Yes, a super timeline stitches together time data from the
- 13:56Speaker 2: file system, the system memory, the Windows registry, and application
- 13:59Speaker 2: laws into one massive chronological.
- 14:02Speaker 1: Spreadsheet that sounds intense.
- 14:04Speaker 2: It gives the investigator a complete second by second snapshot
- 14:07Speaker 2: of all activity. You can see the exact millisecond a
- 14:11Speaker 2: USB drive was inserted, followed by the exact millisecond a
- 14:14Speaker 2: sensitive spreadsheet was accessed, followed by the file being copied.
- 14:18Speaker 1: Okay, so the super timeline gives us the when, but
- 14:20Speaker 1: a timeline doesn't show us the actual contents of the files?
- 14:23Speaker 1: How do we figure out what actually happened?
- 14:25Speaker 2: That leads to Step five Media and artifact analysis. This
- 14:29Speaker 2: is the deep inspection phase. What we're looking for here
- 14:31Speaker 2: we want to know what programs were executed, what specific
- 14:35Speaker 2: directories were hidden. We also bring our RAM analysis back
- 14:39Speaker 2: in here. We look at that Vodyle memory we capture
- 14:42Speaker 2: to find hidden network connections.
- 14:44Speaker 1: Ah right, the whiteboard data exactly.
- 14:47Speaker 2: This is also the stage where we actively hunt for
- 14:50Speaker 2: anti forendic techniques. The trick suspects use to hide their tracks.
- 14:54Speaker 1: Oh interesting, what's the most devious trick they use?
- 14:58Speaker 2: One of the most fascinating is called steaganography. It is
- 15:01Speaker 2: the practice of hiding data within other data, like cryptography.
- 15:05Speaker 2: Actually it's very different from cryptography. Cryptography scrambles a message
- 15:09Speaker 2: into a secret code. Everyone can see the code, they
- 15:11Speaker 2: just can't read it. Steganography hides the very existence of
- 15:14Speaker 2: the message.
- 15:15Speaker 1: Whoa break down the mechanism for me? How do you
- 15:18Speaker 1: hide a stolen password inside say a normal photograph of
- 15:21Speaker 1: a cat.
- 15:22Speaker 2: Think about how a digital image works. Every single pixel
- 15:25Speaker 2: in that photo has a specific color value represented by
- 15:28Speaker 2: binary code. Let's say a pixel is pure blue. If
- 15:31Speaker 2: a hacker alters just the very last digit of that
- 15:34Speaker 2: binary code, the least significant bit, they change the color
- 15:38Speaker 2: value by a tiny fraction of.
- 15:40Speaker 1: A percent, so the human eye will still see the
- 15:42Speaker 1: exact same.
- 15:43Speaker 2: Shade of blue exactly. The picture looks perfectly normal to
- 15:46Speaker 2: you and me. But a forensic investigator using specialized tools
- 15:50Speaker 2: can extract all those altered trailing digits from the pixels
- 15:54Speaker 2: and reassemble them into the hidden stolen password or even
- 15:57Speaker 2: malicious code.
- 15:58Speaker 1: That is mind blowing. The data is literally hiding in
- 16:01Speaker 1: plain sight within the colors of the image.
- 16:03Speaker 2: It really is.
- 16:04Speaker 1: But what if you know what you're looking for, say
- 16:06Speaker 1: a specific credit card number or a known malware signature,
- 16:10Speaker 1: but the file has been renamed or hidden.
- 16:12Speaker 2: Then we moved to step six. String or byte search.
- 16:16Speaker 2: Investigators bypass the normal filesystem entirely and search the low level,
- 16:20Speaker 2: raw bitstream image.
- 16:22Speaker 1: How do they do that?
- 16:23Speaker 2: They use regular expressions to come through the entire drive
- 16:25Speaker 2: for patterns like the specific mathematical format of a credit
- 16:28Speaker 2: card number. They also look for magic cookies.
- 16:31Speaker 1: Magic cookies. I love the terminology in this field. What
- 16:34Speaker 1: is a magic cookie?
- 16:35Speaker 2: It's basically a file signature. Every file type has a
- 16:39Speaker 2: unique sequence of bytes at the very beginning of the file,
- 16:42Speaker 2: called a header.
- 16:43Speaker 1: Give me an example.
- 16:44Speaker 2: For example, every standard VIP file starts with the hexadecimal
- 16:48Speaker 2: characters that translate to the letters p k okay.
- 16:52Speaker 1: So even if a suspect renames a VIP file to
- 16:55Speaker 1: vacation photo dot jpg to hide it.
- 16:58Speaker 2: The operating system might be fooled, but the magic cookie
- 17:01Speaker 2: at the byte level remains pk A byte search will
- 17:04Speaker 2: flag it instantly as a disguised archive file, which.
- 17:07Speaker 1: Brings up the most common scenario. What if the suspect
- 17:09Speaker 1: realizes they're about to be caught panics highlights all the
- 17:13Speaker 1: stolen files, hits delete and empties the recycle bin.
- 17:17Speaker 2: Right, the classic panic move.
- 17:19Speaker 1: We established at the top of the deep dive that
- 17:20Speaker 1: the files aren't actually gone. How do we get them back?
- 17:23Speaker 2: That is step seven data recovery. And let's use another
- 17:27Speaker 2: analogy to explain the mechanism.
- 17:29Speaker 1: Here go forth.
- 17:29Speaker 2: Think of your hard drive as a massive public library.
- 17:32Speaker 2: The files are the books on the shelves the Windows filesystem.
- 17:36Speaker 2: The master file table is the card catalog at the
- 17:38Speaker 2: front desk.
- 17:39Speaker 1: Okay, I'm with you.
- 17:40Speaker 2: When you delete a file and empty the recycle bin,
- 17:43Speaker 2: the computer does not send someone into the stacks to
- 17:45Speaker 2: burn the book. It just rips up the index card
- 17:48Speaker 2: in the catalog and marks that shelf space as available.
- 17:52Speaker 1: So the book, the actual data is still sitting perfectly
- 17:55Speaker 1: intact on the shelf. The computer just forgot how to
- 17:58Speaker 1: find it exactly.
- 17:59Speaker 2: That space is now known as unallocated space. It will
- 18:03Speaker 2: remain perfectly intact until the computer decides to save a
- 18:06Speaker 2: brand new file and randomly shoves a new book into
- 18:08Speaker 2: that exact same spot on the shelf overwriting it.
- 18:11Speaker 1: Wow, and there's also something called slack space, right, how's
- 18:14Speaker 1: that different from unallocated space?
- 18:16Speaker 2: Slack space is the leftover room within a specific storage cluster.
- 18:21Speaker 2: Hard drives store data and fixed sized chunks called clusters.
- 18:24Speaker 1: Okay, So, keeping with a library analogy.
- 18:26Speaker 2: Imagine every folder on the library shelf must hold exactly
- 18:29Speaker 2: ten pages. If you save a one page document, the
- 18:32Speaker 2: folder still takes up ten pages of space on the shelf.
- 18:35Speaker 1: Oh, so the remaining nine pages of empty room inside
- 18:38Speaker 1: that folder is slack space exactly.
- 18:40Speaker 2: The computer doesn't bother clearing it out, so that slack
- 18:43Speaker 2: space might contain leftover fragments of older deleted files that
- 18:47Speaker 2: used to occupy that exact spot.
- 18:49Speaker 1: So how do investigators pull the books out of the
- 18:51Speaker 1: unallocated space or the slack space if the card catalog
- 18:55Speaker 1: is gone?
- 18:56Speaker 2: They use a technique called file carving. Since they don't
- 18:59Speaker 2: have the file system to guide them, they scan the
- 19:02Speaker 2: raw data looking for those magic cookies we talked about
- 19:04Speaker 2: the fileheaders.
- 19:05Speaker 1: So when the carving tool finds the PK header of
- 19:08Speaker 1: a zip file or the hitter of a PDF.
- 19:11Speaker 2: It essentially grabs it and pulls the entire file out
- 19:14Speaker 2: of the unallocated space, bringing the deleted data right back
- 19:17Speaker 2: to the surface.
- 19:18Speaker 1: That is incredible. Okay, let's review the journey we just took.
- 19:21Speaker 1: It's been a long one. We verified the incident, we
- 19:23Speaker 1: mapped the terrain. We carefully acquired the fragile whiteboard of
- 19:27Speaker 1: RAM and clone the filing cabinet using a physical right blocker.
- 19:31Speaker 1: We built a super timeline analyzing modified, accessed, changed, and
- 19:36Speaker 1: created data. We looked for pixels, hiding steganography, haunted for
- 19:40Speaker 1: magic cookies, and carved deleted files straight out of the
- 19:43Speaker 1: library's unallocated space.
- 19:45Speaker 2: We found the digital smoking gun.
- 19:48Speaker 1: Yes, but the investigation isn't over, is.
- 19:53Speaker 2: It not quite? In fact, none of those brilliant technical
- 19:56Speaker 2: discoveries matter if you fail at step eight hoarding results.
- 20:01Speaker 1: Ah, because a forensic investigation is completely useless if the
- 20:05Speaker 1: results cannot be clearly communicated.
- 20:07Speaker 2: That makes total sense. You could be the most brilliant
- 20:10Speaker 2: investigator in the world, speaking entirely in hexodescimal bytecode. But
- 20:14Speaker 2: if you can't explain how you found the evidence to
- 20:17Speaker 2: a jury of everyday people, you will lose the case exactly.
- 20:20Speaker 1: And that is why the report must be written based
- 20:23Speaker 1: strictly on the scientific methods and objective facts you established
- 20:26Speaker 1: throughout the entire process.
- 20:27Speaker 2: Furthermore, investigators must adapt their reporting style depending on the audience.
- 20:32Speaker 1: Right, an executive summary designed for a corporate board of
- 20:34Speaker 1: directors trying to understand their business risk is going to
- 20:37Speaker 1: look fundamentally different from a highly technical, granular affidavit submitted
- 20:42Speaker 1: to a federal judge.
- 20:43Speaker 2: But in every iteration, the report must be bulletproof because
- 20:46Speaker 2: it will be the foundation for legal or administrative action.
- 20:49Speaker 1: It is a massive, incredibly detailed process. So what does
- 20:54Speaker 1: this all mean for you listening to this deep dive
- 20:56Speaker 1: right now?
- 20:57Speaker 2: We covered a lot of ground we did, yeah.
- 20:59Speaker 1: And we like to make sure these concepts actually stick
- 21:01Speaker 1: with you. Let's see if you were paying attention to
- 21:03Speaker 1: our eight steps. I've got a quick review question for you.
- 21:06Speaker 1: Let's hear it out of the eight steps we just unpacked,
- 21:09Speaker 1: in which step would an investigator specifically analyze slack space
- 21:14Speaker 1: and unallocated space to carve out a file the suspect
- 21:18Speaker 1: thought they had permanently deleted. Think about the library analogy
- 21:22Speaker 1: for a second.
- 21:22Speaker 2: Take a guess, got it?
- 21:24Speaker 1: The answer is step seven data recovery. That is where
- 21:28Speaker 1: we bypass the ripped up card catalog and pull the
- 21:30Speaker 1: deleted secrets straight from the digital graveyard.
- 21:33Speaker 2: And as we wrap up this exploration, there is an
- 21:35Speaker 2: important reality I want you to mull over the next
- 21:38Speaker 2: time you boot up your machine.
- 21:39Speaker 1: What's that?
- 21:40Speaker 2: Well, we talked extensively about how Windows leaves a rich
- 21:43Speaker 2: trail of forensic artifacts. Every single time an operating system
- 21:47Speaker 2: gets an upgrade. The marketing focuses on making your life easier,
- 21:51Speaker 2: predictive text timeline histories, instant sinking across your devices.
- 21:55Speaker 1: But those conveniences come with a hidden cost.
- 21:58Speaker 2: Exactly time your computer prompts you for a system update,
- 22:02Speaker 2: promising a smooter workflow or a smarter digital assistant, you
- 22:06Speaker 2: might want to wonder what new digital footprints is your
- 22:09Speaker 2: machine secretly learning to record about you.
- 22:11Speaker 1: Wow, we are all constantly leaving invisible artifacts behind the
- 22:16Speaker 1: ruins of our own digital lives, just waiting for an
- 22:18Speaker 1: investigator to come along, bypass the locks and mediculously dust
- 22:22Speaker 1: them off.