So welcome to the uh Mikasa Tsukasa talk. Um now I've never been good at introducing myself so uh I did what uh any hacker does when presented with a uh with a new problem for the first time. I uh I looked on Google. So uh I searched for presentation icebreakers and uh one of the top results was uh enchant your audience with statistics. Now I'm not gonna subject you lot to a presentation that starts with statistics so instead I'll start with a confession. The last time I was on stage was 20 years ago. I was dressed as a donkey for my elementary school Christmas party. Um and unfortunately for you guys I don't have a picture of the event fortunately for me. Um I'll try and bring the same nervous energy to this. Now hopefully the ice is broken. Um my name is uh Elliot Thompson and I'm a UK based principal security consultant over at SureCloud and I believe I've spelt it wrong. On this slide. Come on. Nope that's the donkey. That's me. So uh yeah so uh that's my my alphabet soup there. So it's OSCP CTL over in the UK. Um as well as uh two CVEs so a uh privilege escalation in uh beyond trust's BOMGA remote support application and a uh browser based remote code execution in the Vtech Android tablet. Um now I'll jump onto the meat of the presentation. So the core assumption that MiCasa relies upon is if you're connected to your own network and browse to 192.168.1.1 then connect to my network and browse to the same IP address as far as your browser's concerned they're exactly the same thing. Um now this alone certainly isn't like a new discovery but we can stack a few other behaviors together and make something exploitable. So digging deeper into the internal IP's thing. So I said that browsers treat them the same no matter what network you're on but what do I actually mean by that? So I'll go through three examples. Uh the first is caching, then cookies, then Javascript. So this is a just a rough example of a sticky captive portal that uh that I built. So normally any pages served by a captive portal are aggressively not cached. The last thing Starbuck's want is for you to keep seeing the captive portal page after you've signed in. Um and when connected to my Starbuck's network I serve a page with the cache control header set to a max age of 1 year. So I can have a whole bunch of so uh when you go home back to your your corporate network um you'll keep seeing that same uh that same captive portal. So that that kind of quickly demonstrates the the caching side of things. Now onto cookies. So the next thing I want to kind of go over is the behavior of cookies in this kind of same situation. So cookies that are set by a login interface on one network are automatically attached to requests for anything accessed through the same URL on a different network. At least until the cookie expires. Um I know to many of you especially on the website that this is like super obvious expected behavior but stick with it the fun stuff is coming. So here we have PFSense running on my home AB12 wireless network. Um the page is hosted on 10.10.10.1. Um and when we log in we see the PHP session ID is expected is kind of stored as expected against the kind of domain 10.10.10.1. So far so standard. Um and then if I then rush out for some junk food um and connect to this fake McDonalds open wifi network um in this case the fake captive portal happens to be on the same IP address as the uh the PFSense machine. So it means the browser sends our PFSense PHP session ID to this totally unrelated captive portal. But so what right? So sure McDonalds now has a session token for my PFSense box on my internal network to actually use that session they need to get inside my network. Um and there's another problem um and it's actually a little bit more complicated than the other problem as well. So we have to contend with how long these cookies are gonna last. So cookies can be set to expire in like a specific set amount of time um or at the end of a session. Um and the definition of kind of session um varies between browsers. It gets a bit fuzzy. So Chrome, Chrome um when you close the the browser and all kind of profiles that you've got open um that's when the session kind of ends. Um for IE it's the same kind of without the profiles thing you have to close all the windows down um and then the kind of sessions are, sessions are cleared. For Firefox it removes the cookie as soon as the tab is closed. Um and when I tested it on on Android the flag was just completely ignored. It was just kept for as long as they needed it. Um so the window of a cookie being available um is either gonna be the date specified um in the expires flag or kind of when the session ends or when the browser closes. Um and on the subject of browsers being closed. So these days it's fairly common to leave browsers open for a long period of time especially if you've got like a laptop. Um and in fact if uh if any of you have seen these arrows in Chrome like feel shame. Like the the green one is uh Chrome has like needed an update um for two days and you just left it. Not uh not uh uh updating it. Not closing Chrome. Uh and red is like a week. You've left Chrome needing an update for a week without restarting it. Um so it's safe to say like I'm sure some of you have probably seen this. Um so I'm gonna go ahead and I'm gonna go ahead and probably see at least one of these arrows. Um but it's safe to say that uh browsers that require the entire process to be stopped um we can rely on users not closing their browsers uh meaning the kind of the expires session cookies um are kind of fair game. Um as well as any cookies with either no expiration or some expiration kind of far in the future. Um but of course we're still limited by anything expiring server side as well. Now onto the the last of the three browser behaviors. Here we go. Um in the preview we can see that browser behavior is the same as in the previous cookie example. We first started on my safe home network um and then logged into PF uh so we started on the first safe home network, logged into PFSense and then ran to McDonalds and joined the unsafe network. But what if we reversed the order? So if instead the victim starts somewhere unsafe and then connects back to their own secure network. Um could something um be left behind? And the answer is yes. I wouldn't be standing here if the answer was no. Uh so instead of just serving the McDonalds captive portal on 10.10.10.1 let's hide some Javascript on the page. Now I totally accept this is some hideous Javascript I just tried to collect as many deprecated functions as I could. Um and line 2 so I'll go through that I'll go through the important lines. So line 2 um just gets the CSRF token from PFSense on the new open VPN client page. Line 5 pulls the token out. Again it's horrific I'm sorry I've done it this way. I've apologized to any of you that deal with Javascript. Um and lines 8 and 10 just build a uh a malicious post request and then submit it to PFSense along with the CSRF token. Um and all the post request just does something really simple it just creates an additional open VPN user. So here we are so now we're connected to the McDonalds free wifi connection uh McDonalds free wifi network and in the background our page has loaded that malicious uh Javascript and it's cached for a year. Um and then we can see that it's the same code we used to use to save the password from the um and that JavaScript will be continuously running uh while they're on this captive portal network and that PFSense request that kind of get to the open VPN stuff to grab the CSRF token that will be continuously failing um until they go back home again. So then when they try and log into their PFSense web admin web admin interface they'll instead see the McDonald's captive portal page and probably think huh that's weird um hit refresh and they're back into their kind of standard dashboard dashboard um but by this point it's already too late. That malicious script has executed and we have a a new VPN user added into it. So as the attacker we can connect straight into their internal network without ever having to have connected without ever having to have connected in the first place. Um but and of course if if we actually check the VPN configuration we can see all the malicious changes so uh I just want to stress it's not a vulnerability in PFSense this was just an example I chose um we're just using interface through JavaScript. Um the attack will work against just about any interface. Anything you access over IP address at least. So that goes over the the three browser behaviors that we're gonna look at. So caching, cookies and JavaScript. Um they're all shared between devices accessed through internal um RFC 1918 IP addresses. Um and the reason behind it is pretty simple. Browsers aren't really aware that the network you run has changed the network has changed. So it totally makes sense. For origins like google.com or vk.com or whatever um they only really exist once. Um so browsers that use those differentiate they use the kind of the the domain um to differentiate between uh things like caching, cookies and like just resources in general that's what they use to differentiate them. Um there are a couple of exceptions like um cookies being scoped exclusively to uh certain pages or paths or specifically to HTTPS connections like with a secure flag. Um but anyway on to the second major component. So Karma. So when writing this presentation um I remember the Karma attack as being like a super recent thing that wouldn't need any kind of explanation or introduction. Um but after checking my definition of recent made me feel so old. So 15 years ago uh Dino Dozovi and Sean McCauley found that you can effectively coerce uh wifi devices to connect to networks that you control without user interaction. So how does the Karma attack actually work? Um so when you connect to a network um and allow automatic reconnection to it um whenever your device is not connected to that network um it'll send up probe requests asking if any of those networks are nearby. Um if one of those networks is nearby the access point will send a response saying that's me um and start initiating the connection. Um and Dino and Sean found that you can boot someone off their you can trivially boot someone off their own wireless network um with a deauthentication frame um and then respond to those probe requests asking for uh that connection and then they send a message that's a asking for kind of network access um as yeah sure I'm starbucks underscore wifi that sounds about right connect to me. Um it's worth noting that it only works on open networks so since encrypted ones require um the pre-shared key to be known by both sides. So I'll quickly do the uh a quick a quick go through. So this is what the camera attack lets us do. It lets us pull someone off their secure network and temporarily bring them to our dangerous network. So in this illustration we have uh two separate networks with all clients connected happily. We send the de-authentication frame um a spoofed de-authentication frame effectively telling it uh effectively telling the client that hey router says uh right now you need to disconnect. And then the and then the client dutifully just does as it's told and disconnects. Once the client's disconnected um it starts searching for networks um anything that it remembers um but that searching involves shouting the names of all the networks it's previously connected to. I'm hoping that one of them will respond. So we respond to all of them. So if you're looking for starbucks one underscore wifi yeah sure that's me. Um you mean Hilton guest yeah me too. Um as long as those uh remembered wireless networks didn't require a PSK or a certificate or whatever. Um but now the target now the target's on our network thinking it's on on starbucks wifi or whatever. Um but how does that look to the to the end user? So it isn't super obvious isn't it super obviously you've disconnected and reconnected um in most places you'll have like a couple of seconds of like the connecting animation um followed by the connected sign again. Um and if someone clicked on the wireless icon yeah sure they'd they'd see that they're now on starbucks underscore wifi um despite being in their corporate office. But uh most of the time there's nothing that's gonna be plainly obvious for them to see. Here we go. Um one sec. Okay but now that that's the target is connected to our network um we can poison um we can poison the cache um and display whatever pages we want. Um but that's not particularly useful to us um while they're connected to our network. Um anything I drop down can only be used to attack me and I don't want them attacking me. I can do that already. Um but before moving on I just want to stress that obviously I had no part of discovering uh karma that was Dino and Sean um I was a probably a teenager at the time. Um but on to the next bit. So at the start of the target we're going to um I demonstrated that we can add javascript onto uh internal IP pages um that uses um inter onto um internal IP pages if users connect to our network. And we demonstrated we can use karma to pull you to pull victims onto our network. Or pull targets onto our network. They're only victims once they connect. Um while they're connected to the network we can poison anything we want. But none of that matters until they're back on their original network again. So like a rescued animal we want to release them back to the network. Um back into their home. Although unlike a rescued animal we'll be sending them back with more parasites. Um and this is by far the kind of the simplest part of the exploitation chain. Um though it is still absolutely critical. So all we need to do is boot them off our malicious network um and hopefully they'll automatically find their way home. So booting them off our initial fake network um is super easy. We can just disconnect ourselves. Um and the device will the poor device will get confused. They'll start looking for it's known networks um and this time we shut the hell up. And the target's back home again. Along with our javascript payload running um and we can attack their router or whatever it is that uh that we've poisoned earlier. And to the target this looks exactly the same as it did before. A slight kind of brief moment of kind of connecting um and no internet access followed by connected back to the home network again. So so in summary so far um we can use the karma attack um or just wait and pull someone to a fake captive portal. Um poison a particular IP address domain or RFC 1918 um domain with javascript. Then have the target go back to their own network allowing the javascript to execute in the context of whatever internal network device that we just poisoned. Um but we're not done just yet. So now we reach the the final and kind of most complex component. Um we're not done just yet. Um we're just starting with the component which is the the automation side of things. Now this component uh exists purely to solve two specific problems with the chain of exploits so far. So the first problem is we need to know the IP address of the system that we're targeting. Um and the second problem is we need to know the HTML slash DOM structure um of whatever it is we're targeting. Um but we can we can overcome both of these. So starting with starting with the the IP addresses issue. Um we can uh switch from our kind of one shot sniper method um and go thermonuclear. So RFC 1918 defines um all internal IP addresses um and in in total there are roughly uh 17 17 million um across these three ranges. Cool, so let's hit them all. Let's try and poison 17 million IP addresses um as quick as we can. Um and no surprises that that that does not work. So then I'm going to knock on the door of a portal. Uh for us I'm going to not go well. Um I tried to uh but uh yeah every single browser you try to submit 17 million requests for immediately um just doesn't doesn't go well. Um but that's that's a surprise to no one. But realistically we don't really need um to poison every single one of the 17 million addresses. Um so techspot.com um and a few other sites listed a ton a ton of uh common default router and uh firewall and switch IP addresses. So let's let's start with those guys. So the IPs have been helpfully separated by by vendor but we don't really care. So instead we just want the unique IPs. So I started with a list of about 500 default IPs um across various different sources and various different websites um of which 54 were unique um and 53 had the right number of octets um which sounds like a more reasonable starting point. So these were the the most common 53 default device IP addresses um which is a good a good starting point. Now if you guys look closely um can someone spot something which doesn't belong here and just shout it out? Yeah there we go so there's one there's one in here at the uh the bottom right which starts with 200. So 200.200.200.500. So when I when I first saw a list um I immediately thought ah it's just a typo. It's clearly just a typo. No one would really do that right? Um so but then before before just deleting it from the list um I thought maybe maybe I should check. Uh yeah now it turns out yeah Trendnet released the device a good few years ago that uh the TEW432BRP which used those uh .200 IP addresses um in it's management interface um and I checked the IP address myself um to see if it was like a a range that was defined for like documentation or something kind of uh something unusual that I hadn't seen before. Um but uh no it was a Brazilian ISP. So uh this uh the Trendnet are just handing out public IPs um for this Brazilian ISP to their um to their internal network devices. Um it gets better too. So it's not just that one management interface. There's like 200 um DHCP addresses or 100 DHCP addresses um that are owned by this Brazilian ISP that are just being handed out to internal Trendnet devices. Um my favorite thing about Trendnet is that it's like the V3 of the Trendnet device. Like the V4 had it as well. Like they this was a mistake they made twice. Um but Shodan showed that there were there were multiple devices that were uh that were happily listening on uh on the address. Um as an alternative um as an alternative interface. Um although I didn't get any responses from the real uh the real IP address unfortunately. But moving on. So now we have a list now we have a list of devices that we can use. We have a list of 53 uh 52 uh RFC 1918 IP addresses. Um and it was interesting to see there weren't any common defaults in the 172.16 range. Um but just to make sure they all get loaded into the into the browser cache. The first task was to create some sort of page kind of orchestration layer which uh submits a request to all of our 52 targets. Um and a few line of a few lines of terrible JavaScript and we're ready to go. So all this does is iterate through like a fixed list um. And send HTTP requests. Um it's not pretty. Um but it was quick. Um and it can also we can just add uh add additional stuff to the list at uh pardon me at any point. So we can add kind of all of uh 192.168 um like the slash 24 of dot 1 or the slash 24 of dot 0. Whatever's the most common in the particular engagement. But cool. Now we're submitting requests to all of these IP addresses. Um but we still need a way to provide HTTP responses for them all. Now if we were just doing DNS hijacking um that would be super easy. All we'd need to do would be to provide a DNS server through DHCP and then like submit like send anything through to a particular IP address that we controlled. Um there are modules and there are things that exist to to do that. But we can't do that with RFC 19 uh 1918 IP addresses. Um since we expect them to not require DNS. But the simplest option rather than sending specific routes through DHCP um was just to use IP tables. So we can do this with like a single IP address. Um but if we just to quickly break down how this works. Um so I've got a server running on 172.16.214.1. Um that's the first time I've said that right first time. Um and any client that gets pulled onto my network gets assigned a DHCP address in that same slash 24 range. Um and the only reason that was chosen was because it seemed as far from um as far from one of the defaults as possible. So this IP tables rule effectively says anyone using this gateway so anyone who's joined my network um that attempts to connect to one of my network's IP addresses. Um so uh 1 and 2 1 6 8 slash 16 or 10 slash 8. Translate that to the server's gateway IP address um where we've got a an Apache server or an Nginx server listening. Uh so anything we host on that 172 IP kind of our server IP address or our gateway IP address is going to be um uh kind of responding directly to any requests to those RFC 19 IP or our default IP addresses. Um but now that we've got our orchestrator payload done um that submits uh so we're now got our orchestrator payload which submits all the requests to the internal IPs and we have now an ability to respond to them all. But at the moment we're just providing the Apache um it works 50 times. So we that's no fun. Um but before I get onto the the actual payload um I'll quickly mention a fun optimization technique that uh you all like almost all of you probably already know about but I found it really interesting at the time. Which was if you go to say google dot com um and their page imports a piece of javascript from say the cloud flair cdn um then you go to a totally different uh website like linkedin if linkedin imports the same script from the same cdn your browser doesn't need to make a request for it um it will just load it locally from its own cache. So instead of us having 10,000 lines of javascript sent 50 times we can send it once, cache it um and then have all the other pages look at that particular cache. Um so the number of requests that um that we're sending won't change, well we're the number of responses that we're sending won't change. Um but the data goes from megabytes to kilobytes. Um which is what we need to kind of help get uh get increased from 50 to anything more than that. So anyway that's the optimization onto the actual payload. So at the current stage with what we've been through so far I need to create a payload for every different device that we want that I want to target. Um and now targeting projects like PFSense um that's fairly easy since uh we can just download a copy and uh and build our own payloads. Um similarly router interfaces they're they're pretty easy too. Um if we can just buy one of the routers off eBay. Um but there are plenty of devices that uh that we're not gonna be able to have this level of access to. So instead of building a million different payloads for a million different devices I needed a way of writing a single piece of JavaScript that was useful no matter what context it was running under. Something that could be used to attack any device in any state. So , the first step was relatively easy. Um if the root page looks like a login interface the next step is pretty easy. Like try and login. Um and detecting login pages um thankfully isn't hugely difficult. So there are definitely plenty of options when it comes to detecting login interfaces. Um but most of them aren't gonna be super reliable. Um so let's let's kind of rule them out uh one by one. So firstly the obvious stuff uh the contents of things like titles, paragraphs, and divs that are expected to change based on the device itself. Um and then we can we can rule we can rule those out. Um but that's that's the first step. The next is the the form action. So credentials could be getting sent to to any any URL um or it might not be in the standard location. It might not be the form action um at all. Um and same with the various names of the inputs. Um they could be something specific to the device or it might be in just in a different language. But uh but now we're narrowing it down. So with the input elements themselves um the type values are going to be the same as the type values of the device itself. So the type values is part of the HTML spec um and is unlikely to be uh unlikely to be custom. But we don't know whether the interface is gonna be asking for a username um or whether the submit button is handled elsewhere or you just hit enter or whatever. Um it could be missing like like I say it could be missing entirely. But we can expect in 99% of cases for there to be an input somewhere of the type password if it's a login interface. So now we have our first check. Um which effectively fits in our if statement. So if it's a login page um what we want to do we want to login. Um and we don't necessarily have uh have credentials um or we might not necessarily know credentials but we can just throw like a brute force it's on the inside of someone's network. We might be able to just login with brute force or it might be already authenticated if um there's already a session that's active. But uh but what do we do if the target device either doesn't require authentication, it's already logged in um or if the brute force attempt somehow succeeds? Um we can't do anything. Um now this is where it gets a bit tricky. Um so if we see a router we might want to add um like we did before with a v- add a VPN connection. Um or extract or change the PSK. If we see a firewall we might want to punch a specific rule through. Um or if we see a CCTV camera we might we might want to just turn it off entirely. But the answer? We can send the logged in interfaces to an offsite um neural network trained to identify the most strategically relevant stair- next steps when confronted by any uh any device interface. Um and by that I mean send it to you, the human. Um and that was stolen from XKCD. Um so welcome to the most bizarre stock image I've ever paid real money for. Um now grabbing the uh the authenticated device pages isn't trivial um but thanks to the BeefJS project um all the hard work has already been done. Um so it was it was surprisingly easy if you ignore the ridiculously hard work that has been put into the BeefJS project. So to quickly ex- to quickly explain uh that particular project. Um it was designed as an XS uh cross set scripting um exploitation framework by Wade Alcorn. Um so the idea being if you found um like a stored cross set scripting vulnerability on a page you can build a payload which includes the Beef JavaScript hook. Um then anyone connecting to that page with the hook loaded um effectively gets the script running in their user context um on their machine. With their session hooked as well. Um along with features like Metasploit module integration um and integrated browser exploitation that kind of stuff. Um it's fantastic piece of kit. Um but the killer feature we want to use um is the ability to tunnel our requests through JavaScript running on the target's browser. So within the context of whatever interesting device that we're targeting um when they're connected back to their own network. And this means that uh when one of our poisoned pages is active. We get a callback that we can uh we can tunnel straight to the device uh through the HTTP proxy through um through BeefJet JS. So to clarify the Jiavescript tunnel itself runs over the runs over the internet. Um so we as an attacker we don't see um we don't necessarily need to be on the inside of their network to do this. Um but enough enough diagrams. Um I'm gonna try and uh see if you can sort of get a video results of me frantically trying to get this working. Um I'm going to try and uh get uh get a video result of me trying to get this working uh um like an hour before the deadline to send it to Nikita. So I will try and get this on screen. I lit- I taped- I- I taped my notes over the touchpad on the laptop so this is the most awkward thing. Here we go can I full screen this? Yeah cool. So here we see the victim device on the right um and then two um two laptops performing the attack on the left. So the the one on the far left um is performing the me- the kind of the deauthentication and the poisoning um and the one in the middle is just the uh the like it's it's easier to show two screens at once and that's the uh the beef hook effectively. So here they are browsing uh a still uh still http msn.com and then we do deauthentication and then we do the so then we we boot them off the the home network while they're while they're browsing Game of Thrones. I think I spent too long scrolling through this but you're we're on the journey now you're all in it with me. So after a couple of seconds they should be getting disconnected from uh from their home network um and then this is this is the karma stuff this is this is just the default karma getting pulled onto my network. So there they are disconnected from their home network um and then it should already be connected to the the fake network um and then the mcdonald's wifi stuff that's uh that's getting automatically responded to. Again it it's just karma. So far it's just karma. As they're loading pages. So now the I think after a page refresh the beef.js hook should be in um so it's not the beef.js hook itself that I'm loading in it's a that that orchestration javascript which is loading uh 52 separate beef hooks on those various different router IP addresses. So if there are session cookies it that it's hooked into that but uh as far as the user's concerned they're just seeing whatever unencrypted page that they're already on. There we go so we've got the the beef hook there against uh the particular router IP address. So this is the the fritzbox login uh the fritzbox router interface. So in beef you just like right click and set like kind of use as proxy. This is like 3 in the morning. So forgive me for this not being uh the most kind of uh the most kind of uh nicely cut together thing. So as they're browsing through hopefully a a a long article to give you as long as possible to uh to interact with their stuff. They've been sent back to their home network again. So now they're back home with that javascript running on that page or any pages that were unencrypted that were opened. And now if we go to so this net this laptop again is completely did not on their network at all but it's proxied through that javascript running on the MSN page. I hope it works. I think it worked pretty well. So I'm gonna go back to my laptop at the time. There we go. So that that's their internal router um login interface over the internet through javascript. Um I mean it's all thanks to beef but uh it's it meant we can now kind of uh we can change the PSK we can do whatever we want on their internal interface. But my uh so there are things that it won't work on like if there's a uh if there's a uh uh if there's a password or whatever on the device but um I tried it on a on a on an engagement um fairly recently um and managed to access um the data center um fire suppression and HVAC system. Um it wasn't quite fully authenticated but the guest account did have uh right access to everything. Get back into the presentation. So I'm gonna go back to the screen. Full screen. There we are. So that's the that was the the video. Now so this is the the project itself. So at the moment it's uh I've uh by the end of DEFCON it'll be uh it'll be open public. At the moment it's a combination of bash scripts and apologies. So uh I'm hoping in the next week or two it should be kind of a nice relatively seamless piece of Python but uh at the moment yeah bash scripts, apologies, I'm sorry. Um one more sorry to add to the pile that are already there. Um just on a another separate quick note um something that was kind of funny. Um during this I found that uh so each of the different browsers if you've got say say for example you've got a a router log in interface one and two once or whatever. Um you've got your username and password stored um like remembered in um Chrome or IE or Firefox. Um so in Firefox and IE when I when I tested it to use the stored credentials you needed to click from the drop down and select your username and then it would populate the fields and then it would be available in JavaScript and DOM. With Chrome and Chromium it was automatically populated but you needed to interact with the page in some way. So if you like kind of left clicked anywhere on the page um then the the credentials would be available in DOM. Um so you could like there was a a demo that I did in the last couple of weeks where I did a demo that I did a demonstration where you could uh have like a a captive portal that stole the credentials that the the inputs didn't need to be visible they could be kind of hidden away in CSS or whatever so you couldn't see them. Um on Firefox you needed to click on it if they weren't there you couldn't click on it so you couldn't use it. But on on Chrome you could you could uh just as long as they clicked somewhere on the page um then you'd have them um have the credentials that you could replay back again. Um so I submitted it to the uh the Chromium project um and the we got a kind of it was a back and forth and then the kind of the overall consensus was uh it was a yeah it's it's a usability um that kind of the the idea is it's meant to kind of make it easier for people to kind of log into stuff rather than clicking and clicking on drop downs and completely agree with them like love the guys over there. Um but then they fixed it like uh so hm so uh but I I guess it was just like an unrelated thing so it was fixed like months and months later. But anyway on to on to fixing it uh generally. So uh we've seen that can it can be realistically exploited but how can we defend against it? So the method that works best in enterprise environments um is accessing devices through DNS names um configuring trusted certificates. The standard stuff that we do in enterprise anyway. Um but most importantly disabling the HTTP interfaces um especially if those interfaces work over like direct IP address. Like if you can connect over IP address directly then it's worth disabling them. Especially for the the weird and wonderful like uh uh kind of like the SCADA I say SCADA like especially like the the weird and wonderful uh random stuff that's on the network. Um and for home users and uh and residential vendors um simply disabling the HTTP interface entirely and um having only HTTPS listing um it should be enough to stop the attack working on a mass scale um since no one is clicking through or I hope no one's clicking through uh 50 separate certificate warnings on the same page. Um but it still means it would be possible to target a specific a specific device um but it defangs the attack significantly. Um another potential um is the the wider adoption of IPv6. Um since there are so many more addresses in IPv6 um local addresses don't necessarily need to be shared between um between networks um and NAT isn't really, well NAT doesn't really exist in it. So uh but if if vendors still use like a common set of defaults um instead of using kind of unique ones um then the attack could potentially still be viable. Uh the final one is WPAv3. So based on the spec um and what a kind of a few other people have been through um so far the karma attack still looks to be technically possible um so protected management frames um are enabled by by default so you can't trivially boot someone off their own network. Um but there's still the potential um as far as I can see for kind of the just the good old fashioned signal to noise ratio um jamming. Um and as far as I understand the spec open networks are still a thing so keys are generated and negotiated so there's no kind of unencrypted communications um but there's no uh trust on first use mechanism so uh it's still it might still be possible to uh if if for example you connect to mcdonalds underscore wifi and connect to a different mcdonalds underscore wifi there's nothing there saying this isn't the same network that you've seen before. Uh but it's largely conjecture anyway like I don't have any WPA3 devices um and this is this is based off like other people going through blog posts uh other people going through the spec um and me reading their blog posts. So it roughly makes sense. Uh and the other thing that brings us to uh towards the the end of the adventure um I think we have uh a few minutes left on the clock so uh if there are any questions.