1 00:00:00,000 --> 00:00:06,780 Welcome to my talk, 7 Volms in 7 Days, where we're going to be breaking bloatware faster than it's been built. 2 00:00:07,180 --> 00:00:10,860 To start this, I need to tell you a story of where I'm playing games. 3 00:00:10,860 --> 00:00:13,280 It's summer holiday back in South Africa. 4 00:00:13,400 --> 00:00:16,900 I'm taking some time out and playing my favorite game. 5 00:00:17,040 --> 00:00:25,540 At the end of that session, though, I notice at the bottom right, Asus Driver Hub is asking me to install a driver update. 6 00:00:25,680 --> 00:00:29,440 A little confused by this, I click it, and a browser opens up. 7 00:00:29,440 --> 00:00:36,360 This driverhub.asus.com is in a browser, and it's asking me for more things to install. 8 00:00:36,380 --> 00:00:39,200 This is fairly confusing, but I continue with the progress. 9 00:00:39,680 --> 00:00:43,700 Eventually, a modal pops up, asking me to restart now. 10 00:00:43,800 --> 00:00:49,020 Now, I've already been a little suspicious by this point, but I've been really suspicious right now. 11 00:00:49,020 --> 00:00:50,360 How could this be working? 12 00:00:50,360 --> 00:00:53,200 The installation completed, and I need to reboot? 13 00:00:53,400 --> 00:00:56,960 Is there some cloud-related thing here that I need to consider? 14 00:00:57,020 --> 00:00:58,540 I'm not really sure yet. 15 00:00:58,540 --> 00:01:02,660 So I go back to Driver Hub, and I click that Reboot Now button. 16 00:01:03,020 --> 00:01:05,740 The reboot happens instantly. 17 00:01:05,900 --> 00:01:07,280 There is no cloud involved. 18 00:01:07,280 --> 00:01:11,740 I have an okay internet connection, but the speed at which this happened was fairly confusing. 19 00:01:12,240 --> 00:01:22,620 Anyways, my computer comes back, and I quickly pop open the DevTools, and I realize there's a local web server running on my computer with which this Driver Hub website is interacting. 20 00:01:23,240 --> 00:01:29,020 It's also the end of my holiday now, because I decided I'm going to take this journey that I'm going to tell you about right now. 21 00:01:29,480 --> 00:01:31,700 So thank you for coming to my talk. 22 00:01:31,700 --> 00:01:32,840 My name is Leon Jacobs. 23 00:01:32,840 --> 00:01:38,860 I'm from South Africa, and I work for a company called Orange Cyber Defense, more specifically in their SensePost team. 24 00:01:38,860 --> 00:01:40,300 You can find me online. 25 00:01:40,300 --> 00:01:46,480 I'm leonjzde, basically everywhere, and I do like research, hacking, and building stuff. 26 00:01:47,120 --> 00:01:52,180 Today I'm going to tell you the story about hacking bloatware and a whole bunch of vulnerabilities that I found. 27 00:01:52,180 --> 00:02:00,160 We're going to look at four products, which include ACES Driver Hub, MSI Center, Acer Control Center, and Razer Synapse 4. 28 00:02:00,260 --> 00:02:07,140 All of these ones have been fixed, so if you update to the latest versions of this stuff, you'll be fine. 29 00:02:07,460 --> 00:02:11,780 At the end of all of that, we'll have some sort of conclusion and talk about what all of this means. 30 00:02:12,520 --> 00:02:14,280 I need to perfect some of this talk. 31 00:02:14,280 --> 00:02:20,280 There's going to be a whole bunch of tools that you're going to see, like the list on the left, and we're going to look at a whole bunch of code snippets. 32 00:02:20,280 --> 00:02:28,720 I've tried my best to sort of isolate the bits that you need to look at, but keep in mind that it's going to be quite fast-paced, so pay attention. 33 00:02:29,060 --> 00:02:34,860 The first product to look at will be this ACES Driver Hub, and the two CVEs that I found in that. 34 00:02:35,140 --> 00:02:40,000 When you look at these processes, one of the really useful tools you can use is called Process Explorer. 35 00:02:40,180 --> 00:02:46,500 And specific to ACES Driver Hub, when you look at what backs that program, there are two processes. 36 00:02:46,520 --> 00:02:50,460 There's ADU.exe and ACES Driver Hub.exe. 37 00:02:50,540 --> 00:02:56,080 And more interestingly, ADU.exe listens on a TCP socket, so things can connect to it. 38 00:02:56,240 --> 00:03:04,260 Now, at this point, I'm looking at these things on my home PC where I play games, but I realize if I want to do some research, I want to install this in a virtual machine. 39 00:03:04,640 --> 00:03:11,460 Thankfully, or as to no one's surprise, when you install ACES Driver Hub in a VM, it goes, this is not an ACES product. 40 00:03:11,500 --> 00:03:12,740 It's not wrong. 41 00:03:12,740 --> 00:03:15,560 So we needed to do a little bit of work to get that going. 42 00:03:15,840 --> 00:03:22,400 Opening the installer in something like Binary Ninja, it has this really nice feature where you can take some code and patch out a branch. 43 00:03:22,400 --> 00:03:25,560 Maybe you want to invert the code flow or do something else with it. 44 00:03:25,560 --> 00:03:26,900 It's fairly simple. 45 00:03:27,260 --> 00:03:34,100 So with the installer, I do exactly that, really with the point being so I can get a successful installation in my Parallels VM. 46 00:03:34,540 --> 00:03:37,980 With that installed, I can finally open Driver Hub in this VM. 47 00:03:37,980 --> 00:03:39,380 And again, the VM is handy. 48 00:03:39,380 --> 00:03:43,480 I can snapshot, roll back, do all the kinds of things without it being a pain. 49 00:03:43,740 --> 00:03:47,380 But when I open it up, again, it tells me this is not an ACES product. 50 00:03:47,500 --> 00:03:49,080 Confault them, they're right. 51 00:03:49,520 --> 00:04:02,080 But when you open Burp and sort of see what the requests look like when you open ACES Driver Hub, you quickly realize there's an initialized call where the local web server responds with this is a supported product or not. 52 00:04:02,320 --> 00:04:08,360 Because this is Burp, I can very easily change a false to true and suddenly my product is supported in my VM. 53 00:04:08,360 --> 00:04:10,700 I didn't get all the fancy driver updates. 54 00:04:10,700 --> 00:04:15,660 I could install the Armory crate, but it was good enough premise for me to start playing around with this stuff. 55 00:04:16,500 --> 00:04:17,800 I've mentioned this before. 56 00:04:17,800 --> 00:04:19,540 There were two interesting processes. 57 00:04:19,540 --> 00:04:26,660 And for this part, we're focusing specifically on ADU.exe because that's the one that has the TCP socket that it was listening on. 58 00:04:26,960 --> 00:04:33,280 Opening up ADU.exe and something like Binary Ninja, you'll see a whole bunch of features that this has. 59 00:04:33,320 --> 00:04:35,600 Of course, the web server was of interest of me. 60 00:04:35,600 --> 00:04:42,020 So, when doing some string searches, you can find endpoints that look like HTTP endpoints that you could call. 61 00:04:42,200 --> 00:04:46,860 One of those is this reboot endpoint, which is really patient zero what I was working with. 62 00:04:47,080 --> 00:04:53,180 Following the flow in how is the reboot implemented, you'll end up in a code piece that will look something like this. 63 00:04:53,280 --> 00:04:58,160 Really, the interesting part is the call to exit windows, which will exit windows. 64 00:04:58,340 --> 00:05:03,300 To visualize what we know so far, we can quickly have a look at how this would work. 65 00:05:03,300 --> 00:05:07,520 Imagine a browser where you're browsing to driverhub.acess.com. 66 00:05:07,520 --> 00:05:19,200 When that page loads, a JavaScript fetch request is made to a local web server, which then a native code makes a Win32 API call to exit windows and reboots your computer. 67 00:05:19,540 --> 00:05:26,900 I wanted to create a small testing harness for this, so I wrote some PowerShell to sort of replicate this reboot feature. 68 00:05:27,180 --> 00:05:31,920 I make a web request that looks something like this, and the first response I get was an access denied. 69 00:05:31,920 --> 00:05:37,020 Now, one thing that's really interesting when you look at these things, they often emit an insane amount of logs. 70 00:05:37,020 --> 00:05:42,200 Logs are really handy for developers, but they're also handy if you don't really know how the software is structured. 71 00:05:42,660 --> 00:05:45,940 In the case of ACES driverhub, exactly the same thing is true. 72 00:05:46,100 --> 00:05:51,140 There is a log file with a random name that they use, but it's quite useful in telling you what's wrong. 73 00:05:51,360 --> 00:05:57,840 In this case, I can see there seems to be some origin-related error where the origin that I passed along was not allowed. 74 00:05:57,840 --> 00:05:59,180 In fact, I didn't pass one. 75 00:05:59,180 --> 00:06:05,220 So I modify my test harness, add the origin of driverhub.aces.com, and I get a new error. 76 00:06:05,440 --> 00:06:09,700 And everyone knows when you get a new error, that's a sign of progress, which is great. 77 00:06:09,960 --> 00:06:14,480 Looking at the logs, I can now see the origin is allowed, but the body is empty. 78 00:06:14,660 --> 00:06:19,200 So I clearly need to send some content along to actually invoke this reboot. 79 00:06:19,520 --> 00:06:23,260 But keep in mind that driverhub.aces.com lives in a browser. 80 00:06:23,340 --> 00:06:31,580 So we can open the console and inspect the JavaScript that's being used to speak to that local web server and get a sense of what parameters might be used. 81 00:06:31,780 --> 00:06:41,020 In this case over here, you finally, between this minified mess, as you would expect, find a post request that gives you an idea of what the structure looks like for that web server. 82 00:06:41,360 --> 00:06:46,080 If I take that knowledge and update my small test harness, it would look something like this. 83 00:06:46,080 --> 00:06:49,660 And I'm finally at a place where I can also reboot my computer. 84 00:06:49,740 --> 00:06:53,360 Totally unnecessary, but this is a good harness for me to play with. 85 00:06:53,780 --> 00:06:54,460 Cool. 86 00:06:54,460 --> 00:06:57,180 With understanding that, let's move on into the first bug. 87 00:06:57,180 --> 00:07:00,320 And it's something that I'm just going to call the string contains bug. 88 00:07:00,540 --> 00:07:06,600 And to understand the string contains bug, we first need to understand how origin header validation is supposed to work. 89 00:07:06,760 --> 00:07:14,720 Imagine for a moment two tabs where one is driverhub.aces.com and the other is driverhub.notaces.com. 90 00:07:14,800 --> 00:07:19,840 Both of these tabs, both of these domains, serve hypothetically exactly the same content. 91 00:07:19,840 --> 00:07:24,120 There's no difference but the domain from which you're using to browse to the content. 92 00:07:24,480 --> 00:07:36,260 When the page loads and you might want to invoke the reboot feature, a fetch request will be made to the reboot endpoint, after which, as a security mechanism by the browser, an origin header gets attached. 93 00:07:36,320 --> 00:07:40,740 This is a way for the web server on the other end to kind of know where this request came from. 94 00:07:40,940 --> 00:07:44,360 And our driverhub implemented this security feature. 95 00:07:44,360 --> 00:07:47,720 When it is not aces.com, the request will fail. 96 00:07:47,720 --> 00:07:51,220 It's where the access denied originally comes from. 97 00:07:51,940 --> 00:08:01,680 Now, the challenge is, is while reversing this stuff, I often sort of rename symbols, sort of try and figure out if I have a rough idea of what a function does, I'll give it a name with a question mark. 98 00:08:01,760 --> 00:08:06,500 And in this scenario here, I think the function I found here was a string contains function. 99 00:08:06,520 --> 00:08:08,440 Question mark was, I think. 100 00:08:08,520 --> 00:08:12,880 But I noticed an invocation that included this .aces.com argument. 101 00:08:13,040 --> 00:08:22,680 Diving into string contains, you can see there's a mem compare call that has an iterator to sort of compare the input arguments over what the iterator is. 102 00:08:22,840 --> 00:08:25,720 To visualize this, it can look something like this. 103 00:08:25,740 --> 00:08:32,340 Imagine you're going to driverhub.aces.com, and it wants to know if this is the aces.com origin where you're at. 104 00:08:32,340 --> 00:08:40,680 Using the iterator, it will check the string for nine bytes exactly until it goes, okay, this looks like aces.com is where this origin came from. 105 00:08:41,020 --> 00:08:52,060 However, because this is a string contains, if you pass something like driverhub.aces.com, the same effect will occur except it will actually stop the moment .aces.com is met. 106 00:08:52,060 --> 00:08:56,640 Meaning any origin really can be used for you to make a request. 107 00:08:56,720 --> 00:08:57,840 So that's okay. 108 00:08:58,280 --> 00:09:03,700 Take my test harness, and you see that I can do exactly the kind of reboot with the wrong origin. 109 00:09:04,280 --> 00:09:09,140 Now, you may have come to this talk for a vulnerability, but I'm really just showing you how to reboot your friend's computer. 110 00:09:09,400 --> 00:09:19,420 But no, more importantly, you can now use an arbitrary origin as long as it contains .aces.com and interact with this local web server that driverhub gives you. 111 00:09:19,640 --> 00:09:23,560 Now, rebooting is fun, but what's more interesting is gaining RCE. 112 00:09:24,200 --> 00:09:30,300 You might remember from a previous slide that there were a whole bunch of endpoints that we could look at. 113 00:09:30,400 --> 00:09:35,820 There are many, many other ones that are interesting here, but one we'll focus on right now is the update app endpoint. 114 00:09:36,180 --> 00:09:42,380 Just like reboot, we can find the post body that update app wants, and it looks something like this. 115 00:09:42,380 --> 00:09:50,280 Focus on the URL element for a moment, and we can try and pass a full URL to an EXE, sort of test what this thing does. 116 00:09:50,280 --> 00:09:52,820 Like, if I give it a URL, will it download? 117 00:09:53,140 --> 00:10:05,220 We update our test harness with exactly that URL path that we give, invoke the request, and if we inspect the log files, we see a line that tells us this agent URL can't find .aces.com in it. 118 00:10:05,440 --> 00:10:18,020 Well, I showed you the string contains bug, so exactly the same vulnerability exists here where you can just give it a URL to any origin, as long as .aces.com exists, and it would download that, which is quite handy. 119 00:10:18,420 --> 00:10:25,120 The challenge, though, is when you run it, continue looking at our log files, we get a new error, the universal indicator of progress. 120 00:10:25,220 --> 00:10:28,920 Tells us that this one is not signed, this executable that we've sent. 121 00:10:28,920 --> 00:10:32,340 But the progress here is our content has downloaded. 122 00:10:32,680 --> 00:10:41,800 Of course, the reverse engineering journey continues, and we finally have a look at what the PE signature validation looks like, and you see a line like this. 123 00:10:41,800 --> 00:10:45,400 Does one of the properties contain ACES tech computer ink? 124 00:10:45,660 --> 00:10:47,940 Doesn't really check if the source is valid. 125 00:10:48,200 --> 00:10:54,620 Thankfully, tooling already exists that lets us clone PE signatures from a valid binary to whatever we want. 126 00:10:54,740 --> 00:11:01,140 Critically, the signature won't be valid, but the properties exist, which ACES would then be happy with. 127 00:11:01,300 --> 00:11:08,920 So, I want to show you a very quick demo of what this would look like, putting these things together, and sort of getting remote code execution with one click. 128 00:11:09,400 --> 00:11:13,600 What you're going to see now on the left-hand side is a web browser of your victim. 129 00:11:13,600 --> 00:11:16,700 Somehow, you've coerced someone to browse to your website. 130 00:11:16,700 --> 00:11:22,020 A website that has .aces.com in the URL, a subdomain, whatever you have. 131 00:11:22,120 --> 00:11:25,440 On the right-hand side is just a little bit of showing what's happening. 132 00:11:25,440 --> 00:11:32,100 We'll tell the log files of ADU.exe to see the progress of that process. 133 00:11:32,100 --> 00:11:36,280 So on the right, we start telling the log files. 134 00:11:36,280 --> 00:11:41,680 On the left, I go to my domain, browse to my fancy website, and we pop Calc with one click. 135 00:11:48,400 --> 00:11:55,060 What's really interesting about this setup, though, is none of the components of ACES Driver Hub runs in an elevated context. 136 00:11:55,060 --> 00:11:57,720 They're all normal user processes that run. 137 00:11:57,880 --> 00:12:06,900 However, you can imagine most gamers, they're probably an admin on their computer, but they have a UAC setting where they'll need to at least click accept or deny. 138 00:12:07,280 --> 00:12:20,220 It turns out, if you have a side-by-side assembly manifest or what seems to be known as a UAC manifest that you apply to your target payload, this entire process actually bypasses the UAC prompt as well. 139 00:12:20,220 --> 00:12:25,660 So if you're an admin, this code execution actually turns code execution in an elevated context. 140 00:12:26,040 --> 00:12:32,720 Now, Windows has some heuristics to sort of determine, and this is an installer-based thing, should I run elevated or not? 141 00:12:32,720 --> 00:12:41,640 But the way to make this deterministic is to actually attach an XML like this, which has this requested execution level field. 142 00:12:42,100 --> 00:12:57,980 With this XML at hand, you can run a tool called mt.exe, which you'll get with Visual Studio, pass it the manifest and your target executable, and it'll look something like what you probably have seen before, that sort of signature yellow-blue shield that it has on top of it, 143 00:12:57,980 --> 00:13:01,780 indicating that when you run this, it might run in an elevated context. 144 00:13:02,060 --> 00:13:12,920 So for exactly the same exploits, if you pass along a exe that you've added this manifest to, that code execution will turn into an elevated code execution, bypassing UAC. 145 00:13:14,540 --> 00:13:22,200 Talking about an impact for this, when I looked at my motherboard that started all of this, there's this handy... I wondered, where did this come from? 146 00:13:22,200 --> 00:13:27,840 You look at the BIOS and there's this line that says you can download and install ACES driver hub automatically. 147 00:13:28,060 --> 00:13:31,520 When I found these vulnerabilities, I disabled that fairly quickly. 148 00:13:31,520 --> 00:13:36,460 But that should give you an idea how some of the software might actually end up on people's computers in the first place. 149 00:13:37,080 --> 00:13:40,840 Okay, so that's ACES driver hub, so let's look at a quick summary. 150 00:13:40,840 --> 00:13:46,460 It could be an alternative way to reboot your friend's computer, or a way to execute arbitrary code. 151 00:13:46,580 --> 00:13:53,600 It can auto-install itself based on this BIOS setting, but really it's the sort of misuse of this strange RPC mechanism. 152 00:13:53,600 --> 00:13:57,400 How you invoke those HTTP requests is not great. 153 00:13:57,760 --> 00:14:08,520 The Chrome working group actually has a spec proposal which should gate access to local resources, similar to how webcams and microphones would be gated today. 154 00:14:08,560 --> 00:14:16,880 So what it really implies is they're proposing that a little pop-up comes up saying, hey, this website wants to speak to something on the local network, which sounds like a handy thing. 155 00:14:17,340 --> 00:14:21,300 And I think, a little bit to no one's surprise, the disclosure was a little messy. 156 00:14:21,300 --> 00:14:23,060 I'll get back to that a little bit later. 157 00:14:23,680 --> 00:14:26,240 Now back, I'm still on my holiday, I'm a little excited. 158 00:14:26,240 --> 00:14:28,120 I found some really cool vulnerabilities. 159 00:14:28,120 --> 00:14:30,980 I'm going to tell ACES about this, and it's nice. 160 00:14:30,980 --> 00:14:34,080 I've disabled this stuff so that no one else exploits me. 161 00:14:34,100 --> 00:14:36,980 But I did have a moment and wonder, what are other vendors doing? 162 00:14:36,980 --> 00:14:41,040 If this is one not small vendor, what other things can we see? 163 00:14:41,660 --> 00:14:49,980 So I Googled around for products, companies that do similar things, and unfortunately I come across MSICenter next. 164 00:14:50,820 --> 00:15:02,600 The thing with MSICenter though, once you install it, like in my VM, it has this pop-up, this display that says, for you to use this, you need to add your local user to the administrators group. 165 00:15:02,780 --> 00:15:08,160 It's a little confusing to me because all of the processes that run in the backend already run in an elevated context. 166 00:15:08,160 --> 00:15:11,280 So I'm not sure why my user needs to be admin already. 167 00:15:11,660 --> 00:15:19,160 But, much like ACES driver hub, it also has a component that has a local TCP socket that listens for connections. 168 00:15:19,260 --> 00:15:22,740 The difference though, in this case, is actually elevated as well. 169 00:15:23,060 --> 00:15:34,100 Because this is a TCP socket, and I don't really know what it looks like, I opened the client and Wireshark to see what the connection between a client and that elevated service would look like. 170 00:15:34,120 --> 00:15:36,360 And you would see some output that looks like this. 171 00:15:36,360 --> 00:15:41,440 It's a binary protocol that goes in, but the bits that come out seem to be JSON. 172 00:15:42,100 --> 00:15:44,540 And it's familiar, but not entirely. 173 00:15:44,780 --> 00:15:51,260 The nice thing though, because the MSI center clients is written in .NET, the reversing of this is fairly easy. 174 00:15:51,260 --> 00:15:56,620 There's no obfuscation or anything like that, so it's a little bit like looking at a source code review from that perspective. 175 00:15:57,060 --> 00:16:00,600 Anyways, when you go through this code a little bit, four interesting things come out. 176 00:16:00,600 --> 00:16:06,120 There's a launch server method that does some housekeeping, makes sure the port's available, etc. 177 00:16:06,300 --> 00:16:14,320 Then registers two callbacks, where code runs when a new connection comes in, and code that runs when data is read into that connection. 178 00:16:14,560 --> 00:16:23,820 But finally, and probably the most important part, is this data response function that takes a structure of the data that came in on the socket and hands it off to other components. 179 00:16:23,820 --> 00:16:25,460 We'll talk about that in a bit. 180 00:16:26,180 --> 00:16:34,760 One of the ways in which the software knows where things should go is these definitions, sort of static byte structures of features that it supports. 181 00:16:34,760 --> 00:16:43,780 Here's an example of a reboot and an uninstall function, but many components in this bloatware has different definitions, which you can see an example of here. 182 00:16:44,060 --> 00:16:56,160 With those byte structures defined, there is this sort of very primitive compare bytes call that sort of figures out based on how all of the features that the software supports, when does which block run. 183 00:16:56,440 --> 00:16:59,580 And that would look something like this for the reboot case. 184 00:16:59,720 --> 00:17:04,040 A more complete example, you'll actually see two distinct things here. 185 00:17:04,040 --> 00:17:14,520 One is a plug-in loader, which we'll get to in a second, but in this case for reboots, it actually finally does the reboot by running shutdown.exe as an outcome of this thing. 186 00:17:14,840 --> 00:17:23,700 So what we're really saying is we just have a TCP connection that we can make to the service and send through the bytes for these commands to make it do something. 187 00:17:23,980 --> 00:17:28,340 So I did exactly that, but when I sent this along, nothing happens. 188 00:17:28,760 --> 00:17:36,040 Referring back a little to the Wireshark output that I was looking at, I realized that I didn't know yet what those first four bytes were for. 189 00:17:36,120 --> 00:17:42,580 The bits afterwards started looking familiar to commands that are implemented in this bloatware, but the first bytes I wasn't too sure of. 190 00:17:42,760 --> 00:17:51,420 But regardless at this point, I don't really know what it means yet, you sort of yellow it, add the four bytes to your POC, send it on, and your computer reboots again. 191 00:17:51,760 --> 00:17:55,660 Now this might be a talk , seven ways to reboot your computer, but no. 192 00:17:56,420 --> 00:18:02,880 More importantly, we now have the primitive where we can interact with the privilege process from a non-privileged context. 193 00:18:03,160 --> 00:18:09,480 Now before we get into the bugs, I do want to talk a little bit about MSI Center's software architecture, because I think that is quite interesting. 194 00:18:09,840 --> 00:18:13,740 When MSI Center boots up, it has this idea of a component loader. 195 00:18:13,740 --> 00:18:28,440 It scans the program files directory for any DLL that matches this API underscore star DLL format, tries and loads it, kicking off an initializer that would register that DLL as a component that contains commands. 196 00:18:29,100 --> 00:18:33,000 Practically what it means is you end up with this sort of component command map. 197 00:18:33,420 --> 00:18:39,060 Every component has a unique ID, and each one of those components implement unique commands. 198 00:18:39,320 --> 00:18:50,200 And mapping that to the TCP protocol, it means every TCP frame defines the component it wants to target with those first four bytes, and then which of those commands that it wants to run. 199 00:18:50,660 --> 00:19:04,280 More crucially, with the component loader, and you'll remember this from the plugin loader earlier, there is this piece of code that gets to this transfer command part, which tries to find the component that is loaded, and sends it off to that plugin. 200 00:19:04,380 --> 00:19:07,560 Really, just hoping that plugin knows what to do with it. 201 00:19:07,980 --> 00:19:12,920 Okay, so let's look at the first bug, which is a local privilege escalation in this MSI Center. 202 00:19:13,600 --> 00:19:21,580 One of those commands that exist within the MSI Central server component is called command auto-update SDK. 203 00:19:21,900 --> 00:19:23,760 And you can see it accepts two arguments. 204 00:19:23,760 --> 00:19:26,560 One is a target program, and the other one is an executable program, and it executes the arguments for it. 205 00:19:26,560 --> 00:19:28,340 Now, I think you know where this is going. 206 00:19:29,160 --> 00:19:38,720 More importantly, when that command is invoked, the target you want to run, let's say there's an executable on your desktop, gets copied to C Windows 10 MSI Center SDK. 207 00:19:39,120 --> 00:19:53,440 Some verification work, which we'll talk about in a bit, happens, but eventually this execute task function runs, which schedules an immediate scheduled task, that's a mouthful, to run that executable and any arguments, and if its supervisor is set as true, 208 00:19:53,440 --> 00:19:55,880 which is the default, it runs that system. 209 00:19:56,500 --> 00:20:04,040 The part before that happens, though, is a code signing check that actually checks if this thing that I'm trying to run is actually signed by MSI. 210 00:20:04,160 --> 00:20:09,160 I don't have an MSI code signing cert, so naturally I can't pass this check. 211 00:20:09,380 --> 00:20:15,660 And the right way to do it is with the WinVerify trust call, which they do in native code, so that was a bit of a bummer. 212 00:20:15,840 --> 00:20:21,460 And it leaves me with this sort of sad holiday vibes that it's also the end of the holiday and I don't have a cool vulnerability. 213 00:20:22,020 --> 00:20:26,580 Until I realize, hold on, I need to really look at this thing, there is something to look at. 214 00:20:27,320 --> 00:20:35,260 So if we revisit this auto command SDK, auto update SDK command, and break it down, the first step is to copy the target we want to run. 215 00:20:35,360 --> 00:20:41,740 So if we take prog.exe, the software will copy that to MSI center SDK and the Windows temp directory. 216 00:20:42,060 --> 00:20:52,220 It would then do the verification, and verification is running WinVerify trust over that target file that got written to the temp file, to the Windows temp directory. 217 00:20:52,860 --> 00:21:01,360 If the WinVerify trust passes, the schedule task is executed, which is really just saying run that MSI center SDK as system. 218 00:21:01,760 --> 00:21:08,020 Because it's fairly quick, eventually the schedule task will run it, which again will be a system. 219 00:21:08,020 --> 00:21:13,800 But the challenge here is, the one that got verified and the one that got run isn't bound in any way. 220 00:21:13,860 --> 00:21:17,280 Which gives us this opportunity for a race condition that we could exploit. 221 00:21:17,660 --> 00:21:29,580 Taking copy target and imagining we run it at two exactly same times, one might be prog.exe, another could be this, I don't know what MSI server.exe does, but it was useful because it had a valid signature. 222 00:21:29,720 --> 00:21:37,840 If we run both of those at the same time, and it copies it to the same directory, which one of these two is the schedule task going to run? 223 00:21:37,840 --> 00:21:41,100 And if we do it really quickly, there's an opportunity to run the wrong one. 224 00:21:41,580 --> 00:21:45,160 So my exploit plan here is to race to execute with two threads. 225 00:21:45,160 --> 00:21:51,160 One for this legitimate MSI server thing, did nothing, but it was handy for insert. 226 00:21:51,300 --> 00:21:56,260 And the second is then for my payload, which I was using to just add users to the local system. 227 00:21:56,860 --> 00:22:03,360 The end means that that schedule task would be confused about which one to run, because there's no binding to who got verified yet. 228 00:22:03,780 --> 00:22:08,820 So if we take a look at a quick demo of what this privilege escalation might look like, it would be something like this. 229 00:22:09,380 --> 00:22:11,860 At the back is MSI center server running. 230 00:22:12,100 --> 00:22:18,640 Just to show the context, I start by checking that I don't have an MSI user, and I try and add it. 231 00:22:18,640 --> 00:22:21,800 It's really just to indicate that I don't have access to do that right now. 232 00:22:22,340 --> 00:22:28,020 I then run my POC, which takes an executable, which is not signed, and adds a user. 233 00:22:28,420 --> 00:22:35,540 Once the race is won, I can double check, and I now have a new user, which is also an administrator, added to the local box. 234 00:22:43,120 --> 00:22:48,600 That's a very complicated exploit though, because LPE2 is significantly simpler. 235 00:22:49,480 --> 00:23:01,340 Continuing this process of learning of which commands exist, there's one that lives in API support, the DLL, also has an execute task routine, but the difference here is it was its own implementation of execute task. 236 00:23:01,380 --> 00:23:06,540 It matches the function prototype, but none of the security features that existed in this common lib. 237 00:23:06,540 --> 00:23:14,500 And you can see probably the developers wanted to get everyone to use the same library, but someone decided not to, or there's some legacy code, I don't know. 238 00:23:14,580 --> 00:23:18,660 But what is nice about this re-implementation is there's literally zero verification. 239 00:23:18,760 --> 00:23:23,120 You pass the target, it schedules the task, and it runs. 240 00:23:23,460 --> 00:23:29,060 So my exploit now becomes sort of four lines, I give it the task, and you know, we get local privilege escalation. 241 00:23:29,060 --> 00:23:30,260 It's fairly silly. 242 00:23:31,120 --> 00:23:41,980 Okay, so in summary, for the MSI center, I don't have a, there's another way to reboot a computer if that's what you're into, but more importantly, code execution in a privilege context. 243 00:23:41,980 --> 00:23:51,960 Comes pre-installed when you buy a laptop, for many of these laptops, but it's yet another example of this sort of RPC mechanism that gets misused or is not well implemented. 244 00:23:53,300 --> 00:24:02,220 It's a bit of a depressing outcome, but I sort of continue, you know, sort of day three, day four of my hacking rampage, and Acer control center unfortunately comes on my radar. 245 00:24:02,580 --> 00:24:08,880 Acer decided to squish two bugs into one CVE, but that's fine, so let's take a closer look at that. 246 00:24:09,320 --> 00:24:22,240 When you install it, if I recall, this one doesn't do any verification, it's happy to run on my Parallels VM, but when you look under the hood, you'll see that there isn't really a TCP service that we can target, but instead it's a named pipe. 247 00:24:22,580 --> 00:24:29,180 However, the one of the services, or the privileged services, sorry, one of the services is privileged, which makes it an interesting target. 248 00:24:29,520 --> 00:24:38,080 If you reverse some of the stuff, you sort of get an idea on how the software is put together, you'll see there's really two components, which is very classic client-server architecture. 249 00:24:38,320 --> 00:24:50,840 There's this native binary running as a service in an elevated context, and then there's this normal user client that you would run, but that's written in .NET, and you can already see which one of those two would be easier to reverse. 250 00:24:51,280 --> 00:24:55,500 Because a named pipe exists, that's sort of the mechanism in which these two can connect. 251 00:24:56,040 --> 00:25:02,200 Taking a look at the client, one of the functions that you find that's very interesting is called send command by named pipe. 252 00:25:02,200 --> 00:25:06,300 It takes the pipe, a seven, a target path, and a hundred and thirty. 253 00:25:06,940 --> 00:25:19,800 When you look at this in a bigger picture, when that gets sent over to the native binary, somewhere in some of the logic over there, which you'll reverse, there's eventually a create process as user call with exactly that target that you've given it. 254 00:25:19,800 --> 00:25:27,800 So it's such a silly, like connect to the named pipe, pass a target, run thing, that really for the demo I just sort of give you a screenshot over here. 255 00:25:27,940 --> 00:25:29,600 The interesting part is coming. 256 00:25:29,820 --> 00:25:40,880 But what's nice about this is there was some encoding that I could just rip out of the ACER control center client, implement it in a small.net program, give it a pass, and it would run. 257 00:25:41,220 --> 00:25:48,040 But the first thing that confused me here though is this service is running in an elevated context and my notepad was not. 258 00:25:48,040 --> 00:25:52,220 Like I was only getting low code execution as a low privileged user. 259 00:25:52,260 --> 00:25:54,580 And I wasn't too sure what was going on there yet. 260 00:25:55,020 --> 00:26:03,620 Regardless, moving on to the named pipe, I sort of look at the access and I realize it has this file all access thing, which is something you explicitly need to get wrong. 261 00:26:03,620 --> 00:26:04,820 Like you need to go set that. 262 00:26:04,820 --> 00:26:06,100 This is not the default. 263 00:26:06,420 --> 00:26:12,680 Which means although it's not a low privilege escalation, a local privilege escalation, it's actually remote code execution. 264 00:26:12,680 --> 00:26:15,040 So I can run notepad on your friend's computer. 265 00:26:15,500 --> 00:26:18,480 So if we take a look at a quick demo, let's see what that looks like. 266 00:26:18,720 --> 00:26:21,420 On the left hand side I have an attacker VM . 267 00:26:21,420 --> 00:26:23,880 It's not connected to any domain or anything interesting. 268 00:26:24,080 --> 00:26:27,560 And on the right hand side there's a user running ACER control center. 269 00:26:28,140 --> 00:26:31,600 I have a quick look at what the IP config is between the two. 270 00:26:32,040 --> 00:26:40,000 When that is done, I run my POC, which connects to the remote end and asks it to spawn notepad over that named pipe. 271 00:26:48,460 --> 00:26:53,980 I like remote code execution, but I don't like not understanding why it wasn't as a system. 272 00:26:54,100 --> 00:26:56,320 So I still had some questions remaining. 273 00:26:56,560 --> 00:26:58,660 Why is this system thing happening? 274 00:26:58,740 --> 00:27:03,120 What is that 113 that I've got that I'm sending along with the argument? 275 00:27:03,300 --> 00:27:07,080 And if assuming 7 is a command, what other commands exist? 276 00:27:07,400 --> 00:27:14,180 Continuing looking at the server side, elevated binary, eventually you find the other commands that exist there. 277 00:27:14,180 --> 00:27:20,220 I had this weird pointer matching thing to invoke them, but regardless they'll look something like this. 278 00:27:20,380 --> 00:27:26,680 None of the functions that I could see in the ACER control center client would invoke any of these other functions. 279 00:27:26,680 --> 00:27:37,400 So I sort of left to a place where I needed to manually build my client, invoke command 6, 5, 4, 3, and get a sense of what the arguments would look like and how they would get invoked. 280 00:27:37,480 --> 00:27:47,480 To use that, I used my favorite tool called Frida, which I really like, just to get a sense at run time what does the invocation look like and which code parts finally trigger that. 281 00:27:47,680 --> 00:27:53,320 The unfortunate thing sadly comes along, none of those code parts seem to be doing anything interesting. 282 00:27:53,320 --> 00:27:56,640 In fact, it was just a bunch of registry read and write, etc. 283 00:27:56,760 --> 00:28:03,120 So I revisit that run command function where I have a path and I have this 113 that comes in. 284 00:28:03,380 --> 00:28:10,400 I'm a few days into this reversing process and I start realizing the fatigue kicks in, but thankfully I had a closer look. 285 00:28:10,700 --> 00:28:16,020 One section of this function has a specific condition for that argument that takes the 113. 286 00:28:16,220 --> 00:28:30,180 In fact, when you make it 114, in fact, incremented by one, you might notice that X3000 matches a constant when you look at the Windows SDK to have a SID initialized for a higher integrity process. 287 00:28:30,700 --> 00:28:36,580 So when this initialized SID function finishes, a token gets built and that gets used to run the target process. 288 00:28:37,420 --> 00:28:42,060 What that really means is, when you have 113, it runs as a normal user. 289 00:28:42,060 --> 00:28:46,760 When you make it 114, it will run in an elevated context. 290 00:28:46,920 --> 00:28:57,540 So change send command by name pipe, making 113, 114 and you now have an elevated command or an LPE on that system. 291 00:28:57,700 --> 00:29:04,160 The really neat thing because of the broken name pipe permissions, this will work remotely as well. 292 00:29:05,920 --> 00:29:16,080 Okay, so in summary for the AC control center, while I don't have another reboot POC for you, you have the ability to execute code in an elevated context on the other end. 293 00:29:16,180 --> 00:29:25,140 This is also pre-installed on a whole bunch of laptops and while it's not a TCP service, it's sort of the same thing when the name pipe is configured like that. 294 00:29:25,220 --> 00:29:27,980 So you definitely want to avoid that if you're doing that stuff. 295 00:29:29,120 --> 00:29:35,740 Okay, the last target that I want to talk about is Razer Synapse 4, which also has the CVE. 296 00:29:36,240 --> 00:29:40,660 When you install Razer Synapse, it's their newer version of their product. 297 00:29:40,660 --> 00:29:44,020 3 has been out for a while, but this one is not too old yet. 298 00:29:44,240 --> 00:29:46,360 It will look something like this when you're installed. 299 00:29:46,360 --> 00:29:50,900 I don't own any Razer products, so the menus and things are empty, but that's fine. 300 00:29:51,440 --> 00:30:02,000 For one moment though, when you look at what's happening under the hood, you need to appreciate the amount of processes that's running here for when you probably want to change the RGB on your products. 301 00:30:02,060 --> 00:30:06,660 I don't think it's necessary for that much, but this is not my domain. 302 00:30:06,980 --> 00:30:13,120 Regardless, the keen eye here may have already noticed the process that's got the name and what's about to happen. 303 00:30:13,120 --> 00:30:15,240 The Razer Elevation Service. 304 00:30:15,280 --> 00:30:19,600 It runs a system and this is an interesting target. 305 00:30:19,880 --> 00:30:27,220 The challenge with it though is it doesn't, unlike the previous targets, there's no listening ports or name pipes or anything like that. 306 00:30:27,220 --> 00:30:30,660 It's written in C++, which makes the reversing a little bit more challenging. 307 00:30:31,020 --> 00:30:33,800 And so this target seemed a little hard at first. 308 00:30:34,260 --> 00:30:39,120 Attach ProcMon to it and I interact with it using that Electron client. 309 00:30:39,560 --> 00:30:45,180 Eventually I could get an interaction with the Razer Elevation Service when I installed another component. 310 00:30:45,180 --> 00:30:47,020 This Razer Chroma thing. 311 00:30:47,020 --> 00:30:50,420 I don't know what that is, but the installation triggered the code path. 312 00:30:50,980 --> 00:30:56,800 And it's at this point I realized I needed to reverse that client to see how exactly this code execution works. 313 00:30:57,140 --> 00:31:01,980 Because it's an Electron app, the sources will be bundled in what's called an ASAR archive. 314 00:31:01,980 --> 00:31:11,840 And the Node team kindly maintains a tool that lets you extract these, which really just means you can end up with the JavaScript source code of that Electron application when you run this tool. 315 00:31:12,080 --> 00:31:16,280 I like reading source code to find vulnerabilities, so this is incredibly handy. 316 00:31:16,720 --> 00:31:23,900 When you dig into the detail, you'll find that they're doing what's called a foreign function interface using this Node FFI library. 317 00:31:23,900 --> 00:31:29,960 In fact, it looks like a private fork of a public tool that they're using here, so you can see the changes that they have made. 318 00:31:30,220 --> 00:31:44,520 But to understand how this works, what really happens is in the JavaScript Node world, you can call a function like simple service initialize here, and the Node FFI library takes care of all the translation and loading of native code to make the same function call. 319 00:31:44,520 --> 00:31:46,540 It's a very nice obstruction layer. 320 00:31:46,740 --> 00:31:57,420 It also supports multi-platform, multi-architecture, so Node FFI will take care of is it x86, is it Mac, whatever you're running for, and just call that native code in the end. 321 00:31:57,960 --> 00:32:08,640 What this looks like in the Razor Synapse app is you'll have a definition, client side, which when I looked at this the first time, I thought this was Frida, the first time I'm seeing Frida use non-reversing case. 322 00:32:09,120 --> 00:32:14,180 But it's really a simple definition of what those function calls would look like in the native world. 323 00:32:14,400 --> 00:32:24,480 To double check that, you open the simple service DLL that they're using in Binary Ninja or your favorite reversing tool, look at the exports and you can clearly see the matching between the two. 324 00:32:24,680 --> 00:32:30,620 So using this foreign function interface, they're calling a DLL natively as the first translation step. 325 00:32:30,880 --> 00:32:34,420 I of course wanted to play with this, so I came up with a small testing plan. 326 00:32:34,760 --> 00:32:42,800 This simple service DLL, and that's literally what it's called in this product, is a DLL I wanted to load and run some functions on it myself. 327 00:32:43,240 --> 00:32:51,400 And I'd use this reverse JavaScript client, the electron client, to sort of get an idea of what the call flows would be, what the arguments would be, et cetera. 328 00:32:51,980 --> 00:32:58,440 Eventually I end up in a POC, like extremely minified, it's significantly longer, that looks something like this. 329 00:32:58,440 --> 00:33:01,900 There's a function called simple launch user app process. 330 00:33:02,120 --> 00:33:04,920 It takes a few arguments but the first three are interesting. 331 00:33:05,260 --> 00:33:13,440 And while running this, of course using some Frida to get a sense of what the arguments look like, I realized that there's some paths that I can add. 332 00:33:13,620 --> 00:33:20,180 When I initially ran this it didn't work and it needed a little bit of tweaking to understand how those paths relate to each other. 333 00:33:20,500 --> 00:33:27,520 It's a little complex but I suspect this is a security feature that they've implemented to try and make sure that code only runs from a specific folder. 334 00:33:27,840 --> 00:33:35,080 You see parameter one needs to be a folder relative to this app data path and parameter two needs to be relative to parameter one. 335 00:33:35,560 --> 00:33:47,860 Anyways, what that really boils down to is if you want to make this call you can give this comment as an argument, which is a path relative to app data, and then assuming your payload lives there, give that argument to run. 336 00:33:48,040 --> 00:33:57,480 When you run that, the DLL would be extremely verbose in what it's doing and one of the lines you might spot there is this one that says this PE file is not trusted. 337 00:33:57,780 --> 00:34:11,560 Now I haven't been able to have a, well I don't have a Razor Synapse code signing so I'm fairly disappointed at this stage, until I realize that actually the code signing is in that client DLL that I have complete control over. 338 00:34:11,560 --> 00:34:18,920 They're doing it correctly when verified trust is the way to do this, but I can simply patch that out, which is exactly what I did. 339 00:34:18,980 --> 00:34:26,240 Make a copy of simple service DLL, patch out the PE certificate validation and rerun the POC. 340 00:34:26,640 --> 00:34:33,620 In this case now, while everything works, there's no error, I also don't have a user added, which is a fairly confusing thing. 341 00:34:34,320 --> 00:34:45,000 That's when I realized actually I've already had this trick where the side by side assembly manifest can get added to an EXE and I needed this add user POC of mine to run in an elevated context. 342 00:34:45,120 --> 00:34:54,480 So doing exactly the same trick by having the MT.EXE attach this manifest to my payload, I can get code execution the way I wanted it to be. 343 00:34:54,860 --> 00:35:00,680 So if we take a quick look at what the Razor Synapse privilege escalation would look like, it would be something like this. 344 00:35:01,120 --> 00:35:11,240 I first just check that the task is running, that Razor elevation service, I then double check that I don't have my Razor user yet, and I also can't add it. 345 00:35:12,020 --> 00:35:20,880 Once that is done, I run what's now called Razor Pwn over here, which will load my modified DLL with all the security checks patched out. 346 00:35:21,180 --> 00:35:26,400 And if you quickly see, there will be a pop up that shows a new user added to this machine. 347 00:35:26,400 --> 00:35:28,940 And we have LPE on our machine. 348 00:35:34,530 --> 00:35:39,750 I was building these slides for this talk when I'm talking to a colleague about this bug. 349 00:35:40,350 --> 00:35:42,930 And he effectively made my LPE a one liner. 350 00:35:43,410 --> 00:35:48,650 The part that I haven't shown you yet is actually the interface of the Razor elevation service is a com object. 351 00:35:48,650 --> 00:35:57,330 And I'm a few days into my reversing journey and getting a lot of fun, but I'm not really thinking very straight and actually not being successful with com interfacing. 352 00:35:57,650 --> 00:36:07,350 We have a look at OLE view again and we get this prog ID for the Razor elevation service, and my colleague shows me how to do the interaction with com objects in PowerShell. 353 00:36:07,510 --> 00:36:16,790 The first thing you can do is instantiate a new object using the prog ID that you've enumerated, and then you can run get member on that to see which methods exist. 354 00:36:16,810 --> 00:36:18,670 You can't really see where this is going. 355 00:36:18,990 --> 00:36:26,770 There's a launch process, you've got an option of two, of which you just pass in a pass and it would run that target for you in an elevated context. 356 00:36:26,930 --> 00:36:34,270 So you can ignore all this complicated patching and just use this one liner to get LPE and Razor Synapse 4 unpatched. 357 00:36:35,570 --> 00:36:38,370 Okay, so let's wrap up quickly. 358 00:36:39,170 --> 00:36:42,610 I didn't only have success, there were definitely some failed attempts. 359 00:36:42,610 --> 00:36:50,770 I looked at a few targets, which included the HP support exist, Gigabyte control center, which has a very interesting architecture, and Lenovo Vantage. 360 00:36:50,930 --> 00:37:01,730 Just last month, Atreides partners released a blog post where they also looked at Lenovo Vantage, but I think the researcher had more sleep than me and they found some really cool bugs that I encourage you to have a look at. 361 00:37:01,730 --> 00:37:04,630 A whole bunch of registry things that I didn't know was possible. 362 00:37:04,750 --> 00:37:05,930 So have a look at that. 363 00:37:06,490 --> 00:37:17,650 In summary, the vulnerabilities that we've looked at included these six CVEs, they've all been reported and fixed, and Acer decided to make two bugs one, which I don't really understand, but that's fine. 364 00:37:17,850 --> 00:37:19,750 But like I said, they're all fixed. 365 00:37:20,210 --> 00:37:23,190 It leaves me a little bit to talk about the disclosure for a bit. 366 00:37:23,190 --> 00:37:26,430 And if you are a vendor, please hear me out. 367 00:37:26,590 --> 00:37:33,890 In the case of Acer, I tried to disclose these vulnerabilities, but their disclosure page has a WAF and it's blocking bad payloads. 368 00:37:33,910 --> 00:37:38,570 I'm sending them bad payloads, please accept them so that you can have a look at the detail. 369 00:37:38,570 --> 00:37:42,090 So it made for a frustrating runaround to get that reported. 370 00:37:42,570 --> 00:37:51,190 On a more serious note, there was a research collision here where another researcher, two months after I reported, also reported similar bugs. 371 00:37:51,190 --> 00:38:06,030 In fact, the same original origin bypass, but instead of telling the researcher this has already been reported and worked on, they sent us the email with exactly the same CVE announcement, except when you click on the email, the CVE is credited to me, 372 00:38:06,030 --> 00:38:08,430 effectively stringing this researcher along. 373 00:38:08,630 --> 00:38:10,170 I'm really sorry about that, Mr. 374 00:38:10,170 --> 00:38:18,010 Rue, but what's interesting, if you look at their blog, they have since hacked more Acer's things, which I think is a little bit of a revenge hack and very funny to see. 375 00:38:18,590 --> 00:38:21,870 On the positive side, MSI responded incredibly fast. 376 00:38:21,870 --> 00:38:27,830 Like the communication was clear, they were the first ones to fix their bugs, etc., so that's definitely a win. 377 00:38:28,230 --> 00:38:34,250 From a razor perspective, though, they used a bug bounty program which effectively fronted the security team. 378 00:38:34,330 --> 00:38:46,270 When I reached out trying to talk to someone to talk about this DEF CON talk, the CVE, etc., I couldn't believe how many tickets on an internal system ended up in my mailbox as they sort of pushing this around, who can I talk to? 379 00:38:46,490 --> 00:38:51,910 It unnecessarily delayed the process, I think, and I think the communication could be a little bit better there. 380 00:38:52,590 --> 00:38:55,930 I'm going to leave you with this idea of what I'm going to call the Pwn Triad. 381 00:38:56,070 --> 00:39:10,430 If you find a privileged service that has an RPC mechanism, be it a named pipe, com object, TCP, whatever you think you're having, check if there's an authentication or a validation issue, which there probably is, and you will find a vulnerability. 382 00:39:10,950 --> 00:39:14,110 In fact, this could also just be a recipe for free CVEs. 383 00:39:14,610 --> 00:39:20,890 In conclusion, I think products built in 2025 doing silly RPC things like this is really unnecessary. 384 00:39:21,250 --> 00:39:27,930 In fact, if you think you need that bloatware thing twice, there's probably better resources to get that. 385 00:39:28,310 --> 00:39:35,010 And if you want to go CVE hunting, check what you have installed right now, and just before you uninstall them, maybe you can get a free bug. 386 00:39:35,670 --> 00:39:39,590 For all of these vulnerabilities, there's a bunch of POCs that I put on GitHub. 387 00:39:39,730 --> 00:39:43,730 If you want to play with them, I think there's some more attack surface in many of these tools. 388 00:39:43,830 --> 00:39:47,070 You can get it in this QR code, which should be public after this talk. 389 00:39:47,710 --> 00:39:52,410 That's what I wanted to show you for bloatware hunting, vulnerability hunting. 390 00:39:52,610 --> 00:39:53,350 Thank you.