1 00:00:01,820 --> 00:00:02,420 Okay. 2 00:00:02,420 --> 00:00:03,380 Hi there. 3 00:00:03,380 --> 00:00:05,780 Thanks a lot for sticking up with us. 4 00:00:06,080 --> 00:00:19,840 Today I'm going to speak around about driver jack, which is an unusual technique to load the driver on Windows 11, abusing NTFS features and CDFS bug, I'd say. 5 00:00:20,420 --> 00:00:23,000 So just before starting, a few words about me. 6 00:00:23,000 --> 00:00:23,980 I'm Alessandro Magnozzi. 7 00:00:23,980 --> 00:00:26,580 I work for BSI, British Standards Institute. 8 00:00:26,820 --> 00:00:38,080 I mainly do research, but a huge part of my daily business is consulting in adversary simulation, device security and AppSec. 9 00:00:38,080 --> 00:00:40,860 I go on Internet with the name klatsvirus. 10 00:00:40,860 --> 00:00:44,400 You can reach me out on GitHub or Twitter. 11 00:00:44,700 --> 00:00:46,660 Feel free to reach out. 12 00:00:47,480 --> 00:00:54,240 Now, just before starting, I'm going to just give a bit of information about this project. 13 00:00:54,240 --> 00:01:00,820 This project was started in 2022 with Jonas Lake from Secret Club. 14 00:01:01,260 --> 00:01:06,320 We started working on a POC to abuse ISOs to load malicious drivers on Windows. 15 00:01:06,380 --> 00:01:11,300 Then we completely forgot about that for at least one year because I was working on other stuff. 16 00:01:11,300 --> 00:01:17,480 And then in 2023 I had an engagement that supported the development of this technique a bit further. 17 00:01:18,360 --> 00:01:23,520 Now, the engagement was a bit like it was an OT engagement. 18 00:01:23,520 --> 00:01:33,120 It was a deployment and the main aim of the engagement was to deploy a kernel rootkit on an OT workstation. 19 00:01:33,460 --> 00:01:48,060 Now, regardless of the engagement, the engagement was pretty well and we found ourselves in a situation where we could tamper ISO files that were distributed to machines via an update catalog. 20 00:01:48,700 --> 00:01:59,420 So this gave us a motivation to read, resume the research that we were doing in 2022 and we tried to understand if we could develop it further. 21 00:01:59,420 --> 00:02:04,360 Now, we didn't know exactly what to expect from the malware that we were generating. 22 00:02:04,820 --> 00:02:12,680 We just know that we wanted something to backdoor an installer, present on an ISO and then we want to weaponize it in the best way possible. 23 00:02:12,680 --> 00:02:21,440 Of course, ISOs have been weaponized for years right now for their ability to bypass multi W but this was not really what we wanted to do. 24 00:02:21,440 --> 00:02:25,220 We didn't want to just provide an ISO to our customer. 25 00:02:25,220 --> 00:02:28,980 We had in the position of weaponizing an ISO. 26 00:02:29,520 --> 00:02:48,680 And then we just wanted to execute some code and like deploy some vectors around, I don't know if you, if you are aware, always aware about the, what Stuxnet was doing back in 2011 but we wanted to achieve something like backdooring DLL on different softwares to intercept communication, 27 00:02:48,680 --> 00:03:02,900 intercept code going and arriving from PLCs and doing stuff like that with using side loading or DLL proxying on certain specific DLL used by this kind of software. 28 00:03:03,460 --> 00:03:08,840 And the additional thing that we wanted to achieve was deploying a kernel driver on these boxes. 29 00:03:08,900 --> 00:03:32,120 Now the, we started and one example of the ISOs that we end up backdooring was step 7 installation media and the reason for this is that it's naturally deployed by using ISO files and it's pretty difficult to backdoor because step 7 utilized a bootstrap to launch the installer meaning that, 30 00:03:32,120 --> 00:03:53,380 meaning that it actually performs an integrity check on the content of the disk before actually launching the installer and it has two layer of checks so you need to, you need to, if you want to execute malicious code using the installer, you need to find a way to not tamper with any existing DLL and any existing executable on the disk. 31 00:03:55,480 --> 00:04:13,480 Talking about deploying the Windows root kit, a Windows root kit, usually when you need to deploy a root kit on Windows, a kernel root kit, a kernel driver on Windows, what you end up doing is you call create service, you create a service for the service driver and then you start the service with the driver. 32 00:04:13,480 --> 00:04:18,540 Of course one requirement for this is that the driver file that you are loading needs to be on disk. 33 00:04:19,540 --> 00:04:30,420 Now this can be done manually by manually placing a registry key in the file system and then calling antiload driver to load the driver. 34 00:04:30,420 --> 00:04:43,620 This is a bit more stealth way of loading a driver and it's in the name of this thing is Windows log event evasion because it doesn't generate the event that is usually created when you create a service and start the service. 35 00:04:43,840 --> 00:04:48,340 But of course there is something else that sticks up. 36 00:04:48,340 --> 00:05:09,600 So like there is every time you load the driver regardless if you are using the start service, the create service or you use directly the antiload driver function, you generate an event which is the load driver event that is a sysmon event and event six that provides all the information about the driver you loaded. 37 00:05:09,600 --> 00:05:18,280 So even if it's more stealthy, there is still this that appears as an event on the Windows log. 38 00:05:18,500 --> 00:05:24,560 So we wanted a technique that would help us bypass this event load driver as well. 39 00:05:25,300 --> 00:05:30,560 And so we ended up creating four libraries framework. 40 00:05:30,560 --> 00:05:40,220 I mean two of them are the core of this presentation which is IOCDFS lib and driver jack that will be abused to load a driver on Windows. 41 00:05:40,220 --> 00:05:42,700 The other two are collateral projects. 42 00:05:42,980 --> 00:05:45,060 They were not supposed to be part of the project. 43 00:05:45,060 --> 00:05:47,060 They just are RPC exec. 44 00:05:47,060 --> 00:05:49,460 I will just talk about it briefly. 45 00:05:49,460 --> 00:06:01,380 RPC execs is a less common way to execute on Windows on local or remote processes without requiring RX memory to be allocated in target process. 46 00:06:01,380 --> 00:06:11,980 And interleaver is a it became a sort of P manipulation library that we cannot share completely but I will share a simple block which is coupling P. 47 00:06:11,980 --> 00:06:16,740 You can find coupling P which is coupling preserve on my GitHub page. 48 00:06:16,740 --> 00:06:19,320 Now coupling P is a short version of interleaver. 49 00:06:19,320 --> 00:06:29,100 It doesn't manipulate completely the P file but it's an extension to what Nick Lenders implemented back in 2020. 50 00:06:29,660 --> 00:06:31,400 I don't remember exactly. 51 00:06:31,660 --> 00:06:43,300 So coupling is a framework that takes target DLL, clone the export at this table and include it in DLL that you developed. 52 00:06:43,320 --> 00:06:51,240 Now this is used usually for DLL side loading using the DLL main function as main entry point for the DLL. 53 00:06:51,240 --> 00:06:54,100 Now the problem is that this process is destructive. 54 00:06:54,140 --> 00:06:59,180 So if you have some exports in your payload DLL, these will be erased. 55 00:06:59,180 --> 00:07:07,100 So coupling P just solves the problem and it just preserves the existing export at this table and just add the forwards afterward. 56 00:07:07,100 --> 00:07:08,020 That's it. 57 00:07:08,020 --> 00:07:11,160 Not really a difficult project. 58 00:07:11,800 --> 00:07:22,620 RPC proxy invoke instead or RPC exec is a general library that we implemented to as I said is to execute code on local or remote processes. 59 00:07:23,340 --> 00:07:26,320 It's borrowed by browser exploitation. 60 00:07:26,320 --> 00:07:30,960 It abuses the NDR server call to execute arbitrary calls. 61 00:07:31,060 --> 00:07:41,480 It doesn't require RX memory and we also implement it in a way that it doesn't require a valid RPC binding handle for uh for execution. 62 00:07:41,480 --> 00:07:44,160 This is there is a reason for this. 63 00:07:44,160 --> 00:08:03,380 We wanted something that we could use to execute arbitrary calls in any server, even in any service, in any processes, even if it wasn't actually using RPC and we wanted to avoid maintaining like we wanted to be able to erase tracks if we wanted and using this technique we can load RPC, 64 00:08:03,380 --> 00:08:14,160 initialize it remotely, execute our stuff and then just get rid of RPCRT4 completely by freeing the library and no traces will remain in the service. 65 00:08:14,700 --> 00:08:15,840 The process. 66 00:08:16,420 --> 00:08:17,920 The code is there. 67 00:08:17,920 --> 00:08:21,940 There are also some demos around that you can check. 68 00:08:21,940 --> 00:08:23,300 It's just for functionality. 69 00:08:23,300 --> 00:08:40,100 The project code is implemented and it has some not limitation but is implemented nerfed meaning that it's not using for example code pattern search for uh for locating the required uh the required entry point in RPCRT4. 70 00:08:40,260 --> 00:08:50,620 RPCRT4 changes over time a lot so you need to adjust it to depending on your version, on your Windows version or you need to implement yourself the code that actually do the pattern searches. 71 00:08:51,120 --> 00:08:52,240 Previous research. 72 00:08:52,240 --> 00:09:03,740 So when it comes to the core of the research or loading a driver on Windows, you have a few ways to load a valid driver on a Windows to execute unsigned code on Windows. 73 00:09:03,740 --> 00:09:06,240 You can either, actually there are four. 74 00:09:06,240 --> 00:09:14,060 So the first one was implemented by Gabriel Landau not long ago uh by exploiting a new vulnerable class that is false file immutability. 75 00:09:14,060 --> 00:09:20,980 I didn't put it in the slides just because it wasn't available when I started doing this research but go check it out because it's an incredible research. 76 00:09:21,380 --> 00:09:26,760 But the standard way to load unsigned code on Windows are either you, it's not unsigned. 77 00:09:26,760 --> 00:09:28,280 You load signed code. 78 00:09:28,280 --> 00:09:31,360 So you have a kernel driver that you want to load. 79 00:09:31,360 --> 00:09:38,280 You join the Microsoft developer program. 80 00:09:38,420 --> 00:09:42,180 Microsoft sign your own driver and you're good to go. 81 00:09:42,180 --> 00:09:44,160 You can use a fake signature. 82 00:09:44,160 --> 00:09:57,940 So before 2015, Microsoft allowed kernel drivers signed with a valid code signing certificate and cross signed by an EVCA certificate to load on Windows. 83 00:09:57,940 --> 00:10:18,060 So if you have a certificate that was expired before or issued before 2015 and you have a leaked EVCA certificate, you can still use, you can still set up your own fake timestamp server and you can back sign one of these drivers and you can generate a signature that is expired. 84 00:10:18,060 --> 00:10:21,980 So signed certificate but still valid to load on Windows. 85 00:10:22,360 --> 00:10:27,000 The third and last technique was using a vulnerable driver. 86 00:10:27,000 --> 00:10:34,480 Now as you can understand, we didn't have any kernel driver on the developer program. 87 00:10:34,480 --> 00:10:44,440 We didn't have any EVCA certificate leaked and unknown that we could use so we went to the route of using a vulnerable driver to load our unsigned code. 88 00:10:44,440 --> 00:10:57,340 Now of course we then started the research we want for abusable vulnerable drivers and we found four of them, two of them we just report to the vendors because they were not useful to us. 89 00:10:57,340 --> 00:10:59,480 Two of them we kept them. 90 00:11:00,100 --> 00:11:06,960 Now usually when you want to load unsigned code on Windows, you search for of course there are a lot of vulnerabilities affecting vulnerable drivers. 91 00:11:06,960 --> 00:11:08,900 Buffer overflow, user after free, there are a lot. 92 00:11:08,900 --> 00:11:12,400 Not just this that I included here. 93 00:11:12,400 --> 00:11:22,480 But usually what you want is to have a stable physical memory read write, virtual memory read write or for example unprotected MSR access. 94 00:11:22,480 --> 00:11:25,140 MSR stands for model specific register. 95 00:11:25,140 --> 00:11:29,840 Now the first, this was abused a lot in 2018, 2020. 96 00:11:30,460 --> 00:11:37,940 So when you have and it appears when you have an unrestricted code called to WRMSR. 97 00:11:38,260 --> 00:11:43,160 So there is a specific model specific register on Windows which is the well actually another Windows. 98 00:11:43,160 --> 00:11:44,200 It's not specific to Windows. 99 00:11:44,200 --> 00:11:54,640 But it's the IA32L star that contains on Windows the pointer to the system call dispatch function. 100 00:11:54,680 --> 00:11:59,960 So on before KPTI was introduced this points to KI system call 64. 101 00:11:59,960 --> 00:12:05,920 After KPTI mitigation, this points to KI system call 64 shadow. 102 00:12:05,920 --> 00:12:10,480 But regardless, this points to a dispatch function that is responsible to switch to 103 00:12:14,560 --> 00:12:22,180 from user mode to kernel mode and execute and dispatch to the relevant system call handler on kernel side. 104 00:12:22,180 --> 00:12:32,680 Now if you have unrestricted call to and you can override this register, what you can do is you can weaponize it to point to your user defined handler. 105 00:12:33,340 --> 00:12:38,060 And this is abused in MSR by Xerox from back engineering. 106 00:12:38,840 --> 00:12:40,540 Magnificent tool. 107 00:12:40,540 --> 00:12:41,980 I have to be honest. 108 00:12:42,260 --> 00:12:51,940 And this literally implements its own dispatch function that swap to kernel mode using the swap JS instruction. 109 00:12:52,180 --> 00:12:58,820 Disables maps map and executes arbitrary code stored in a user mode buffer. 110 00:12:59,680 --> 00:13:10,500 Afterward it uses ROP to, sorry, it uses ROP to restore maps map and restore the IA L32 L star. 111 00:13:11,500 --> 00:13:17,760 Now this, the other, the other vulnerable pattern that we have is arbitrary physical memory access. 112 00:13:17,760 --> 00:13:34,280 Now usually when this, this presents itself in two forms, either a call, a restricted call to ZW map your section or that can map whatever physical address in a linear address or by using MMAP IO space. 113 00:13:34,280 --> 00:13:37,160 Now the vulnerable pattern that we found the most was this. 114 00:13:37,160 --> 00:13:46,220 It's abusable, it's less abusable than ZW map your section because these actually provide access that you can't specify the access right. 115 00:13:46,220 --> 00:13:49,480 So you can't specify read right instead of read. 116 00:13:49,480 --> 00:13:52,080 And this usually is used for privilege escalation. 117 00:13:52,080 --> 00:14:03,780 So if you have a pattern that like this, so you have a call to MMAP IO space, IO allocate MDL and then MM build MDL for non-page pool and then MMAP lock page specific, specify cache. 118 00:14:03,780 --> 00:14:22,720 You have a pattern where you can actually uh, allocate page memory, page pool memory, sorry, non-page pool memory in a user mode buffer and using a technique known as proc scanning, you can identify e-process structure in the non-page pool and swap tokens around to achieve uh, 119 00:14:22,720 --> 00:14:24,060 privilege escalation. 120 00:14:24,700 --> 00:14:32,460 And then there is the prints of all other vulnerabilities uh, arbitrary virtual read, arbitrary kernel virtual memory read write. 121 00:14:32,460 --> 00:14:34,820 This presents itself in a lot of different ways. 122 00:14:34,820 --> 00:14:38,760 It can be a mem move, a mem copy, a ZW write virtual memory. 123 00:14:38,760 --> 00:14:41,640 It can be a direct pointer assignment. 124 00:14:41,640 --> 00:14:43,160 Uh, it can be whatever. 125 00:14:43,280 --> 00:14:59,180 Now this is used for a lot of different stuff uh, let alone bypass DSC for example or just mapping arbitrary stuff in memory, in kernel memory and this is heavily abused by tools like KDMapper or KDU to load your driver in memory. 126 00:15:00,040 --> 00:15:06,120 Now of course Windows doesn't like this uh, so they started introducing a lot of different mitigations. 127 00:15:06,140 --> 00:15:13,280 Since 2018 there was the introduction of uh, KBDI after the Spectre meltdown uh, attack. 128 00:15:13,280 --> 00:15:19,540 Uh, then they started introducing VBS, virtualization based security and started enforcing HVCI. 129 00:15:19,540 --> 00:15:23,520 After the HVCI they introduced KDP which we will see. 130 00:15:23,520 --> 00:15:39,320 And then they implemented the Microsoft uh, driver block list and afterward they started introducing support first for kernel chat control enforcement technology that uh, neutralizes ROP based attack. 131 00:15:39,320 --> 00:15:53,940 And then in like weeks ago uh, they announced that Windows 11 24H2 will support uh, Intel DTRP, redirection protection that kills another back class that we will gonna see like now. 132 00:15:53,940 --> 00:16:09,660 So VBS is uh, is really tough for uh, for exploiting vulnerable drivers because HVCI want to prevent you from abusing a vulnerable driver to load your VTL zero rootkit in memory. 133 00:16:09,660 --> 00:16:11,320 Now, how it works? 134 00:16:11,320 --> 00:16:25,140 Well, you have now the Windows low is, is, is runs on top of the hypervisor and uh, it divides the trust level in two trust level, the VTL one and VTL zero. 135 00:16:25,140 --> 00:16:29,120 Now your own kernel runs in VTL zero. 136 00:16:29,120 --> 00:16:43,780 Now this is the guest uh, operating system, the guest OS and what it, what it, what it, what it does is that this uses a normal uh, page structured approach to, for address resolution to map a physical address into a linear address. 137 00:16:43,780 --> 00:16:58,940 So you have your CR3, you have your um, you have your uh , PML4 entry, then you have your uh, page directory pointer entry, then you have your page directory entry, the page table entry and then finally you have your physical address. 138 00:16:58,940 --> 00:17:02,480 This physical address though is a guest physical address. 139 00:17:02,480 --> 00:17:16,980 Meaning that there is another layer, second layer access resolution that is, translates a guest physical address into a real physical address that is managed entirely by, by the hypervisor. 140 00:17:17,240 --> 00:17:20,440 Uh, using extended page tables. 141 00:17:20,440 --> 00:17:22,660 Now what is the problem for us? 142 00:17:22,660 --> 00:17:27,940 Is that before this was introduced, page protection was kernel based. 143 00:17:27,940 --> 00:17:32,720 So when you had control of kernel, you could do literally anything. 144 00:17:32,720 --> 00:17:44,800 So if you had a virtual, if you had a virtual read write, you could literally locate the digi options for example, that is the global variable and like managing the driver signal reinforcement and you could just override it. 145 00:17:44,800 --> 00:17:55,200 You could nullify it, load your unsigned code and then restore it of course because even though it was possible to modify it, it was still protected by kernel patch guard. 146 00:17:55,820 --> 00:18:00,160 Um, KPP, kernel page, yeah, patch guard. 147 00:18:00,260 --> 00:18:07,480 Um, but now, now it's different because now the enforcement is done in a hypervisor level. 148 00:18:07,480 --> 00:18:14,700 Now HVCI does two things and in together with KDP, that's a lot of problems. 149 00:18:14,700 --> 00:18:19,340 Like HVCI enforces that any page is either writable or executable. 150 00:18:19,340 --> 00:18:20,380 Can be both. 151 00:18:20,380 --> 00:18:28,880 So this is designed to um, to avoid you from writing your own code in kernel memory and then execute it. 152 00:18:28,880 --> 00:18:32,240 So and now this protection is enforced on hypervisor level. 153 00:18:32,240 --> 00:18:53,160 Meaning that you, even if you have your fantastic read write primitive, uh, you can't change the protection of a page because even though you are changing the protection of the page on the first level address translation, this memory protection does not propagate to the second level address translation and it's there that the protection is enforced. 154 00:18:53,160 --> 00:18:58,200 So if you have read write, it's going to be read write even if you change the protection on VTL zero. 155 00:18:58,200 --> 00:19:03,860 And if it's read execute, it's going to be read execute even if you try to change the protection on VTL zero. 156 00:19:04,560 --> 00:19:16,400 And with KDP, you have another problem because certain area of memory, data section of memory are protected by this KDP that enforces that the page is read only. 157 00:19:16,780 --> 00:19:19,220 So for example, G option is protected that way. 158 00:19:19,360 --> 00:19:28,240 So now even if you have an arbitrary read write and the page should be read write, it's actually read only so even if you have it, you can't change G options to zero anymore. 159 00:19:29,100 --> 00:19:31,200 So what is the strategy around this? 160 00:19:31,200 --> 00:19:38,820 Well, luckily someone very smart, smarter than me of course, developed a technique which is called page remapping. 161 00:19:39,000 --> 00:19:44,260 And page remapping attack exploited, it's not a bug, it's like a limitation of KDP. 162 00:19:44,260 --> 00:19:52,220 KDP doesn't enforce how pages on the guest are translated to pages on the host system. 163 00:19:52,300 --> 00:20:14,300 Meaning that not enforcing that, what I can do, one possible thing I can do is I can copy over my, the content I want to modify to another page, I can modify the page structures on VTL zero to make it point to a read write page on the hypervisor level. 164 00:20:14,300 --> 00:20:17,960 And this will effectively make my page read write. 165 00:20:18,180 --> 00:20:19,960 And I can modify then the content. 166 00:20:19,960 --> 00:20:30,860 So Satoshi Sanda developed a proof of concept and used a null byte page to nullify DSC in exact this way. 167 00:20:30,860 --> 00:20:34,580 Now this is also usable for executing arbitrary code. 168 00:20:36,880 --> 00:20:40,680 And we have two main strategies for executing arbitrary code. 169 00:20:40,680 --> 00:20:43,020 Even if HBCI is enabled. 170 00:20:43,100 --> 00:20:51,180 So this depends a lot on the Intel CPU level. 171 00:20:51,200 --> 00:21:01,300 So if you have any CPU that is before Tiger Lake, before 11th generation, you can still use ROP because this kind of CPU does not support chat. 172 00:21:01,300 --> 00:21:02,360 So you can use kernel forge. 173 00:21:02,360 --> 00:21:11,340 Kernel forge is a technique implemented firstly by Crash and also discussed by Conor McGar in a blog post. 174 00:21:11,340 --> 00:21:20,400 And it uses a thread and a dummy event to modify the thread kernel stack at run time. 175 00:21:20,400 --> 00:21:27,940 Meaning that it will replace frame on kernel side of a thread to make it execute a ROP chain on return. 176 00:21:28,360 --> 00:21:30,000 Executing arbitrary code. 177 00:21:30,000 --> 00:21:40,820 And on, if you instead you have a CPU that is before 12th generation, you can use the page remapping attack as I said, uh, that abuses MULK. 178 00:21:40,820 --> 00:21:43,400 Now why before 12th generation? 179 00:21:43,400 --> 00:21:51,620 I can say, actually I should say a CPU before 12th generation and before Windows, and a version of Windows before 24H2. 180 00:21:51,620 --> 00:22:02,620 Because as I said, Windows 11 24H2 and supports Intel VTRP that is a killer exactly for this kind of attack, for page remapping attack. 181 00:22:03,000 --> 00:22:12,120 So it avoids any user from being able to redirect a page from VTL zero to remap to another page in the OS system. 182 00:22:13,700 --> 00:22:19,760 Now, and what about if we have something, what about if we have something, uh, more? 183 00:22:19,820 --> 00:22:27,160 Um, I actually, I'm actually exploring some other technique for trying to bypass HVCI but currently these are the only way. 184 00:22:27,160 --> 00:22:34,700 I thought that large pages could also be used for this kind of thing but apparently it's not going to, it's not really working. 185 00:22:35,560 --> 00:22:45,920 So, but we still, even if we can do stuff, we still need to load a vulnerable driver to execute any of these strategies. 186 00:22:45,920 --> 00:22:57,140 So if we want to load a vulnerable driver we need to be aware that there is something called driver block list that will probably prevent us from loading a known vulnerable driver on Windows. 187 00:22:57,280 --> 00:23:05,740 Now the driver block list is a black list and of course it has some problems that were identified by Will Dorman and Yarden Shafir, another researcher. 188 00:23:05,860 --> 00:23:24,220 The block list by itself is just a collection of hashes and file names and file version that are supposed to be not loaded on Windows and if the driver block is enabled it will prevent normal, uh, normal vulnerable drivers to be loaded but it has a measure flow. 189 00:23:24,220 --> 00:23:26,920 The coverage is ridiculous. 190 00:23:26,920 --> 00:23:35,220 So I, I made a bit of, a little script to check how many, uh, how many drivers were blocked from the load driver projects. 191 00:23:35,820 --> 00:23:42,460 Uh, this just check the, um, the ashes but it's, it's, it's really, it's really ridiculous. 192 00:23:42,460 --> 00:23:43,920 The coverage is really ridiculous. 193 00:23:44,360 --> 00:23:46,580 And also it can be disabled by admin. 194 00:23:47,460 --> 00:23:52,440 Uh, of course when we bypass the block list we need to be aware that there is also the serial, the serial. 195 00:23:52,440 --> 00:23:57,240 So even if a driver is not in the block list it doesn't mean that the certificate is still valid. 196 00:23:57,240 --> 00:24:05,560 So there are other, there are other, there are, there are other things that may prevent us from loading a, a vulnerable driver on Windows. 197 00:24:07,060 --> 00:24:15,840 And now to the meat of this presentation, what can we do to load a malicious, a vulnerable driver on Windows using this like unusual technique. 198 00:24:15,840 --> 00:24:18,240 So let's talk about, a bit about the anti-object manager. 199 00:24:18,240 --> 00:24:28,000 So the anti-object manager is a subsystem on Windows that provide access to resources, uh, using a name value approach. 200 00:24:28,000 --> 00:24:33,920 It's not entirely correct but it's the most, it's the most accurate, the simplification. 201 00:24:34,040 --> 00:24:37,700 Uh, it provides access to these objects using a unified API. 202 00:24:38,220 --> 00:24:45,160 And uh, it like every object is, is, is uh, it can be indexed by using a name. 203 00:24:45,160 --> 00:24:47,200 Can be recovered using a name. 204 00:24:47,200 --> 00:24:53,920 And these names are uh, categorized in uh, in categories that we call namespaces. 205 00:24:54,020 --> 00:25:00,820 Now, uh, you probably already seen the uh, object manager in WinObject, sees internals. 206 00:25:00,820 --> 00:25:04,200 And you can see a graphical representation of the object manager. 207 00:25:04,200 --> 00:25:07,440 So you have all these objects with the type associated. 208 00:25:08,140 --> 00:25:12,700 And uh, you have the name categorized in namespaces. 209 00:25:12,700 --> 00:25:21,060 Now usually uh, when you, this is actually used um, this categorization is used because any namespace has a certain accessibility. 210 00:25:21,060 --> 00:25:37,920 So if I want for example to make uh, an object available in, to the Win32 layer, I usually use a sim link that connect the global, which is the global um, namespace to the specific object I want to, I want to connect it with. 211 00:25:38,400 --> 00:25:43,040 And this is what you usually do even with drivers uh, for example. 212 00:25:44,520 --> 00:25:57,860 Now, the empty object manager uh, is in uh, of course uh, provides access to object to other subsystem like the IOManager, the process manager, the memory manager, et cetera. 213 00:25:57,860 --> 00:26:15,680 And whenever, whenever an object of type file is uh, is accessed by the IOManager, the IOManager will immediately check the file object and will dispatch it to the relevant driver that is meant to handle that specific file object. 214 00:26:15,680 --> 00:26:20,540 Now, the NTFS driver manage the NTFS file system. 215 00:26:21,060 --> 00:26:23,860 What kind of file system is the NTFS file system? 216 00:26:23,860 --> 00:26:27,720 So the NTFS uh, NTFS is a complex file system. 217 00:26:27,720 --> 00:26:35,120 Uh, it was always designed by Microsoft for extensibility and to support different kind of other file systems like FAT32 et cetera. 218 00:26:35,120 --> 00:26:45,660 And the main thing that I want you to memorize for now is that every file on Windows is a set of attributes of course and every file has at least one stream associated. 219 00:26:45,660 --> 00:26:49,940 So every file on Windows is actually, can actually be referred to as a triple. 220 00:26:49,940 --> 00:26:52,380 It's a triple, triple, triple. 221 00:26:52,660 --> 00:26:59,500 So um, so and um, and usually you have, oh, I don't know what I'm seeing. 222 00:26:59,500 --> 00:27:03,440 So usually you have the file name, the stream type uh, the stream name and the stream type. 223 00:27:03,440 --> 00:27:05,300 Every file has at least one stream. 224 00:27:05,300 --> 00:27:14,460 So if you create a file with just the file name, you are immediately, it means that the other, the stream name and the stream type are defaulting back to something. 225 00:27:14,460 --> 00:27:20,480 For files is the data stream and for directories you have the index allocation stream. 226 00:27:20,920 --> 00:27:23,440 But they are usually always a triple. 227 00:27:24,080 --> 00:27:28,500 Uh, now another thing I want you to memorize is the concept of reparse points. 228 00:27:28,500 --> 00:27:34,220 Because this was meant for extensibility, uh, NTFS supports a lot of type of reparse point. 229 00:27:34,220 --> 00:27:40,160 The main and common, the most common reparse points that you will see in NTFS are three. 230 00:27:40,160 --> 00:27:45,060 Although there are like 20 or 30 different reparse tags. 231 00:27:45,300 --> 00:27:46,720 So reparse types. 232 00:27:46,720 --> 00:27:48,020 So reparse point types. 233 00:27:48,140 --> 00:27:54,120 So the main, the most common are junction points that points directory, that links directory to directories. 234 00:27:54,120 --> 00:28:01,700 Uh, mount points that links directories to drives to, to mounted drives and symbolic links that link files to other files. 235 00:28:01,700 --> 00:28:04,260 So this is not to be confused with link file. 236 00:28:04,260 --> 00:28:05,900 Link file are regular files. 237 00:28:05,900 --> 00:28:09,860 They have a data stream and they are just regular files. 238 00:28:09,860 --> 00:28:14,480 They need to be parsed to access to another location on the file system. 239 00:28:14,980 --> 00:28:18,600 Uh, indeed symbolic links are an NTFS features. 240 00:28:18,600 --> 00:28:23,880 Meaning that they are just, they are just literally link on NTFS. 241 00:28:23,880 --> 00:28:27,220 They link directly on NTFS uh, to another file. 242 00:28:27,220 --> 00:28:38,620 And usually a reparse point is always a reparse tag which in this case is symbolic link and reparse data that will actually point to the real file that it's pointed to. 243 00:28:40,060 --> 00:28:42,720 Now about CDFS. 244 00:28:42,720 --> 00:28:47,680 CDFS is a way more um, is a way simpler file system. 245 00:28:47,680 --> 00:28:59,440 It's, it just, it just comprises uh, root directory and then it has directory and then it has directory entries and file entries that are associated and are always parsed from the root directory. 246 00:28:59,720 --> 00:29:21,040 Is um, is an implementation of the ISO 9667s and 960 and um, the important thing is that the CDFS file system, the CDFS file system uh, is also, also apply, applies to optical disk as much as applies to ISO files. 247 00:29:21,040 --> 00:29:25,560 So ISO files are a virtual implementation of the CDFS file system. 248 00:29:25,560 --> 00:29:37,240 Now just to give a bit of difference to the NTFS, of course CDFS does not support a reparse point, does not support a lot of things that are supported by NTFS but also it has a completely different threat model. 249 00:29:37,240 --> 00:29:40,360 So NTFS supports rich permissions. 250 00:29:40,360 --> 00:29:51,740 So it has an ACL and the ACL is associated with different ACL entries, access control entries which define what, what can be done on each file by each user in the system. 251 00:29:51,800 --> 00:29:59,200 For CD file system, this is not a problem because the content on a CD is supposed to be, is supposed to be immutable. 252 00:29:59,340 --> 00:30:01,800 So everyone has access to a file system. 253 00:30:01,800 --> 00:30:09,140 If you mount a drive , anyone, an admin, a regular user, anyone has access to the mounted files. 254 00:30:09,140 --> 00:30:10,860 To the files on the mounted drive. 255 00:30:13,320 --> 00:30:38,320 And yeah, as I said before, the CDFS driver as much as NTFS driver communicates with the IOM manager, the IOM manager has a request to access a file and after passing through the filter manager, it provides access to the required NTFS or CDFS driver accordingly to what is the device driver associated with the file object. 256 00:30:39,120 --> 00:30:50,180 Now when you load an ISO on Windows, what it, what it, the CDFS driver will automatically load the content of this ISO file using the CD common read. 257 00:30:50,940 --> 00:31:03,160 Now one thing that I want to stress out here is that an ISO file in comparison with a CD, with an optical CD, an ISO file is mapped in physical memory somewhere. 258 00:31:03,360 --> 00:31:06,360 So somewhere this ISO file is mapped in memory. 259 00:31:06,780 --> 00:31:11,420 So this creates some problems and we'll see what exactly. 260 00:31:11,420 --> 00:31:18,900 So when you try to access a file, what you end up doing is you end up calling the NTCC copy read. 261 00:31:20,460 --> 00:31:23,080 Now this points to a file object. 262 00:31:23,080 --> 00:31:37,640 We will describe the file object and just exploring a bit with where this file object were located, we started noticing that the physical address associated with this file object were always the same. 263 00:31:37,640 --> 00:31:55,160 So if you remap one of this file object in a read write page and you override the content of this file object, the file object will be, will flush the content of the modified file back to the physical memory where the ISO was loaded. 264 00:31:55,160 --> 00:31:58,260 This means that it's not read only at all. 265 00:31:58,880 --> 00:32:10,980 And so we developed this IOCDFS lib that you can use to just modify any content on any ISO file that was mounted in the system. 266 00:32:10,980 --> 00:32:17,020 I want to, I want to specify this doesn't work for CD, real CD drive. 267 00:32:17,020 --> 00:32:27,200 It just works for ISO files and the reason is potentially that it's because they are mapped on physical memory when they are loaded the first time. 268 00:32:27,680 --> 00:32:28,960 Of course for caching. 269 00:32:28,960 --> 00:32:37,320 Indeed they are more, it's easier to get a file on an ISO in comparison with a CD. 270 00:32:38,040 --> 00:32:43,920 Now I'm not going to go through this, but there are some limitation on what you can change on the file. 271 00:32:43,920 --> 00:32:56,340 So if you overwrite over the file sides, the real file sides, not the file sides on disk, but the virtual sides, it's the change is not going to, it's not going to appear. 272 00:32:56,340 --> 00:33:00,580 So you can, you can, you can change less, but you can change more. 273 00:33:00,920 --> 00:33:08,780 And if you write, you try to write over the file on, over the file sides on disk, you end up actually breaking some stuff. 274 00:33:08,780 --> 00:33:11,060 So your program will crash probably. 275 00:33:12,300 --> 00:33:13,720 And you're going to have problems. 276 00:33:13,720 --> 00:33:17,940 So these are the margin tolerance where, where you can actually replace the file. 277 00:33:19,600 --> 00:33:22,660 Now, but this is cool, but it's abusable. 278 00:33:22,900 --> 00:33:24,180 Now yeah, it's abusable. 279 00:33:24,180 --> 00:33:29,660 There are some use case scenario where we can actually abuse it uh, for a lot of different means. 280 00:33:29,680 --> 00:33:34,180 But one of the means is hide the fact that we have a driver on an ISO. 281 00:33:34,180 --> 00:33:41,000 For example, we can load an encrypted blob on an ISO and then we can just modify it after the ISO was emulated. 282 00:33:42,280 --> 00:34:05,040 So we found another thing that we could abuse and this is um, I don't know how much it's, this is known, but like if we had a file on disk and we try to link, we try to use the same name to, to create a link, of course the file is going to say, no, I'm not going to use this name because it's already here. 283 00:34:05,040 --> 00:34:15,500 But for some reason, if we specify the link name with a stream name associated to it, it will create a reparse point for the file. 284 00:34:15,500 --> 00:34:23,260 So this will create a reparse point for the file that will overshadow the data stream that is present on the file on disk. 285 00:34:23,260 --> 00:34:38,940 Now this means that at this, at this time, after I created the reparse point, the file, the original file, the original ATXT is still there, but it's not going to be, no one is going to be able to find it unless I delete the reparse point. 286 00:34:39,620 --> 00:34:40,800 And this is abusable. 287 00:34:40,800 --> 00:34:41,160 Why? 288 00:34:41,160 --> 00:35:01,780 Because well, I can create an ISO and I can use this as trusted installer, I need to elevate my privilege to trusted installer, and I can use this to redirect the, a file, a driver file on C, Windows system 32 to something that is on the ISO, for example. 289 00:35:03,060 --> 00:35:12,040 But this has a problem, the driver, of course the driver file, the driver location, the image loaded is going to be, is going to show that I'm loading something bad. 290 00:35:12,720 --> 00:35:23,920 So I be a bit more smart, a bit smarter, I create another ISO and this point I will use a current directory structure. 291 00:35:24,100 --> 00:35:32,040 So now I, and I, I place W, of course I can place whatever driver I want here, here for example there is WinIO. 292 00:35:33,180 --> 00:35:48,100 And I do the same thing, but still, I have a problem, because when I load the driver, it still say, okay, this sounds correct, but there is still, I mean, it's still saying, listen, you are loading from an ISO file. 293 00:35:48,260 --> 00:35:53,760 You're not loading from the system blue directory, you're loading from just an external drive. 294 00:35:53,920 --> 00:35:56,640 You're trying to fool me, you didn't manage to though. 295 00:35:58,820 --> 00:36:02,780 Then, this is just to show that the file is still there. 296 00:36:02,780 --> 00:36:06,600 So if I, if you delete the reparse point, the original file is still there. 297 00:36:06,600 --> 00:36:08,760 Okay, just to, just to prove the point. 298 00:36:10,060 --> 00:36:12,160 But then we notice another thing. 299 00:36:12,180 --> 00:36:18,080 So a direct NTFS link is not enough to bypass, to fool the, the load driver event. 300 00:36:18,280 --> 00:36:19,540 But then we notice another thing. 301 00:36:19,540 --> 00:36:30,480 If we go to the empty object manager, we notice that every driver is actually loaded, not using C Windows system 32, but is loaded using system root. 302 00:36:30,480 --> 00:36:33,920 System 32 driver and the name of the driver. 303 00:36:34,200 --> 00:36:36,360 What is this system 32? 304 00:36:36,420 --> 00:36:47,560 The system 32 is a symbolic link, and not an, not an NTFS symbolic link, it's an NT symbolic link, uh, that is pointing to the device that I use for booting. 305 00:36:47,560 --> 00:36:50,180 In my case, it's device RDS volume 3. 306 00:36:50,180 --> 00:36:54,400 But it's pointed to by the boot device, right? 307 00:36:54,560 --> 00:37:01,620 But this means, and if I inspect the boot device, I notice that I can actually delete this symlink. 308 00:37:02,160 --> 00:37:19,660 So this is actually a permanent symlink, meaning that it's been artificially created to have a ref count of one, but I can make it, I can, as system, I can make it temporary, load, like artificially lowering the ref count to zero again, and then I can delete it. 309 00:37:19,660 --> 00:37:21,360 So what can I, what can I do with this? 310 00:37:21,360 --> 00:37:32,980 I, I can obtain system privileges, I can back up the original boot device, I can replace the boot device symlink with the ISO, and then I can restart the service and see what happens. 311 00:37:32,980 --> 00:37:35,200 And what happens is that it works. 312 00:37:35,780 --> 00:37:41,820 But the driver load event still shows that I'm loading from an ISO. 313 00:37:41,820 --> 00:37:44,480 So still I wasn't able to fool it. 314 00:37:47,590 --> 00:37:58,870 And another problem is that if I inspect the driver in system informer or a similar tool, I've noticed that the driver is showing, for example, a missing description. 315 00:37:58,930 --> 00:38:03,470 It's showing stuff that indicates that I loaded another driver. 316 00:38:04,750 --> 00:38:07,330 What if we swap the drive letters? 317 00:38:07,870 --> 00:38:14,790 What if I do a drive swap for, this is something that nobody will ever think of doing, and there is a reason for that. 318 00:38:14,830 --> 00:38:22,270 Because if you try to swap the drive letters, your program, your, your system will probably crash at a certain point. 319 00:38:22,270 --> 00:38:34,850 There is nothing, but if you do it for just a second and you keep everything consistent so you don't just remove the letters, but you swap into other letters, it actually might work. 320 00:38:35,050 --> 00:38:42,610 So the, I'm not showing the screen shot because I'm showing you a video afterward, but the, the technique is this. 321 00:38:42,610 --> 00:38:57,830 We mount an ISO with an encrypted blob, we just respect the directory structure, we change the boot device to CD-ROM, we swap drive letters, we load the driver, we restore immediately the drive letters, we restore the boot device, and then we can at that point, 322 00:38:57,830 --> 00:39:03,770 we can use, we can abuse the driver that has loaded in memory even if we unmount the ISO file. 323 00:39:06,570 --> 00:39:09,070 Now what about using other techniques? 324 00:39:09,070 --> 00:39:22,330 Well, I, I can use other techniques uh to, to load the malicious driver uh but in this case, for example, I can use uh all the partition that is assigned to the transactional file system. 325 00:39:22,870 --> 00:39:26,270 It's not supposed to be accessible by any user. 326 00:39:26,390 --> 00:39:44,330 It's not supposed to be writable, but we discovered that if you access this kind of location with the additional, with, with the, with uh, with the required permissions, in this case, backup intent, say restore, say backup privilege, a maximum file, maximum allowed as uh, 327 00:39:44,330 --> 00:39:49,130 as uh, as access right, you can actually override this. 328 00:39:49,130 --> 00:39:53,010 You can actually access these locations and you can actually write files on them. 329 00:39:53,010 --> 00:40:01,670 So, and this is a proof, of course, where I actually am writing, I'm writing on uh the transactional file system uh locations. 330 00:40:01,930 --> 00:40:03,370 Is there any benefit? 331 00:40:03,370 --> 00:40:05,590 I don't see any benefit in doing it. 332 00:40:05,590 --> 00:40:13,470 Uh, it can just give you an additional way of exploiting the same vulnerability in, in other ways, not using an ISO. 333 00:40:14,370 --> 00:40:15,790 So, let's demo it. 334 00:40:15,790 --> 00:40:18,450 So, Windows 11, HVCI is enabled. 335 00:40:18,450 --> 00:40:36,200 Uh, I have a simple load of a driver and I hope, uh, I hope it actually, because this doesn't actually, oops, oops, I did a mistake. 336 00:40:36,940 --> 00:40:37,400 Okay. 337 00:40:37,860 --> 00:40:41,680 So, it doesn't show, I don't know how to make play. 338 00:40:44,320 --> 00:40:49,200 Uh, it doesn't show the right, uh huh. 339 00:40:50,260 --> 00:40:51,180 Okay. 340 00:40:51,520 --> 00:40:52,840 That seems it works. 341 00:40:54,640 --> 00:40:55,500 Yeah. 342 00:40:55,500 --> 00:41:02,640 So, okay, here we are seeing that we are targeting the AALP SSI GPO is uh an Intel driver. 343 00:41:03,440 --> 00:41:05,760 And we are loading our driver. 344 00:41:05,760 --> 00:41:08,320 We are switching everything and we're loading the driver. 345 00:41:08,320 --> 00:41:10,300 Now, the driver has been loaded. 346 00:41:10,300 --> 00:41:15,820 The name is that and if you can see, honestly, I would, I would challenge to spot the difference. 347 00:41:15,840 --> 00:41:17,800 The description is the right one. 348 00:41:17,800 --> 00:41:24,940 But, and if you try to point to the what, what file was loaded, it will actually open the right directory. 349 00:41:25,280 --> 00:41:28,420 But indeed, we loaded another. 350 00:41:28,620 --> 00:41:32,680 You can, you can actually spot it from the sides. 351 00:41:32,680 --> 00:41:33,500 From the sides. 352 00:41:33,500 --> 00:41:36,640 It's 28 kilobyte which is the size of WinIO. 353 00:41:38,920 --> 00:41:47,420 And you can see also from the hash, that is the same hash of WinIO, which is a vulnerable driver that is not currently blocked by Microsoft block list. 354 00:41:47,420 --> 00:41:50,700 We can do another attempt, this time on Windows. 355 00:41:50,720 --> 00:41:53,420 I don't know if there is anything I'm showing. 356 00:41:55,000 --> 00:41:55,800 Yeah. 357 00:41:55,800 --> 00:41:58,800 I'm, I'm proving that it's WinIO here. 358 00:41:59,000 --> 00:42:10,260 So you will see that there is the WinIO handle uh showing up in devices and when I, we get there, bit of faith. 359 00:42:12,020 --> 00:42:14,540 So we have WinIO loaded. 360 00:42:14,540 --> 00:42:23,400 Now, when I unload the driver, that is not unloadable usually, WinIO disappears. 361 00:42:24,060 --> 00:42:26,860 So it was WinIO all along. 362 00:42:27,180 --> 00:42:31,240 But it doesn't show up anywhere practically. 363 00:42:31,240 --> 00:42:41,740 And we fooled the driver loader into thinking that we actually loaded a driver on C Windows system 32 as, as, as it was normal. 364 00:42:42,020 --> 00:42:51,240 Now, on Windows 10 or when HDCI is not enabled, we can just strictly integrate it with KDU for example. 365 00:42:51,240 --> 00:42:56,500 Same technique, same driver as base for exploitation. 366 00:42:57,320 --> 00:43:00,360 I still need to, no. 367 00:43:01,260 --> 00:43:03,220 Come on. 368 00:43:04,820 --> 00:43:06,000 Yes. 369 00:43:06,700 --> 00:43:11,920 So still driver jack is executing, arrives. 370 00:43:11,920 --> 00:43:17,000 It overwrites the content in memory because the driver is encrypted as I said on the ISO. 371 00:43:18,420 --> 00:43:22,880 And then it just loads the drive and straight executes KDU. 372 00:43:22,880 --> 00:43:27,800 The vulnerable driver was already loaded because we loaded to the driver, with the driver jack technique. 373 00:43:28,160 --> 00:43:32,900 The name is WinIO and we can execute our unsigned code on Windows. 374 00:43:34,560 --> 00:43:41,620 Now, of course, if you want to execute with HDCI enabled, you need to use one of the other thing that I showed before. 375 00:43:41,620 --> 00:43:51,720 CandleForge, uh, Malk, or unless, if, if, or, or you can use, or you can just disable HDCI altogether. 376 00:43:51,720 --> 00:43:58,360 So, the full chain that we used was, we weaponized the step 7 installation media. 377 00:43:58,500 --> 00:44:13,000 Um, in, in this way initially, we used the trial process immediately because as I said, uh, the set up of the step 7 installation media uses multiple process to install. 378 00:44:13,080 --> 00:44:15,900 So we could blend in with an additional process. 379 00:44:16,000 --> 00:44:24,280 We rewrite and execute an additional file so we, there was no malware on the ISO except of a minimal DLL used for site loading. 380 00:44:24,280 --> 00:44:30,500 And then what we do is we use driver jack, we, we execute, uh, we install the full candle rootkit. 381 00:44:30,520 --> 00:44:32,740 Uh, we were targeting Windows 10. 382 00:44:32,760 --> 00:44:35,380 HVCI was not a problem in this case. 383 00:44:35,500 --> 00:44:40,100 And, and then we just keep going with additional, with additional compromise step. 384 00:44:41,100 --> 00:44:48,260 So, portability, we have integration with KDU, uh, if HVCI is disabled. 385 00:44:48,260 --> 00:44:53,720 If it's enabled and you have, uh, inter-K chat not supported, you can use CandleForge as I said. 386 00:44:53,720 --> 00:45:09,560 If it's, um, if HVCI is, HVCI is, HVCI is, oh my gosh, is, is hypervisor protected coding, enforce code, code integrity is enabled and you don't have Intel DT but you have inter-K chat can use mark. 387 00:45:09,700 --> 00:45:18,860 Otherwise, well, the, the best chance so far, uh, is to just, uh, disable code integrity and ask for a reboot. 388 00:45:19,260 --> 00:45:24,680 Um, because there is no currently, there is not currently a technique . 389 00:45:24,680 --> 00:45:29,980 As I said, I, I mistakenly believe that you could actually abuse large pages for it. 390 00:45:29,980 --> 00:45:36,180 I'm still trying to check it if, if it's possible, but it doesn't look like it's working fine. 391 00:45:37,380 --> 00:45:45,760 And as key takeaways, I mean, you can download the box, uh, the, the, for driver jack is, is already, is already public. 392 00:45:45,760 --> 00:45:47,720 You can, you can go and take a look. 393 00:45:48,120 --> 00:46:00,640 Um, for like detection, as detection advice, I would always try to detect if, uh, someone is escalating privileges to system or trusted installer using no means. 394 00:46:00,660 --> 00:46:07,580 Uh, monitor for drive letter change to just prevent this trick from, uh, bypassing detection. 395 00:46:07,600 --> 00:46:13,180 Uh, of course, monitor for changes in the anti-object manager, especially for global links. 396 00:46:13,540 --> 00:46:24,100 Uh, keep your hardware up to date is very important because as we've seen, the more we go to modern CPUs, et cetera, the, the more difficulties to exploit this kind of bugs. 397 00:46:24,240 --> 00:46:35,660 And then, and then there is the, one of the detection opportunity, which is the probably best, is when there is a drove, a driver load event, implement an hash cross check. 398 00:46:35,660 --> 00:46:38,740 So there is an hash present on the driver load event. 399 00:46:38,780 --> 00:46:49,540 The only thing you need to do is going on the file list, on the file path that is, was, that was loaded, perform, like calculate the check at run time and then compare the, the hashes. 400 00:46:49,540 --> 00:46:51,840 The hashes is, are not possible to fool. 401 00:46:51,840 --> 00:46:57,560 So, uh, if the hashes are not matching, it means that something happened that was bad. 402 00:46:57,560 --> 00:47:01,320 So another driver was loaded in place of the original one. 403 00:47:02,300 --> 00:47:03,900 And that's it. 404 00:47:03,900 --> 00:47:06,140 Thanks a lot for, for attending.