1 00:00:00,000 --> 00:00:07,100 All right, so since we're experiencing technical difficulties, I'm just going to kind of start talking at you guys about what we're talking about. 2 00:00:07,100 --> 00:00:08,440 Could you open up my slides? 3 00:00:09,560 --> 00:00:12,760 And yeah, and you guys are just going to have to deal with that. 4 00:00:12,760 --> 00:00:18,620 Yeah, imagine I will be very descriptive, but the first part of this is intro, and it's just talking. 5 00:00:18,620 --> 00:00:20,580 So let's start with that. 6 00:00:20,580 --> 00:00:22,060 So hello, everybody. 7 00:00:22,060 --> 00:00:23,540 Welcome to Bypass 102. 8 00:00:23,580 --> 00:00:27,080 In this talk, we're going to be covering basic bypass remediation. 9 00:00:27,200 --> 00:00:31,800 So a general prerequisite for this talk is, I'm hoping that you've seen Bypass 101. 10 00:00:31,800 --> 00:00:36,660 If you haven't, I recommend you watch that later when it is uploaded. 11 00:00:36,660 --> 00:00:39,200 We were on the creator stage earlier for that talk. 12 00:00:39,700 --> 00:00:43,340 Yeah, and then please keep all questions until the end if we have time for questions. 13 00:00:43,340 --> 00:00:57,940 So for those that aren't aware, what bypass is, is basically ignoring the lock and trying to figure out a way to exploit the door hardware or the surrounding area in order to gain access into a locked out space. 14 00:00:57,940 --> 00:01:00,280 Here, just let me do that. 15 00:01:01,880 --> 00:01:09,580 So again, this covers basic remediation and retrofits that will help you secure your facility from these basic bypass methods. 16 00:01:09,820 --> 00:01:18,300 So similar to cybersecurity, physical security vulnerabilities and remediation is basically an ongoing forever game of cat and mouse. 17 00:01:18,300 --> 00:01:21,740 Every time somebody finds a vulnerability, someone else comes up with a patch. 18 00:01:21,740 --> 00:01:26,360 And then for that patch, someone finds a new vulnerability, and it repeats over and over again. 19 00:01:26,360 --> 00:01:27,920 You know, that's the cycle of security. 20 00:01:27,920 --> 00:01:30,040 Same thing applies for cyber. 21 00:01:31,080 --> 00:01:39,800 So like I mentioned earlier, lock bypass involves ignoring that lock completely and finding an alternative way to get that door open or avoid using the door altogether. 22 00:01:40,120 --> 00:01:51,700 These bypass methods are very often used in physical security and physical hacking, and they are generally simple enough to use by anyone with a little bit of know-how. 23 00:01:51,700 --> 00:01:57,840 In case you guys don't have that know-how, you can come over to our village and check us out, and we will teach you that know-how, and you'll see how easy it is. 24 00:01:58,280 --> 00:02:01,940 Now I'm going to talk a little bit about latch-targeted bypasses. 25 00:02:02,820 --> 00:02:06,760 So this applies to all the... 26 00:02:06,760 --> 00:02:09,040 Oh, looks like we have the presentation coming up. 27 00:02:09,100 --> 00:02:14,820 But you'll see in the slide what I mean. 28 00:02:14,940 --> 00:02:23,860 So essentially, this is ways to remediate the bypass, which is called targeting. 29 00:02:23,860 --> 00:02:36,620 So targeting targets a latch that holds the door closed, and essentially, by targeting it, you're bypassing this dead latch, which prevents the plunger from moving. 30 00:02:37,020 --> 00:02:40,980 So the best way of bypassing this is to install... 31 00:02:40,980 --> 00:02:44,200 of remediating this is to install the doors properly. 32 00:02:52,560 --> 00:03:07,120 So installing these dead latches, and especially doors properly, is extremely difficult, especially if your door is, for example, wooden, or just because they're in order for... 33 00:03:07,120 --> 00:03:15,120 if you guys have watched the Bypass 101 talk, you guys know that in order for the dead latch to work, it has to be actuated when the door is closed. 34 00:03:15,120 --> 00:03:18,440 Now the issue is that there are tolerances, right? 35 00:03:18,440 --> 00:03:33,880 So for example, it needs to be installed exactly the correct way so that when the door is closed, that the dead latch is actuated. 36 00:03:33,880 --> 00:03:43,220 What that means is that also, if you push the door, for example, it will still be actuated, the door cannot warp, etc. 37 00:03:43,420 --> 00:03:46,020 So there are a couple of different ways... 38 00:03:46,020 --> 00:03:48,580 Uh, give me a second, does all that work? 39 00:03:49,840 --> 00:03:51,160 Ah, there you go. 40 00:04:14,860 --> 00:04:23,100 Okay, so we're trying our best to get the AV working, but again, the DEF CON Wi-Fi is our best friend in the whole wide world. 41 00:04:23,760 --> 00:04:29,540 So Terry was about to talk about dead latches, so I'll talk about that until we can figure out how to get this to load. 42 00:04:29,540 --> 00:04:31,660 Can you connect to your hotspot? 43 00:04:32,640 --> 00:04:35,980 Yeah, so basically... go back, please go back. 44 00:04:35,980 --> 00:04:38,840 Can you just disconnect until... 45 00:04:39,740 --> 00:04:42,420 No, connect to his hotspot. 46 00:04:43,440 --> 00:04:45,180 Thanks guys for being patient. 47 00:04:45,180 --> 00:04:56,380 So a dead latch is essentially a security mechanism that is built into that door-closing hardware that allows you to stop people from using this exploit. 48 00:04:56,380 --> 00:05:03,900 So for those familiar with Bypass 101, what we call latch slipping or latch shoving, it seems a little bit too easy, and it's because it is. 49 00:05:03,900 --> 00:05:14,100 It has this security mechanism that prevents you from being able to do this, but a lot of the installers of doors and other things in a facility doesn't really think about that. 50 00:05:14,100 --> 00:05:15,960 They don't care about the security. 51 00:05:15,960 --> 00:05:17,960 They don't know what these features do. 52 00:05:17,960 --> 00:05:27,800 All in all, it means that people aren't keeping that security mindset in place while they're doing their installations, and that leads to a lot of vulnerabilities. 53 00:05:28,140 --> 00:05:31,360 So I'm sure you guys have seen the retrofits for this before. 54 00:05:31,360 --> 00:05:40,680 If you've ever walked along a long hallway and you've seen doors with a big metal plate over that latch, usually what this is is a retrofit. 55 00:05:40,680 --> 00:05:51,220 So they found that that dead latch isn't working properly, and so instead of fixing the door, instead of installing it properly, they're just putting this panel over it and going, OK, that's good enough. 56 00:05:51,220 --> 00:05:52,820 Now they can't latch slip the door. 57 00:05:52,820 --> 00:05:54,840 However, these can still be bypassed. 58 00:05:54,840 --> 00:06:05,420 For example, with this little latch cover, what people can do is take a little bit of piano wire, stick it behind the latch, and open it pretty much the exact same way without much more trouble. 59 00:06:05,420 --> 00:06:06,480 Do we have it? 60 00:06:06,720 --> 00:06:07,600 Yay! 61 00:06:07,980 --> 00:06:08,580 Woo! 62 00:06:09,280 --> 00:06:11,500 So if you could full screen that. 63 00:06:15,820 --> 00:06:19,380 How many hackers does it take to play a PowerPoint presentation? 64 00:06:22,570 --> 00:06:24,090 Oh, OK, there we go. 65 00:06:24,690 --> 00:06:27,030 Do we have the... 66 00:06:27,030 --> 00:06:28,890 Just a slideshow, you're fine. 67 00:06:32,850 --> 00:06:33,730 Yay! 68 00:06:34,090 --> 00:06:39,190 OK, so we're going to give this a second to load, and hopefully this video loads. 69 00:06:39,190 --> 00:06:43,050 That'll give us a little demo of how the dead latch works. 70 00:06:45,050 --> 00:06:46,210 There it is. 71 00:06:46,310 --> 00:06:51,830 OK, so like I was mentioning, so there's the latch, and that little half moon shape there is what's called the dead latch. 72 00:06:51,830 --> 00:06:59,170 And when it's pushed into the door, it actually prevents the latch from being able to be pushed in, thus stopping that exploit. 73 00:07:01,130 --> 00:07:11,290 So obviously, the easiest way to prevent people from using this exploit is just to install your door properly and make sure that the dead latch is actually being pushed in when that door is closed. 74 00:07:12,130 --> 00:07:15,710 I already talked about this retrofit, so we're just going to skip over that. 75 00:07:15,710 --> 00:07:17,610 And again, it can be bypassed. 76 00:07:17,610 --> 00:07:24,590 In fact, usually on red team engagements, I'm looking out for these kinds of covers because it means that that latch is vulnerable to an attack. 77 00:07:25,610 --> 00:07:27,310 Oh, cool. 78 00:07:27,310 --> 00:07:29,790 Next, I'm going to be talking about handle-targeted bypass. 79 00:07:29,970 --> 00:07:38,070 So this usually mimics a person on the other side of the door exiting from the other side and can be used on lever handles and doorknobs and crash bars. 80 00:07:38,070 --> 00:07:39,350 The easiest way to prevent this... 81 00:07:39,350 --> 00:07:40,310 I'm going to have to go fast. 82 00:07:40,310 --> 00:07:41,290 I'm running out of time. 83 00:07:41,290 --> 00:07:49,530 So the easiest way to prevent this is to have a properly sized door that fits into the door frame and doesn't leave gap enough for tools to fit in, around, or under. 84 00:07:49,970 --> 00:07:56,030 In addition to that, certain types of lever handles will make it more difficult to use the under-the-door tool. 85 00:07:56,330 --> 00:08:01,930 A retrofit like this can help reduce the amount of gap underneath your door and make sure people can't fit tools underneath. 86 00:08:02,450 --> 00:08:11,550 You've probably seen things like this, which isn't intended to better secure your facility for weatherproofing, but it can make using those kinds of tools more difficult. 87 00:08:11,650 --> 00:08:19,750 In addition to that, windows next to your door or alongside your door can make it easier to use these tools, so cover them up or don't have them at all if not necessary. 88 00:08:20,290 --> 00:08:24,630 Mag locks can also provide additional security, but again, these can also be bypassed. 89 00:08:26,690 --> 00:08:27,990 So you have deadbolts. 90 00:08:27,990 --> 00:08:28,950 This is a deadbolt. 91 00:08:29,170 --> 00:08:34,590 They're different from deadlatches and have a thumb turn on the other side. 92 00:08:34,630 --> 00:08:39,850 The best way of remediating this is to have a double-sided deadbolt. 93 00:08:39,850 --> 00:08:42,390 Basically, you don't have that thumb turn on the other side. 94 00:08:42,390 --> 00:08:46,030 This prevents you from using JTools to bypass it. 95 00:08:46,030 --> 00:08:48,070 If you don't know what JTool is, you can look in our village. 96 00:08:48,070 --> 00:08:55,450 Yeah, and basically, the thing is, in exchange for security, you are losing a bit of convenience, but sometimes in certain facilities, it is worth that exchange. 97 00:08:56,810 --> 00:08:59,690 For pushbars, the main thing is don't have holes or gaps in your door. 98 00:08:59,690 --> 00:09:06,210 If possible, use a pushbar with deadlatches to prevent latch-targeted attacks. 99 00:09:06,210 --> 00:09:08,570 There are also retrofits, which you'll see in a bit. 100 00:09:08,650 --> 00:09:11,170 We also have a video. 101 00:09:13,790 --> 00:09:14,830 We had a video. 102 00:09:14,830 --> 00:09:15,870 It's no longer there. 103 00:09:15,870 --> 00:09:17,610 We were on a red team engagement. 104 00:09:17,610 --> 00:09:23,370 Basically, someone was able to reach their hand around and push on the pushbar from the other side. 105 00:09:23,370 --> 00:09:25,570 If you want to see it, you can come by after. 106 00:09:25,570 --> 00:09:26,970 I'll show you the video on my phone. 107 00:09:27,430 --> 00:09:29,210 Oh, yeah, you can see the retrofit here. 108 00:09:29,330 --> 00:09:32,030 They can be bypassed, but it makes it a lot harder. 109 00:09:33,490 --> 00:09:38,170 You can also use bar-guards, again, to further prevent bypasses. 110 00:09:38,170 --> 00:09:39,710 Again, it is possible, but yeah. 111 00:09:40,090 --> 00:09:40,570 Okay, cool. 112 00:09:40,570 --> 00:09:41,830 Next is removing hinges. 113 00:09:41,930 --> 00:09:46,530 So, usually, you can take out those little hinge pins and pull the door off of the frame. 114 00:09:46,530 --> 00:09:57,650 There are special security hinges, such as these ones called set-screw hinges and stud-pit hinges that allow you to lock that door, and even if the hinge pin is taken out, you can't actually remove the door from the frame. 115 00:09:58,310 --> 00:09:59,830 Button-push combination locks. 116 00:09:59,830 --> 00:10:01,070 So, these are simplex locks. 117 00:10:01,070 --> 00:10:04,970 They use the default combination from the factory, two and four at the same time, and then the number three. 118 00:10:04,970 --> 00:10:06,470 Change your default combinations. 119 00:10:06,770 --> 00:10:09,870 Other combination locks, as well, you can easily find these defaults online. 120 00:10:09,870 --> 00:10:11,070 Change your combination! 121 00:10:12,830 --> 00:10:13,270 Enterphones. 122 00:10:13,270 --> 00:10:14,750 Okay, so I'm sure you've seen these before. 123 00:10:14,750 --> 00:10:15,470 These are enterphones. 124 00:10:15,470 --> 00:10:17,590 They're used to let people into apartments in high-rises. 125 00:10:17,750 --> 00:10:22,230 You can call up using that enterphone, and the resident can push a button on their phone and allow you access. 126 00:10:22,710 --> 00:10:29,990 There's a master code that comes from the factory that allows the owner of the building and the owner of the enterphone to add entry codes and add residents. 127 00:10:30,110 --> 00:10:31,830 You can find these online from manufacturers. 128 00:10:31,830 --> 00:10:32,870 So, change your combination! 129 00:10:34,010 --> 00:10:41,730 Further to that, these enterphones are key-to-like, and with these keys, you're actually able to open all enterphones by that same brand and get at the electronics. 130 00:10:41,970 --> 00:10:43,290 Guess how you can fix this? 131 00:10:43,290 --> 00:10:44,410 You can change your lock! 132 00:10:44,410 --> 00:10:46,630 Wow, they don't have to be the defaults. 133 00:10:46,710 --> 00:10:47,710 There's also these. 134 00:10:47,710 --> 00:10:57,370 These are security bars and enterphone covers, and they can be used to prevent people from being able to force it open, or even if they have a key for the enterphone, from opening it and getting at those circuitries inside. 135 00:10:57,970 --> 00:11:00,150 You have request-to-exit sensors. 136 00:11:00,150 --> 00:11:04,250 They're set up so that you can unlock when you're coming in from the inside of the building. 137 00:11:05,170 --> 00:11:07,970 So, most of them rely on passive infrared. 138 00:11:07,970 --> 00:11:13,390 If someone can trick the sensor into thinking there's someone inside and exit the building, they'll allow them access. 139 00:11:13,390 --> 00:11:20,870 What you have is you have sensors that use both PIR and radar to detect if someone is coming in. 140 00:11:20,870 --> 00:11:25,050 There used to be a company called Interlogix, which made a REC sensor. 141 00:11:25,050 --> 00:11:26,090 They no longer exist. 142 00:11:26,090 --> 00:11:32,050 There are other companies in the market, but they're many thousands of dollars, but they do exist. 143 00:11:33,130 --> 00:11:36,970 For remediation, REC sensors are generally more convenient. 144 00:11:36,970 --> 00:11:38,250 They are less secure. 145 00:11:38,250 --> 00:11:42,610 For more secure areas, there are these REC buttons that you can use. 146 00:11:42,610 --> 00:11:48,630 Make sure to put them away from doors so people can't use any sort of wire to push it from the outside. 147 00:11:48,990 --> 00:11:54,190 As well as that, tap-in, tap-out, of course, is the most secure way to let people in and out of spaces. 148 00:11:54,190 --> 00:11:56,850 But again, you're trading that convenience in for that security. 149 00:11:57,310 --> 00:11:58,930 Elevators, so you see elevators... 150 00:11:58,930 --> 00:11:59,690 Two minutes, okay. 151 00:11:59,690 --> 00:12:01,470 We have elevators everywhere in modern buildings. 152 00:12:01,470 --> 00:12:03,830 There's a lot of bypasses that you can get around them. 153 00:12:03,830 --> 00:12:07,770 A lot of elevator locks can be changed out and don't have to be the default. 154 00:12:07,770 --> 00:12:09,690 This is not true for fire recall switches. 155 00:12:09,690 --> 00:12:11,630 Do not touch your fire recall key switches. 156 00:12:11,870 --> 00:12:17,890 But generally, the best way to prevent people from hacking your elevators to get into a space is don't rely on elevator floor lockouts for security. 157 00:12:17,890 --> 00:12:25,610 It's way better to have a little hallway and then have additional locked doors past that elevator in order to prevent people from gaining access when they're not supposed to. 158 00:12:25,610 --> 00:12:30,930 Other remediation, so it's really important to foster a proper security culture within your company. 159 00:12:31,110 --> 00:12:36,290 Things like tailgating and other methods of social engineering are often the easiest way to get into a secure space. 160 00:12:36,350 --> 00:12:42,970 Employees that disallow tailgating or see people that they don't recognize and say, hey, who are you, do you work here, can you prove it, can help stop bad actors. 161 00:12:43,030 --> 00:12:45,490 In addition to that, alarms and sensors are very important. 162 00:12:45,490 --> 00:12:50,470 So they can be used in combination with retrofits to prevent bypasses and catch people that are in the middle of using bypasses. 163 00:12:50,470 --> 00:12:57,270 These are imperfect and can be bypassed, but the main thing is without sensors, without cameras, without detection, anyone can get in with sufficient force and time. 164 00:12:57,810 --> 00:13:00,750 Like I mentioned, cameras, they are part of a complete security plan. 165 00:13:00,750 --> 00:13:04,630 They can deter, enable response, and minimize risk of insurance claims refusal. 166 00:13:04,870 --> 00:13:06,490 Last of all, timing analysis. 167 00:13:06,510 --> 00:13:19,510 So this is a service that I do work in, and in combination with your alarms, sensors, cameras, everything, and your response time has to all be taken into consideration in order to get to the bad actor before they're able to do any harm to your company. 168 00:13:19,610 --> 00:13:21,110 Okay, we've reached the end for the questions. 169 00:13:21,110 --> 00:13:21,970 I'm so sorry, guys. 170 00:13:21,970 --> 00:13:25,410 You're gonna have to play this video at like .5 speed. 171 00:13:25,510 --> 00:13:29,030 If you guys have any questions, you can come by The Village and come talk to me and Terry. 172 00:13:29,030 --> 00:13:31,990 I'm very sorry for the technical difficulties, but I hope you guys enjoyed it regardless. 173 00:13:31,990 --> 00:13:32,750 Thank you!