Latest / CyberCode Academy / Course 36 - Windows Forensics and Tools | Episode 9: Uncovering Hidden Evidence
Transcript
- 0:00Speaker 1: Imagine for just a second a digital bank heist.
- 0:03Speaker 2: Oh okay, setting the scene, right, So.
- 0:06Speaker 1: An attacker sneaks into a corporate network, quietly bypasses the
- 0:10Speaker 1: external firewalls and just steals gigabytes of highly sensitive proprietary data.
- 0:17Speaker 2: Standard nightmare scenario for any IT team exactly.
- 0:20Speaker 1: But because this is a top tier professional we're talking about,
- 0:23Speaker 1: they don't just grab the money and run. They spend hours,
- 0:27Speaker 1: literally hours, meticulously wiping their footprints from the scene.
- 0:31Speaker 2: Yeah, sweeping up the glass.
- 0:32Speaker 1: Sweeping up the glass. They systematically delete the security log files,
- 0:36Speaker 1: they scrub their custom hacking tools from the local storage,
- 0:39Speaker 1: and they artificially manipulate the timestamps on every single file they.
- 0:44Speaker 2: Interacted with, right, the classic cover up.
- 0:46Speaker 1: Yeah, And when they finally terminate their connection, they think
- 0:49Speaker 1: they've pulled off the absolute perfect crime. I mean, they
- 0:52Speaker 1: believe they're completely.
- 0:53Speaker 2: Invisible, but they usually aren't.
- 0:54Speaker 1: They aren't because what they don't realize is that the
- 0:57Speaker 1: very computer they just exploited was secretly keeping a hidden,
- 1:01Speaker 1: tamper proof diary of every single move they made.
- 1:04Speaker 2: It really is like the ultimate digital betrayal for an attacker.
- 1:08Speaker 2: I mean, the compromised machine itself quietly turns into the
- 1:12Speaker 2: star witness for the prosecution. It just holds onto this
- 1:15Speaker 2: pristine record of the crime.
- 1:17Speaker 1: And that hidden diary is exactly what we are unlocking today.
- 1:21Speaker 1: So welcome to a deep dive into Windows restore points.
- 1:24Speaker 1: I've been digging through a stack of technical documentation, OS
- 1:27Speaker 1: architecture manuals and my own forensic research notes.
- 1:30Speaker 2: It's a huge topic, it is.
- 1:32Speaker 1: Our mission for this deep dive is to explore a
- 1:35Speaker 1: built in OS feature that was designed for one specific,
- 1:39Speaker 1: entirely innocent reason, but accidentally serves as one of the
- 1:42Speaker 1: absolute most powerful tools in a cybersecurity investigator's arsenal.
- 1:46Speaker 2: Yeah, it's wild how that worked out.
- 1:48Speaker 1: Okay, so let's unpack this. We're going to explore exactly
- 1:51Speaker 1: how modern operating systems quietly track changes in the background.
- 1:54Speaker 1: And more importantly, since you're out there teaching yourself forensics
- 1:57Speaker 1: and looking to understand how systems operate under the hood,
- 2:00Speaker 1: we're going to break down how you can use this
- 2:02Speaker 1: hidden timeline to catch those invisible attackers.
- 2:05Speaker 2: I love this. It's a fascinating technical journey, right because
- 2:09Speaker 2: by the end of this deep dive, you'll understand the
- 2:11Speaker 2: exact mechanics of where these hitting clues physically live on
- 2:14Speaker 2: a hard drive, and the specific techniques required to read them.
- 2:19Speaker 2: We're basically looking at the exact intersection where routine system
- 2:22Speaker 2: administration collides with high stakes digital forensics. I mean, we
- 2:27Speaker 2: are taking a legacy feature that most users completely ignore
- 2:30Speaker 2: until their computer blue screens, right, and we are putting
- 2:33Speaker 2: its underlying architecture under a microscope.
- 2:36Speaker 1: Yeah. To really grasp the forensic value here, we have
- 2:39Speaker 1: to look at the original engineering intent, because system restore
- 2:43Speaker 1: definitely didn't start out as a forensic trap or a
- 2:46Speaker 1: security tool.
- 2:47Speaker 2: No, not at all.
- 2:47Speaker 1: It first appeared way back in Windows AMY, the Millennium edition,
- 2:50Speaker 1: and saw major architectural refinements later in Windows XP.
- 2:54Speaker 2: Yeah, the entire engineering goal was just to save users
- 2:57Speaker 2: from themselves or from terribly coded software. That original design
- 3:01Speaker 2: philosophy is crucial to keep in mind. The system was
- 3:03Speaker 2: just built to be a fail save I.
- 3:05Speaker 1: Always I kind of conceptualize it like a video game
- 3:08Speaker 1: save state, but applied directly to your computer's operating system.
- 3:13Speaker 2: Oh, that's a perfect analogy.
- 3:14Speaker 1: You're right in a game, you know you're about to
- 3:16Speaker 1: walk into a boss fight, so you save your progress
- 3:19Speaker 1: if things go completely sideways, you don't start the entire
- 3:23Speaker 1: game over. You just reload that exact state exactly with
- 3:27Speaker 1: system restore. The logic is identical. If you install a
- 3:31Speaker 1: buggy i don't know, unoptimized graphics driver that causes your
- 3:35Speaker 1: machine to constantly crash, or a software update completely corrupts
- 3:39Speaker 1: a critical application, you shouldn't have to reformat your hard
- 3:43Speaker 1: drive and reinstall Windows from scratch. Nobody wants to do that, Nobody.
- 3:46Speaker 1: You just command the OS to roll back the clock
- 3:49Speaker 1: to a designated point before that corruption occurred.
- 3:52Speaker 2: Right, But that rollback mechanism requires the operating system to
- 3:55Speaker 2: actively monitor changes to system files, application configurations, and registry.
- 4:01Speaker 2: It's quietly making copies of those critical files before they
- 4:04Speaker 2: get overwritten or altered.
- 4:05Speaker 1: So it gives you a simple, immediate recovery path.
- 4:07Speaker 2: Yes, but what's fascinating here is the unintended forensic vulnerability
- 4:12Speaker 2: this created for cyber criminals. Well, when an advanced attacker
- 4:16Speaker 2: compromises a system, their final step is always what we
- 4:19Speaker 2: call counter forensics.
- 4:21Speaker 1: Ah. They want to break the timeline exact because if
- 4:24Speaker 1: an investigator can't establish a reliable timeline of when a
- 4:28Speaker 1: file arrived and what it did. The entire investigation basically
- 4:32Speaker 1: falls apart.
- 4:32Speaker 2: That is the core of their strategy. They utilize these
- 4:36Speaker 2: really sophisticated log wiping scripts, and they aggressively use a
- 4:41Speaker 2: technique called time stomping.
- 4:43Speaker 1: Time stomping, let's define that real quick.
- 4:45Speaker 2: Yeah, time stomping is where an attacker directly manipulates the
- 4:48Speaker 2: master file table. That's the database that keeps track of
- 4:52Speaker 2: every file on an NCFS volume. They artificially rewrite the
- 4:56Speaker 2: creation and modification dates of their malicious files.
- 5:00Speaker 1: They make them look like old, legitimate system files from
- 5:03Speaker 1: like twenty fourteen.
- 5:04Speaker 2: Right if you just look at the live file system,
- 5:06Speaker 2: their malware blends in perfectly with the native Windows files.
- 5:10Speaker 2: And finally, they use secure deletion utilities to overwrite their
- 5:13Speaker 2: hacking scripts with zeros once they are.
- 5:15Speaker 1: Done with them, which ensures data recovery software can't bring
- 5:18Speaker 1: them back. But the attacker's fatal flaw here is looking
- 5:22Speaker 1: only at the active desktop environment. Because system restore was
- 5:26Speaker 1: constantly taking background snapshots of the operating system state, it
- 5:30Speaker 1: often captures a perfect, frozen in time copy of the
- 5:34Speaker 1: attacker's malicious code and.
- 5:35Speaker 2: Their configuration files and their initial tool Yeah.
- 5:39Speaker 1: Well, before the attacker ever had a chance to timestomp
- 5:41Speaker 1: or securely delete them.
- 5:43Speaker 2: The snapshot isolates the evidence. It's a pristine piece of
- 5:47Speaker 2: historical data that is safely locked away.
- 5:49Speaker 1: Wow.
- 5:50Speaker 2: And because the system restore process is heavily integrated into
- 5:53Speaker 2: the operating system and it's enabled by default on most
- 5:56Speaker 2: consumer Windows environments, an investigator is highly likely to find
- 6:00Speaker 2: this untouched goal mind just waiting for them on a
- 6:02Speaker 2: compromise machine.
- 6:03Speaker 1: Okay, So if it's constantly grabbing these pristine copies, that
- 6:06Speaker 1: brings up a massive architectural question for me. What's that
- 6:09Speaker 1: It can't just be recording every single micro second of activity.
- 6:12Speaker 1: I mean, if an OS took a full backup every
- 6:14Speaker 1: time a file changed, a one teraby hard drive would
- 6:18Speaker 1: be completely full in what a matter of hours?
- 6:20Speaker 2: Oh? Easily?
- 6:21Speaker 1: So there has to be a specific rhythm to it.
- 6:23Speaker 2: There is the engineering team built in very specific event
- 6:26Speaker 2: triggers that instruct the volume shadow copy service to initiate
- 6:30Speaker 2: a snapshot. So it is absolutely not a continuous recording.
- 6:33Speaker 1: Okay, so what are the triggers?
- 6:35Speaker 2: Well, first, a baseline restore point is always created on
- 6:38Speaker 2: the initial boot of the operating system. After that, the
- 6:41Speaker 2: system relies on a timer. It's scheduled to trigger a
- 6:44Speaker 2: new snapshot every twenty four hours of continuous machine up time.
- 6:48Speaker 1: Okay, so you're guaranteed a daily automatic backup assuming the
- 6:51Speaker 1: machine stays powered on.
- 6:53Speaker 2: Right, But it's also tied to specific high risk system
- 6:56Speaker 2: events like what For instance, right before a major software
- 7:00Speaker 2: program executes its installer, the OS takes a snapshot, or
- 7:03Speaker 2: before Windows runs its automated patch updates. And crucially, it
- 7:07Speaker 2: triggers right before an unsigned device driver is installed onto
- 7:10Speaker 2: the system.
- 7:11Speaker 1: Because unsigned drivers are a massive red flag for OS.
- 7:14Speaker 2: Stability, right, huge red flag, and unsigned drivers basically unverified
- 7:18Speaker 2: code that requires.
- 7:19Speaker 1: Ring zero access Ring zero, meaning it interacts directly.
- 7:22Speaker 2: With the kernel, exactly the deepest, most privileged level of
- 7:27Speaker 2: your operating system. If code at that level fails, it
- 7:31Speaker 2: doesn't just crash an app.
- 7:32Speaker 1: It takes down the entire machine, the whole thing.
- 7:35Speaker 2: The system recognizes that inherent risk, so it automatically takes
- 7:39Speaker 2: a defensive snapshot just in case that driver causes a
- 7:42Speaker 2: catastrophic kernel panic.
- 7:43Speaker 1: Okay, so we understand what triggers the system to open
- 7:47Speaker 1: the vault and take a snapshot, But let's talk about
- 7:49Speaker 1: the guest list the gatless. Yeah, Like, are we backing
- 7:52Speaker 1: up the entire hard drives? If I'm an attacker and
- 7:54Speaker 1: I drop a massive, I don't know, gigabyte sized, malicious
- 7:57Speaker 1: database on the desktop, does the system back that up?
- 8:00Speaker 2: No?
- 8:00Speaker 1: Or what about user specific files? Are my massive PST
- 8:04Speaker 1: email archives, my personal PDFs, and my thousands of word
- 8:08Speaker 1: documents getting duplicated into this hidden folder?
- 8:10Speaker 2: No? Thankfully, there is a very strict gatekeeper involved to
- 8:13Speaker 2: prevent exactly that kind of storage bloat. User specific data
- 8:17Speaker 2: files like your word documents, your scattered PDFs, and especially
- 8:20Speaker 2: those massive PST outlook data files, they're completely ignored by
- 8:24Speaker 2: system restore.
- 8:25Speaker 1: That makes sense. A PST file is a constantly changing
- 8:28Speaker 1: monolofic database of emails.
- 8:30Speaker 2: Backing that up daily would instantly cripple the storage drive. Yeah,
- 8:33Speaker 2: even standard Windows event logs are excluded by default. The
- 8:37Speaker 2: system only cares about files that actively execute code and
- 8:40Speaker 2: files that dictate system configurations.
- 8:43Speaker 1: But a computer is fundamentally just a box of billions
- 8:46Speaker 1: of zeros and ones. How does the volume shadow copy
- 8:50Speaker 1: service actually know the difference between a harmless PDF and
- 8:54Speaker 1: a dangerous piece of executing code.
- 8:56Speaker 2: It relies on a master rule book. It's a specific
- 8:59Speaker 2: XML file called file lists dot xml okay, where that
- 9:02Speaker 2: if you are navigating through the local drive, you will
- 9:04Speaker 2: find this file tucked away in the sea drive under
- 9:06Speaker 2: Windows System thirty two restore directory.
- 9:09Speaker 1: Okay, got it.
- 9:10Speaker 2: This XML document basically dictates the entire behavior of the
- 9:14Speaker 2: snapshot process. It contains highly specific include and exclude syntax
- 9:18Speaker 2: rules based on file extensions and directory paths. It explicitly
- 9:23Speaker 2: commands the system to grab things like dot executable files
- 9:26Speaker 2: and dotdal dynamic link libraries.
- 9:28Speaker 1: Which is an absolute gift for a forensic investigator. It
- 9:30Speaker 1: really is because dot exit and dot del files happened
- 9:33Speaker 1: to be the exact formats attackers rely on for malware payloads,
- 9:37Speaker 1: persistent back doors, and credential dumbing tools. Precisely, it's as
- 9:41Speaker 1: if the operating system was custom tailored to archive malicious weapons.
- 9:47Speaker 1: But wait, let me push back on this architecture for
- 9:49Speaker 1: a second.
- 9:50Speaker 2: Sure, go ahead.
- 9:50Speaker 1: If I'm a highly advanced thread actor and I've gained
- 9:53Speaker 1: administrative privileges on a target machine, I know my custom
- 9:57Speaker 1: dot xmlware is going to be scooped up by the
- 9:59Speaker 1: next daily snapshot, right right. I also know that this
- 10:02Speaker 1: fileist dot xml acts as the gatekeeper. Couldn't I just
- 10:06Speaker 1: open that XML file in a text editor at a
- 10:09Speaker 1: custom exclude rule for my specific malware path and essentially
- 10:12Speaker 1: blind the security camera to my own code.
- 10:14Speaker 2: See that is exactly the kind of critical thinking an
- 10:17Speaker 2: investigator needs to apply. Yes, an attacker with administrative or
- 10:21Speaker 2: system level privileges can absolutely tamper with filelist dot xml
- 10:24Speaker 2: to surgically alter what gets backed up. Ah, that vulnerability
- 10:28Speaker 2: is precisely why the very first action a FORENIC investigator
- 10:32Speaker 2: must take when analyzing restore points is to extract that
- 10:35Speaker 2: filelist dot xml file and compare its digital fingerprint against
- 10:41Speaker 2: the known default values of a clean Windows installation.
- 10:44Speaker 1: Oh, so you're checking to see if the bouncer at
- 10:47Speaker 1: the door has been bribed to look the other way.
- 10:50Speaker 2: That's the exact mechanism. If you run a comparison and
- 10:54Speaker 2: see that critical system directories or specific executable extensions have
- 10:58Speaker 2: been mysteriously added to the exclude list, that anomaly isn't
- 11:02Speaker 2: just a misconfiguration.
- 11:03Speaker 1: It's evident.
- 11:04Speaker 2: It is massive, undeniable evidence of active tampering. It proves
- 11:08Speaker 2: someone with deep technical knowledge was inside the system actively
- 11:12Speaker 2: trying to manipulate the forensic timeline.
- 11:14Speaker 1: Wow. Okay, So let's assume the attacker didn't know about
- 11:17Speaker 1: the XML file or simply didn't bother campering with it.
- 11:20Speaker 1: Here's where it gets really interesting. Yeah, you're an investigator.
- 11:23Speaker 1: You've secured the compromised computer. You've extracted this hidden vault
- 11:27Speaker 1: of her store points. What kind of actionable intelligence do
- 11:30Speaker 1: you actually pull out of it?
- 11:31Speaker 2: You basically extract two primary categories of evidence that are
- 11:35Speaker 2: foundational to any investigation. You get flawless file timelines, and
- 11:39Speaker 2: you get comprehensive behavioral profiles of the operating system.
- 11:43Speaker 1: Okay, let's tackle the timelines first.
- 11:45Speaker 2: Sure, in digital forensics, when we analyze file metadata, we
- 11:48Speaker 2: are deeply focused on MME times. That stands for modified,
- 11:53Speaker 2: accessed and created times.
- 11:55Speaker 1: Right, So, just to break that down for everyone, Yeah,
- 11:57Speaker 1: the created time is the exact second thing file was
- 12:00Speaker 1: born on that specific storage volume. The access time is
- 12:04Speaker 1: when a user or a program last opened or read
- 12:07Speaker 1: the file, and the modified times when the actual contents
- 12:10Speaker 1: of that file were last altered and saved.
- 12:12Speaker 2: That perfectly covers the standard definitions. Now, Normally, if you
- 12:16Speaker 2: manually copy a file from a USB drive onto your desktop,
- 12:19Speaker 2: the Windows operating system updates the created timestamp to the
- 12:22Speaker 2: exact moment you performed that copy action.
- 12:24Speaker 1: Because it's technically a new file on that drive exactly.
- 12:27Speaker 2: The history is altered by the movement, but system restores
- 12:31Speaker 2: underlying mechanism operates differently. It utilizes the volumes shadow copy service,
- 12:35Speaker 2: which works at the block level of the storage drive.
- 12:38Speaker 1: The block level. Okay, yeah, so when it pulls files
- 12:40Speaker 1: into a restore point, it transfers the metadata completely intact.
- 12:44Speaker 1: The original FFE times are not updated or altered during
- 12:48Speaker 1: the creation of the backup.
- 12:49Speaker 2: Wait. Really, so if an attacker drops the custom hacking
- 12:52Speaker 2: tool onto the server on say a Tuesday morning, and
- 12:56Speaker 2: the automated system restore triggers its backup on Wednesday night,
- 13:00Speaker 2: the backup copy doesn't say Wednesday Nope.
- 13:02Speaker 1: It preserves the original Tuesday time stamp perfectly.
- 13:06Speaker 2: Wow, the historical integrity is.
- 13:08Speaker 1: Maintained, completely maintained. This is a devastating blow to attackers
- 13:12Speaker 1: who rely on time stomping. Let's say you locate an
- 13:15Speaker 1: unknown dot x file hidden deep in a system folder.
- 13:19Speaker 1: By examining the preserve MA times within the restore point,
- 13:22Speaker 1: you bypass the attackers active manipulations entirely because you have
- 13:26Speaker 1: the pristine copy.
- 13:27Speaker 2: Right, you compare those pristina may times against the rest
- 13:30Speaker 2: of the system files to build a highly accurate second
- 13:33Speaker 2: by second timeline of the intrusion. You see exactly when
- 13:36Speaker 2: the malware was introduced, long after the attacker deleted the
- 13:39Speaker 2: original file from the active desktop.
- 13:41Speaker 1: That completely solves the timeline issue. That's incredible. But you
- 13:44Speaker 1: also mentioned behavioral profiles. A computer is more than just
- 13:47Speaker 1: a pile of files, right, It has settings, network configurations,
- 13:51Speaker 1: user accounts. How does a restore point capture behavior?
- 13:54Speaker 2: It achieves that through registry snapshots. System restorer doesn't limit
- 13:59Speaker 2: itself to soliditary executable files. It captures an entire, frazen
- 14:04Speaker 2: copy of the Windows registry, exactly as it existed at
- 14:07Speaker 2: the moment the snapshot was triggered.
- 14:09Speaker 1: Now, for those who might not dig into OS architecture daily,
- 14:12Speaker 1: the registry isn't just a settings menu, no, not at all.
- 14:15Speaker 1: It's a massive, hierarchical database. It's the central nervous system
- 14:20Speaker 1: of the Windows operating system. Every single configuration from what
- 14:24Speaker 1: programs launch it startup to the exact dimensions of your
- 14:27Speaker 1: application Windows to the stored hashed passwords live as a
- 14:31Speaker 1: binary value inside the registry.
- 14:33Speaker 2: It dictates the fundamental chemical makeup of the OS. So
- 14:37Speaker 2: when you mount that registry snapshot from the restore point
- 14:39Speaker 2: into your forensic workstation, you aren't just looking at isolated
- 14:43Speaker 2: data points.
- 14:44Speaker 1: You're looking at the whole system state.
- 14:46Speaker 2: You are analyzing a complete behavioral profile of the machine.
- 14:50Speaker 2: You can verify every single piece of hardware that was
- 14:53Speaker 2: plugged in via USB. You can review the exact software
- 14:57Speaker 2: configuration changes the attacker made to disable the anti virus.
- 15:01Speaker 2: Oh wow, you can map out the network history and
- 15:04Speaker 2: active shares from that exact hour. Because the registry is
- 15:08Speaker 2: so exhaustive, the forensic clues it provides are practically limitless.
- 15:13Speaker 1: I always picture it like finding a highly detailed polaroid
- 15:16Speaker 1: photograph of a crime scene. You don't just see the
- 15:18Speaker 1: weapon on the floor. You see the thermostat setting, you
- 15:21Speaker 1: see which windows were u launch, you see the caller
- 15:23Speaker 1: idea on the phone, all perfectly preserved in a single frame.
- 15:26Speaker 2: That's a great way to look at Okay.
- 15:28Speaker 1: So we've explored the theory, the what it captures, and
- 15:30Speaker 1: the wy It's so powerful. But for you, the self
- 15:33Speaker 1: taught learner listening wanting to actually put hands on a keyboard.
- 15:36Speaker 1: Let's walk through the where and the how. Where does
- 15:39Speaker 1: all this evidence physically sit on the hard drive?
- 15:41Speaker 2: The architecture places it in a heavily guarded hidden directory.
- 15:46Speaker 2: If you navigate to the root directory of your primary
- 15:49Speaker 2: system drive, which is almost always your Sea drive, you
- 15:51Speaker 2: are looking for a folder named System Volume Information.
- 15:55Speaker 1: Okay, but if you just open your Sea drive right
- 15:57Speaker 1: now and file explore, you won't see it. Even if
- 16:00Speaker 1: you click show hidden files, you still won't be able
- 16:02Speaker 1: to just click into it.
- 16:03Speaker 2: You won't because the operating system actively defends it. It's
- 16:06Speaker 2: not just a hidden folder. It is restricted by Access
- 16:09Speaker 2: control lists or ACLS. By default, it is locked down
- 16:12Speaker 2: to system level access only. The OS prevents standard users
- 16:16Speaker 2: and even standard administrators from casually opening it. To get inside,
- 16:20Speaker 2: you have to utilize command line tools or adjust the
- 16:23Speaker 2: advanced security properties to manually take ownership of the folder
- 16:26Speaker 2: and force the system to grant you read access.
- 16:29Speaker 1: Okay, so let's say you've done that. You've overpowered the
- 16:31Speaker 1: ACLS and hacked your way into your own folder. What
- 16:34Speaker 1: does the internal structure actually look like?
- 16:36Speaker 2: Inside System Volume Information, you will locate a subfolder named
- 16:40Speaker 2: underscore restore followed by a long unique alphanumeric system identifier
- 16:46Speaker 2: a KEYI got it. Inside that specific directory, you're going
- 16:50Speaker 2: to see a series of sequentially numbered folders. They are
- 16:54Speaker 2: named RP followed by a number RP one, RP two,
- 16:57Speaker 2: RP three, and so on. These RP folders are the
- 17:00Speaker 2: actual physical restore points.
- 17:02Speaker 1: Okay, well that seems logically organized. Yeah. So if I
- 17:05Speaker 1: know the attacker breached the system last Tuesday, I just
- 17:07Speaker 1: find the RP folder created last Tuesday, open it up,
- 17:10Speaker 1: look for bad guy dot X, and extract my evidence. Easy.
- 17:14Speaker 2: Well, this is where we hit a massive technical hurdle
- 17:17Speaker 2: on the forensic process. Oh really, Yeah, the translation problem.
- 17:21Speaker 2: When the volume shadow copy service duplicates a malicious dot
- 17:24Speaker 2: XC or dot del file into that specific RP folder,
- 17:28Speaker 2: it does not retain the original file name. It strips
- 17:30Speaker 2: the name and renames the file entirely.
- 17:33Speaker 1: It strips the name. Wait, it's like the operating system
- 17:35Speaker 1: is forcing all these copied files into a witness protection program.
- 17:39Speaker 2: That's exactly what it's doing.
- 17:40Speaker 1: We get relocated to a secure facility and giving completely
- 17:43Speaker 1: new randomized identities. So if I'm hunting for a known backdoor, name.
- 17:46Speaker 1: I don't know seechost underscore malicious dot x, It's not
- 17:50Speaker 1: going to be called that inside the RP folder.
- 17:52Speaker 2: No, the original name is gone. The system utilizes a
- 17:56Speaker 2: rigid renaming convention. The new file name almost always starts
- 18:00Speaker 2: with the letter A followed by a sequence of numbers,
- 18:03Speaker 2: while preserving the original file extension. So your Citvy Coast
- 18:07Speaker 2: Underscore malicious gets dumped into the folder as something completely
- 18:10Speaker 2: unrecognizable like azer zero zero one, two, three four dot xc.
- 18:15Speaker 1: Wow. So, if you're staring at a folder containing hundreds
- 18:18Speaker 1: of files named A zero zero whatever, how do you
- 18:21Speaker 1: possibly map those fake identities back to the original malicious
- 18:24Speaker 1: file you're looking for?
- 18:25Speaker 2: You have to consult the master ledger inside that same
- 18:28Speaker 2: specific RP directory. The system generates a tracking file called
- 18:31Speaker 2: change dot log.
- 18:33Speaker 1: Okay, change dot log.
- 18:34Speaker 2: This log acts as the repository that maps the new
- 18:37Speaker 2: sequential fake name back to the file's original name and
- 18:39Speaker 2: its absolute original path on the local hard drive.
- 18:42Speaker 1: Oh perfect, so the translation key exists. You just open
- 18:44Speaker 1: up change dot log in NOPAD, hit Cheryl plus F,
- 18:48Speaker 1: search for your file, and you're done.
- 18:50Speaker 2: I wish only it were that simple. This is where
- 18:52Speaker 2: the sheer grit of low level digital forensics comes into play.
- 18:56Speaker 2: You cannot open the change dot log file and no
- 18:58Speaker 2: bad because it is not a standard text document. It's
- 19:01Speaker 2: stored entirely in a raw binary format.
- 19:04Speaker 1: Oh wow.
- 19:04Speaker 2: And furthermore, the tracking data for a single restore point
- 19:08Speaker 2: can actually be fragmented and spread across multiple sequential change
- 19:12Speaker 2: dot log files.
- 19:14Speaker 1: So it's completely unreadable to the human eye in its
- 19:17Speaker 1: raw state.
- 19:17Speaker 2: Completely. To extract any meaning from it, you must load
- 19:20Speaker 2: the change dot log file into a specialized piece of
- 19:23Speaker 2: software called a hex viewer.
- 19:24Speaker 1: Okay, a hex viewer. Yeah.
- 19:26Speaker 2: A hex viewer takes raw machine code and visually splits
- 19:29Speaker 2: your screen. On the left side, it displays the raw
- 19:32Speaker 2: hexadecimal values endless columns of two character codes like zero
- 19:36Speaker 2: F two.
- 19:37Speaker 1: A four C right the matrix basically.
- 19:39Speaker 2: Pretty much, and on the right side it attempts to
- 19:42Speaker 2: translate those hex values into readable text, but because much
- 19:45Speaker 2: of the file is system formatting, the text side mostly
- 19:48Speaker 2: looks like absolute gibberish.
- 19:50Speaker 1: So you are literally parsing through raw unstructured machine data,
- 19:54Speaker 1: scrolling past walls of hex code just to spot the
- 19:57Speaker 1: recognizable text string of a filepath. Yes, that sounds incredibly
- 20:00Speaker 1: tedious ice training work.
- 20:02Speaker 2: It is extremely tedious. But finding that exact mapping string
- 20:07Speaker 2: in the hex viewer gives you definitive mathematical proof of
- 20:11Speaker 2: what that renamed file actually is and exactly where the
- 20:14Speaker 2: attacker originally hit it.
- 20:16Speaker 1: It's the definitive link in the chain of evidence exactly. Now,
- 20:19Speaker 1: all of this brings up a critical logistical issue for me.
- 20:22Speaker 1: You have these incredible snapshots, these perfectly preserved registries and
- 20:27Speaker 1: complex mapping logs, But a physical hard drive does not
- 20:31Speaker 1: have infinite storage capacity.
- 20:33Speaker 2: No, it doesn't.
- 20:34Speaker 1: Does this treasure trove of evidence just sit inside the
- 20:37Speaker 1: system volume information folder forever?
- 20:39Speaker 2: It absolutely does not say forever. There's a relentless ticking
- 20:42Speaker 2: clock attached to this system, and its rules are governed
- 20:45Speaker 2: by specific keys stored deep within the Windows registry, where exactly,
- 20:49Speaker 2: if you navigate to Hklohom Machine Software, Microsoft Windows and
- 20:53Speaker 2: T current version System restore, you'll find the exact configuration
- 20:58Speaker 2: values that control the storage limit.
- 21:00Speaker 1: Okay, so how much physical real estate does the operating
- 21:03Speaker 1: system actually dedicate to this hidden diary?
- 21:05Speaker 2: By default? For any modern hard drive larger than four gigabytes,
- 21:09Speaker 2: the system restore process is programmed to allocate a maximum
- 21:12Speaker 2: of twelve percent of the total drive space to store
- 21:15Speaker 2: these RP folders.
- 21:16Speaker 1: Twelve percent of a modern Teraby drive is a massive
- 21:19Speaker 1: amount of space, but with daily snapshots and system updates,
- 21:23Speaker 1: it is eventually going to hit that ceiling. What happens
- 21:26Speaker 1: when it runs out of room?
- 21:27Speaker 2: The system is designed to react before it ever hits
- 21:29Speaker 2: that hard ceiling. When the accumulated restore points fill up
- 21:32Speaker 2: ninety percent of that allocated twelve percent space, the OS
- 21:35Speaker 2: triggers a ruthless automated clean up routine.
- 21:39Speaker 1: What does it do?
- 21:39Speaker 2: It operates strictly on a first in, first out basis
- 21:43Speaker 2: or FIFO.
- 21:44Speaker 1: FIFO first in, first out, meaning it permanently deletes the
- 21:47Speaker 1: oldest historical data to make physical room for the snapshots
- 21:51Speaker 1: being taken today.
- 21:52Speaker 2: Exactly, it aggressively purges the oldest RP folders until the
- 21:55Speaker 2: total storage usage drops back down to a safe seventy
- 21:58Speaker 2: five percent of the allocated capacity. Wow And Furthermore, if
- 22:02Speaker 2: the user's entire hard drive starts running out of space,
- 22:04Speaker 2: say they download too many movies, the operating system will
- 22:07Speaker 2: always prioritize its own immediate survival over historical backups makes sense.
- 22:12Speaker 2: It will indiscriminately delete restore points to free up room
- 22:15Speaker 2: for normal read and write operations.
- 22:17Speaker 1: See that dynamic is what creates absolute urgency for incident responders.
- 22:22Speaker 1: If a corporate network is breached and the security team
- 22:25Speaker 1: drags their feet for two weeks before acquiring a bit
- 22:28Speaker 1: by bit forensic image of the affected hard drives, the
- 22:32Speaker 1: operating system itself might have already triggered that FIFO cleanup. Absolutely,
- 22:36Speaker 1: the computer is literally overwriting and eating its own historical evidence.
- 22:40Speaker 1: As time marches forward.
- 22:42Speaker 2: In life system forensics, time is always your greatest enemy.
- 22:45Speaker 2: The longer the machine runs, the more the evidence degrades.
- 22:48Speaker 1: Wow, we've covered massive ground here. Today. We took a
- 22:52Speaker 1: feature built purely for driver rollbacks and exposed how its
- 22:55Speaker 1: block level copying creates an inescapable trap for attackers using forensics.
- 23:00Speaker 2: Yeah, it's a huge shift in perspective.
- 23:02Speaker 1: We dissected the importance of checkingfilelists dot xml for tampering,
- 23:07Speaker 1: how true MAAC times bypass time stomping, and exactly how
- 23:11Speaker 1: the registry serves as a behavioral snapshot. We even walk
- 23:14Speaker 1: through the permissions of system volume information and the grueling
- 23:18Speaker 1: necessary work of translating hexodismal binary in the change dot log.
- 23:23Speaker 2: It really highlights a core truth of technology. Deep fundamental
- 23:27Speaker 2: knowledge allows you to weaponize a system in ways its
- 23:30Speaker 2: original engineers never even anticipated totally.
- 23:34Speaker 1: And since you've been tracking these mechanisms with us, let's
- 23:36Speaker 1: test that deep knowledge with a quick review exercise. Imagine
- 23:40Speaker 1: you are the lead investigator on a breach you strongly
- 23:43Speaker 1: suspect the advanced attacker tried to completely disable the system
- 23:46Speaker 1: restore monitoring process to prevent any snapshots of their malware
- 23:49Speaker 1: from ever being taken. Okay, which specific registry subkey would
- 23:53Speaker 1: you need to locate and verify to prove they intentionally
- 23:56Speaker 1: blinded the system?
- 23:57Speaker 2: Well, you would navigate to that system restore industry path
- 24:00Speaker 2: we mentioned earlier, and you look for this specific binary
- 24:03Speaker 2: value named disabl.
- 24:04Speaker 1: Sr disabled SR.
- 24:06Speaker 2: Right, if that switch have been flipped from a zero
- 24:08Speaker 2: to a one, you have proof of intentional sabotage spot on.
- 24:12Speaker 1: Now, as we wrap up our analysis today, we want
- 24:14Speaker 1: to leave you with a broader, maybe slightly more unsettling
- 24:18Speaker 1: concept to ponder on your own.
- 24:19Speaker 2: Yeah, if we pull back and look at the bigger
- 24:22Speaker 2: picture of where cybersecurity is heading, the dynamic we've discussed
- 24:25Speaker 2: today is shifting. We know our operating systems are quietly
- 24:29Speaker 2: backing up executable files to protect us, but as we
- 24:32Speaker 2: enter an era of highly advanced AI driven autonomous malware,
- 24:37Speaker 2: the threat model changes.
- 24:39Speaker 1: Right.
- 24:39Speaker 2: What happens when these intelligent viruses learn to perfectly mimic
- 24:42Speaker 2: safe native OS behaviors. What if instead of trying to
- 24:45Speaker 2: delete their tracks and evade the snapshot, they intentionally inject
- 24:49Speaker 2: their core components deep inside the very restore points meant
- 24:52Speaker 2: to expose them. They could effectively use the system's own
- 24:55Speaker 2: defensive armor as a permanent hiding spot.
- 24:57Speaker 1: A digital parasite learning to hide flawless inside the immune
- 25:01Speaker 1: system itself. That is a terrifying yet completely fascinating technical
- 25:05Speaker 1: thought to leave you with. Thank you for joining us
- 25:07Speaker 1: on this deep dive into Windows restore points. Keep exploring
- 25:10Speaker 1: the architecture of your systems, keep questioning exactly how things
- 25:14Speaker 1: work beneath the surface, and keep learning. We'll catch you
- 25:16Speaker 1: on the next deep dive.