[00:00.000 --> 00:01.900] Okay, welcome everybody. [00:02.440 --> 00:04.820] So if you're like me and you grew up with the Ninja Turtles, [00:04.820 --> 00:06.860] you're going to be really excited about this one. [00:06.860 --> 00:11.120] We've got Daniel Eisler on behalf of Adversary Village, [00:11.120 --> 00:14.000] Master Splinter's Initial Physical Access Dojo, [00:14.000 --> 00:16.800] Storytelling of Complex Adversarial. [00:16.800 --> 00:19.580] Thanks so much. And here we go. [00:24.160 --> 00:27.440] Hi. Maybe most of you don't know me. [00:29.020 --> 00:32.020] As you can see, I don't speak very well English. [00:32.020 --> 00:35.120] So I hope you enjoy this talk. [00:35.120 --> 00:38.320] Before I start, well, you already see it, [00:38.320 --> 00:42.040] but it's important this very first announcement. [00:56.740 --> 00:59.100] Okay, let's begin. [01:14.100 --> 01:18.180] Initial Access Dojo by Master Splinter [01:19.940 --> 01:20.620] Initial Access Dojo by Master Splinter [01:20.620 --> 01:23.240] Welcome. I am the Master Splinter. [01:23.240 --> 01:26.440] And no, I'm not coming from the Comic Con. [01:26.560 --> 01:31.240] You can call me Rad, Splinter, Danny, or Daniel. [01:31.240 --> 01:34.100] Oh, awesome. Hello, hello. [01:34.880 --> 01:37.520] Okay. Yeah, yeah. [01:38.740 --> 01:43.080] Since 2015, I'm the team leader of Friendly Rats, [01:43.080 --> 01:47.080] the social engineering unit at DreamLab Technologies in Chile. [01:47.960 --> 01:50.220] Friendly Rats, DreamLab. [01:50.420 --> 01:53.260] I have the honor to present several talks. [01:53.260 --> 01:55.080] I don't know if you hear me. [01:55.160 --> 01:57.020] Not too much. [01:57.020 --> 02:01.620] Yeah. Okay, that's it. [02:02.140 --> 02:05.560] Several cons associated with social engineering, [02:05.560 --> 02:10.360] such as EcoParty in Buenos Aires, Argentina, [02:10.360 --> 02:13.360] Osintomatico in Madrid, in Spain, [02:13.360 --> 02:16.180] Layer 8 in Rhode Island. [02:16.280 --> 02:19.700] And with a lot of nervous and joy, [02:19.700 --> 02:24.440] I will be, now is my fifth time presenting at DEF CON. [02:24.440 --> 02:27.280] So, thank you, Adversary Village. [02:28.340 --> 02:32.120] Today, I'm going to need the help of two volunteers [02:32.960 --> 02:36.840] who want to be real rats, ninja rats. [02:36.840 --> 02:41.440] So, to be more faster, I have... [02:41.440 --> 02:44.020] No, no, but raise your hand, two persons. [02:44.020 --> 02:45.260] I have one. [02:45.360 --> 02:48.080] Two, okay. Thank you, buddy. [02:48.360 --> 02:50.380] No, no, but I will call you. [02:50.380 --> 02:52.380] Thanks, thanks. Don't go. [02:52.380 --> 02:56.660] So, welcome to the dojo. [03:00.700 --> 03:03.480] Okay, all rats are welcome. [03:03.480 --> 03:10.520] I could assure that everyone here has a social engineering success story. [03:10.520 --> 03:17.740] I'm sure you treasure it, even share it as an accomplishment or an adventure. [03:17.740 --> 03:23.080] In fact, I love to hear that stories after this with a beer, if you like. [03:23.080 --> 03:26.220] Now, I invite you to imagine that. [03:26.540 --> 03:30.580] Not the beer, the story of social engineering. [03:32.700 --> 03:36.420] Imagine that like a day job, like us. [03:36.420 --> 03:39.700] Monday through Friday, all year long. [03:39.700 --> 03:43.600] That's why our first adage will be, [03:43.600 --> 03:46.560] there's no such a thing as luck. [03:46.560 --> 03:50.320] I don't know if you can say that in Vegas, [03:50.320 --> 03:53.340] but we don't trust in luck. [03:55.500 --> 04:02.240] What I will try to do today is to share with you how training, preparation, techniques and methods [04:02.240 --> 04:06.140] can help in a social engineering service or in a red team. [04:06.140 --> 04:10.400] So you can finally decide if luck really exists or not. [04:10.400 --> 04:18.500] It's difficult to make an eye-catching story when it has only existed in a report format. [04:18.500 --> 04:22.360] As you will see, I will do my best. [04:23.260 --> 04:32.760] So, it all starts in another country with a critical infrastructure company of that nation. [04:32.760 --> 04:41.940] We never expect to meet a client who is really willing to give us a clue as to what we are going to face. [04:41.940 --> 04:48.360] He just pointed us to a few possible locations where they might be found. [04:48.440 --> 04:57.740] Control rooms, monitoring rooms, machine rooms, offices and data center. [04:58.040 --> 05:10.240] One of the first things we found in the assessment stage was that due to the type of service this client provides, [05:10.240 --> 05:20.260] in the case of any unusual activity or unauthorized personnel, the collaborators, any of them, [05:20.260 --> 05:30.860] were authorized to reduce or at least detain the intruder until certain forces arrived. [05:32.800 --> 05:40.200] We start the first week with information gathering, focusing on the following three findings. [05:42.920 --> 05:52.380] Corporate ID. Thanks to a post in social networks, we found a 3.2 feet long version of the corporate ID [05:52.380 --> 05:57.280] with the personal ID of each one of the developers. [05:57.280 --> 06:03.600] The second one was relevant profiles with exposed information. [06:04.220 --> 06:15.520] We identified four strategic collaborators' accounts for identity impersonation and possible authorizations. [06:15.520 --> 06:20.620] And the third one was weak accesses and credentials. [06:20.620 --> 06:25.220] We found an internal login without two-factor authentication [06:25.220 --> 06:31.660] with the possibility of several consecutive attempts to enter wrong credentials. [06:32.280 --> 06:37.600] So maybe some... you know what happens with that. [06:37.600 --> 06:48.040] The human... humans, sorry. At this stage, it's very important to consider as burned [06:48.600 --> 06:53.980] the rat performing the interaction in the field for information gathering. [06:53.980 --> 07:01.740] He can't be part of the physical intrusion because collaborators could recognize him or her. [07:02.340 --> 07:06.360] This phase allows us to achieve two findings. [07:06.360 --> 07:18.620] First, the ID and the uniform design. We validated the design was the same as the one we found in the publication, in the post. [07:18.620 --> 07:32.880] Second one, we want to check if indeed the attitude of the cats, if one of us performed an inappropriate action. [07:32.880 --> 07:39.200] So the burned rat took a picture of one of the accesses. [07:40.800 --> 07:50.600] In less than two minutes, he had one of the cats on his back, almost breaking the camera and demanding to delete the picture. [07:50.600 --> 07:52.680] So it's going to be tough. [07:53.600 --> 07:56.560] How do we organize in our unit? [07:56.900 --> 08:01.840] To deal with any type of service, we use the following distribution. [08:01.840 --> 08:05.620] We have four kinds of consultants. [08:05.620 --> 08:19.260] Support, they are the ones who will immediately respond to all the requests needed by the Alpha team, like information, supplies, mobilization, buy some stuff, etc. [08:19.560 --> 08:22.100] The Q, like the Q agent. [08:22.140 --> 08:30.620] They are in charge for preparation devices, payloads, scripts, Wi-Fi, malicious webpages, etc. [08:30.620 --> 08:34.860] Then the Alpha can be one or an Alpha team. [08:35.300 --> 08:43.760] They are experts in exploitation, execution, capture, cloning, and exfiltration, recovery, and access enabling. [08:44.080 --> 08:45.500] And the last one. [08:45.800 --> 08:51.100] Anyone here, you could be one of these ones today. [08:51.860 --> 08:52.860] Cover. [08:52.860 --> 09:02.160] We work with freelance consultants, from psychologists to actors, docs to elderly people. [09:02.160 --> 09:08.120] One time my son used to work too, when he was five years old. [09:08.340 --> 09:17.320] The results are always good, as they are not emotionally charged or stressed about the success of the service. [09:17.320 --> 09:30.600] Their comments are usually, this is the most fun I ever had, or I wouldn't have imagined it would be so easy. [09:31.160 --> 09:37.220] When they say that, I start to see the hateful faces of the rats. [09:37.220 --> 09:44.840] So I explain to them that it looks easy, thanks to the hard work of all the rats. [09:44.840 --> 09:53.520] That's why they managed to get inside the data center, manager's office, or implant a device in a critical area. [09:53.520 --> 09:56.800] So now you know our team. [09:57.320 --> 10:00.840] So this was the plan, or the organization. [10:01.000 --> 10:07.000] The uniform used by the cats was not available for sale to the public. [10:07.000 --> 10:14.440] So our custom designer made her own research to generate replicas. [10:14.440 --> 10:17.560] So yes, we have a custom designer. [10:17.560 --> 10:28.220] As you can see, it is necessary for the details, including the natural aging and soiling of each uniform. [10:28.680 --> 10:36.780] You can't always buy online or trust online stores, you know? [10:36.780 --> 10:43.220] This always happens when you buy online stores a uniform, so don't do it. [10:43.220 --> 10:46.000] Found a custom designer. [10:46.380 --> 10:49.260] So, what is the Alpha team going to do? [10:49.260 --> 10:53.280] They are going to dress like a central office collaborator. [10:53.280 --> 11:05.260] They will show up under the pretext of undertaking a review of sanitization protocols associated with COVID-19. [11:05.260 --> 11:09.100] Of course, this project took place in that time. [11:11.820 --> 11:22.840] Q. During the second week, our Q guys focused on four strategic profile email accounts. [11:22.840 --> 11:29.020] Probably everyone is familiar with this kind of tools. [11:29.020 --> 11:37.020] Who doesn't know, you can customize password dictionaries for brute force attack. [11:37.020 --> 11:47.340] So, we achieved an effective access for four accounts, thanks to the low restrictions and the weak password settings. [11:47.720 --> 11:51.160] Those were the results. [11:51.160 --> 11:56.120] So, nothing very complex for these critical accounts. [11:56.920 --> 12:00.020] What is going to make support? [12:00.020 --> 12:08.560] Once inside of the email account, we blacklist or spam all the people where we are going to contact. [12:08.560 --> 12:12.960] Support team should permanently check the spam mailbox. [12:12.960 --> 12:22.080] And if they receive an email from one of these contacts, respond as soon as possible and delete both the spam email and the sent email. [12:22.080 --> 12:24.380] So, it's invisible for the user. [12:24.380 --> 12:31.140] And another lethal weapon that we have. [12:32.520 --> 12:45.160] It will seem maybe absurd for you, but we register the phone number of our team with the name of the user of the compromised email account. [12:45.380 --> 12:51.740] So, the phone call will be displayed, the name in the screen. [12:51.740 --> 13:00.460] I know it sounds basic, but believe me, in a real scenario, it can save everything. [13:01.220 --> 13:02.780] Cover. [13:04.080 --> 13:16.460] A few days before the execution, we sent a script, a manual, on protocols and preventive measures for COVID-19 to our covering consultant. [13:16.460 --> 13:23.260] As a guideline, he were to be 100% focused on coverage. [13:23.260 --> 13:35.520] That is, lead conversations, initiate presentations, and argue about our presence, perform distraction actions to support the alpha team. [13:36.560 --> 13:44.280] So, in the preparation day, we met with the rats to review objectives and all relevant information. [13:44.280 --> 13:56.520] Names, positions, contacts, roles, custom props, technical language, pretexts, possible situations, issues, and solutions. [13:57.020 --> 14:02.860] And the last added value, it's a powerful weapon. [14:02.860 --> 14:04.480] More than the phone. [14:04.480 --> 14:08.380] A nice, but lethal, sticker. [14:08.380 --> 14:17.680] For each collaborator who was going to interact with us during the activity, that is a principle of reciprocity. [14:17.680 --> 14:19.560] It's so strong. [14:19.560 --> 14:22.480] So, let's start. [14:22.480 --> 14:24.280] Execution day. [14:24.280 --> 14:40.040] Support team, two consultants, one in the field and other remotely, managing respectively the email account and a telephone to impersonate the user profile. [14:40.500 --> 14:44.700] The alpha team was composed of two consultants. [14:44.920 --> 14:51.540] A cover consultant, who will pretend to be our boss, and two other alpha. [14:51.540 --> 14:55.420] We arrive in the first access. [14:55.420 --> 15:00.360] The alpha team identified itself as a corporate office staff. [15:00.360 --> 15:07.780] With technical language, we speak with the guard, ending with, don't worry, we already know the facility. [15:07.840 --> 15:14.980] The guard revealed, allows us access upon seeing our uniforms and credentials. [15:14.980 --> 15:27.860] So, it is important to understand that once you are an interlocutor, that considers you a trustworthy person, or better yet, someone who can resolve situations. [15:29.500 --> 15:31.000] Yeah, yeah. [15:31.000 --> 15:34.320] Then you are standing in a privileged place. [15:34.700 --> 15:42.640] The guard looked at us with appreciation and announced over the radio that we were going on our own. [15:45.140 --> 15:49.400] Upon entering, we found ourselves in a maze. [15:49.600 --> 15:55.060] We knew we didn't have to look like strangers, so we kept walking naturally. [15:55.120 --> 16:03.890] We walked through several corridors until we researched a security door with proximity card opening with two factors of authentication. [16:04.320 --> 16:12.300] We stopped in front of the access, simulating a conversation, until a cat appeared. [16:12.300 --> 16:17.480] A maintenance technician, carrying a large number of boxes. [16:18.120 --> 16:23.800] So, we obviously, very kindly, helped him to open the door. [16:24.200 --> 16:35.520] On the other side was an armed guard cat, who saw us in complicity with the technician, plus the uniforms and credentials. [16:35.520 --> 16:46.800] He went from the angry cat gesture, you know, as a simple raised eyebrow of a cat who had just eaten. [16:49.380 --> 17:03.520] So, we advanced through the corridors, very similar to those in Dead Star or Jurassic Park or Resident Evil, with double doors and control accesses. [17:03.520 --> 17:09.400] So, we knocked at a crystal door, and a cat on duty appeared. [17:10.660 --> 17:21.120] Here, it's very important for you to understand what is going on in the minds and behavior of our consultants. [17:21.760 --> 17:31.380] Cover must be 100% focused on establishing a situation of comfort and trust with the cat. [17:31.380 --> 17:38.640] So, it is essential to play the pretext, the game, without any doubt, without any hesitation. [17:39.180 --> 17:49.700] The Alpha team members had to be perceived as cat, as his companions, when in reality, they were counting the numbers of people, [17:49.780 --> 17:57.660] a lot of unattended equipment, available network points, access cameras, and printed information. [17:57.660 --> 18:04.500] So, let's talk about the truth, or the truth before the truth, you know? [18:04.500 --> 18:11.640] We are workers. That is the truth. But the truth before the truth is our real objective. [18:11.640 --> 18:14.540] So, the cat can't know that. [18:15.200 --> 18:20.380] So, I need two volunteers. [18:21.020 --> 18:23.880] So, I think there's one here. [18:26.690 --> 18:30.750] You say, and the guy there. [18:31.910 --> 18:38.390] I don't know. Yeah, you can come, come, come. And you too. Yeah, yeah, both. Yeah, yeah. [18:38.870 --> 18:44.410] So, we will play an improv situation. [18:44.990 --> 18:47.290] So, your name? [18:47.590 --> 18:48.270] Katya. [18:48.390 --> 18:49.670] And your name? [18:49.670 --> 18:50.510] Chris. [18:50.930 --> 18:52.230] Thank you both. [18:52.230 --> 18:58.530] So, we're going to make this improv, to know the truth before the truth. [18:58.690 --> 19:01.610] So, I'm going to give you this. [19:03.270 --> 19:04.690] Let me check. [19:05.150 --> 19:07.410] It's a noise cancelling headphones. [19:07.870 --> 19:14.200] I think it's working. [19:14.200 --> 19:15.180] Sorry. [19:15.180 --> 19:15.920] Put it on. [19:15.920 --> 19:16.740] Yeah. [19:22.450 --> 19:25.590] Okay, so, you can... [19:26.390 --> 19:28.090] Chris, Chris, Chris, Chris. [19:28.090 --> 19:34.230] So, the truth will be, you're going to paint a fence. [19:34.230 --> 19:37.030] That is the truth, the reality, the action. [19:37.030 --> 19:45.850] But the real goal is going to be, she needs to touch her left eye. [19:46.690 --> 19:50.910] But the truth is painting a fence. [19:54.830 --> 19:56.770] Yeah, yeah. [19:56.770 --> 19:57.530] Let me check. [19:57.530 --> 19:58.390] Yeah, it's everything? [19:58.390 --> 19:58.970] Okay. [19:58.970 --> 20:00.010] Let's start. [20:00.450 --> 20:02.170] Sorry, sorry, sorry, sorry. [20:02.230 --> 20:03.030] Yeah. [20:08.300 --> 20:09.240] Rub. [20:09.240 --> 20:10.480] Chilean rub. [20:11.000 --> 20:13.780] So, let's start the improv. [20:13.920 --> 20:15.640] So, action. [20:17.520 --> 20:19.740] He's painting something. [20:20.420 --> 20:23.080] You can help. [20:25.140 --> 20:26.800] Watch out with the paint. [20:28.040 --> 20:29.960] That was fast. [20:31.420 --> 20:33.680] Look for your goal. [20:37.490 --> 20:41.150] Okay, give them an applause, please. [20:41.860 --> 20:43.110] Thank you. [20:43.110 --> 20:46.630] But, who was the real rat? [20:48.070 --> 20:49.610] Wait, wait, wait. [20:49.610 --> 20:51.610] Who was the real rat? [20:51.610 --> 20:53.670] Let's hear this. [20:55.030 --> 20:56.630] Hi, it's me. [20:56.630 --> 20:59.150] And this is a secret instruction. [20:59.150 --> 21:01.310] Thank you for being my real helper. [21:01.310 --> 21:06.690] The first thing I need you to do is to move your head as if you were listening to music. [21:06.690 --> 21:08.370] Now, look at me. [21:09.550 --> 21:11.190] She had the real goal. [21:11.370 --> 21:15.430] The real goal was he touched his nose. [21:16.570 --> 21:22.250] But everyone sees the truth is painting, you know? [21:22.250 --> 21:23.590] It's yours. [21:23.590 --> 21:29.730] You have to get the other participant to touch his or her own nose. [21:30.030 --> 21:31.190] Break a leg. [21:31.190 --> 21:34.270] Now, I leave you with a classic from my country. [21:34.270 --> 21:37.030] The true game of Tiro de Gracia. [21:37.850 --> 21:40.450] Now, give them applause. [21:42.190 --> 21:43.630] Nice, nice. [21:43.630 --> 21:46.350] Okay, now you understand the truth. [21:46.350 --> 21:48.510] Or the truth before the truth. [21:48.510 --> 21:49.910] Two minutes. [21:49.910 --> 21:51.390] No. [21:51.590 --> 21:54.370] Okay, this is going to be fast. [21:56.210 --> 21:57.650] Okay. [21:57.910 --> 22:08.110] Coverage consultant introduced himself and told the purpose of the visit that the current duty is very doubtful and skeptical. [22:08.470 --> 22:09.890] Let's see them. [22:10.450 --> 22:12.350] I'm going to be fast. [22:12.350 --> 22:14.290] So, what happens here? [22:14.290 --> 22:16.170] We introduce ourselves. [22:16.170 --> 22:19.550] We send the email from the account. [22:19.550 --> 22:24.590] And after that, we have the permission. [22:25.330 --> 22:28.090] So, we talk with everyone in there. [22:28.090 --> 22:32.290] We give them the sticker. [22:32.330 --> 22:34.170] We send this email. [22:34.170 --> 22:39.250] And in this email says that the entire department is going to be on field. [22:39.250 --> 22:44.470] So, if you want to talk with them, you need to call to our phone. [22:45.470 --> 22:48.450] So, stickers. [22:49.330 --> 22:53.910] So, we start to walk in other places, other offices. [22:54.150 --> 22:57.070] And you know the flow, you know? [22:57.270 --> 22:59.350] The call, the email. [22:59.710 --> 23:03.110] And we arrive to a strange office. [23:03.470 --> 23:08.470] Inside of this office was a few people, but many unlocked equipment. [23:08.630 --> 23:12.690] One of them says, we don't block them to be able to monitor. [23:13.110 --> 23:18.030] To this day, I do not know how we contain our excitement. [23:18.030 --> 23:20.230] It was the data center cameras. [23:20.610 --> 23:26.810] And as an old man who just know OnlyFans, I asked, what is that? [23:26.810 --> 23:28.670] What is that place? [23:28.670 --> 23:30.650] And he says, it's the data center. [23:30.650 --> 23:34.330] Oh, and it's in here? [23:34.610 --> 23:38.210] Yes, but only we and the technicians can enter. [23:38.210 --> 23:44.750] Then, the cover rat seriously said, OK, I'm going to finish here. [23:44.750 --> 23:49.190] So, after that, we went to the data center. [23:49.510 --> 23:52.870] Now, you're going to lose a rap song with this. [23:53.630 --> 23:56.290] We have this rap song. [23:56.290 --> 23:58.150] How we get in there? [23:59.690 --> 24:02.970] Sorry, technical problems. [24:03.410 --> 24:05.190] But we go in there. [24:05.190 --> 24:06.830] We go to the data center. [24:06.830 --> 24:09.990] We give the guy another sticker. [24:10.410 --> 24:13.950] And then, we go to the rat hole. [24:13.950 --> 24:19.510] So, sorry, you can't see everything, but it's OK. [24:19.510 --> 24:20.630] Hope you enjoy it.