WEBVTT

00:00.000 --> 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.

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:18.620
Yeah, imagine I will be very descriptive, 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:22.060
So hello, everybody.

00:22.060 --> 00:23.540
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:31.800
So a general prerequisite for this talk is, 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: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.

00:57.940 --> 01:00.280
Here, just let me do that.

01:01.880 --> 01:09.580
So again, this covers basic remediation and retrofits that will help you secure your facility from these basic bypass methods.

01:09.820 --> 01:18.300
So similar to cybersecurity, physical security vulnerabilities and remediation 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:26.360
And then for that patch, someone finds a new vulnerability, and it repeats over and over again.

01:26.360 --> 01:27.920
You know, that's the cycle of security.

01:27.920 --> 01:30.040
Same thing applies for cyber.

01:31.080 --> 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.

01:40.120 --> 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.

01:51.700 --> 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.

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: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.

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 --> 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...

03:07.120 --> 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.

03:15.120 --> 03:18.440
Now the issue is that there are tolerances, right?

03:18.440 --> 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.

03:33.880 --> 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.

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: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.

04:23.760 --> 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.

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: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.

04:56.380 --> 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.

05:03.900 --> 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.

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: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.

05:28.140 --> 05:31.360
So I'm sure you guys have seen the retrofits for this before.

05:31.360 --> 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.

05:40.680 --> 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.

05:51.220 --> 05:52.820
Now they can't latch slip the door.

05:52.820 --> 05:54.840
However, these can still be bypassed.

05:54.840 --> 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.

06:05.420 --> 06:06.480
Do we have it?

06:06.720 --> 06:07.600
Yay!

06:07.980 --> 06:08.580
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:33.730
Yay!

06:34.090 --> 06:39.190
OK, so we're going to give this a second to load, 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: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.

06:51.830 --> 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.

07:01.130 --> 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.

07:12.130 --> 07:15.710
I already talked about this retrofit, 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: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.

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: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.

07:38.070 --> 07:39.350
The easiest way to prevent this...

07:39.350 --> 07:40.310
I'm going to have to go fast.

07:40.310 --> 07:41.290
I'm running out of time.

07:41.290 --> 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.

07:49.970 --> 07:56.030
In addition to that, certain types of lever handles will make it more difficult to use the under-the-door tool.

07:56.330 --> 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.

08:02.450 --> 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.

08:11.650 --> 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.

08:20.290 --> 08:24.630
Mag locks can also provide additional security, but again, these can also be bypassed.

08:26.690 --> 08:27.990
So you have deadbolts.

08:27.990 --> 08:28.950
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: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.

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:14.830
We had a video.

09:14.830 --> 09:15.870
It's no longer there.

09:15.870 --> 09:17.610
We were on a red team engagement.

09:17.610 --> 09:23.370
Basically, someone was able to reach their hand around 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:40.570
Okay, cool.

09:40.570 --> 09:41.830
Next is removing hinges.

09:41.930 --> 09:46.530
So, usually, you can take out those little hinge pins and pull the door off of the frame.

09:46.530 --> 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.

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:04.970
They use the default combination from the factory, 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:09.870
Other combination locks, as well, 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:22.230
You can call up using that enterphone, and the resident can push a button on their phone and allow you access.

10:22.710 --> 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.

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: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.

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: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.

10:57.970 --> 11:00.150
You have request-to-exit sensors.

11:00.150 --> 11:04.250
They're set up so that you can unlock 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:13.390
If someone can trick the sensor into thinking there's someone inside and exit the building, they'll allow them access.

11:13.390 --> 11:20.870
What you have is you have sensors that use both PIR and radar to detect if someone is coming in.

11:20.870 --> 11:25.050
There used to be a company called Interlogix, which made a REC sensor.

11:25.050 --> 11:26.090
They no longer exist.

11:26.090 --> 11:32.050
There are other companies in the market, 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:42.610
For more secure areas, there are these REC buttons that you can use.

11:42.610 --> 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.

11:48.990 --> 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.

11:54.190 --> 11:56.850
But again, you're trading that convenience 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:07.770
A lot of elevator locks can be changed out 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: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.

12:17.890 --> 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.

12:25.610 --> 12:30.930
Other remediation, so it's really important to foster a proper security culture within your company.

12:31.110 --> 12:36.290
Things like tailgating and other methods of social engineering are often the easiest way to get into a secure space.

12:36.350 --> 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.

12:43.030 --> 12:45.490
In addition to that, alarms and sensors are very important.

12:45.490 --> 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.

12:50.470 --> 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.

12:57.810 --> 13:00.750
Like I mentioned, cameras, they are part of a complete security plan.

13:00.750 --> 13:04.630
They can deter, enable response, and minimize risk of insurance claims refusal.

13:04.870 --> 13:06.490
Last of all, timing analysis.

13:06.510 --> 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.

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:29.030
If you guys have any questions, you can come by The Village and come talk to me and Terry.

13:29.030 --> 13:31.990
I'm very sorry for the technical difficulties, but I hope you guys enjoyed it regardless.

13:31.990 --> 13:32.750
Thank you!

