1 00:00:00,000 --> 00:00:02,100 All right, welcome everyone. 2 00:00:02,740 --> 00:00:05,820 Thanks for spending lunch here. 3 00:00:06,380 --> 00:00:09,000 All right, I will jump right in. 4 00:00:09,040 --> 00:00:14,820 A quick show of hands before I do, who has touched an under door tool before? 5 00:00:16,140 --> 00:00:18,760 Maybe 50%, that's awesome. 6 00:00:18,760 --> 00:00:20,520 What about lock picks? 7 00:00:21,300 --> 00:00:22,620 Better. 8 00:00:23,300 --> 00:00:29,520 What about, who's actually gone in the field and done some type of physical pen test assessment? 9 00:00:30,200 --> 00:00:30,860 Awesome. 10 00:00:30,860 --> 00:00:32,900 All right, this is very helpful. 11 00:00:33,500 --> 00:00:36,980 So, I'm gonna start with a key question before I jump in. 12 00:00:37,400 --> 00:00:41,020 Raise your hand, and there's no right answer, this is not a trick question. 13 00:00:41,020 --> 00:00:45,560 Raise your hand if you think red teams should recommend fixes when they're done. 14 00:00:47,860 --> 00:00:48,660 Awesome. 15 00:00:48,980 --> 00:00:54,440 Raise your hand if you are brave enough to say that they shouldn't recommend fixes, they should just turn out vulnerabilities. 16 00:00:54,820 --> 00:01:01,620 That's a very valid, that works at some companies, there's great teams that fix stuff, and a red team just does vulnerabilities. 17 00:01:03,260 --> 00:01:03,960 Awesome. 18 00:01:03,960 --> 00:01:06,640 All right, I don't think I'm gonna have to convince you very much today. 19 00:01:07,680 --> 00:01:19,300 So, we are gonna cover a couple things, but the goal of today is to talk through turning the things that you find, the vulnerabilities, into actual improvements at the company. 20 00:01:19,320 --> 00:01:23,580 But my goal is to help everyone have as much fun as possible. 21 00:01:23,680 --> 00:01:41,920 So, very quickly, I have done red teaming, physical red teaming, mostly, for about 15 years, did a lot of investigations, more recently gone into counter-corporate espionage of seeing what the bad folks, the corporate spies, are doing and trying to counter that, 22 00:01:41,920 --> 00:01:46,100 which helps me learn new tactics frequently, which I enjoy. 23 00:01:46,100 --> 00:01:53,240 I've worked at a few companies, consulting and internally building red teams, and that's it. 24 00:01:53,240 --> 00:01:59,720 So, there's two approaches that I often see with physical red teaming. 25 00:01:59,720 --> 00:02:06,440 There's the, we're playing an adversary, we're emulating an adversary, so we're coming at it from an adversarial perspective. 26 00:02:06,880 --> 00:02:15,080 And so you come in and you just, you know, wreck the security team's shit, and then you turn around and drop all these vulnerabilities and kind of walk away. 27 00:02:15,080 --> 00:02:19,740 And everybody has a bad day, and they are defensive, and they do not want to fix it. 28 00:02:20,220 --> 00:02:32,420 This, you know, happens on the cyber infosec side regularly, but even more so on the physical side, because a lot of physical security practitioners are not used to being red teamed, are not used to being tested. 29 00:02:33,180 --> 00:02:47,900 There's also the approach where you come in, you identify vulnerabilities proactively with them, you get their buy-in up front, and at the end of the day, you help them prevent something, you make them look good, that's gonna be a key thing I come back to, 30 00:02:47,900 --> 00:02:54,580 and they get to prevent something proactively, they get to look good, the company has better security, and you get to test more. 31 00:02:54,580 --> 00:02:59,670 And so the goal is to really move towards that, especially in the physical space. 32 00:03:00,400 --> 00:03:20,580 So, this may be a little controversial, but all the fun things, the technical skills, the underdoors tool, the lockpicks, the evading IR, that's all one hyper-focused part of being a red teamer, a physical red teamer, and it makes you a really good hacker, 33 00:03:20,580 --> 00:03:22,720 but it doesn't make you a professional hacker. 34 00:03:22,880 --> 00:03:31,980 And so I'm gonna cover some of the technical skills and how to help mitigate it, but the goal is to help you do more of that by being good at it and bringing it into the workplace. 35 00:03:31,980 --> 00:03:36,460 So, there's three types of skills to be a professional physical red teamer. 36 00:03:36,640 --> 00:03:45,540 Foundation, many of you have kind of the perspective, if you're already at DEF CON, of what adversarial thinking is and how to approach it. 37 00:03:45,540 --> 00:03:54,980 The technical skills, and then, which I'll cover, different TTPs to get into buildings, and then the professional ones, how to actually do more of this and make the improvements. 38 00:03:56,120 --> 00:03:59,820 Red teams fill in the gaps between all the other security teams. 39 00:03:59,820 --> 00:04:14,400 So, if someone's putting a 4G-enabled implant into an ATM network in order to bypass, you know, endpoint detection, firewall, all that fun stuff, that ends up being a physical-enabled cyber attack. 40 00:04:14,400 --> 00:04:17,020 I think that happened last month. 41 00:04:17,480 --> 00:04:22,300 What if someone uses a new AI deepfake vector, right? 42 00:04:22,300 --> 00:04:27,740 The AI safety and integrity team is not testing if people are going to use it for deepfakes. 43 00:04:27,740 --> 00:04:32,080 They're trying to make sure it's resistant to the latest jailbreak attacks. 44 00:04:32,080 --> 00:04:34,500 Physical security, keeping the office safe. 45 00:04:34,500 --> 00:04:38,420 Cyber security is doing everything that they do. 46 00:04:38,420 --> 00:04:47,980 And red teams help fill in the gaps and find the things in between these teams, what they might not be thinking about or what they might be missing. 47 00:04:48,480 --> 00:04:49,860 This is an example. 48 00:04:49,860 --> 00:05:05,020 We could not show client information, obviously, but this is a recreation of a real-world instance where you combine decent cell phone cameras that are getting better every day with AI lip-reading, and you can actually do surveillance. 49 00:05:05,020 --> 00:05:07,520 You don't need an $80,000 laser mic anymore. 50 00:05:07,520 --> 00:05:19,640 You need a $20 lens, 30-time optical lens to put on an iPhone or a Galaxy, and you can suddenly spy on someone on a meeting through a window from a block or two away. 51 00:05:19,640 --> 00:05:22,700 This is low-hanging fruit, easy example. 52 00:05:22,800 --> 00:05:25,060 But it had, like, 85% accuracy. 53 00:05:25,060 --> 00:05:30,420 It had enough that I could extract what I needed from a board meeting, from a conversation. 54 00:05:30,460 --> 00:05:33,960 Thank you for being the participant over here for this one. 55 00:05:35,080 --> 00:05:40,980 And you can see the red is where it didn't get it right, but it was pretty close, and it was accurate. 56 00:05:40,980 --> 00:05:49,400 So this is a new threat factor that really isn't being covered, and there's dozens of these with AI and with other technology that physical security... 57 00:05:49,400 --> 00:05:56,400 I mean, I consider myself solidly a physical security professional, and I don't want to talk shit about physical security, but we're not thinking about this stuff. 58 00:05:57,060 --> 00:06:01,440 Cyber security, a little bit more, but really not applying it to the physical space. 59 00:06:01,440 --> 00:06:10,240 And so really, I will encourage everyone to use this time to test physical security and try to get ahead of the TTPs. 60 00:06:10,300 --> 00:06:12,900 So I call this the spicy security spectrum. 61 00:06:12,900 --> 00:06:23,680 I've seen other talks that have different names for it, but essentially, things that two, three years ago, AI lip-reading, for example, used to be tier one, only nation-states have it. 62 00:06:23,680 --> 00:06:27,960 Now, that was maybe, like, 90 cents to run the... 63 00:06:27,960 --> 00:06:31,260 and that was because they started charging for the lip-reading model. 64 00:06:32,020 --> 00:06:38,400 90 cents and a decent camera, and you can do the same thing that only the NSA or CIA could years ago. 65 00:06:38,400 --> 00:06:42,680 And so all these TTPs move their way down the spectrum over time. 66 00:06:42,680 --> 00:06:52,680 And I view a red team's role, especially if you're trying to test physical, as trying to stay ahead of these as they move across the spectrum in that direction. 67 00:06:53,060 --> 00:06:57,360 All right, a couple more foundational things, and we'll get into some more fun stuff. 68 00:06:57,360 --> 00:07:04,660 So in order to test physical, a lot of companies and physical teams will be very resistant to being tested. 69 00:07:04,660 --> 00:07:12,740 And so unlike cybersecurity, where there's vulnerability scans, you're getting pinged and attacked constantly, there's very few physical attacks. 70 00:07:12,740 --> 00:07:30,820 People trying to break in for corporate espionage, real espionage, to steal a bunch of laptops, like the relative ratio of physical security attempts and incidents is so tiny compared to cyber that a lot of physical security teams, a lot of companies don't know if their physical security works. 71 00:07:30,820 --> 00:07:33,140 Might just be theater, it often is. 72 00:07:33,220 --> 00:07:39,640 And so there's two ways to know if it works, either we test it as security folks or an adversary tests it. 73 00:07:39,640 --> 00:07:42,940 And the consequences are way higher if an adversary does. 74 00:07:44,220 --> 00:07:52,260 As a red teamer, this slide hurts a little bit, but I will say, I don't recommend red teaming as the first line of defense. 75 00:07:52,300 --> 00:07:59,560 I always recommend, there's a lot that goes into physical security, but start with the one I highlighted, an adversarial walkthrough. 76 00:07:59,660 --> 00:08:04,020 If you're in like banking, you can call it a due diligence walkthrough, name it, whatever you want to get people excited. 77 00:08:04,240 --> 00:08:15,020 But instead of hiring a red team or putting all the things that go into covertly attacking, go find the facilities person, a cybersecurity person, et cetera, and just do an overt walkthrough. 78 00:08:15,140 --> 00:08:21,220 Use an under door tool, use a couple of different things that you've practiced and show them the vulnerabilities. 79 00:08:21,400 --> 00:08:34,680 The stakes are lower, they will be more excited because they actually get to go hands on and be like, well, if I can learn this in 90 seconds, an adversary or a kid on YouTube can figure it out and then they can come film their urban adventure stuff. 80 00:08:34,680 --> 00:08:43,280 I've seen more and more of that, the urban adventure folks that like to explore different offices, film themselves using some of these tools. 81 00:08:43,340 --> 00:08:44,480 And that's a bad look, right? 82 00:08:44,480 --> 00:08:54,420 If you spend a bunch of money on physical security and some kid went on YouTube, learned how to use an under door tool and is now in your server room or on your rooftop, that's not good. 83 00:08:54,920 --> 00:09:01,060 If you have certifications or if regulators see that, if you're in a regulated environment, it can cause a lot of issues. 84 00:09:01,060 --> 00:09:06,660 So there's surprising reputational damage to some of these very low hanging tactics. 85 00:09:07,080 --> 00:09:10,700 So yeah, I always recommend start with a vulnerability walkthrough. 86 00:09:10,780 --> 00:09:15,660 You'll see I'm changing the name, I change it for whatever makes sense for the client. 87 00:09:16,080 --> 00:09:23,180 Have five to 10 different tactics that are your favorite ones that you're good at that you think will work, practice them and bring people along. 88 00:09:23,180 --> 00:09:32,020 Because then six months later when you red team, hopefully you're finding new things that people don't know about and that they fixed a lot of these. 89 00:09:32,020 --> 00:09:44,000 So if you actually wanna go and test physical security at your company, or if you wanna do it via consulting, I'm gonna cruise through 10 steps to get it off the ground. 90 00:09:44,020 --> 00:09:45,880 The first one is threat model. 91 00:09:45,880 --> 00:09:50,620 Before you get buy-in, before you do anything else, understand like, why are you doing this? 92 00:09:50,880 --> 00:09:52,460 Who is going to attack you? 93 00:09:52,460 --> 00:09:55,380 What's the threat actor, the threat vector? 94 00:09:55,420 --> 00:09:57,000 What tactics might they use? 95 00:09:57,000 --> 00:09:57,880 Make it realistic. 96 00:09:57,880 --> 00:10:03,480 You don't want to take a helicopter and land on the roof of a McDonald's and steal the safe. 97 00:10:03,680 --> 00:10:10,260 There was a great talk yesterday about how to get into safes that McDonald's uses or other companies. 98 00:10:10,440 --> 00:10:17,200 And so have realistic ones where by the time you show up and say, hey, I found a vulnerability, and they say, cool, why do I care? 99 00:10:17,200 --> 00:10:18,400 You're gonna come back to this. 100 00:10:18,400 --> 00:10:20,440 You'll come back to the threat model often. 101 00:10:20,940 --> 00:10:22,440 There's different ways to do it. 102 00:10:22,440 --> 00:10:31,620 I will say lots of research goes into it, but the only thing people care about is if you have a nice graphic that puts it all in one place because people don't want to read long text. 103 00:10:31,860 --> 00:10:33,240 Then listen. 104 00:10:33,240 --> 00:10:44,320 By the time you end up selling, showing up and proposing a red team, you don't want to say, I think we should do this because I think this threat actor is going to target us, and I'm worried. 105 00:10:44,320 --> 00:10:45,860 You want to use their language. 106 00:10:45,860 --> 00:10:52,500 You want to understand what leadership's concerned about, combine that with your threat model, and you will be golden. 107 00:10:52,500 --> 00:10:53,700 They will buy in a lot faster. 108 00:10:53,700 --> 00:11:02,120 But to do that, you have to talk to people, listen to what their concerns are, figure out the scope, what do you actually want to do on the test, propose the engagement. 109 00:11:02,220 --> 00:11:04,360 Even if you don't have to ask for permission, right? 110 00:11:04,360 --> 00:11:15,300 If you're empowered to go do this, ask for permission or at least input anyways because then when you show up with vulnerabilities, whoever gave you that input is going to be a lot more bought in. 111 00:11:17,560 --> 00:11:20,000 Do you use the threat model for the proposal? 112 00:11:20,000 --> 00:11:23,420 Prepare, do all the admin stuff, have a letter of authorization. 113 00:11:23,980 --> 00:11:31,260 Make sure that whoever's giving you the authorization to break into their building is authorized to do that. 114 00:11:31,620 --> 00:11:39,140 The coal fire incident was an example of lack of clarity around who has what authority. 115 00:11:39,220 --> 00:11:49,020 And I've seen multiple other cases, including some that we've been on where right before you go in, you ask a final question, it's like, hey, do you have the authority to do this? 116 00:11:49,020 --> 00:12:00,520 Or we'll regularly get told, yeah, we give our landlord on the ground floor keys to our office in case of an emergency, go break into their office and see how secure it is because we rely on them. 117 00:12:00,880 --> 00:12:01,940 Straight up a crime. 118 00:12:01,940 --> 00:12:12,020 If you do not have permission to break into a space and if a random person is saying, go commit this crime, it's still a crime unless they're authorized to allow you to do that. 119 00:12:12,020 --> 00:12:13,620 It may seem silly. 120 00:12:13,620 --> 00:12:14,240 It is silly. 121 00:12:14,240 --> 00:12:18,360 It's sometimes ridiculous, but I run into it frequently. 122 00:12:18,640 --> 00:12:19,720 Quick question, yeah. 123 00:12:19,720 --> 00:12:22,260 Yeah, so also if you're doing 124 00:12:34,570 --> 00:12:36,870 it in the morning, you cannot be in the middle. 125 00:12:36,930 --> 00:12:38,170 I like that. 126 00:12:38,310 --> 00:12:39,990 Yeah, definitely do that. 127 00:12:39,990 --> 00:12:41,010 I over communicate. 128 00:12:41,010 --> 00:12:43,110 So like I text, like there's a signal group. 129 00:12:43,110 --> 00:12:43,990 I text constantly. 130 00:12:43,990 --> 00:12:49,830 And if someone doesn't respond before I'm doing an after hours, we're gonna pause until the person actually responds. 131 00:12:49,830 --> 00:12:51,170 So that's a great call out. 132 00:12:51,170 --> 00:12:56,030 There's a good but controversial report, like after action report. 133 00:12:56,030 --> 00:12:59,150 And there's a lot of stuff that went into the coal fire after action. 134 00:12:59,150 --> 00:13:06,290 So if you're interested in kind of the safety part, not part of this talk, but very important, definitely go read that. 135 00:13:06,930 --> 00:13:08,190 Practice your tactics. 136 00:13:08,190 --> 00:13:09,510 This has saved us a few times. 137 00:13:09,510 --> 00:13:14,630 Make sure you're not trying to use an under door tool for the second or third time when you're actually in the field. 138 00:13:14,830 --> 00:13:18,510 Cause you'll be 10 times more nervous than you were at physical security village. 139 00:13:19,730 --> 00:13:21,750 Go and execute the operation. 140 00:13:21,750 --> 00:13:22,830 Know when to stop. 141 00:13:22,830 --> 00:13:24,690 Sometimes it's a capture the flag type thing. 142 00:13:24,690 --> 00:13:29,250 You wanna get into the COO's office, leave a card and leave. 143 00:13:29,250 --> 00:13:34,850 And sometimes you wanna escalate until you're caught to actually see what the detection threshold is. 144 00:13:34,850 --> 00:13:39,790 And then you're testing, not only whether they can detect you, but what the response is once they do. 145 00:13:39,790 --> 00:13:43,990 So figure out when you're scoping exactly when to stop the operation. 146 00:13:44,730 --> 00:13:47,590 All right, this is the single most important thing. 147 00:13:47,590 --> 00:13:54,810 When you are done with the operation, within the next hour, do an immediate debrief and de-escalation. 148 00:13:54,990 --> 00:14:04,310 Especially if you were social engineering, if you show up and you talk your way past a security guard, lie your way in, go and talk to everyone that you interacted with. 149 00:14:04,310 --> 00:14:06,630 Say, hey, this was a red team assessment. 150 00:14:07,010 --> 00:14:07,810 Everything's okay. 151 00:14:07,810 --> 00:14:08,970 No one's getting in trouble. 152 00:14:08,970 --> 00:14:12,910 No one who messed up, their name's not going in the report, anything like that. 153 00:14:12,910 --> 00:14:17,330 But I wanna understand kind of what you were thinking as this happened. 154 00:14:17,330 --> 00:14:20,230 So talk me through, I tried really hard. 155 00:14:20,230 --> 00:14:22,210 I lied, I put a lot of pressure on you. 156 00:14:22,330 --> 00:14:23,410 What went through your head? 157 00:14:23,410 --> 00:14:26,510 What would have helped you stop me in the future? 158 00:14:27,030 --> 00:14:28,270 That is gold. 159 00:14:28,270 --> 00:14:32,030 That's the single most kind of useful thing you can do for the security team. 160 00:14:32,190 --> 00:14:39,110 Because frankly, you are more creative in terms of physical security than a lot of the people that have to fix this stuff. 161 00:14:39,110 --> 00:14:42,570 And so taking time to do the root cause analysis is essential. 162 00:14:44,230 --> 00:14:48,590 All right, report your findings, communicate, demonstrate as much as possible. 163 00:14:48,590 --> 00:14:53,670 There's a million teams that constantly send reports up. 164 00:14:53,670 --> 00:14:55,950 You get to do something cool, which is have video. 165 00:14:56,050 --> 00:14:58,450 You get to take people out and demonstrate it. 166 00:14:58,450 --> 00:15:00,030 So use that to your advantage. 167 00:15:00,030 --> 00:15:02,090 And then follow up, promote positive change. 168 00:15:02,090 --> 00:15:12,650 When you see things that are fixed, go test them, put the video side by side, and then showcase to whoever does the security budget how they're actually spending money to buy down risk. 169 00:15:12,650 --> 00:15:18,830 But making people look good is gonna get you so much further, especially in the physical security space. 170 00:15:19,150 --> 00:15:23,370 All right, let's get to the TTPs that you'll actually use. 171 00:15:24,030 --> 00:15:27,890 Physical security is more than just protecting an office or a data center. 172 00:15:27,890 --> 00:15:31,450 There's a lot that goes into even a medium or large company. 173 00:15:31,450 --> 00:15:33,270 These might be separate teams. 174 00:15:33,270 --> 00:15:39,350 These might be one team with six different responsibilities, but there's a lot that goes into physical security. 175 00:15:39,530 --> 00:15:49,850 And so if you are truly testing it, make sure you pick different aspects of it, is the latch on the server room door good? 176 00:15:49,890 --> 00:15:56,890 But if you want to test is the physical security program working, pick mail screening, for example, and then figure out how to test it. 177 00:15:56,890 --> 00:15:58,890 You can buy all this stuff online. 178 00:15:58,890 --> 00:16:00,210 It's fake, it's inert. 179 00:16:00,210 --> 00:16:01,370 Sorry, it's not fake. 180 00:16:01,370 --> 00:16:05,490 All the components are real, but the explosives are typically inert. 181 00:16:06,170 --> 00:16:08,010 There's multiple websites that do this. 182 00:16:08,010 --> 00:16:09,330 This is a government contractor. 183 00:16:09,330 --> 00:16:11,130 You can buy Pager. 184 00:16:11,150 --> 00:16:14,850 That's came onto the website in the last few months. 185 00:16:15,430 --> 00:16:24,470 I will note, lessons learned, obviously don't ship this directly to your business that has x-rays or canines in order to get it. 186 00:16:24,470 --> 00:16:28,710 You kind of have to ship it somewhere else, to a PO box or to your house. 187 00:16:29,690 --> 00:16:32,130 When I shipped it to my house, it got delayed. 188 00:16:32,130 --> 00:16:35,110 Funny enough, I assume it set off some detections. 189 00:16:35,110 --> 00:16:36,870 They don't put anything on the outside of the package. 190 00:16:36,870 --> 00:16:38,470 It's just in a big box. 191 00:16:39,490 --> 00:16:43,550 And so I went out of town, and then obviously the day I went out of town, they delivered it. 192 00:16:43,550 --> 00:16:52,210 So I had an awkward call with my neighbor, who worked for the same company, and I sent him a screenshot of what I bought, a big Pelican case full of fake bombs. 193 00:16:52,210 --> 00:17:01,410 I said, can you bring this in your house so someone doesn't steal it off my doorstep and cause a major national incident? 194 00:17:01,470 --> 00:17:02,250 And so he did. 195 00:17:02,250 --> 00:17:08,050 But then I had to CC his manager about why he has this Pelican case full of explosives in his house. 196 00:17:09,130 --> 00:17:15,310 So don't do that, but figure out how to get that stuff without shipping it to yourself. 197 00:17:15,850 --> 00:17:19,230 There's plenty of talks on physical focused OSINT. 198 00:17:19,230 --> 00:17:22,950 So I will add just a little bit here. 199 00:17:22,950 --> 00:17:31,590 One of my favorite things, even if it's not easily available, there's almost always videos or 3D tours that you can use to find the types of badge readers. 200 00:17:31,650 --> 00:17:35,870 You can use it to find the specific doors that you want to target. 201 00:17:35,870 --> 00:17:38,150 In this case, you'll see these double doors. 202 00:17:38,150 --> 00:17:43,270 You can actually see on this 3D rendering, you can see the gap between the doors and I can measure it. 203 00:17:43,270 --> 00:17:44,390 And it's about three inches. 204 00:17:44,390 --> 00:17:49,850 So I know exactly what tool I need to bring to get through the doors before I even step foot on site. 205 00:17:50,510 --> 00:17:56,250 There's different kind of Wi-Fi things if you want to take more approaches. 206 00:17:56,270 --> 00:18:01,090 And then finding vendors is awesome for social engineering. 207 00:18:01,090 --> 00:18:07,030 Lately, I have been using, especially for social engineering, PIM eyes or other facial recognition. 208 00:18:07,070 --> 00:18:20,630 People still don't know that adversaries are increasingly using facial recognition or you can use Freedom of Information Act or Pacer, which costs like 10 cents a page or ReCap, which is free and they OCRed all the text. 209 00:18:20,630 --> 00:18:31,550 But if it's a good size company, you can usually find whistleblower lawsuits or some type of legal documentation that has sensitive company information in it that is available. 210 00:18:31,550 --> 00:18:34,490 So look through public records when you can. 211 00:18:35,310 --> 00:18:37,290 All right, surveillance. 212 00:18:37,290 --> 00:18:39,750 So there's all sorts of ways to do surveillance. 213 00:18:39,750 --> 00:18:41,590 Top right is the old school way. 214 00:18:41,590 --> 00:18:44,810 You think of a PI sitting in a car with a camera or binoculars. 215 00:18:45,090 --> 00:18:49,310 It is fun to put on a ghillie suit and crawl through the grass and spy on something. 216 00:18:49,670 --> 00:18:55,050 Probably not realistic anymore, but you do you, figure out what makes the most sense. 217 00:18:55,050 --> 00:18:59,190 At this point, most companies have parking lots. 218 00:18:59,190 --> 00:19:06,190 And if you show up in a parking lot with a tripod and a camera, you're just walking at a high, like very sensitive government building filming. 219 00:19:06,190 --> 00:19:07,990 Someone's gonna come question you. 220 00:19:07,990 --> 00:19:19,590 But if you park a car, a Tesla, whatever, in a parking lot with a dash cam, you have a bunch of cameras, 360, you can start uploading that footage and you can leave it there as long as you want within reason. 221 00:19:19,730 --> 00:19:25,890 Or you can do what GoTek7, they have some wild covert cameras. 222 00:19:25,890 --> 00:19:32,210 There's 36 time optical zoom, even more digital, about 36 hours worth of battery. 223 00:19:33,190 --> 00:19:35,830 And it's just a headrest, right? 224 00:19:35,830 --> 00:19:42,870 A dash cam that's like 30 optical zoom looks exactly like a normal dash cam, but great for surveillance. 225 00:19:42,870 --> 00:19:47,170 You can get different lenses to actually see through windows better, depending on your target. 226 00:19:47,170 --> 00:19:50,310 But you can do a lot without physically being there these days. 227 00:19:51,310 --> 00:19:55,250 Recon, figure out obviously badge readers and technology you need to bring. 228 00:19:55,370 --> 00:20:01,030 And you can order all sorts of clothing from different websites and walk right in. 229 00:20:01,030 --> 00:20:12,830 We had one recently where you got a Verizon shirt and walked right into a very large city's police station's server room who didn't even have Verizon as a vendor. 230 00:20:13,010 --> 00:20:17,470 But when you confidently walk in and they say, we don't have Verizon, you're like, no, yeah, you do. 231 00:20:17,470 --> 00:20:18,710 They'll let you in. 232 00:20:19,950 --> 00:20:24,210 And so, yeah, Verizon absolutely sells their employee line to the public. 233 00:20:24,210 --> 00:20:26,790 So you can get plenty of Verizon shirts. 234 00:20:26,790 --> 00:20:28,230 It's very easy and cheap. 235 00:20:28,230 --> 00:20:34,330 Not like totally super cheap, but like surprisingly cheap to rent a bucket truck, get a magnet, throw it on the side. 236 00:20:34,350 --> 00:20:38,390 I've never once been questioned driving around in a bucket truck. 237 00:20:38,390 --> 00:20:39,770 They'll let you in anywhere. 238 00:20:39,770 --> 00:20:42,330 You can pop right onto the roof quite easily. 239 00:20:43,090 --> 00:20:46,490 All right, quick caveat, traveling with gear. 240 00:20:46,790 --> 00:20:48,790 Be safe and smart about this. 241 00:20:48,790 --> 00:20:59,090 The one thing I'll say is if you're bringing a ton of gear, especially to a sensitive area, I print a page on letterhead that says, here's who I am. 242 00:20:59,090 --> 00:21:01,410 This is red team gear to test security. 243 00:21:01,410 --> 00:21:03,410 Here's a business card stapled to it. 244 00:21:03,410 --> 00:21:09,950 Like some poor TSA person's gonna like look through, they have 30 seconds to figure out, are you trying to blow something up or not? 245 00:21:09,950 --> 00:21:17,310 And if you give them a really easy explanation about what all this super suspicious shit is, they will let it go, package it back up. 246 00:21:17,310 --> 00:21:27,330 I've gone to very denied countries like Singapore, Israel, et cetera, with a lot of gear and never had a problem. 247 00:21:27,370 --> 00:21:30,730 Consider shipping stuff ahead if you want as well. 248 00:21:31,410 --> 00:21:36,730 All right, there's a bunch of talks and most of this exists in Physical Security Village. 249 00:21:36,730 --> 00:21:41,770 So you're gonna see me go fast because I wanna focus on how to mitigate a lot of this stuff. 250 00:21:42,210 --> 00:21:51,550 But these are the four, outside of social engineering, which works most of the time, these are the four tactics that'll get me into most buildings. 251 00:21:51,990 --> 00:21:57,010 Underdoor tool, canned air, different type of latch attacks and ESP keys. 252 00:21:57,010 --> 00:22:03,410 So underdoor tool, there's Physical Security 101, another Physical Security Village talk. 253 00:22:03,410 --> 00:22:04,930 Definitely check that out. 254 00:22:04,930 --> 00:22:09,450 But it works very well in the US, also most other countries. 255 00:22:09,550 --> 00:22:11,310 You can do it from the outside. 256 00:22:11,310 --> 00:22:15,750 I like to take the case off my phone and slide it under or get a little device. 257 00:22:16,090 --> 00:22:19,850 It makes it a lot easier or you can get really, really good at it. 258 00:22:19,850 --> 00:22:21,190 Either option. 259 00:22:21,870 --> 00:22:24,410 Canned air, I have some over here. 260 00:22:24,410 --> 00:22:29,560 You're gonna see this works. 261 00:22:29,560 --> 00:22:30,300 Awesome. 262 00:22:30,340 --> 00:22:33,440 So canned air, if you haven't seen the attack, turn it upside down. 263 00:22:34,180 --> 00:22:36,740 You see it just shoots a cloud of cold air. 264 00:22:39,570 --> 00:22:40,870 Actually, I can probably talk. 265 00:22:40,870 --> 00:22:42,230 It's not that big of a room. 266 00:22:43,030 --> 00:22:49,090 These passive infrared readers, they just look for clouds of air that are different temperatures than the ambient temperature. 267 00:22:49,470 --> 00:22:50,550 That's cold air. 268 00:22:50,550 --> 00:22:52,050 It sees a cloud of cold air. 269 00:22:52,050 --> 00:22:54,390 It's gonna trigger motion and open it. 270 00:22:54,390 --> 00:23:01,610 Lots of different mitigations for that, but the majority of the cheap access, and by cheap, I mean, you'll see them almost everywhere. 271 00:23:01,770 --> 00:23:07,230 They'll let you in to many doors with canned air, little straw in between, et cetera. 272 00:23:07,510 --> 00:23:09,370 Bunch of different latch attacks. 273 00:23:09,370 --> 00:23:11,070 I'm not gonna get into them. 274 00:23:11,970 --> 00:23:20,230 In ESP, key or adversary in the middle attack, this works very well for external readers before you don't even need to go in the building. 275 00:23:20,230 --> 00:23:25,010 You can usually apply them in two minutes or less on weekend wires. 276 00:23:25,750 --> 00:23:31,210 All it does, if you're not familiar, actually, quick show of hands, who is familiar with the ESP key? 277 00:23:31,830 --> 00:23:33,270 So a fair amount of you. 278 00:23:33,550 --> 00:23:35,510 So it's, yeah, adversary in the middle. 279 00:23:35,510 --> 00:23:39,170 So weekend is just clear text, ones and zeros going through the wire. 280 00:23:39,670 --> 00:23:43,970 When you swipe your badge, it goes to the door controller, sends a bunch of ones and zeros. 281 00:23:44,790 --> 00:23:52,210 The door controller says approved or not approved, and then it sends it back to the door and opens it or doesn't open it. 282 00:23:52,210 --> 00:24:05,230 This little chip, I have one in my backpack, if anyone wants to look later, you push it onto the wires, little vampire clamps, it reads the ones and zeros as it goes through the wires, and then it broadcasts it wirelessly to your phone. 283 00:24:05,430 --> 00:24:06,610 And what can you do with that? 284 00:24:06,610 --> 00:24:17,970 First, you can clone the badge if you're more advanced, or if you're less advanced, you can just hit replay on your phone and it'll inject those same exact ones and zeros into the wires and the door will pop right open. 285 00:24:17,970 --> 00:24:20,050 You do not need to be technical to do this. 286 00:24:20,050 --> 00:24:21,250 There's a wonderful web app. 287 00:24:21,250 --> 00:24:25,350 There's a lengthy manual on several websites of how to use these. 288 00:24:25,350 --> 00:24:27,550 They are quite easy to do. 289 00:24:28,790 --> 00:24:31,710 And so we'll talk through some mitigation tactics. 290 00:24:32,130 --> 00:24:41,390 Door shims, again, poorly aligned latches tend to lead to this. 291 00:24:42,170 --> 00:24:43,730 Double door tools. 292 00:24:43,810 --> 00:24:49,730 Again, I have one over here if anyone wants to look at it, but you can see you push it through and hit the crash bar. 293 00:24:51,950 --> 00:24:53,170 Let's try that again. 294 00:24:53,170 --> 00:24:53,990 There we go. 295 00:24:54,490 --> 00:25:02,190 I think you can play with all these at one of the villages downstairs, but these are some other common tactics that you can use. 296 00:25:02,190 --> 00:25:04,370 They'll get you into many buildings. 297 00:25:05,050 --> 00:25:07,970 The commercial door hook is newer and I really like it. 298 00:25:07,970 --> 00:25:12,050 It works for even some decently high security because there's a little metal bar. 299 00:25:12,050 --> 00:25:15,790 You just gotta get in there, pull it, and it'll retract the latch. 300 00:25:16,150 --> 00:25:22,890 This friend Deviant, he will just pop the, you'll see, pop the hinges right out. 301 00:25:22,890 --> 00:25:27,650 Very common to have external hinges. 302 00:25:28,130 --> 00:25:38,650 It's better, obviously, when you put either security screws into the hinges or internally hinge the doors, that's ideal, but you can see just how fast you can pull a door right off a frame. 303 00:25:38,650 --> 00:25:45,030 I try not to do it because it gets destructive and you'll see a little later on, I like to keep everybody happy. 304 00:25:45,450 --> 00:25:53,870 Another Deviant example, if you post keys, if you ever see someone with a clear key box in the lobby, you can show them this example. 305 00:25:53,870 --> 00:26:01,850 It's quite easy to figure out the bidding of a key and order it online, 3D print it, recreate it, cut it yourself. 306 00:26:02,050 --> 00:26:10,770 There's all sorts of options, but you can absolutely recreate a key and just a physical key and use it if you can get a high quality picture of it. 307 00:26:11,770 --> 00:26:14,550 Common keys, these are excellent. 308 00:26:14,550 --> 00:26:17,150 You can buy keys that unlock most things. 309 00:26:17,530 --> 00:26:26,230 Those shred bins that are in the offices that don't actually shred stuff, they just sit there until one of the shred companies comes and picks it up. 310 00:26:26,310 --> 00:26:40,590 They're my favorite, because from my perspective as an adversary, everyone's figuring, looking at documents saying, this is really sensitive, let's put it all in one place and leave it there and put it behind a commonly keyed or even if not an incredibly easy to pick lock. 311 00:26:40,830 --> 00:26:44,790 Many of you played with lock picks in the past or have used them. 312 00:26:45,630 --> 00:26:49,470 I hate to break it to you, but like in the field, I almost never use lock picking. 313 00:26:49,470 --> 00:26:53,930 All these tools are way faster, way less, everyone knows what a lock pick looks like and they'll be like, that's suspicious. 314 00:26:54,050 --> 00:27:02,150 But if I have this weird fishing hook looking thing under a door and you're just saying, I'm doing door maintenance, nobody has any idea what you're doing. 315 00:27:02,530 --> 00:27:05,710 And so I don't actually lock pick outside of shred bins. 316 00:27:05,710 --> 00:27:09,170 All those shred bins in the offices, super easy to open, harder to close. 317 00:27:09,170 --> 00:27:11,930 So if you're going to start screwing with it, keep that in mind. 318 00:27:11,930 --> 00:27:15,430 You're going to spend like two minutes opening it, 15 closing it. 319 00:27:16,170 --> 00:27:19,830 But those are really the only time I use lock picking. 320 00:27:19,830 --> 00:27:25,430 And it's a wonderful example to show just how easy it is to find all the sensitive stuff. 321 00:27:25,530 --> 00:27:27,750 All right, all sorts of ways to do badge cloning. 322 00:27:28,190 --> 00:27:33,610 I'm not going to talk a lot about it, but I will show you a quick demo. 323 00:27:35,790 --> 00:27:38,090 Can everyone hear me if I talk like this? 324 00:27:38,090 --> 00:27:38,530 Yeah. 325 00:27:38,530 --> 00:27:39,990 All right, just for a second. 326 00:27:40,310 --> 00:27:41,010 Video's out. 327 00:27:41,290 --> 00:27:42,750 Video's out, good point. 328 00:27:42,770 --> 00:27:45,270 All right, so this is a long range reader. 329 00:27:45,270 --> 00:27:50,290 It is excellent for stealing people's badges from a distance. 330 00:27:50,290 --> 00:27:57,710 A flipper, a Proxmark, all of those are going to need to get an inch or less away. 331 00:28:03,010 --> 00:28:05,270 So this, 332 00:28:10,000 --> 00:28:16,220 I left the beep on specifically so you can hear it, but obviously if you're doing covert ops, don't have the beep. 333 00:28:16,400 --> 00:28:21,720 But you can see it works from pretty far away and any direction. 334 00:28:30,100 --> 00:28:35,840 If you're walking around with a bag like this or a backpack, you can hear it here. 335 00:28:37,480 --> 00:28:39,660 You can hear it and it'll pick up lots of badges. 336 00:28:39,660 --> 00:28:46,460 So if you're walking around DEF CON, in here, it's not quite, but essentially it's a battery and an ESP key. 337 00:28:46,460 --> 00:28:49,300 So the same thing, it's broadcasting all these badges. 338 00:28:49,300 --> 00:28:50,260 It's still reading. 339 00:28:50,520 --> 00:28:54,480 It's broadcasting all of it to my phone and I can use that. 340 00:28:54,480 --> 00:28:59,200 I mean, you can write your own code and have it go to a Proxmark and immediately write it to another badge. 341 00:28:59,200 --> 00:29:04,940 Then you have a physical clone or you can have it go to a flipper. 342 00:29:04,940 --> 00:29:17,820 There's additional steps because it's not on the company's wires, but it is quite a useful tool for gathering badges, especially if you don't know which badge it is. 343 00:29:17,820 --> 00:29:23,860 So you can walk through a lobby, grab a bunch of badges, and the most common ones are going to be the ones that work well. 344 00:29:23,860 --> 00:29:27,300 So it usually works two to three feet away. 345 00:29:33,650 --> 00:29:36,350 All right, so long distance. 346 00:29:36,350 --> 00:29:46,510 There's now pretty good, pretty decent cameras that get up to a hundred times optical zoom. 347 00:29:46,930 --> 00:29:50,570 At this point, sorry, that's uncommon. 348 00:29:50,570 --> 00:29:58,790 30 to 50 is pretty common and it's getting even easier to be able to do surveillance from very far away. 349 00:29:59,490 --> 00:30:09,670 I will say these small cameras with like 30, there is a 36 time optical zoom, not very big, or even the galaxy, the newest galaxies have really good zooms. 350 00:30:09,670 --> 00:30:11,530 You can do the AI lip reading. 351 00:30:11,530 --> 00:30:18,010 You can add the like 30 time optical zoom lens to any phone and it'll be pretty decent. 352 00:30:18,010 --> 00:30:19,750 So you can start capturing keys. 353 00:30:19,750 --> 00:30:22,450 You can capture uniforms, all these things from far away. 354 00:30:22,630 --> 00:30:24,110 I love gear. 355 00:30:24,110 --> 00:30:25,490 Gear is fun. 356 00:30:25,730 --> 00:30:27,750 I've had cameras like these in the past. 357 00:30:27,750 --> 00:30:29,090 I think I still do somewhere. 358 00:30:29,090 --> 00:30:32,750 I just never use them on the job because they are very suspicious. 359 00:30:33,390 --> 00:30:38,610 You can use a cell phone at this point and get everything that you need. 360 00:30:38,910 --> 00:30:44,170 Again, with the gear, thermal and IR, it's fun. 361 00:30:44,170 --> 00:30:45,190 It's useful. 362 00:30:45,270 --> 00:30:49,790 I really only use kind of the IR night vision to detect cameras. 363 00:30:49,790 --> 00:30:53,990 If I'm targeting something at night, they'll often have IR, IR floodlights. 364 00:30:54,110 --> 00:30:58,110 And if you are trying to get into somewhere, this is an example of an IR floodlight. 365 00:30:58,110 --> 00:31:00,470 To the naked eye, it looks dark. 366 00:31:00,470 --> 00:31:01,930 You can't see any light. 367 00:31:01,930 --> 00:31:09,570 But in the bottom middle, that is what IR floodlight looks like through the IR night vision. 368 00:31:10,570 --> 00:31:11,590 Here's a few. 369 00:31:11,590 --> 00:31:13,270 Some of them have booths downstairs. 370 00:31:13,270 --> 00:31:15,790 So if you want to look at some of these fun tools, you're welcome to. 371 00:31:15,790 --> 00:31:16,470 Sorry. 372 00:31:16,510 --> 00:31:18,450 I can go back to that for just a second. 373 00:31:18,930 --> 00:31:26,370 I've seen Hacker Warehouse, Red Team Tools, and Physical Security Village also has a booth downstairs with some of the physical gear. 374 00:31:27,290 --> 00:31:31,330 It is quite easy to get hard hats. 375 00:31:31,330 --> 00:31:34,690 I mean, the common saying is, you walk in anywhere with a ladder. 376 00:31:34,690 --> 00:31:44,490 I've stolen a safe with, let's say, a crypto key worth over a billion dollars with a ladder alone. 377 00:31:44,510 --> 00:31:52,110 You walked in, people hold the door, you lean a ladder, you set off all these like, oh my God, someone's breaking into this super sensitive room type alarms. 378 00:31:52,130 --> 00:31:57,030 But you lean a ladder against the door and saying you're doing door maintenance, not a word. 379 00:31:57,670 --> 00:32:01,750 And so ladders, hard hats, they're all awesome. 380 00:32:01,750 --> 00:32:10,090 But for some reason, like people will just hold doors open if you have ladders or if you have crutches, but you don't want to make life hard for people that actually have crutches. 381 00:32:10,090 --> 00:32:12,550 So I try not to use that tactic. 382 00:32:13,350 --> 00:32:21,270 But yeah, you can buy all sorts of gear online, like put whatever logo you want and people will not question you. 383 00:32:21,270 --> 00:32:23,990 All right, so actual question for everyone. 384 00:32:23,990 --> 00:32:25,890 How do you know if a red team is useful? 385 00:32:25,890 --> 00:32:29,830 Like, what are the KPIs if you want to use corporate buzzwords? 386 00:32:33,000 --> 00:32:39,220 So you try different tactics, you're not repeating the same thing. 387 00:32:39,300 --> 00:32:40,760 I like that. 388 00:32:43,300 --> 00:32:44,500 Yeah. 389 00:32:44,660 --> 00:32:46,780 You find issues and they're corrected. 390 00:32:48,140 --> 00:32:50,180 Any other thoughts? 391 00:32:52,220 --> 00:32:53,620 Asset management. 392 00:33:02,000 --> 00:33:02,600 Yep. 393 00:33:03,420 --> 00:33:04,120 Absolutely. 394 00:33:04,120 --> 00:33:05,680 I agree with it all. 395 00:33:06,020 --> 00:33:11,980 It's changed over my career, like my perspective, I used to say like, find as many vulnerabilities and give it to the people to fix it. 396 00:33:11,980 --> 00:33:15,380 And now I'm a little more harsh for the red team. 397 00:33:15,380 --> 00:33:20,060 I say like, if people aren't fixing the shit that you're finding, your job is not worthwhile. 398 00:33:20,060 --> 00:33:23,200 The company's not getting their money's worth out of having you there. 399 00:33:24,640 --> 00:33:28,900 And so let's talk a little bit about that and fixing everything. 400 00:33:29,140 --> 00:33:34,600 So double door tool, for example, you put it between the two doors, you turn it, open a crash bar. 401 00:33:34,800 --> 00:33:41,120 There's a central Astragal piece of metal that you can put so you're no longer vulnerable or a latch guard. 402 00:33:41,540 --> 00:33:44,480 You can put a security officer inside or outside the door. 403 00:33:44,980 --> 00:33:51,300 Either one, the security officer is gonna see someone sticking metal through the door and get pretty concerned and address it. 404 00:33:52,580 --> 00:33:54,380 Either one works, right? 405 00:33:54,400 --> 00:34:02,580 The security officer, depending on where you are, if you need 24 seven, which you probably do because the vulnerability doesn't go away at night, it probably increases. 406 00:34:02,580 --> 00:34:07,900 It's gonna be a quarter million a year if you want 24 seven security officers somewhere. 407 00:34:08,600 --> 00:34:09,700 So think about that. 408 00:34:09,700 --> 00:34:11,120 Is it a good investment? 409 00:34:11,120 --> 00:34:18,300 Do you wanna work on alarms that might trigger if there's not motion on the inside and the door is pushed? 410 00:34:18,300 --> 00:34:20,160 Do you wanna put additional metal? 411 00:34:20,160 --> 00:34:27,720 Because sometimes if you put a latch guard and the doors close in the wrong order, you've created a vulnerability because suddenly the doors are unlocked. 412 00:34:28,500 --> 00:34:39,800 These are things that you as red teamers and hackers are probably gonna think about and the physical security folks and the facilities folks may not think about. 413 00:34:39,800 --> 00:34:49,760 So I'd say even more than cybersecurity, your role in kind of purple teaming and helping fix the physical security stuff should be very high. 414 00:34:50,320 --> 00:34:51,840 What about the under door tool? 415 00:34:51,840 --> 00:34:52,780 Same exact thing. 416 00:34:52,780 --> 00:34:58,380 A security guard that sees an under door tool that actually knows what it is is definitely gonna stop you. 417 00:34:58,620 --> 00:35:04,340 Or the door sweep at the bottom, the mechanical door sweep, it closes and engages and drops down. 418 00:35:04,360 --> 00:35:13,620 That prevents the under door tool from working, but you have to route out the bottom of the door and it tends to shift, the buildings shift over time and it doesn't work. 419 00:35:13,720 --> 00:35:16,380 I think they're awesome, but they take a ton. 420 00:35:16,380 --> 00:35:19,700 They're expensive and a lot of maintenance and you can't have hollow doors. 421 00:35:20,580 --> 00:35:30,620 Or you spend $1.25, I think, on a door shroud and suddenly you can't actually get the wire and the under door tool over the door. 422 00:35:30,980 --> 00:35:38,320 I've seen like hotels, there's been a bunch of news articles with hotels getting hit with lots of under door tools, people breaking into rooms. 423 00:35:38,320 --> 00:35:45,280 Some hotels have been just buying hundreds of these and putting them on every room so people can actually get in there. 424 00:35:45,280 --> 00:35:47,940 They are ADA compliant and they're very cheap. 425 00:35:47,940 --> 00:35:56,240 So like, if you can give someone, here's this vulnerability, here's these eight expensive options to fix it, but here's a really cheap one, people tend to like that. 426 00:35:56,240 --> 00:36:02,760 And I guarantee, unless someone spends a lot of time researching, they're not going to figure out a cheap way to do this. 427 00:36:03,400 --> 00:36:18,020 I'm hesitant to say this, but I have found that different AI models come up with some creative and useful, like ChatGPT will recommend a door shroud most of the time if you ask for cheap ways to mitigate under door tools. 428 00:36:18,800 --> 00:36:24,020 I'm always hesitant, but I do think it can give you some useful creative ideas on how to fix these things. 429 00:36:24,600 --> 00:36:25,740 What about the ESP key? 430 00:36:25,740 --> 00:36:26,680 That one's harder. 431 00:36:27,300 --> 00:36:32,260 On the left, you can see a company that just moved all the external badge readers inside the glass. 432 00:36:32,260 --> 00:36:34,960 So you just have to tap the glass and the door opens. 433 00:36:34,960 --> 00:36:37,280 No longer can put something behind the reader. 434 00:36:37,760 --> 00:36:42,520 Security guards are expensive, but if they see someone tampering with it, they'll likely call. 435 00:36:42,520 --> 00:36:48,900 You can switch to OSDP and encrypt the data between the reader and the door controller, but that's incredibly expensive. 436 00:36:48,900 --> 00:36:50,240 You have to pull all the wiring out. 437 00:36:50,240 --> 00:36:53,040 You have to switch hardware. 438 00:36:53,040 --> 00:36:55,180 There's all sorts of things that go into that. 439 00:36:56,040 --> 00:36:58,200 My typical recommendation, right? 440 00:36:58,200 --> 00:37:07,880 If it's a high security government building, hopefully they have OSDP or pay whatever they've upgraded, but if there's a tamper switch in the reader, just make that a priority. 441 00:37:07,880 --> 00:37:10,100 Make sure that it's on, make sure that it works. 442 00:37:10,100 --> 00:37:14,240 Sometimes they're physical, like they'll, if you actually remove it, it'll trigger. 443 00:37:14,240 --> 00:37:19,880 Sometimes they're light-based, but just make sure whoever sees alarms prioritizes those. 444 00:37:19,880 --> 00:37:22,440 But think through all of these recommendations. 445 00:37:22,940 --> 00:37:26,780 Someone could put an ESP key in, no one's gonna know what to do with that. 446 00:37:26,780 --> 00:37:28,180 You kind of have to think through it. 447 00:37:28,180 --> 00:37:35,260 Don't just hack and create the problem, help hack the solution and come up with ways that you can fix it. 448 00:37:35,920 --> 00:37:38,240 All right, this one's a bit harder. 449 00:37:38,240 --> 00:37:40,800 So buildings shift over time. 450 00:37:43,240 --> 00:37:48,260 There's all sorts of ways, shims, door latches, and they all rely on poorly aligned latches. 451 00:37:48,520 --> 00:37:50,640 Oops, poorly aligned latches. 452 00:37:51,100 --> 00:37:53,920 The wrong latches, the wrong hardware, et cetera. 453 00:37:53,920 --> 00:38:01,040 One of my favorite things is just go and train, and this is like a teach a man to fish versus catching a fish type scenario. 454 00:38:02,420 --> 00:38:06,180 Train the facilities people, the local security people, how to do a door audit. 455 00:38:06,180 --> 00:38:12,880 Buy them 25 bucks worth of tools at each site and say, every three months, go out and try to break into your own building. 456 00:38:12,880 --> 00:38:16,120 And if you find a door, file a ticket and you're good to go. 457 00:38:16,120 --> 00:38:20,880 It shouldn't take a expensive red team to find some of these things. 458 00:38:21,060 --> 00:38:28,140 These are things that it'd be incredibly easy for a facilities person, a security guard, et cetera, that has a little bit of training. 459 00:38:28,140 --> 00:38:39,520 And so in this case, go teach them how to fish, teach them how to find this low hanging fruit about doors that are misaligned, that the building's settled and the gap's too big, so suddenly the dead latch isn't actually working. 460 00:38:40,720 --> 00:38:42,180 This one's fun. 461 00:38:42,540 --> 00:38:47,340 You can get, you know, it's maybe 60 bucks on eBay to get the passive infrared. 462 00:38:47,340 --> 00:38:59,580 It's maybe 300 to get really good active infrared, but essentially you can have it say, if someone's not moving towards the door, if there's a cloud of cold air that's moving away from the door, don't trigger. 463 00:38:59,580 --> 00:39:03,700 If it's moving towards the door and it's warmer than the air, then you should trigger. 464 00:39:03,900 --> 00:39:06,800 But it takes some extra effort and configuration. 465 00:39:07,660 --> 00:39:12,620 In Europe, the canned air rarely works because they always have the door release buttons. 466 00:39:12,620 --> 00:39:19,440 Those work great, unless you put them right next to a big gap and you can just reach in and press them, which I see more than I would like. 467 00:39:19,440 --> 00:39:24,260 But yeah, I see a lot of the press to release and those prevent. 468 00:39:25,000 --> 00:39:26,440 Badge cloning is harder. 469 00:39:27,920 --> 00:39:35,100 So I stole this slide from RTA, but there's a few different examples for how to mitigate badge cloning. 470 00:39:35,100 --> 00:39:44,160 If you have, you know, the highest security badges, it's pretty hard to clone today, but next year at DEF CON, someone will probably drop a new exploit and they'll be able to clone it. 471 00:39:44,560 --> 00:39:49,220 You can ask employees, as soon as you leave the office, take your badge off, put it in your backpack. 472 00:39:49,380 --> 00:39:56,380 That makes it harder to identify employees and then use the long range reader to actually clone their badges. 473 00:39:57,020 --> 00:40:03,900 You can train people on what to look for when they might be getting their badges cloned or when someone might be using a clone badge to open a door. 474 00:40:03,940 --> 00:40:07,740 There's lots of ways to address it, but figure out what's cost effective. 475 00:40:07,740 --> 00:40:25,200 Because if you have 20,000 or 100,000 people with physical badges, getting them all to turn, trust me when I say this, getting everyone to turn in badges, printing new ones, upgrading the technology just for a new exploit to be dropped three months later is a nightmare and no one will like you if you make them do that. 476 00:40:26,700 --> 00:40:29,600 All right, hinge pin, couple of different options I already mentioned. 477 00:40:29,600 --> 00:40:33,680 Just move the hinges on the inside so you can access them on the unsecure side. 478 00:40:33,680 --> 00:40:42,080 But alternatively, there's security screws that prevent you from actually knocking the pin out easily when the door is closed and locked. 479 00:40:43,100 --> 00:40:45,000 We'll skip that. 480 00:40:45,060 --> 00:40:51,540 Window film, I can't tell you how often and how easy it is to spy on folks inside buildings. 481 00:40:51,620 --> 00:40:56,800 All these companies have ground floor level public facing windows. 482 00:40:56,800 --> 00:41:03,480 Their screens are facing there and you can just set up outside with a camera on someone's screen or a keyboard and see them typing in their password. 483 00:41:03,760 --> 00:41:09,640 And so think about getting good window film, privacy film, and putting that up. 484 00:41:09,640 --> 00:41:15,260 It does not mitigate laser microphones or other advanced technology. 485 00:41:15,540 --> 00:41:23,960 Laser mics have gotten harder or some of the technology to mitigate them like putting white noise and blasting it right into the glass. 486 00:41:23,960 --> 00:41:27,940 The newer laser mics can actually defeat that and just filter the noise out. 487 00:41:27,940 --> 00:41:36,460 So the best ones actually take voices, randomize it, pump it into the glass so you can actually hear what's happening inside from the outside. 488 00:41:36,460 --> 00:41:38,760 You can just also do a couple of panes of glass. 489 00:41:38,760 --> 00:41:40,420 There's a few options there. 490 00:41:41,040 --> 00:41:45,100 All right, quick notes on Red Team superpowers. 491 00:41:45,140 --> 00:41:47,000 These are things we can do that no one else can. 492 00:41:47,000 --> 00:42:00,040 We get to demonstrate, instead of just tell people what the vulnerability is, a VP in charge of budget or whoever is gonna get 10 different audit reports that say we need to spend money here, here, and here. 493 00:42:00,120 --> 00:42:09,860 But they might only get one video from you showing the beginning to end how someone might break in and implant a device in a server room that gives them persistent access. 494 00:42:10,560 --> 00:42:12,520 You can also think differently. 495 00:42:12,520 --> 00:42:25,420 You can do what I call fictional intel, which is write a story, write the story from your threat model, and then have this person decided to break into our building because they've been attacking our network. 496 00:42:25,420 --> 00:42:28,700 And this APT is actually known to do some physical attacks. 497 00:42:28,700 --> 00:42:30,020 And all of that might be true, right? 498 00:42:30,020 --> 00:42:38,000 You can show real audit logs of your network getting hit, you denying them, and then say, all right, here's where we go into the fictional part. 499 00:42:38,000 --> 00:42:40,940 This is what would happen if they attacked us physically. 500 00:42:41,100 --> 00:42:43,660 And then you show beginning to end, and you write a really good story. 501 00:42:43,660 --> 00:42:44,760 That's gonna stick with people. 502 00:42:44,760 --> 00:42:50,140 They're gonna tell their family about that, or they're gonna be more excited about that when it comes budget season. 503 00:42:51,220 --> 00:42:54,940 I also recommend gamifying security awareness as much as possible. 504 00:42:55,620 --> 00:42:58,140 People like to be rewarded if they do a good job. 505 00:42:58,400 --> 00:43:03,220 I don't think punishing people that do a bad job at security works, frankly. 506 00:43:03,260 --> 00:43:11,460 But if you have a bunch of swag, and you walk around and act suspicious, and you give rewards to people that catch you, you start to change the whole culture. 507 00:43:12,440 --> 00:43:13,620 Don't go to jail. 508 00:43:13,800 --> 00:43:16,800 That makes us all look bad in the physical security testing space. 509 00:43:17,740 --> 00:43:22,540 There's one confirmed story with Coal Fire, and a bunch of other people that have posted stories. 510 00:43:22,860 --> 00:43:24,160 I like to collect them. 511 00:43:24,160 --> 00:43:29,580 So if any of you have been arrested, feel free to send me a little note, or if you know of a case. 512 00:43:29,700 --> 00:43:31,000 I just like to collect them. 513 00:43:31,000 --> 00:43:40,500 I have a public Excel or Google sheet on the website of lessons learned, extracted from other physical red teamers and stories that have been told. 514 00:43:40,500 --> 00:43:44,800 And so if anyone wants to look through some lessons learned, you're more than welcome to. 515 00:43:44,800 --> 00:43:46,760 But be careful when you're red teaming. 516 00:43:46,840 --> 00:43:55,320 We are essentially doing a bunch of criminal acts, and the only reason it's okay is because someone asked us to and gave us a letter that said it is. 517 00:43:55,320 --> 00:43:57,580 But I highly recommend being careful. 518 00:43:57,580 --> 00:44:06,740 I usually have like 25 slides and all the different laws red teamers are skirting the line on, and they all rely on following your scope and being authorized to do it. 519 00:44:06,780 --> 00:44:07,540 All right. 520 00:44:07,800 --> 00:44:09,640 Two really quick things. 521 00:44:10,440 --> 00:44:14,020 Two really important things is good relationship and good perspective. 522 00:44:14,020 --> 00:44:19,300 That's what's gonna land you enough credibility to make change and do more red teaming. 523 00:44:20,740 --> 00:44:22,160 This often happens. 524 00:44:22,160 --> 00:44:28,400 If you social engineer or attack security and they get mad about it, try to mend those fences as fast as you can. 525 00:44:28,860 --> 00:44:32,280 Try to purple team and be a good partner and get buy-in. 526 00:44:32,660 --> 00:44:37,400 One example of this is you don't always have to test things the hardest way possible. 527 00:44:37,460 --> 00:44:41,820 The OMG cable is a reminder for me to mention. 528 00:44:41,820 --> 00:44:49,380 We had a scenario where a company published an article that said, as a perk to our employees, we're sending them all... 529 00:44:49,380 --> 00:44:56,740 I'm changing a few details for privacy's sake, but we're sending everyone this really high-quality webcam because everyone's gonna work from home. 530 00:44:56,740 --> 00:44:57,800 It'll sit on their desk. 531 00:44:57,800 --> 00:44:59,880 They'll be able to take all their corporate meetings. 532 00:44:59,880 --> 00:45:12,220 It's this publicly available thing we're buying off the shelf, and we're sending it to everyone, yay, pat on the back for us, which is great for an attacker who wants to get a camera and microphone into a bunch of very important people's houses. 533 00:45:12,420 --> 00:45:15,680 And so we said, this is a perfect attack vector. 534 00:45:15,680 --> 00:45:30,340 Let's go buy the off-the-shelf thing, put a little, literally, Alibaba 4G SIM card in it that activates and calls my cell phone when voices are detected, and then it just lets me listen into their conversation. 535 00:45:30,520 --> 00:45:31,820 Literally, it was $11. 536 00:45:32,660 --> 00:45:33,760 They've pulled it off since. 537 00:45:33,760 --> 00:45:38,800 You have to dig a little harder to find it, but this was one of those low-hanging fruit-type deals. 538 00:45:38,840 --> 00:45:41,040 So we buy the thing, we put the implant in. 539 00:45:41,100 --> 00:45:48,080 We use voting records and political donations because it was an election year. 540 00:45:48,520 --> 00:45:57,840 And a fun fact, a lot of people that are higher up at different companies donate a lot of money, and so their home address and their title are all listed in one place. 541 00:45:57,840 --> 00:45:58,880 It was wonderful. 542 00:45:59,240 --> 00:46:06,460 We also confirmed it with Wiggle and Wardriving just to make sure, because they sent all these, like , I'm going to pick on Microsoft. 543 00:46:06,460 --> 00:46:08,120 It's specifically not them. 544 00:46:08,120 --> 00:46:13,500 But they sent everyone this router that says Microsoft at home, and then it's broadcasting the SSID. 545 00:46:13,500 --> 00:46:18,460 So you can actually map where all the different employees live in the area around the office. 546 00:46:18,840 --> 00:46:27,180 And so we found a bunch of important people, and we want to send them these bugs to their house to show that an adversary absolutely could do this. 547 00:46:27,900 --> 00:46:33,440 But that's not a good idea because you don't want a random Chinese bug in all of these people's homes. 548 00:46:33,980 --> 00:46:35,820 And so what we did is we sent it to ourselves. 549 00:46:35,820 --> 00:46:39,040 We took a couple meetings, did a proof of concept. 550 00:46:39,040 --> 00:46:42,140 We sent actual devices to the VPs without the implant. 551 00:46:42,720 --> 00:46:43,840 They plugged it in. 552 00:46:43,840 --> 00:46:44,580 They used it. 553 00:46:44,580 --> 00:46:47,540 We have the network logs of the device going online. 554 00:46:47,540 --> 00:46:50,380 And we said, we didn't bug you, but we could have. 555 00:46:50,380 --> 00:46:52,220 This is what it would have looked like. 556 00:46:52,220 --> 00:46:54,180 And that proof of concept was enough. 557 00:46:54,300 --> 00:46:55,680 We didn't ruffle any feathers. 558 00:46:55,680 --> 00:47:01,100 People were actually excited that we were able to do a proof of concept and that we didn't create a vulnerability by the test. 559 00:47:01,100 --> 00:47:04,880 But you don't always have to go all out and cause issues there. 560 00:47:06,500 --> 00:47:10,560 All right, so discovering the vulnerability is easy. 561 00:47:10,940 --> 00:47:13,520 Figuring out why it exists is hard. 562 00:47:14,300 --> 00:47:17,800 But that is the most important thing to actually get it fixed. 563 00:47:18,400 --> 00:47:20,420 Figure out the impact of what you're doing. 564 00:47:20,440 --> 00:47:21,920 I'll give a really quick example. 565 00:47:21,920 --> 00:47:25,800 If you walk up to a front desk, this works way more often than it should. 566 00:47:25,980 --> 00:47:27,240 I lost my badge. 567 00:47:27,240 --> 00:47:28,140 I lost my phone. 568 00:47:28,140 --> 00:47:30,040 I lost my wallet and the taxi. 569 00:47:30,040 --> 00:47:34,800 I need to get upstairs so I can get to my laptop to start filing paperwork to get it back. 570 00:47:34,800 --> 00:47:37,500 Plus, I have a meeting with a really important person in a bit. 571 00:47:37,640 --> 00:47:39,280 Cool, we'll give you a temporary badge. 572 00:47:39,280 --> 00:47:42,320 You kind of look like the employee that I pulled up on my screen. 573 00:47:42,860 --> 00:47:44,600 It works way more than it should. 574 00:47:44,860 --> 00:47:49,600 So in your report, you say the security officer was susceptible to impersonation. 575 00:47:50,040 --> 00:47:52,100 They gave me a temporary badge. 576 00:47:52,100 --> 00:47:54,580 When I claimed to be employee, I didn't have to show ID. 577 00:47:54,600 --> 00:47:57,900 That is a very common red team report and vulnerability. 578 00:47:59,620 --> 00:48:09,620 But it's going to result in the CISO that hired you or that asked you to do the test yelling at the physical security manager who's now having a bad day. 579 00:48:09,620 --> 00:48:13,560 And they're going to yell at the security guard who's going to also have a bad day. 580 00:48:15,180 --> 00:48:17,560 And it's not going to really get you anywhere. 581 00:48:17,740 --> 00:48:24,620 So what I would say is when you're done with the test, go back, talk to the security guard, and they're going to say, I have 300 standard operating procedures. 582 00:48:24,620 --> 00:48:30,720 I don't know if this was a lost badge one or employee victim of robbery or whatever, whatever. 583 00:48:30,720 --> 00:48:35,380 Plus, I got yelled at last week because I didn't let the VP's sister in because she wouldn't show me ID. 584 00:48:35,920 --> 00:48:42,860 And so then when you write your report, you get to say there's too many SOPs, plus we were scolded by leadership. 585 00:48:42,940 --> 00:48:53,280 That root cause is going to give the security manager a specific roadmap of what they need to do to make the security guard's life easier and security better. 586 00:48:53,540 --> 00:48:58,240 And it gives you the ability to, like everyone in that case is going to have a good day. 587 00:48:58,820 --> 00:49:05,040 So your goal is to make sure everyone is comfortable and happy at the end of the assessment. 588 00:49:05,040 --> 00:49:09,260 It increases the likelihood that people will actually do things. 589 00:49:09,320 --> 00:49:10,620 So I'm going to leave you with this. 590 00:49:10,620 --> 00:49:12,460 I want to leave a minute for questions. 591 00:49:12,560 --> 00:49:19,560 But the more improvements that you can actually create at your business through testing, the more testing they're going to ask you to do. 592 00:49:19,560 --> 00:49:21,420 It is an awesome cycle. 593 00:49:22,300 --> 00:49:24,940 And so the more testing, the more improvements, it keeps going. 594 00:49:24,940 --> 00:49:26,040 Testing is fun. 595 00:49:26,400 --> 00:49:31,280 Seeing things improve is rewarding, and you are at risk of having a fun and rewarding job. 596 00:49:31,280 --> 00:49:39,980 Even if it's a little part of your job, it really becomes a cycle where you get to test more and have more fun at work. 597 00:49:39,980 --> 00:49:42,480 And so I strongly encourage, take the time, right? 598 00:49:42,480 --> 00:49:52,760 It's a lot of the professions with adrenaline, you know, policing or EMS or whatever, they like for every five minutes of action, there's five hours of reporting. 599 00:49:52,940 --> 00:49:59,680 The same for red teaming, except for it's easy to say, I did the test, I'm going to go write the report and move on to the next thing. 600 00:49:59,680 --> 00:50:14,380 The hard part is doing the root cause analysis, talking to all the people after, making sure you're giving really useful roadmaps for how to fix the things that you found, because that's going to get everyone that's going to help the company improve the security. 601 00:50:14,380 --> 00:50:19,420 It's going to help the security team figure out what they need to do, and it's going to help you because then you get to test more. 602 00:50:20,240 --> 00:50:21,840 So that's all I got. 603 00:50:27,820 --> 00:50:28,540 Awesome. 604 00:50:29,880 --> 00:50:33,440 I think I have a few minutes, we'll stay until I get kicked out and then I'll be outside. 605 00:50:33,440 --> 00:50:36,680 So if anyone has, anyone with questions right now? 606 00:50:38,200 --> 00:50:39,280 Yeah, go ahead. 607 00:50:47,500 --> 00:50:48,220 Yes. 608 00:50:56,500 --> 00:50:57,780 Yeah. 609 00:51:01,780 --> 00:51:03,880 So here we go. 610 00:51:03,880 --> 00:51:10,560 So the question was, sounds like there's facial recognition technology where you can just defeat it with a magnet. 611 00:51:13,080 --> 00:51:14,460 Better hardware? 612 00:51:14,460 --> 00:51:23,680 I don't know the specific hardware that you're talking about but if a magnet can defeat a latch, you probably need a better latch. 613 00:51:26,840 --> 00:51:34,040 The facial recognition controller is a laser relay that opens the magnets on the door. 614 00:51:34,040 --> 00:51:34,900 Got it. 615 00:51:34,900 --> 00:51:38,300 So if you place a magnet in the right place, the relay... 616 00:51:38,300 --> 00:51:38,920 Yeah. 617 00:51:39,800 --> 00:51:44,420 Yep, there's a fair amount of hardware where that works as well. 618 00:51:45,200 --> 00:51:55,220 Yeah, there's a couple of different, I want to see if you have a picture, I'll take a look at it, but you can definitely, there's definitely ways to mitigate magnetic attacks. 619 00:51:55,220 --> 00:51:56,360 They're very common. 620 00:51:56,360 --> 00:52:02,120 They're less common because most people have figured them out by now, but someone had a question. 621 00:52:02,120 --> 00:52:03,220 Yeah, go ahead. 622 00:52:04,860 --> 00:52:05,900 Yes. 623 00:52:16,680 --> 00:52:17,720 Yeah. 624 00:52:18,880 --> 00:52:27,460 So the question was, if you add a second factor, so an individual pin to swiping a badge, it absolutely helps. 625 00:52:27,460 --> 00:52:35,760 Sometimes you can still defeat it with an adversary in the middle attack behind it, but the issue with that is it's inconvenient. 626 00:52:35,760 --> 00:52:40,180 There's no simple way to implement that where everyone is not mad at you. 627 00:52:40,180 --> 00:52:48,920 If you work for a company that is absolutely security first, convenience second, you can implement that and it is effective when it comes to badge cloning. 628 00:52:49,080 --> 00:52:59,920 But there are attacks, especially on external readers, where you can just use the car parked at an angle and try to see someone type in a badge or type in a pin. 629 00:52:59,920 --> 00:53:08,540 There's all sorts of attacks, but it makes it significantly harder to get through with two factors instead of one. 630 00:53:10,860 --> 00:53:12,920 Any other questions? 631 00:53:13,380 --> 00:53:14,580 Yes, please. 632 00:53:14,580 --> 00:53:15,320 You mentioned your 633 00:53:22,060 --> 00:53:23,100 practices . 634 00:53:23,120 --> 00:53:26,280 Due to that, I think it's kind of hard to make a decision. 635 00:53:26,400 --> 00:53:33,520 I guess cyber hygiene practices, like you can't go to the patient. 636 00:53:33,520 --> 00:53:36,620 That's obviously a department that would like to implement. 637 00:53:36,800 --> 00:53:37,460 Yeah. 638 00:53:38,460 --> 00:53:39,940 Red team, right? 639 00:53:39,940 --> 00:53:42,680 Yeah, exactly, that's part of your purview. 640 00:53:42,680 --> 00:53:43,300 Yep. 641 00:53:43,300 --> 00:53:50,120 So quickly, the question was, do you, do we recommend cyber hygiene? 642 00:53:50,120 --> 00:53:56,160 So political donations, just general privacy related and cyber hygiene things as part of our recommendations. 643 00:53:56,920 --> 00:53:59,300 In general, yes, it depends on the scope. 644 00:53:59,300 --> 00:54:03,260 Sometimes it's a, we need to check a box, so break into our office. 645 00:54:03,340 --> 00:54:07,480 And sometimes it's a, we truly want to know where our vulnerabilities are. 646 00:54:07,480 --> 00:54:14,180 And in those cases, a hundred percent, we try to use at least one example where we do a deep dive on someone. 647 00:54:14,260 --> 00:54:19,960 We compromise enough information that we can say, here's a specific example of what we found. 648 00:54:19,960 --> 00:54:21,280 Here's how we used it. 649 00:54:21,280 --> 00:54:25,200 And here's how all your employees should do better at this. 650 00:54:25,400 --> 00:54:29,760 So yes, I think it's increasingly important to call that out. 651 00:54:31,180 --> 00:54:32,140 Yeah. 652 00:54:32,860 --> 00:54:35,920 I think one more, and then I'm going to jump off stage. 653 00:54:35,940 --> 00:54:36,640 So you talked 654 00:54:51,590 --> 00:54:53,650 a bit about, personal exploits are really 655 00:54:58,470 --> 00:54:59,490 expensive . 656 00:54:59,630 --> 00:55:02,550 Same thing for some daily payments. 657 00:55:02,610 --> 00:55:05,170 Same purview, but they can set that up. 658 00:55:05,170 --> 00:55:05,650 Yep. 659 00:55:06,010 --> 00:55:07,630 Yeah, that's a common one. 660 00:55:07,630 --> 00:55:13,170 I cut a lot of slides to try to get enough time for questions, but yeah, that's a very common one. 661 00:55:13,170 --> 00:55:17,290 You can throw a hand warmer through some of those, that works great. 662 00:55:17,710 --> 00:55:23,210 Deviant has a video of spitting whiskey through a door and the cold air of particles sets it off. 663 00:55:23,590 --> 00:55:36,450 Yeah, moving those readers down the hall often works, but yes, and minimizing the gaps, but sometimes, yeah, there's plenty of ways to tackle it, but yeah, that's a good call out. 664 00:55:36,450 --> 00:55:37,750 Those are a huge pain. 665 00:55:37,750 --> 00:55:38,610 So thank you. 666 00:55:39,290 --> 00:55:40,110 I appreciate it. 667 00:55:40,110 --> 00:55:42,050 I'll be right outside if anyone has more questions. 668 00:55:42,050 --> 00:55:42,590 Thank you.