[00:00.000 --> 00:03.280] All right, so since we're experiencing technical difficulties, [00:03.280 --> 00:07.100] I'm just going to kind of start talking at you guys about what we're talking about. [00:07.100 --> 00:08.440] Could you open up my slides? [00:09.560 --> 00:12.760] And yeah, and you guys are just going to have to deal with that. [00:12.760 --> 00:14.820] Yeah, imagine I will be very descriptive, [00:14.820 --> 00:18.620] but the first part of this is intro, and it's just talking. [00:18.620 --> 00:20.580] So let's start with that. [00:20.580 --> 00:23.540] So hello, everybody. Welcome to Bypass 102. [00:23.580 --> 00:27.080] In this talk, we're going to be covering basic bypass remediation. [00:27.200 --> 00:29.980] So a general prerequisite for this talk is, [00:29.980 --> 00:31.800] I'm hoping that you've seen Bypass 101. [00:31.800 --> 00:36.660] If you haven't, I recommend you watch that later when it is uploaded. [00:36.660 --> 00:39.200] We were on the creator stage earlier for that talk. [00:39.700 --> 00:43.340] Yeah, and then please keep all questions until the end if we have time for questions. [00:43.340 --> 00:46.480] So for those that aren't aware, what bypass is, [00:47.480 --> 00:53.060] is basically ignoring the lock and trying to figure out a way to exploit the door hardware [00:53.520 --> 00:57.940] or the surrounding area in order to gain access into a locked out space. [00:57.940 --> 01:00.280] Here, just let me do that. [01:01.880 --> 01:05.500] So again, this covers basic remediation and retrofits [01:05.500 --> 01:09.580] that will help you secure your facility from these basic bypass methods. [01:09.820 --> 01:14.680] So similar to cybersecurity, physical security vulnerabilities and remediation [01:14.680 --> 01:18.300] is basically an ongoing forever game of cat and mouse. [01:18.300 --> 01:21.740] Every time somebody finds a vulnerability, someone else comes up with a patch. [01:21.740 --> 01:24.160] And then for that patch, someone finds a new vulnerability, [01:24.160 --> 01:26.360] and it repeats over and over again. [01:26.360 --> 01:30.040] You know, that's the cycle of security. Same thing applies for cyber. [01:31.080 --> 01:34.780] So like I mentioned earlier, lock bypass involves ignoring that lock completely [01:34.780 --> 01:39.800] and finding an alternative way to get that door open or avoid using the door altogether. [01:40.120 --> 01:45.280] These bypass methods are very often used in physical security and physical hacking, [01:45.280 --> 01:51.700] and they are generally simple enough to use by anyone with a little bit of know-how. [01:51.700 --> 01:53.260] In case you guys don't have that know-how, [01:53.260 --> 01:54.880] you can come over to our village and check us out, [01:54.880 --> 01:56.120] and we will teach you that know-how, [01:56.120 --> 01:57.840] and you'll see how easy it is. [01:58.280 --> 02:01.940] Now I'm going to talk a little bit about latch-targeted bypasses. [02:02.820 --> 02:06.760] So this applies to all the... [02:06.760 --> 02:09.040] Oh, looks like we have the presentation coming up. [02:09.100 --> 02:14.820] But you'll see in the slide what I mean. [02:14.940 --> 02:23.860] So essentially, this is ways to remediate the bypass, which is called targeting. [02:23.860 --> 02:27.880] So targeting targets a latch that holds the door closed, [02:27.880 --> 02:33.960] and essentially, by targeting it, you're bypassing this dead latch, [02:33.960 --> 02:36.620] which prevents the plunger from moving. [02:37.020 --> 02:40.980] So the best way of bypassing this is to install... [02:40.980 --> 02:44.200] of remediating this is to install the doors properly. [02:52.560 --> 02:56.640] So installing these dead latches, and especially doors properly, [02:56.640 --> 03:01.880] is extremely difficult, especially if your door is, for example, wooden, [03:01.880 --> 03:07.120] or just because they're in order for... [03:07.120 --> 03:10.240] if you guys have watched the Bypass 101 talk, [03:10.240 --> 03:13.020] you guys know that in order for the dead latch to work, [03:13.020 --> 03:15.120] it has to be actuated when the door is closed. [03:15.120 --> 03:18.440] Now the issue is that there are tolerances, right? [03:18.440 --> 03:23.340] So for example, it needs to be installed exactly the correct way [03:23.340 --> 03:33.880] so that when the door is closed, that the dead latch is actuated. [03:33.880 --> 03:38.080] What that means is that also, if you push the door, for example, [03:38.080 --> 03:43.220] it will still be actuated, the door cannot warp, etc. [03:43.420 --> 03:46.020] So there are a couple of different ways... [03:46.020 --> 03:48.580] Uh, give me a second, does all that work? [03:49.840 --> 03:51.160] Ah, there you go. [04:14.860 --> 04:19.040] Okay, so we're trying our best to get the AV working, [04:19.040 --> 04:23.100] but again, the DEF CON Wi-Fi is our best friend in the whole wide world. [04:23.760 --> 04:25.880] So Terry was about to talk about dead latches, [04:25.880 --> 04:29.540] so I'll talk about that until we can figure out how to get this to load. [04:29.540 --> 04:31.660] Can you connect to your hotspot? [04:32.640 --> 04:35.980] Yeah, so basically... go back, please go back. [04:35.980 --> 04:38.840] Can you just disconnect until... [04:39.740 --> 04:42.420] No, connect to his hotspot. [04:43.440 --> 04:45.180] Thanks guys for being patient. [04:45.180 --> 04:48.080] So a dead latch is essentially a security mechanism [04:48.080 --> 04:52.060] that is built into that door-closing hardware [04:52.060 --> 04:56.380] that allows you to stop people from using this exploit. [04:56.380 --> 04:58.620] So for those familiar with Bypass 101, [04:58.620 --> 05:00.900] what we call latch slipping or latch shoving, [05:00.900 --> 05:03.900] it seems a little bit too easy, and it's because it is. [05:03.900 --> 05:08.140] It has this security mechanism that prevents you from being able to do this, [05:08.140 --> 05:12.860] but a lot of the installers of doors and other things in a facility [05:12.860 --> 05:14.100] doesn't really think about that. [05:14.100 --> 05:15.960] They don't care about the security. [05:15.960 --> 05:17.960] They don't know what these features do. [05:17.960 --> 05:23.780] All in all, it means that people aren't keeping that security mindset in place [05:23.780 --> 05:25.760] while they're doing their installations, [05:25.760 --> 05:27.800] and that leads to a lot of vulnerabilities. [05:28.140 --> 05:31.360] So I'm sure you guys have seen the retrofits for this before. [05:31.360 --> 05:33.320] If you've ever walked along a long hallway [05:33.320 --> 05:37.900] and you've seen doors with a big metal plate over that latch, [05:38.400 --> 05:40.680] usually what this is is a retrofit. [05:40.680 --> 05:44.360] So they found that that dead latch isn't working properly, [05:44.360 --> 05:47.800] and so instead of fixing the door, instead of installing it properly, [05:47.800 --> 05:50.340] they're just putting this panel over it and going, [05:50.340 --> 05:52.820] OK, that's good enough. Now they can't latch slip the door. [05:52.820 --> 05:54.840] However, these can still be bypassed. [05:54.840 --> 05:58.400] For example, with this little latch cover, [05:58.400 --> 06:00.760] what people can do is take a little bit of piano wire, [06:00.760 --> 06:01.760] stick it behind the latch, [06:01.760 --> 06:05.420] and open it pretty much the exact same way without much more trouble. [06:05.420 --> 06:06.480] Do we have it? [06:06.720 --> 06:08.580] Yay! Woo! [06:09.280 --> 06:11.500] So if you could full screen that. [06:15.820 --> 06:19.380] How many hackers does it take to play a PowerPoint presentation? [06:22.570 --> 06:24.090] Oh, OK, there we go. [06:24.690 --> 06:27.030] Do we have the... [06:27.030 --> 06:28.890] Just a slideshow, you're fine. [06:32.850 --> 06:37.890] Yay! OK, so we're going to give this a second to load, [06:37.890 --> 06:39.190] and hopefully this video loads. [06:39.190 --> 06:43.050] That'll give us a little demo of how the dead latch works. [06:45.050 --> 06:46.210] There it is. [06:46.310 --> 06:49.010] OK, so like I was mentioning, so there's the latch, [06:49.010 --> 06:51.830] and that little half moon shape there is what's called the dead latch. [06:51.830 --> 06:53.450] And when it's pushed into the door, [06:53.450 --> 06:57.150] it actually prevents the latch from being able to be pushed in, [06:57.150 --> 06:59.170] thus stopping that exploit. [07:01.130 --> 07:04.970] So obviously, the easiest way to prevent people from using this exploit [07:04.970 --> 07:07.190] is just to install your door properly [07:07.190 --> 07:09.870] and make sure that the dead latch is actually being pushed in [07:09.870 --> 07:11.290] when that door is closed. [07:12.130 --> 07:13.850] I already talked about this retrofit, [07:13.850 --> 07:15.710] so we're just going to skip over that. [07:15.710 --> 07:17.610] And again, it can be bypassed. [07:17.610 --> 07:19.790] In fact, usually on red team engagements, [07:19.790 --> 07:21.390] I'm looking out for these kinds of covers [07:21.390 --> 07:24.590] because it means that that latch is vulnerable to an attack. [07:25.610 --> 07:27.310] Oh, cool. [07:27.310 --> 07:29.790] Next, I'm going to be talking about handle-targeted bypass. [07:29.970 --> 07:32.890] So this usually mimics a person on the other side of the door [07:32.890 --> 07:34.330] exiting from the other side [07:34.330 --> 07:38.070] and can be used on lever handles and doorknobs and crash bars. [07:38.070 --> 07:39.350] The easiest way to prevent this... [07:39.350 --> 07:41.290] I'm going to have to go fast. I'm running out of time. [07:41.290 --> 07:43.950] So the easiest way to prevent this is to have a properly sized door [07:43.950 --> 07:45.330] that fits into the door frame [07:45.330 --> 07:49.530] and doesn't leave gap enough for tools to fit in, around, or under. [07:49.970 --> 07:52.150] In addition to that, certain types of lever handles [07:52.150 --> 07:56.030] will make it more difficult to use the under-the-door tool. [07:56.330 --> 07:59.870] A retrofit like this can help reduce the amount of gap underneath your door [07:59.870 --> 08:01.930] and make sure people can't fit tools underneath. [08:02.450 --> 08:04.190] You've probably seen things like this, [08:04.190 --> 08:08.990] which isn't intended to better secure your facility for weatherproofing, [08:08.990 --> 08:11.550] but it can make using those kinds of tools more difficult. [08:11.650 --> 08:15.270] In addition to that, windows next to your door or alongside your door [08:15.270 --> 08:16.830] can make it easier to use these tools, [08:16.830 --> 08:19.750] so cover them up or don't have them at all if not necessary. [08:20.290 --> 08:22.610] Mag locks can also provide additional security, [08:22.610 --> 08:24.630] but again, these can also be bypassed. [08:26.690 --> 08:28.950] So you have deadbolts. This is a deadbolt. [08:29.170 --> 08:34.590] They're different from deadlatches and have a thumb turn on the other side. [08:34.630 --> 08:39.850] The best way of remediating this is to have a double-sided deadbolt. [08:39.850 --> 08:42.390] Basically, you don't have that thumb turn on the other side. [08:42.390 --> 08:46.030] This prevents you from using JTools to bypass it. [08:46.030 --> 08:48.070] If you don't know what JTool is, you can look in our village. [08:48.070 --> 08:51.090] Yeah, and basically, the thing is, in exchange for security, [08:51.090 --> 08:52.610] you are losing a bit of convenience, [08:52.610 --> 08:55.450] but sometimes in certain facilities, it is worth that exchange. [08:56.810 --> 08:59.690] For pushbars, the main thing is don't have holes or gaps in your door. [08:59.690 --> 09:06.210] If possible, use a pushbar with deadlatches to prevent latch-targeted attacks. [09:06.210 --> 09:08.570] There are also retrofits, which you'll see in a bit. [09:08.650 --> 09:11.170] We also have a video. [09:13.790 --> 09:15.870] We had a video. It's no longer there. [09:15.870 --> 09:17.610] We were on a red team engagement. [09:17.610 --> 09:21.350] Basically, someone was able to reach their hand around [09:21.350 --> 09:23.370] and push on the pushbar from the other side. [09:23.370 --> 09:25.570] If you want to see it, you can come by after. [09:25.570 --> 09:26.970] I'll show you the video on my phone. [09:27.430 --> 09:29.210] Oh, yeah, you can see the retrofit here. [09:29.330 --> 09:32.030] They can be bypassed, but it makes it a lot harder. [09:33.490 --> 09:38.170] You can also use bar-guards, again, to further prevent bypasses. [09:38.170 --> 09:39.710] Again, it is possible, but yeah. [09:40.090 --> 09:41.830] Okay, cool. Next is removing hinges. [09:41.930 --> 09:44.510] So, usually, you can take out those little hinge pins [09:44.510 --> 09:46.530] and pull the door off of the frame. [09:46.530 --> 09:48.030] There are special security hinges, [09:48.030 --> 09:49.650] such as these ones called set-screw hinges [09:50.150 --> 09:54.090] and stud-pit hinges that allow you to lock that door, [09:54.090 --> 09:55.610] and even if the hinge pin is taken out, [09:55.610 --> 09:57.650] you can't actually remove the door from the frame. [09:58.310 --> 09:59.830] Button-push combination locks. [09:59.830 --> 10:01.070] So, these are simplex locks. [10:01.070 --> 10:02.890] They use the default combination from the factory, [10:02.890 --> 10:04.970] two and four at the same time, and then the number three. [10:04.970 --> 10:06.470] Change your default combinations. [10:06.770 --> 10:08.190] Other combination locks, as well, [10:08.190 --> 10:09.870] you can easily find these defaults online. [10:09.870 --> 10:11.070] Change your combination! [10:12.830 --> 10:13.270] Enterphones. [10:13.270 --> 10:14.750] Okay, so I'm sure you've seen these before. [10:14.750 --> 10:15.470] These are enterphones. [10:15.470 --> 10:17.590] They're used to let people into apartments in high-rises. [10:17.750 --> 10:19.470] You can call up using that enterphone, [10:19.470 --> 10:20.990] and the resident can push a button on their phone [10:20.990 --> 10:22.230] and allow you access. [10:22.710 --> 10:25.230] There's a master code that comes from the factory [10:25.230 --> 10:27.130] that allows the owner of the building [10:27.130 --> 10:28.130] and the owner of the enterphone [10:28.130 --> 10:29.990] to add entry codes and add residents. [10:30.110 --> 10:31.830] You can find these online from manufacturers. [10:31.830 --> 10:32.870] So, change your combination! [10:34.010 --> 10:36.030] Further to that, these enterphones are key-to-like, [10:36.030 --> 10:38.370] and with these keys, you're actually able to open [10:38.370 --> 10:40.030] all enterphones by that same brand [10:40.030 --> 10:41.730] and get at the electronics. [10:41.970 --> 10:43.290] Guess how you can fix this? [10:43.290 --> 10:44.410] You can change your lock! [10:44.410 --> 10:46.630] Wow, they don't have to be the defaults. [10:46.710 --> 10:47.710] There's also these. [10:47.710 --> 10:49.910] These are security bars and enterphone covers, [10:49.910 --> 10:51.130] and they can be used to prevent people [10:51.130 --> 10:52.810] from being able to force it open, [10:52.810 --> 10:54.910] or even if they have a key for the enterphone, [10:54.910 --> 10:57.370] from opening it and getting at those circuitries inside. [10:57.970 --> 11:00.150] You have request-to-exit sensors. [11:00.150 --> 11:01.990] They're set up so that you can unlock [11:01.990 --> 11:04.250] when you're coming in from the inside of the building. [11:05.170 --> 11:07.970] So, most of them rely on passive infrared. [11:07.970 --> 11:10.350] If someone can trick the sensor into thinking [11:10.350 --> 11:12.250] there's someone inside and exit the building, [11:12.250 --> 11:13.390] they'll allow them access. [11:13.390 --> 11:16.790] What you have is you have sensors [11:16.790 --> 11:19.650] that use both PIR and radar to detect [11:19.650 --> 11:20.870] if someone is coming in. [11:20.870 --> 11:23.170] There used to be a company called Interlogix, [11:23.170 --> 11:25.050] which made a REC sensor. [11:25.050 --> 11:26.090] They no longer exist. [11:26.090 --> 11:28.510] There are other companies in the market, [11:28.510 --> 11:32.050] but they're many thousands of dollars, but they do exist. [11:33.130 --> 11:36.970] For remediation, REC sensors are generally more convenient. [11:36.970 --> 11:38.250] They are less secure. [11:38.250 --> 11:41.110] For more secure areas, there are these REC buttons [11:41.110 --> 11:42.610] that you can use. [11:42.610 --> 11:44.170] Make sure to put them away from doors [11:44.170 --> 11:46.550] so people can't use any sort of wire [11:46.550 --> 11:48.630] to push it from the outside. [11:48.990 --> 11:51.350] As well as that, tap-in, tap-out, of course, [11:51.350 --> 11:54.190] is the most secure way to let people in and out of spaces. [11:54.190 --> 11:55.350] But again, you're trading that convenience [11:55.350 --> 11:56.850] in for that security. [11:57.310 --> 11:58.930] Elevators, so you see elevators... [11:58.930 --> 11:59.690] Two minutes, okay. [11:59.690 --> 12:01.470] We have elevators everywhere in modern buildings. [12:01.470 --> 12:03.830] There's a lot of bypasses that you can get around them. [12:03.830 --> 12:06.130] A lot of elevator locks can be changed out [12:06.130 --> 12:07.770] and don't have to be the default. [12:07.770 --> 12:09.690] This is not true for fire recall switches. [12:09.690 --> 12:11.630] Do not touch your fire recall key switches. [12:11.870 --> 12:13.670] But generally, the best way to prevent people [12:13.670 --> 12:15.350] from hacking your elevators to get into a space [12:15.350 --> 12:17.890] is don't rely on elevator floor lockouts for security. [12:17.890 --> 12:19.830] It's way better to have a little hallway [12:19.830 --> 12:22.290] and then have additional locked doors past that elevator [12:22.290 --> 12:24.270] in order to prevent people from gaining access [12:24.270 --> 12:25.610] when they're not supposed to. [12:25.610 --> 12:27.890] Other remediation, so it's really important [12:27.890 --> 12:30.930] to foster a proper security culture within your company. [12:31.110 --> 12:32.570] Things like tailgating and other methods [12:32.570 --> 12:34.490] of social engineering are often the easiest way [12:34.490 --> 12:36.290] to get into a secure space. [12:36.350 --> 12:37.570] Employees that disallow tailgating [12:37.570 --> 12:39.090] or see people that they don't recognize [12:39.090 --> 12:40.650] and say, hey, who are you, do you work here, [12:40.650 --> 12:42.970] can you prove it, can help stop bad actors. [12:43.030 --> 12:45.490] In addition to that, alarms and sensors are very important. [12:45.490 --> 12:47.110] So they can be used in combination with retrofits [12:47.110 --> 12:48.850] to prevent bypasses and catch people [12:48.850 --> 12:50.470] that are in the middle of using bypasses. [12:50.470 --> 12:52.250] These are imperfect and can be bypassed, [12:52.250 --> 12:53.810] but the main thing is without sensors, [12:53.810 --> 12:55.090] without cameras, without detection, [12:55.090 --> 12:57.270] anyone can get in with sufficient force and time. [12:57.810 --> 12:58.970] Like I mentioned, cameras, [12:58.970 --> 13:00.750] they are part of a complete security plan. [13:00.750 --> 13:02.350] They can deter, enable response, [13:02.350 --> 13:04.630] and minimize risk of insurance claims refusal. [13:04.870 --> 13:06.490] Last of all, timing analysis. [13:06.510 --> 13:09.070] So this is a service that I do work in, [13:09.070 --> 13:11.210] and in combination with your alarms, sensors, cameras, [13:11.210 --> 13:12.550] everything, and your response time [13:12.550 --> 13:14.110] has to all be taken into consideration [13:14.110 --> 13:16.650] in order to get to the bad actor [13:16.650 --> 13:19.510] before they're able to do any harm to your company. [13:19.610 --> 13:21.110] Okay, we've reached the end for the questions. [13:21.110 --> 13:21.970] I'm so sorry, guys. [13:21.970 --> 13:25.410] You're gonna have to play this video at like .5 speed. [13:25.510 --> 13:26.870] If you guys have any questions, [13:26.870 --> 13:29.030] you can come by The Village and come talk to me and Terry. [13:29.030 --> 13:30.670] I'm very sorry for the technical difficulties, [13:30.670 --> 13:31.990] but I hope you guys enjoyed it regardless. [13:31.990 --> 13:32.750] Thank you!