1 00:00:00,000 --> 00:00:03,380 So it turns out that the slides are not going to be up here. 2 00:00:03,540 --> 00:00:09,080 But what I'm going to do is record my talk later and put it up on YouTube and share it on Twitter. 3 00:00:09,160 --> 00:00:12,060 So you all will get to see the slides. 4 00:00:12,060 --> 00:00:14,140 I'll probably just share the slides, that would be cool. 5 00:00:14,640 --> 00:00:18,240 All right, so my name is The Magician. 6 00:00:18,600 --> 00:00:21,000 This talk is Doors, Cameras, and Mantraps. 7 00:00:21,000 --> 00:00:24,520 Oh my, it is not a lock-picking talk, if that's what you're here for. 8 00:00:24,520 --> 00:00:37,540 This is a talk more about physical security and the practical business aspects of security in the FISSEC world, and how to talk to clients, and how you want to get into it, if that's something you're interested in. 9 00:00:39,380 --> 00:00:43,280 So, hi, nice to meet you all. 10 00:00:46,190 --> 00:00:49,010 I've got my notes here, even though you don't have slides. 11 00:00:53,100 --> 00:00:55,560 I'm a member of the Open Organization of Lockpickers. 12 00:00:55,560 --> 00:01:01,600 If you all have gone and picked locks at Lockpick Village, then that's the tool group, those are my people. 13 00:01:01,600 --> 00:01:05,780 Let them know The Magician sent you, and they'll set you up with some locks and some picks. 14 00:01:06,680 --> 00:01:28,440 I was a physical security assessor for Gold Sky Cybersecurity, and they used to send me around the United States and break into buildings, and I would show people how I would break into their buildings with them, so they could try it, learn it, and the mitigation rate was much higher because then they understood how to do the physical exploit. 15 00:01:29,860 --> 00:01:35,540 Physical security still is a huge hobby for me, even though I'm not doing it professionally anymore. 16 00:01:36,260 --> 00:01:38,420 What I did was super straightforward. 17 00:01:38,600 --> 00:01:44,880 I would bring people around the building that they worked in, and I would teach them how to break into their own facility. 18 00:01:45,280 --> 00:01:53,320 Bringing the client with me gave them the option to try it themselves, and often the mitigation rate was much higher. 19 00:01:55,680 --> 00:01:59,400 Show and tell is basically what it came down to. 20 00:01:59,580 --> 00:02:15,280 I would show people what their vulnerabilities were, explain to them how to run the exploit, so they could try it themselves, and then I would tell the people that had hired me what the problems were, what I showed their team, and how to get those things fixed. 21 00:02:17,320 --> 00:02:33,260 What this talk will cover is physical security controls, key questions that I used to ask clients, how to educate your clients without fear, uncertainty, and doubt, and how you can learn physical security if you want to get into it as a career field. 22 00:02:42,010 --> 00:02:47,510 Physical security controls are the first topic of conversation, and I'd like to start with doors. 23 00:02:47,690 --> 00:02:50,830 More often than not, that's the first thing you're going to test. 24 00:02:54,050 --> 00:02:59,210 There are a lot of mechanical components to doors, but here's the short list. 25 00:02:59,570 --> 00:03:03,490 Do perimeter doors have hinges that are exposed to the outside? 26 00:03:03,550 --> 00:03:05,570 Those hinges can be exploited. 27 00:03:05,710 --> 00:03:13,270 Can I slide something between the latch and the strike plate to pull the door open without a key or combination? 28 00:03:13,630 --> 00:03:18,510 Can I get tools over or under the door to manipulate the door handles from the outside? 29 00:03:18,550 --> 00:03:26,210 If I can run across double doors, can I manipulate crash bars, which are the bars that you shove open in server rooms? 30 00:03:26,630 --> 00:03:28,770 These are all resolvable exploits. 31 00:03:34,410 --> 00:03:39,670 Windows are the next physical security control I used to look at, and they're often overlooked. 32 00:03:40,530 --> 00:03:47,010 Insecure windows can be opened or manipulated in similar ways to doors. 33 00:03:47,010 --> 00:03:49,030 They offer different challenges. 34 00:03:49,310 --> 00:03:59,570 In a lot of office spaces, some clients don't have policies about shoulder surfing or looking over the shoulder of a user to obtain information. 35 00:04:00,390 --> 00:04:05,850 This is a low-complexity physical security risk. 36 00:04:05,850 --> 00:04:18,730 And if someone is trying to establish operating hours of a business, PC operating systems used, or even information like browser type, looking through a window is extremely low effort and high yield. 37 00:04:20,910 --> 00:04:23,810 Fencing seems obvious at first. 38 00:04:24,350 --> 00:04:27,790 Maybe folks have them in their homes or at office sites. 39 00:04:27,790 --> 00:04:30,410 Fencing establishes a clear perimeter. 40 00:04:30,410 --> 00:04:33,870 And clearly sets an expectation of limited access. 41 00:04:34,250 --> 00:04:43,030 It would take a heck of an improviser to explain to a guard why you were walking around a parking lot or building at a locked and closed site. 42 00:04:43,570 --> 00:04:50,030 It's also near impossible to scale a fence in most environments during the day without attracting attention. 43 00:04:50,770 --> 00:04:56,270 Fencing is a passive security means, meaning it doesn't require any labor. 44 00:05:03,580 --> 00:05:06,100 Bullards are a great security control. 45 00:05:06,940 --> 00:05:09,500 You've all seen bollards before. 46 00:05:09,500 --> 00:05:18,120 They're reinforced obstacles that prevent the use of a vehicle as a battering ram to create a point of entry in an otherwise defended structure. 47 00:05:18,440 --> 00:05:21,680 It's another passive security risk mitigation. 48 00:05:24,880 --> 00:05:28,240 Mantraps, I think, are completely underutilized. 49 00:05:28,600 --> 00:05:38,400 You likely have seen these secure facilities where a room has two separate doors and typically two separate security access controls. 50 00:05:39,000 --> 00:05:49,360 For instance, one door has an RFID badge and a separate security door on the opposite side of the room has a biometric security control like a fingerprint reader. 51 00:05:49,960 --> 00:05:53,640 These require some setup and require adherence to procedure. 52 00:05:54,220 --> 00:06:03,000 Additionally, it can be a challenge to get a flow of people through mantraps, but they are an awesome control, and typically you'll see them at banks. 53 00:06:05,060 --> 00:06:12,120 Cameras are in most businesses and some homes now. 54 00:06:12,120 --> 00:06:19,420 If you have the funding at a job site, you can even have your camera actively monitored in a security operating center. 55 00:06:19,920 --> 00:06:30,360 Lots of small to mid-sized businesses just record video and reference it in incident response if something goes wrong or for forensic purposes. 56 00:06:30,960 --> 00:06:39,760 There are many technologies in the world of cameras, but I firmly believe that Wi-Fi cameras are a poor choice in many environments. 57 00:06:39,760 --> 00:06:43,580 Please reach out to me if you want to hear that soapbox rant. 58 00:06:44,940 --> 00:06:52,060 Electronic access is a really cool area of security controls, especially in the world where now everyone has a Flipper Zero. 59 00:06:53,460 --> 00:07:03,880 Most of you have some form of token that your office has given you to get into your building, an RFID badge, you wave in front of a reader that opens the door maybe. 60 00:07:04,180 --> 00:07:19,160 RFID and NFC are great and they're getting better, but the availability of the Flipper Zero makes these not necessarily the best way to get into a building as an only means of access. 61 00:07:19,340 --> 00:07:28,460 A PIN code might be functional, but if somebody can obtain that by observing you entering the PIN code, that isn't necessarily a great means of access either. 62 00:07:29,140 --> 00:07:41,780 I'm one of the many cyborgs in the hacker community and I got an implant from Dangerous Things, so my left hand is RFID and NFC compatible, so I don't need a right to a badge, I can write to my hand. 63 00:07:44,660 --> 00:07:46,220 What matters though? 64 00:07:47,400 --> 00:07:52,260 Knowing what matters to a particular entity is of extreme importance. 65 00:07:52,420 --> 00:08:07,180 I've done four-minute break-ins from parking lot to server room and had clients tell me that actually all of their information is in the cloud, those servers are just dev environments and the hard drives are encrypted, so they don't care. 66 00:08:07,280 --> 00:08:11,200 So knowing what is important to your clients is of critical importance. 67 00:08:13,910 --> 00:08:20,310 Access from the perimeter is something you actually want to talk to your client about, not just exploring it yourself. 68 00:08:20,310 --> 00:08:25,190 You want to make sure that you're getting access to all the doors that they want you to have access to. 69 00:08:25,190 --> 00:08:34,170 There isn't any shame in saying, can you please show me your physical infrastructure and where all the doors are that are of a concern to you? 70 00:08:34,250 --> 00:08:38,170 Then you can be sure that you're tackling all that client's concerns. 71 00:08:39,050 --> 00:08:44,930 Conversely, there might be doors that they don't think are a concern that you probably should bring to their attention. 72 00:08:46,910 --> 00:08:55,910 Because you are truly treated as a guest in the scenario of a security risk assessor, you can test guest badge policies firsthand. 73 00:08:56,130 --> 00:09:07,890 In some cases, if it's in scope, you can try enticing the client to give you a guest badge and asking them if it's okay for you to go to the restroom. 74 00:09:07,890 --> 00:09:18,670 Many times you can find yourself in the office of a CEO or CFO without any kind of supervision, sometimes hours after you were let in, without anyone hassling you. 75 00:09:19,650 --> 00:09:25,230 As a social engineering enthusiast, this is a huge topic. 76 00:09:26,030 --> 00:09:34,950 Entire companies are dedicated to just educating and empowering employees to ask as part of the security team for a company. 77 00:09:35,150 --> 00:09:36,610 There are quick points. 78 00:09:36,610 --> 00:09:38,770 Here are some quick points to the matter. 79 00:09:38,910 --> 00:09:41,070 Gamify your security training. 80 00:09:41,210 --> 00:09:52,590 A traveling trophy can go to the desk of a person with the least clicks in an email fish, or maybe to someone who always locks their computer when they get up to go to the break room. 81 00:09:52,710 --> 00:10:00,990 Be creative and let employees know that they are an integral part to your security at the company and that they can be a huge line of defense. 82 00:10:00,990 --> 00:10:03,510 Every employee is part of the security team. 83 00:10:05,410 --> 00:10:11,530 Constructive criticism is always better than belittling somebody for their lack of security knowledge. 84 00:10:11,850 --> 00:10:13,530 How can you talk to a client? 85 00:10:13,650 --> 00:10:17,170 How you talk to a client will determine how they mitigate your findings. 86 00:10:17,410 --> 00:10:31,670 While there have been tons of technical talks about how to exploit mechanical components of physical security, there have been just a few that cover the specifics of educating clients on how to go about resolving their exploits. 87 00:10:32,950 --> 00:10:40,210 Saying things like, this is really bad, need to be replaced with, we have some really good opportunities here for positive change. 88 00:10:40,210 --> 00:10:52,290 Simple phrasing can mean a world of difference and can lead to a very different side of client morale and also can determine whether or not they're going to hire you next year. 89 00:10:56,340 --> 00:11:00,920 The show and tell was always my favorite part, the demonstrations and solutions. 90 00:11:01,580 --> 00:11:08,260 Showing the defenders vulnerabilities on site is immensely fun and can have an extremely positive impact. 91 00:11:09,020 --> 00:11:24,160 Talking somebody through how you can bypass a door versus showing them how to do it have huge differences in the likelihood that an issue will be mitigated or a solution implemented. 92 00:11:24,460 --> 00:11:31,700 These steps in the process also get the most heads popping into the room. 93 00:11:32,100 --> 00:11:42,680 People get really excited when you show them how to do an under door slip or use an under door tool or a latch slip. 94 00:11:44,740 --> 00:11:47,000 Avoid fear, uncertainty and doubt. 95 00:11:47,000 --> 00:11:50,620 This one's probably the most critical in my opinion. 96 00:11:51,160 --> 00:11:54,640 You want to avoid letting people know that things are bad. 97 00:11:54,640 --> 00:11:59,000 You want to make sure that even if something is really bad, good news. 98 00:11:59,000 --> 00:12:00,280 I'm here. 99 00:12:00,320 --> 00:12:01,820 I found this thing. 100 00:12:01,820 --> 00:12:05,340 Now we can tackle it together and it won't be a problem anymore. 101 00:12:07,980 --> 00:12:12,400 How to educate clients and provide a means for clients to contact you. 102 00:12:12,400 --> 00:12:23,140 You want to make sure that after you've done your test and you've written your report, you want to provide contacts that are officially your work contacts. 103 00:12:23,140 --> 00:12:26,760 For people to reach out to you and ask you follow up questions. 104 00:12:26,760 --> 00:12:28,120 They're going to happen. 105 00:12:28,140 --> 00:12:29,580 Nobody knows everything. 106 00:12:29,720 --> 00:12:33,260 And even professionals might forget to provide some key information. 107 00:12:33,440 --> 00:12:49,920 Giving them a company email or a company phone number and requesting that they reach out to you during company time is really important because then they can reach out if they have some sort of immediate concern or just if they want you to return later. 108 00:12:49,920 --> 00:12:52,420 That point of contact is pretty critical. 109 00:12:53,680 --> 00:12:57,420 Now, this is something that might be important to all of you. 110 00:12:57,420 --> 00:13:00,000 How can you get into physical security? 111 00:13:00,040 --> 00:13:07,360 I'm going to talk about some podcasts, YouTube channels and Udemy access options for you to get into physical security. 112 00:13:07,860 --> 00:13:10,700 And I'm old, so I'm going to hold this very close to my face. 113 00:13:11,200 --> 00:13:16,840 Um, I feel education is the most important aspect in hacking and security. 114 00:13:16,860 --> 00:13:20,540 That's not to say that a four year degree or anything like that is necessary. 115 00:13:20,560 --> 00:13:23,300 The different approaches to learning are varied. 116 00:13:23,300 --> 00:13:25,560 And there are a few podcasts. 117 00:13:25,560 --> 00:13:29,080 YouTube and Udemy were big wins for me personally. 118 00:13:29,260 --> 00:13:36,840 If you want to get into lockpicking or just see some jaw dropping feats of lock exploits, then look no further than Lockpicking Lawyer. 119 00:13:36,840 --> 00:13:42,380 The content of his channel is consistently enjoyable and never stale or boring. 120 00:13:42,380 --> 00:13:46,100 If you are an auditory learner, then podcasts are fantastic. 121 00:13:46,200 --> 00:13:50,680 Darknet Diaries is amazing with great storytelling and incredible guests. 122 00:13:50,680 --> 00:13:54,800 And lessons learned are valuable and always come in an entertaining package. 123 00:13:55,000 --> 00:14:00,660 If you want direct attention towards certification, I think Mike Myers does a great job on Udemy. 124 00:14:00,660 --> 00:14:05,320 And anything and everything by the Exam Cram Book Company, I think is fantastic. 125 00:14:07,800 --> 00:14:17,680 Simply learning how to do physical security from books isn't necessarily for everybody, but it worked for me because I could revisit individual concepts very quickly. 126 00:14:17,900 --> 00:14:27,500 Dale Carnegie has a book called How to Win Friends and Influence People if you want to do physical on-site pen testing where you're not going to be announcing your presence. 127 00:14:27,700 --> 00:14:34,760 Practical Lockpicking by Deviant Olaf is a fantastic technical read on physical security and lockpicking. 128 00:14:34,760 --> 00:14:41,420 The Art of Deception by Kevin Mitnick, it's a little flourishy, but the content is really good. 129 00:14:42,160 --> 00:14:46,540 What Everybody is Saying by Joe Navarro will help you with body language. 130 00:14:46,800 --> 00:14:49,180 And again, I just want to call out Exam Cram. 131 00:14:49,180 --> 00:14:55,320 They're really good and they give you extra tests and they give you flashcards. 132 00:14:59,770 --> 00:15:01,070 You got the slides? 133 00:15:01,370 --> 00:15:03,190 Just in time, Ian. 134 00:15:04,010 --> 00:15:08,310 So these are three people who helped me a lot as I was getting started. 135 00:15:08,330 --> 00:15:22,590 If you find somebody on YouTube or at a con that speaks to you personally, the language they're using sounds good, the ethos sound good, you just vibe with it, reach out to them, send them an email, throw them some information on Twitter. 136 00:15:22,590 --> 00:15:23,590 I brought cards. 137 00:15:23,590 --> 00:15:27,430 If what I'm saying sounds interesting, please walk up to me and I will give you some. 138 00:15:28,630 --> 00:15:31,230 Deviant, Ian and Jason helped me a ton. 139 00:15:31,570 --> 00:15:32,670 He's right here. 140 00:15:32,670 --> 00:15:34,150 Wave at him, embarrass him. 141 00:15:36,310 --> 00:15:39,770 Definitely reach out to the people that you find interesting. 142 00:15:39,770 --> 00:15:42,770 We as hackers enjoy telling stories. 143 00:15:42,770 --> 00:15:45,150 So we're not going to be annoyed by you. 144 00:15:45,150 --> 00:15:46,470 I promise. 145 00:15:49,490 --> 00:15:51,510 Take guided courses. 146 00:15:51,770 --> 00:16:01,250 Taking guided courses are expensive, but being able to raise your hand and say, I don't understand the thing is a really, really, really big deal. 147 00:16:01,250 --> 00:16:08,770 And being right in front of the person or on the other end of a video call makes that exchange very quick and very efficient. 148 00:16:11,330 --> 00:16:12,890 Attend local meetings. 149 00:16:12,890 --> 00:16:16,650 If you've got a DEF CON group meet up near you, please go. 150 00:16:16,650 --> 00:16:17,870 Please meet people. 151 00:16:17,930 --> 00:16:26,170 It might be the opportunity that you need to get the job that you want or just give you the person that you need to talk to to learn how to do the thing that you're trying to do. 152 00:16:30,300 --> 00:16:31,560 Oh no, laptop. 153 00:16:32,260 --> 00:16:35,300 OK, how to learn physical security. 154 00:16:35,500 --> 00:16:43,520 Other than just taking courses, reading books, go to a local tool meet up or go to LPV right here at DEF CON. 155 00:16:43,800 --> 00:16:45,220 Try to pick locks. 156 00:16:45,220 --> 00:16:46,260 Have fun. 157 00:16:46,260 --> 00:16:48,660 No one's going to judge you if you don't know how to. 158 00:16:48,660 --> 00:16:54,480 Those are the best people and we'll be able to give you the proper techniques off the bat. 159 00:16:54,480 --> 00:16:59,360 So you don't have to worry about spending hours or days doing it the wrong way. 160 00:17:00,140 --> 00:17:06,300 I just want to say a special thanks to my friends and family, all the Orlando hackers that have helped me out. 161 00:17:06,300 --> 00:17:07,100 Hi. 162 00:17:08,260 --> 00:17:09,580 Thank you all. 163 00:17:09,580 --> 00:17:10,640 Hack all the things. 164 00:17:10,640 --> 00:17:13,040 If you have any questions, please talk to me. 165 00:17:13,580 --> 00:17:14,820 Here's me. 166 00:17:15,000 --> 00:17:18,980 There's my email address, my Twitter and my LinkedIn. 167 00:17:19,280 --> 00:17:20,480 Take a picture. 168 00:17:20,480 --> 00:17:21,740 I don't mind pictures. 169 00:17:21,740 --> 00:17:25,080 I can't see all of you because of the lights, but hi, everybody. 170 00:17:25,080 --> 00:17:25,940 Hi. 171 00:17:27,200 --> 00:17:32,760 Please reach out to me if you have questions about physical security or breaking into buildings or you just want some stories. 172 00:17:32,840 --> 00:17:34,080 I'm the Magician. 173 00:17:34,080 --> 00:17:35,880 I hope you have a fun time at DEF CON.