1 00:00:00,000 --> 00:00:02,600 Okay, let's start. 2 00:00:09,710 --> 00:00:16,450 She was Margaret Bourke-White, a pioneer American photojournalist. 3 00:00:16,450 --> 00:00:28,630 She broke barriers as the first female photographer at Life magazine and captured history from the front lines of World War II. 4 00:00:28,630 --> 00:00:35,070 Her lens froze decisive moments like Gandhi's final hours. 5 00:00:35,070 --> 00:00:45,150 One of her quotes encapsulates the mindset of every hacker, every red teamer and social engineer. 6 00:00:45,210 --> 00:00:50,950 Because in our world, access is everything. 7 00:00:51,050 --> 00:00:56,150 But what if the door doesn't need to be open? 8 00:00:56,190 --> 00:01:05,010 What if it's already there, hiding in plain sight, just waiting for someone to notice? 9 00:01:08,060 --> 00:01:18,460 I am Daniel Eisler, I'm team leader of Friendly Rats, the social engineering unit at DreamLab Technologies. 10 00:01:19,400 --> 00:01:33,660 It's not only a pleasure and an honor to be speaking at DEF CON for the sixth time, yeah, and of course, big thanks to Adversary Village to make it possible. 11 00:01:33,800 --> 00:01:40,420 It's also deeply meaningful to be here, representing my team, because it's our 10th anniversary. 12 00:01:40,860 --> 00:01:44,300 We only do social engineering stuff. 13 00:01:44,340 --> 00:01:54,240 It's been two years that we didn't make any phishing, so it's very, like, vintage style. 14 00:01:54,520 --> 00:02:08,860 What you are about to see now is the result of a lot of work, a lot of failures, but a lot of love from a bunch of rats, a bunch of Friendly Rats. 15 00:02:09,520 --> 00:02:22,880 So, most of people come to social engineering talks looking for a big red button, some magic trick to change user behavior. 16 00:02:22,880 --> 00:02:33,040 But the truth is, the red button has always been themselves, and that is the hardest part to accept. 17 00:02:35,390 --> 00:02:46,790 There's a deeply root belief in social engineering consulting that if you have the perfect pretext, you can achieve anything. 18 00:02:46,970 --> 00:03:01,330 And yes, pretext matters, just like the right outfit, the right tone of voice, a well-crafted email, technical lingo, and a solid OSINT over your target. 19 00:03:01,990 --> 00:03:05,730 All that helps. 20 00:03:06,050 --> 00:03:13,310 But what happens when the person you rehearse with is not the person that you have in front of you? 21 00:03:13,670 --> 00:03:19,210 What if just that morning the company changed the physical access protocols? 22 00:03:20,110 --> 00:03:25,130 What do you do when someone says to you, can you repeat your name? 23 00:03:25,130 --> 00:03:27,670 You are not in the company database. 24 00:03:28,150 --> 00:03:42,290 So in our experience, the main reason infiltration failed isn't because the plan was bad, it's because someone didn't know when to let go of the plan. 25 00:03:42,990 --> 00:03:47,390 And that happens to all of us, all the time. 26 00:03:47,650 --> 00:04:05,350 The pen tester who forces a tool even though the environment has changed, the salesperson who keeps reading their pitch even after the customer already says yes, the DEF CON attendee who keeps connecting to free Wi-Fi. 27 00:04:05,590 --> 00:04:08,210 Rigidity kills instinct. 28 00:04:08,650 --> 00:04:15,290 And in social engineering, instinct is the line between getting in or staying out. 29 00:04:15,350 --> 00:04:23,030 So that's why we stop looking for the perfect script and start looking for something else. 30 00:04:23,490 --> 00:04:27,210 The perfect moment to drop the script. 31 00:04:29,050 --> 00:04:35,830 This is gonna... I don't wanna say names, but it's a real case. 32 00:04:36,350 --> 00:04:39,010 We had everything ready. 33 00:04:39,010 --> 00:04:49,210 The pretext of being authorized suppliers, the customs, fake credential, props, a careful craft plan. 34 00:04:49,210 --> 00:04:59,750 But right before executing the infiltration, we stopped to extract proximity card codes from the RFID reader at the main entrance. 35 00:05:01,670 --> 00:05:07,850 And that's when the environment spoke first. 36 00:05:07,850 --> 00:05:12,910 As we were pulling credentials from the reader, we noticed a technician rushing by. 37 00:05:12,910 --> 00:05:15,070 We heard strange noises. 38 00:05:15,070 --> 00:05:18,350 We followed the sound and reached a door half open. 39 00:05:18,350 --> 00:05:21,990 We peeked inside and saw chaos. 40 00:05:22,010 --> 00:05:31,150 Not the kind of chaos that you run from, the kind of chaos that invites you to improvise. 41 00:05:32,490 --> 00:05:45,430 So, just like in the movies, sorry, when everything slows down, the world fades into slow motion and the main character stands still while the camera zooms in. 42 00:05:45,430 --> 00:05:46,630 Remember that? 43 00:05:47,170 --> 00:06:03,010 We saw people running, pieces of ceiling in the floor, water pouring from above the reception desk, and a technician on a ladder, trying to save the world. 44 00:06:03,570 --> 00:06:15,710 What for anyone else would be a nightmare, for us, it was like being kids again, and suddenly someone hands you a bag and says, it's piƱata time. 45 00:06:17,170 --> 00:06:31,270 So, as Sun Tzu says in The Art of War, he who can modify his tactics in relation to his opponent, and thereby succeeding winning, may be called a heaven-born captain. 46 00:06:31,270 --> 00:06:33,210 So, we did. 47 00:06:33,210 --> 00:06:36,970 We changed our entire plan on the spot. 48 00:06:36,970 --> 00:06:48,850 We graphed fake email threads in a very special place, on a tablet, disguised as an HTML browser. 49 00:06:49,590 --> 00:07:03,290 We quickly produced new IDs, new lanyards, because the environment had just handed us a story, a story that no outsider could possibly know. 50 00:07:04,330 --> 00:07:07,690 We entered as headquarter staff. 51 00:07:07,690 --> 00:07:14,190 We said we received an alert about a water leak that may be affecting the electrical system. 52 00:07:14,190 --> 00:07:17,810 We need to check it out to prevent an operational outage. 53 00:07:17,810 --> 00:07:21,190 We didn't need to convince anyone anymore. 54 00:07:21,190 --> 00:07:26,430 We just had to reinforce what was already happening there. 55 00:07:26,430 --> 00:07:29,330 And that is way more powerful. 56 00:07:31,090 --> 00:07:39,350 I'm going to make a little pause to show you an experiment. 57 00:07:41,010 --> 00:07:42,370 It's an example. 58 00:07:42,370 --> 00:07:45,090 Maybe most of you know this. 59 00:07:45,090 --> 00:07:49,970 It's a TV show from Nathan Fielder, named The Rehearsal. 60 00:07:50,530 --> 00:08:07,690 He builds hyper-realistic simulations to rehearse every possible decision, trying in theory, to achieve the perfect outcome, to resolve the personal problem of a person. 61 00:08:07,970 --> 00:08:10,770 Let's see a little bit. 62 00:08:12,230 --> 00:08:14,410 I think I don't have sound. 63 00:08:14,410 --> 00:08:15,970 But don't worry. 64 00:08:17,210 --> 00:08:19,890 He's the patient. 65 00:08:19,890 --> 00:08:21,370 He's Nathan. 66 00:08:22,210 --> 00:08:32,810 And he's explained to him that they're going to rehearse all the possible decisions, like now. 67 00:08:32,810 --> 00:08:34,890 He said, what, what, what? 68 00:08:34,890 --> 00:08:35,870 Like now? 69 00:08:35,870 --> 00:08:36,590 Yes. 70 00:08:36,590 --> 00:08:41,150 This conversation I already have with other person. 71 00:08:41,650 --> 00:08:45,170 Dozens of times in a replica of your house. 72 00:08:45,610 --> 00:08:49,250 So it's look cool. 73 00:08:49,850 --> 00:08:57,970 But in the end, sorry, the show show us something deeper. 74 00:08:57,970 --> 00:09:05,090 No matter how much we try to control reality, reality always change. 75 00:09:05,090 --> 00:09:08,010 In social engineering, it's the same. 76 00:09:08,010 --> 00:09:10,850 The key isn't control. 77 00:09:10,850 --> 00:09:14,530 I know it's hard for labs, hackers. 78 00:09:14,530 --> 00:09:19,390 But where you're in the field, everything's change every day. 79 00:09:19,390 --> 00:09:23,890 The key is being to improvise with precision. 80 00:09:23,890 --> 00:09:28,490 That's I'm going to show you two frameworks that we use for this. 81 00:09:30,210 --> 00:09:32,870 So the first framework. 82 00:09:37,650 --> 00:09:42,770 We see the same process approach from two different words. 83 00:09:42,770 --> 00:09:46,170 One from psychiatry, another for military tactics. 84 00:09:46,950 --> 00:09:50,730 But they build the same process. 85 00:09:51,530 --> 00:10:00,710 Because every action we take in life responds to a chain of internal and external signals. 86 00:10:01,390 --> 00:10:06,230 Perceive, evaluate or value, decide and act. 87 00:10:06,230 --> 00:10:09,110 Everything in life is like that. 88 00:10:09,110 --> 00:10:22,350 When you want to buy a drink, when you want to buy a car, when you want to say hi to someone, when you open a door and you don't know what is inside of the door. 89 00:10:22,910 --> 00:10:24,690 So first I perceive. 90 00:10:25,410 --> 00:10:31,650 I see, I hear, I smell, I think, I remember what's happening here. 91 00:10:31,690 --> 00:10:34,250 Then I value, I evaluate. 92 00:10:34,270 --> 00:10:37,130 Does what I see works for me? 93 00:10:37,510 --> 00:10:41,670 Do I need to modify myself or influence to other person? 94 00:10:42,570 --> 00:10:51,290 Then, if I have all of that, I decide, I change the plan and finally I act. 95 00:10:51,790 --> 00:10:55,110 Producing the response that the context demands. 96 00:10:55,370 --> 00:11:02,530 I'm going to make a real example that happens yesterday. 97 00:11:02,530 --> 00:11:08,430 It's not prepared this, but I think you will understand better the framework. 98 00:11:08,430 --> 00:11:15,730 So, let's not delve into why. 99 00:11:15,830 --> 00:11:23,650 I show up in the middle of a large and totally empty white maze in the middle of the convention center. 100 00:11:24,450 --> 00:11:28,890 To be more specific, this one, that one. 101 00:11:31,350 --> 00:11:38,070 And I was walking, I noticed two large bodies, perceived. 102 00:11:40,370 --> 00:11:44,290 Two large bodies, rudely saying, hey dude, what you are doing here? 103 00:11:44,290 --> 00:11:46,250 You are not allowed to be here. 104 00:11:46,850 --> 00:11:52,750 I see their red shirts, the patches, I value. 105 00:11:53,410 --> 00:12:01,350 And I say, whoa, tomorrow I have this presentation, I don't want to be kicked off. 106 00:12:02,060 --> 00:12:11,070 And in that moment, one of them throws out an almost existential question. 107 00:12:11,490 --> 00:12:14,600 He says, are you human? 108 00:12:17,980 --> 00:12:20,760 And that was a gift for me. 109 00:12:20,760 --> 00:12:29,000 I value, I say, this is my chance to show myself vulnerable and get out of this. 110 00:12:29,000 --> 00:12:35,500 I'm going to talk with them like the cat of Shrek. 111 00:12:36,970 --> 00:12:46,980 So, I modify my tone of voice and say, yes sir, I am human. 112 00:12:48,120 --> 00:12:53,240 And they stay silent and kindly escort me to the exit. 113 00:12:54,300 --> 00:13:08,480 The fun fact, if you want to know what there is inside there, there is, this place is the best individual restroom in the conference center, but only for them. 114 00:13:09,900 --> 00:13:12,360 So, remember the framework. 115 00:13:16,340 --> 00:13:17,820 Okay, let's continue. 116 00:13:18,680 --> 00:13:20,200 Back to the intrusion. 117 00:13:20,820 --> 00:13:28,840 Without bypassing any control, we walked straight to the reception desk and introduced ourselves with a new pretext. 118 00:13:28,840 --> 00:13:35,040 The receptionist greets us, listens carefully and calls the manager of the floor. 119 00:13:35,560 --> 00:13:41,120 A manager we hadn't mapped in our OSINT stage. 120 00:13:41,140 --> 00:13:45,600 Because later we found out this was a temporary replacement. 121 00:13:45,900 --> 00:13:50,400 The original person had resigned just a few weeks earlier. 122 00:13:51,580 --> 00:14:01,000 So, she came to us, she greeted us, and introduced herself by the name, can you tell me a name, any name? 123 00:14:01,340 --> 00:14:03,300 Anna, thank you. 124 00:14:03,300 --> 00:14:06,320 So, she said, hi, I'm Anna. 125 00:14:06,340 --> 00:14:12,320 Oh no, once again, no one from headquarters told me anything about our visit. 126 00:14:12,900 --> 00:14:18,780 And in that moment, the second framework, which you will learn about shortly, was activated. 127 00:14:18,780 --> 00:14:23,020 She validated us without even knowing it. 128 00:14:23,020 --> 00:14:29,040 Then, we showed her the fake email threads, stuff with big names that she recognized. 129 00:14:29,040 --> 00:14:32,280 She had no idea it was just a local HTML. 130 00:14:32,800 --> 00:14:39,400 She asked us to include her in the next visit and told us we could go ahead on our own. 131 00:14:39,400 --> 00:14:41,100 So, we did. 132 00:14:41,580 --> 00:14:44,240 We didn't invent a character. 133 00:14:44,660 --> 00:14:48,760 We became exactly what the environment needed to see. 134 00:14:49,630 --> 00:14:56,660 And we moved freely through every part of the facility, until we reached the server room. 135 00:14:56,780 --> 00:15:02,160 And the server room, with a very strict guard, serious, focused. 136 00:15:02,440 --> 00:15:08,540 He checks our credentials, he hesitates, picks up the phone, and starts dialing. 137 00:15:08,720 --> 00:15:15,620 We glanced at each other in that moment, and we know this is the moment, so we interrupt him. 138 00:15:15,620 --> 00:15:18,420 You can call Anna. 139 00:15:18,540 --> 00:15:22,560 She's now in charge, and she can confirm our visit. 140 00:15:22,800 --> 00:15:26,520 His micro-expressions said it all, no words needed. 141 00:15:26,660 --> 00:15:29,520 Just the slight shift in his face. 142 00:15:29,520 --> 00:15:36,560 But before we get what happens next, let's break down technically how we pulled this off. 143 00:15:38,240 --> 00:15:40,580 This was our shot. 144 00:15:40,580 --> 00:15:57,360 As Henri Cartier-Vresson once said, the French photographer known as the father of photojournalism, famous for capturing the decisive moment with invisible and poetic precision. 145 00:15:57,680 --> 00:15:59,600 This was ours. 146 00:15:59,680 --> 00:16:06,260 The guard's expression shifts, a hint of laughter, a few casual, friendly remarks. 147 00:16:06,260 --> 00:16:10,840 He looks down the phone and smiles, and says, go ahead, guys. 148 00:16:10,840 --> 00:16:17,140 Moments later, he was personally escorting us through a critical areas facility. 149 00:16:17,960 --> 00:16:21,180 They didn't see us as outsiders. 150 00:16:21,600 --> 00:16:28,760 They saw us as part of the natural flow, like in Augusto Boal's Invisible Theater. 151 00:16:29,220 --> 00:16:36,240 Back in the 70s, Boal placed actors in public spaces to stage scenes. 152 00:16:36,260 --> 00:16:39,800 Charged with social and political meaning. 153 00:16:39,880 --> 00:16:42,480 But there was no stage. 154 00:16:42,920 --> 00:16:44,660 No lights. 155 00:16:44,660 --> 00:16:45,960 No announcements. 156 00:16:46,380 --> 00:16:48,880 People didn't realize it was theater. 157 00:16:49,280 --> 00:16:52,080 They accepted us as reality. 158 00:16:52,080 --> 00:16:56,840 And that was what made it so powerful. 159 00:16:57,600 --> 00:17:00,320 So we didn't explain too much. 160 00:17:00,320 --> 00:17:02,140 Just enough. 161 00:17:02,140 --> 00:17:13,120 As Hemingway says, when he spoke about dignity of the iceberg, we let the surface show and left the rest beneath. 162 00:17:14,260 --> 00:17:19,980 What we didn't say was exactly what convinced them most. 163 00:17:20,320 --> 00:17:22,960 That's how you achieve the impossible. 164 00:17:22,960 --> 00:17:25,060 So this is the second framework. 165 00:17:25,060 --> 00:17:26,580 It's not in order. 166 00:17:26,580 --> 00:17:31,820 You can use just one, two, or three. 167 00:17:31,820 --> 00:17:36,860 In this case, this framework gives us three key tools. 168 00:17:37,760 --> 00:17:42,360 Things to do, to know how to do, and to know. 169 00:17:42,420 --> 00:17:51,620 So when we are in the field, under real circumstances, it's the now we ask ourselves, is what I'm doing being accepted? 170 00:17:52,060 --> 00:17:55,120 If the answer is yes, we prepare the shot. 171 00:17:55,120 --> 00:17:59,320 We identify the right person and the exact moment to act. 172 00:17:59,380 --> 00:18:01,260 In every interaction. 173 00:18:01,260 --> 00:18:06,600 It's just important to know what not to say. 174 00:18:07,360 --> 00:18:14,340 And let the other person fill in the blanks to become the iceberg. 175 00:18:16,200 --> 00:18:25,100 So, of course, we entered the server room and left without raising any alarm. 176 00:18:25,100 --> 00:18:28,940 Because social engineering isn't just a technique. 177 00:18:28,940 --> 00:18:30,940 It's applied art. 178 00:18:30,940 --> 00:18:32,140 It's presence. 179 00:18:32,140 --> 00:18:33,240 It's rhythm. 180 00:18:33,240 --> 00:18:34,580 It's composition. 181 00:18:35,360 --> 00:18:38,680 So the best access is never forced. 182 00:18:38,680 --> 00:18:39,860 It's seen. 183 00:18:39,860 --> 00:18:41,240 It's waited for. 184 00:18:41,240 --> 00:18:42,440 It's recognized. 185 00:18:42,840 --> 00:18:47,640 Because sometimes the door is already open. 186 00:18:47,680 --> 00:18:52,620 You just have to know how to look. 187 00:18:52,800 --> 00:18:58,260 I don't have sound, but this was the original name of the talk. 188 00:18:58,260 --> 00:19:01,600 Because I love Rach again, the machine. 189 00:19:02,560 --> 00:19:08,820 And it means a lot of what things I talk to you today. 190 00:19:09,140 --> 00:19:11,280 And this obviously has music. 191 00:19:11,280 --> 00:19:12,380 But that's it. 192 00:19:12,380 --> 00:19:13,960 Thank you very much. 193 00:19:24,900 --> 00:19:26,340 Some questions? 194 00:19:28,100 --> 00:19:28,500 Yes? 195 00:19:28,500 --> 00:19:29,160 No? 196 00:19:29,160 --> 00:19:30,180 Any question? 197 00:19:30,180 --> 00:19:31,820 We have time if you want. 198 00:19:33,940 --> 00:19:35,140 Someone? 199 00:19:36,620 --> 00:19:37,820 No? 200 00:19:38,760 --> 00:19:41,620 We can talk downstairs, obviously. 201 00:19:42,640 --> 00:19:43,980 Okay, thank you. 202 00:19:44,800 --> 00:19:49,820 So a lot of risk after doing that kind of a thing. 203 00:19:51,650 --> 00:19:53,250 How long does it take off? 204 00:19:53,250 --> 00:19:55,490 What's your reaction to playing as a new game partner? 205 00:19:55,490 --> 00:19:56,730 How does that feel? 206 00:19:57,950 --> 00:20:02,810 In 10 years, we only get cut one time. 207 00:20:03,070 --> 00:20:06,730 And we have the safeguard for that. 208 00:20:06,730 --> 00:20:09,630 And we explain what we are doing. 209 00:20:09,890 --> 00:20:13,130 And we have a rule of three attempts. 210 00:20:13,130 --> 00:20:26,230 That if someone is very suspicious with us, we try to convince them without violence, without threats, only three times. 211 00:20:26,230 --> 00:20:33,370 If they're still in doubt, we say the truth. 212 00:20:33,370 --> 00:20:37,130 But it only happens one time in 10 years. 213 00:20:37,130 --> 00:20:39,930 So the framework works. 214 00:20:43,610 --> 00:20:43,690 Thank you.