start	end	text
0	3280	All right, so since we're experiencing technical difficulties,
3280	7100	I'm just going to kind of start talking at you guys about what we're talking about.
7100	8440	Could you open up my slides?
9560	12760	And yeah, and you guys are just going to have to deal with that.
12760	14820	Yeah, imagine I will be very descriptive,
14820	18620	but the first part of this is intro, and it's just talking.
18620	20580	So let's start with that.
20580	23540	So hello, everybody. Welcome to Bypass 102.
23580	27080	In this talk, we're going to be covering basic bypass remediation.
27200	29980	So a general prerequisite for this talk is,
29980	31800	I'm hoping that you've seen Bypass 101.
31800	36660	If you haven't, I recommend you watch that later when it is uploaded.
36660	39200	We were on the creator stage earlier for that talk.
39700	43340	Yeah, and then please keep all questions until the end if we have time for questions.
43340	46480	So for those that aren't aware, what bypass is,
47480	53060	is basically ignoring the lock and trying to figure out a way to exploit the door hardware
53520	57940	or the surrounding area in order to gain access into a locked out space.
57940	60280	Here, just let me do that.
61880	65500	So again, this covers basic remediation and retrofits
65500	69580	that will help you secure your facility from these basic bypass methods.
69820	74680	So similar to cybersecurity, physical security vulnerabilities and remediation
74680	78300	is basically an ongoing forever game of cat and mouse.
78300	81740	Every time somebody finds a vulnerability, someone else comes up with a patch.
81740	84160	And then for that patch, someone finds a new vulnerability,
84160	86360	and it repeats over and over again.
86360	90040	You know, that's the cycle of security. Same thing applies for cyber.
91080	94780	So like I mentioned earlier, lock bypass involves ignoring that lock completely
94780	99800	and finding an alternative way to get that door open or avoid using the door altogether.
100120	105280	These bypass methods are very often used in physical security and physical hacking,
105280	111700	and they are generally simple enough to use by anyone with a little bit of know-how.
111700	113260	In case you guys don't have that know-how,
113260	114880	you can come over to our village and check us out,
114880	116120	and we will teach you that know-how,
116120	117840	and you'll see how easy it is.
118280	121940	Now I'm going to talk a little bit about latch-targeted bypasses.
122820	126760	So this applies to all the...
126760	129040	Oh, looks like we have the presentation coming up.
129100	134820	But you'll see in the slide what I mean.
134940	143860	So essentially, this is ways to remediate the bypass, which is called targeting.
143860	147880	So targeting targets a latch that holds the door closed,
147880	153960	and essentially, by targeting it, you're bypassing this dead latch,
153960	156620	which prevents the plunger from moving.
157020	160980	So the best way of bypassing this is to install...
160980	164200	of remediating this is to install the doors properly.
172560	176640	So installing these dead latches, and especially doors properly,
176640	181880	is extremely difficult, especially if your door is, for example, wooden,
181880	187120	or just because they're in order for...
187120	190240	if you guys have watched the Bypass 101 talk,
190240	193020	you guys know that in order for the dead latch to work,
193020	195120	it has to be actuated when the door is closed.
195120	198440	Now the issue is that there are tolerances, right?
198440	203340	So for example, it needs to be installed exactly the correct way
203340	213880	so that when the door is closed, that the dead latch is actuated.
213880	218080	What that means is that also, if you push the door, for example,
218080	223220	it will still be actuated, the door cannot warp, etc.
223420	226020	So there are a couple of different ways...
226020	228580	Uh, give me a second, does all that work?
229840	231160	Ah, there you go.
254860	259040	Okay, so we're trying our best to get the AV working,
259040	263100	but again, the DEF CON Wi-Fi is our best friend in the whole wide world.
263760	265880	So Terry was about to talk about dead latches,
265880	269540	so I'll talk about that until we can figure out how to get this to load.
269540	271660	Can you connect to your hotspot?
272640	275980	Yeah, so basically... go back, please go back.
275980	278840	Can you just disconnect until...
279740	282420	No, connect to his hotspot.
283440	285180	Thanks guys for being patient.
285180	288080	So a dead latch is essentially a security mechanism
288080	292060	that is built into that door-closing hardware
292060	296380	that allows you to stop people from using this exploit.
296380	298620	So for those familiar with Bypass 101,
298620	300900	what we call latch slipping or latch shoving,
300900	303900	it seems a little bit too easy, and it's because it is.
303900	308140	It has this security mechanism that prevents you from being able to do this,
308140	312860	but a lot of the installers of doors and other things in a facility
312860	314100	doesn't really think about that.
314100	315960	They don't care about the security.
315960	317960	They don't know what these features do.
317960	323780	All in all, it means that people aren't keeping that security mindset in place
323780	325760	while they're doing their installations,
325760	327800	and that leads to a lot of vulnerabilities.
328140	331360	So I'm sure you guys have seen the retrofits for this before.
331360	333320	If you've ever walked along a long hallway
333320	337900	and you've seen doors with a big metal plate over that latch,
338400	340680	usually what this is is a retrofit.
340680	344360	So they found that that dead latch isn't working properly,
344360	347800	and so instead of fixing the door, instead of installing it properly,
347800	350340	they're just putting this panel over it and going,
350340	352820	OK, that's good enough. Now they can't latch slip the door.
352820	354840	However, these can still be bypassed.
354840	358400	For example, with this little latch cover,
358400	360760	what people can do is take a little bit of piano wire,
360760	361760	stick it behind the latch,
361760	365420	and open it pretty much the exact same way without much more trouble.
365420	366480	Do we have it?
366720	368580	Yay! Woo!
369280	371500	So if you could full screen that.
375820	379380	How many hackers does it take to play a PowerPoint presentation?
382570	384090	Oh, OK, there we go.
384690	387030	Do we have the...
387030	388890	Just a slideshow, you're fine.
392850	397890	Yay! OK, so we're going to give this a second to load,
397890	399190	and hopefully this video loads.
399190	403050	That'll give us a little demo of how the dead latch works.
405050	406210	There it is.
406310	409010	OK, so like I was mentioning, so there's the latch,
409010	411830	and that little half moon shape there is what's called the dead latch.
411830	413450	And when it's pushed into the door,
413450	417150	it actually prevents the latch from being able to be pushed in,
417150	419170	thus stopping that exploit.
421130	424970	So obviously, the easiest way to prevent people from using this exploit
424970	427190	is just to install your door properly
427190	429870	and make sure that the dead latch is actually being pushed in
429870	431290	when that door is closed.
432130	433850	I already talked about this retrofit,
433850	435710	so we're just going to skip over that.
435710	437610	And again, it can be bypassed.
437610	439790	In fact, usually on red team engagements,
439790	441390	I'm looking out for these kinds of covers
441390	444590	because it means that that latch is vulnerable to an attack.
445610	447310	Oh, cool.
447310	449790	Next, I'm going to be talking about handle-targeted bypass.
449970	452890	So this usually mimics a person on the other side of the door
452890	454330	exiting from the other side
454330	458070	and can be used on lever handles and doorknobs and crash bars.
458070	459350	The easiest way to prevent this...
459350	461290	I'm going to have to go fast. I'm running out of time.
461290	463950	So the easiest way to prevent this is to have a properly sized door
463950	465330	that fits into the door frame
465330	469530	and doesn't leave gap enough for tools to fit in, around, or under.
469970	472150	In addition to that, certain types of lever handles
472150	476030	will make it more difficult to use the under-the-door tool.
476330	479870	A retrofit like this can help reduce the amount of gap underneath your door
479870	481930	and make sure people can't fit tools underneath.
482450	484190	You've probably seen things like this,
484190	488990	which isn't intended to better secure your facility for weatherproofing,
488990	491550	but it can make using those kinds of tools more difficult.
491650	495270	In addition to that, windows next to your door or alongside your door
495270	496830	can make it easier to use these tools,
496830	499750	so cover them up or don't have them at all if not necessary.
500290	502610	Mag locks can also provide additional security,
502610	504630	but again, these can also be bypassed.
506690	508950	So you have deadbolts. This is a deadbolt.
509170	514590	They're different from deadlatches and have a thumb turn on the other side.
514630	519850	The best way of remediating this is to have a double-sided deadbolt.
519850	522390	Basically, you don't have that thumb turn on the other side.
522390	526030	This prevents you from using JTools to bypass it.
526030	528070	If you don't know what JTool is, you can look in our village.
528070	531090	Yeah, and basically, the thing is, in exchange for security,
531090	532610	you are losing a bit of convenience,
532610	535450	but sometimes in certain facilities, it is worth that exchange.
536810	539690	For pushbars, the main thing is don't have holes or gaps in your door.
539690	546210	If possible, use a pushbar with deadlatches to prevent latch-targeted attacks.
546210	548570	There are also retrofits, which you'll see in a bit.
548650	551170	We also have a video.
553790	555870	We had a video. It's no longer there.
555870	557610	We were on a red team engagement.
557610	561350	Basically, someone was able to reach their hand around
561350	563370	and push on the pushbar from the other side.
563370	565570	If you want to see it, you can come by after.
565570	566970	I'll show you the video on my phone.
567430	569210	Oh, yeah, you can see the retrofit here.
569330	572030	They can be bypassed, but it makes it a lot harder.
573490	578170	You can also use bar-guards, again, to further prevent bypasses.
578170	579710	Again, it is possible, but yeah.
580090	581830	Okay, cool. Next is removing hinges.
581930	584510	So, usually, you can take out those little hinge pins
584510	586530	and pull the door off of the frame.
586530	588030	There are special security hinges,
588030	589650	such as these ones called set-screw hinges
590150	594090	and stud-pit hinges that allow you to lock that door,
594090	595610	and even if the hinge pin is taken out,
595610	597650	you can't actually remove the door from the frame.
598310	599830	Button-push combination locks.
599830	601070	So, these are simplex locks.
601070	602890	They use the default combination from the factory,
602890	604970	two and four at the same time, and then the number three.
604970	606470	Change your default combinations.
606770	608190	Other combination locks, as well,
608190	609870	you can easily find these defaults online.
609870	611070	Change your combination!
612830	613270	Enterphones.
613270	614750	Okay, so I'm sure you've seen these before.
614750	615470	These are enterphones.
615470	617590	They're used to let people into apartments in high-rises.
617750	619470	You can call up using that enterphone,
619470	620990	and the resident can push a button on their phone
620990	622230	and allow you access.
622710	625230	There's a master code that comes from the factory
625230	627130	that allows the owner of the building
627130	628130	and the owner of the enterphone
628130	629990	to add entry codes and add residents.
630110	631830	You can find these online from manufacturers.
631830	632870	So, change your combination!
634010	636030	Further to that, these enterphones are key-to-like,
636030	638370	and with these keys, you're actually able to open
638370	640030	all enterphones by that same brand
640030	641730	and get at the electronics.
641970	643290	Guess how you can fix this?
643290	644410	You can change your lock!
644410	646630	Wow, they don't have to be the defaults.
646710	647710	There's also these.
647710	649910	These are security bars and enterphone covers,
649910	651130	and they can be used to prevent people
651130	652810	from being able to force it open,
652810	654910	or even if they have a key for the enterphone,
654910	657370	from opening it and getting at those circuitries inside.
657970	660150	You have request-to-exit sensors.
660150	661990	They're set up so that you can unlock
661990	664250	when you're coming in from the inside of the building.
665170	667970	So, most of them rely on passive infrared.
667970	670350	If someone can trick the sensor into thinking
670350	672250	there's someone inside and exit the building,
672250	673390	they'll allow them access.
673390	676790	What you have is you have sensors
676790	679650	that use both PIR and radar to detect
679650	680870	if someone is coming in.
680870	683170	There used to be a company called Interlogix,
683170	685050	which made a REC sensor.
685050	686090	They no longer exist.
686090	688510	There are other companies in the market,
688510	692050	but they're many thousands of dollars, but they do exist.
693130	696970	For remediation, REC sensors are generally more convenient.
696970	698250	They are less secure.
698250	701110	For more secure areas, there are these REC buttons
701110	702610	that you can use.
702610	704170	Make sure to put them away from doors
704170	706550	so people can't use any sort of wire
706550	708630	to push it from the outside.
708990	711350	As well as that, tap-in, tap-out, of course,
711350	714190	is the most secure way to let people in and out of spaces.
714190	715350	But again, you're trading that convenience
715350	716850	in for that security.
717310	718930	Elevators, so you see elevators...
718930	719690	Two minutes, okay.
719690	721470	We have elevators everywhere in modern buildings.
721470	723830	There's a lot of bypasses that you can get around them.
723830	726130	A lot of elevator locks can be changed out
726130	727770	and don't have to be the default.
727770	729690	This is not true for fire recall switches.
729690	731630	Do not touch your fire recall key switches.
731870	733670	But generally, the best way to prevent people
733670	735350	from hacking your elevators to get into a space
735350	737890	is don't rely on elevator floor lockouts for security.
737890	739830	It's way better to have a little hallway
739830	742290	and then have additional locked doors past that elevator
742290	744270	in order to prevent people from gaining access
744270	745610	when they're not supposed to.
745610	747890	Other remediation, so it's really important
747890	750930	to foster a proper security culture within your company.
751110	752570	Things like tailgating and other methods
752570	754490	of social engineering are often the easiest way
754490	756290	to get into a secure space.
756350	757570	Employees that disallow tailgating
757570	759090	or see people that they don't recognize
759090	760650	and say, hey, who are you, do you work here,
760650	762970	can you prove it, can help stop bad actors.
763030	765490	In addition to that, alarms and sensors are very important.
765490	767110	So they can be used in combination with retrofits
767110	768850	to prevent bypasses and catch people
768850	770470	that are in the middle of using bypasses.
770470	772250	These are imperfect and can be bypassed,
772250	773810	but the main thing is without sensors,
773810	775090	without cameras, without detection,
775090	777270	anyone can get in with sufficient force and time.
777810	778970	Like I mentioned, cameras,
778970	780750	they are part of a complete security plan.
780750	782350	They can deter, enable response,
782350	784630	and minimize risk of insurance claims refusal.
784870	786490	Last of all, timing analysis.
786510	789070	So this is a service that I do work in,
789070	791210	and in combination with your alarms, sensors, cameras,
791210	792550	everything, and your response time
792550	794110	has to all be taken into consideration
794110	796650	in order to get to the bad actor
796650	799510	before they're able to do any harm to your company.
799610	801110	Okay, we've reached the end for the questions.
801110	801970	I'm so sorry, guys.
801970	805410	You're gonna have to play this video at like .5 speed.
805510	806870	If you guys have any questions,
806870	809030	you can come by The Village and come talk to me and Terry.
809030	810670	I'm very sorry for the technical difficulties,
810670	811990	but I hope you guys enjoyed it regardless.
811990	812750	Thank you!
