Okay, welcome everybody. So if you're like me and you grew up with the Ninja Turtles, you're going to be really excited about this one. We've got Daniel Eisler on behalf of Adversary Village, Master Splinter's Initial Physical Access Dojo, Storytelling of Complex Adversarial. Thanks so much. And here we go. Hi. Maybe most of you don't know me. As you can see, I don't speak very well English. So I hope you enjoy this talk. Before I start, well, you already see it, but it's important this very first announcement. Okay, let's begin. Initial Access Dojo by Master Splinter Initial Access Dojo by Master Splinter Welcome. I am the Master Splinter. And no, I'm not coming from the Comic Con. You can call me Rad, Splinter, Danny, or Daniel. Oh, awesome. Hello, hello. Okay. Yeah, yeah. Since 2015, I'm the team leader of Friendly Rats, the social engineering unit at DreamLab Technologies in Chile. Friendly Rats, DreamLab. I have the honor to present several talks. I don't know if you hear me. Not too much. Yeah. Okay, that's it. Several cons associated with social engineering, such as EcoParty in Buenos Aires, Argentina, Osintomatico in Madrid, in Spain, Layer 8 in Rhode Island. And with a lot of nervous and joy, I will be, now is my fifth time presenting at DEF CON. So, thank you, Adversary Village. Today, I'm going to need the help of two volunteers who want to be real rats, ninja rats. So, to be more faster, I have... No, no, but raise your hand, two persons. I have one. Two, okay. Thank you, buddy. No, no, but I will call you. Thanks, thanks. Don't go. So, welcome to the dojo. Okay, all rats are welcome. I could assure that everyone here has a social engineering success story. I'm sure you treasure it, even share it as an accomplishment or an adventure. In fact, I love to hear that stories after this with a beer, if you like. Now, I invite you to imagine that. Not the beer, the story of social engineering. Imagine that like a day job, like us. Monday through Friday, all year long. That's why our first adage will be, there's no such a thing as luck. I don't know if you can say that in Vegas, but we don't trust in luck. What I will try to do today is to share with you how training, preparation, techniques and methods can help in a social engineering service or in a red team. So you can finally decide if luck really exists or not. It's difficult to make an eye-catching story when it has only existed in a report format. As you will see, I will do my best. So, it all starts in another country with a critical infrastructure company of that nation. We never expect to meet a client who is really willing to give us a clue as to what we are going to face. He just pointed us to a few possible locations where they might be found. Control rooms, monitoring rooms, machine rooms, offices and data center. One of the first things we found in the assessment stage was that due to the type of service this client provides, in the case of any unusual activity or unauthorized personnel, the collaborators, any of them, were authorized to reduce or at least detain the intruder until certain forces arrived. We start the first week with information gathering, focusing on the following three findings. Corporate ID. Thanks to a post in social networks, we found a 3.2 feet long version of the corporate ID with the personal ID of each one of the developers. The second one was relevant profiles with exposed information. We identified four strategic collaborators' accounts for identity impersonation and possible authorizations. And the third one was weak accesses and credentials. We found an internal login without two-factor authentication with the possibility of several consecutive attempts to enter wrong credentials. So maybe some... you know what happens with that. The human... humans, sorry. At this stage, it's very important to consider as burned the rat performing the interaction in the field for information gathering. He can't be part of the physical intrusion because collaborators could recognize him or her. This phase allows us to achieve two findings. 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. Second one, we want to check if indeed the attitude of the cats, if one of us performed an inappropriate action. So the burned rat took a picture of one of the accesses. In less than two minutes, he had one of the cats on his back, almost breaking the camera and demanding to delete the picture. So it's going to be tough. How do we organize in our unit? To deal with any type of service, we use the following distribution. We have four kinds of consultants. 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. The Q, like the Q agent. They are in charge for preparation devices, payloads, scripts, Wi-Fi, malicious webpages, etc. Then the Alpha can be one or an Alpha team. They are experts in exploitation, execution, capture, cloning, and exfiltration, recovery, and access enabling. And the last one. Anyone here, you could be one of these ones today. Cover. We work with freelance consultants, from psychologists to actors, docs to elderly people. One time my son used to work too, when he was five years old. The results are always good, as they are not emotionally charged or stressed about the success of the service. Their comments are usually, this is the most fun I ever had, or I wouldn't have imagined it would be so easy. When they say that, I start to see the hateful faces of the rats. So I explain to them that it looks easy, thanks to the hard work of all the rats. That's why they managed to get inside the data center, manager's office, or implant a device in a critical area. So now you know our team. So this was the plan, or the organization. The uniform used by the cats was not available for sale to the public. So our custom designer made her own research to generate replicas. So yes, we have a custom designer. As you can see, it is necessary for the details, including the natural aging and soiling of each uniform. You can't always buy online or trust online stores, you know? This always happens when you buy online stores a uniform, so don't do it. Found a custom designer. So, what is the Alpha team going to do? They are going to dress like a central office collaborator. They will show up under the pretext of undertaking a review of sanitization protocols associated with COVID-19. Of course, this project took place in that time. Q. During the second week, our Q guys focused on four strategic profile email accounts. Probably everyone is familiar with this kind of tools. Who doesn't know, you can customize password dictionaries for brute force attack. So, we achieved an effective access for four accounts, thanks to the low restrictions and the weak password settings. Those were the results. So, nothing very complex for these critical accounts. What is going to make support? Once inside of the email account, we blacklist or spam all the people where we are going to contact. Support team should permanently check the spam mailbox. 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. So, it's invisible for the user. And another lethal weapon that we have. 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. So, the phone call will be displayed, the name in the screen. I know it sounds basic, but believe me, in a real scenario, it can save everything. Cover. A few days before the execution, we sent a script, a manual, on protocols and preventive measures for COVID-19 to our covering consultant. As a guideline, he were to be 100% focused on coverage. That is, lead conversations, initiate presentations, and argue about our presence, perform distraction actions to support the alpha team. So, in the preparation day, we met with the rats to review objectives and all relevant information. Names, positions, contacts, roles, custom props, technical language, pretexts, possible situations, issues, and solutions. And the last added value, it's a powerful weapon. More than the phone. A nice, but lethal, sticker. For each collaborator who was going to interact with us during the activity, that is a principle of reciprocity. It's so strong. So, let's start. Execution day. Support team, two consultants, one in the field and other remotely, managing respectively the email account and a telephone to impersonate the user profile. The alpha team was composed of two consultants. A cover consultant, who will pretend to be our boss, and two other alpha. We arrive in the first access. The alpha team identified itself as a corporate office staff. With technical language, we speak with the guard, ending with, don't worry, we already know the facility. The guard revealed, allows us access upon seeing our uniforms and credentials. 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. Yeah, yeah. Then you are standing in a privileged place. The guard looked at us with appreciation and announced over the radio that we were going on our own. Upon entering, we found ourselves in a maze. We knew we didn't have to look like strangers, so we kept walking naturally. We walked through several corridors until we researched a security door with proximity card opening with two factors of authentication. We stopped in front of the access, simulating a conversation, until a cat appeared. A maintenance technician, carrying a large number of boxes. So, we obviously, very kindly, helped him to open the door. On the other side was an armed guard cat, who saw us in complicity with the technician, plus the uniforms and credentials. He went from the angry cat gesture, you know, as a simple raised eyebrow of a cat who had just eaten. 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. So, we knocked at a crystal door, and a cat on duty appeared. Here, it's very important for you to understand what is going on in the minds and behavior of our consultants. Cover must be 100% focused on establishing a situation of comfort and trust with the cat. So, it is essential to play the pretext, the game, without any doubt, without any hesitation. The Alpha team members had to be perceived as cat, as his companions, when in reality, they were counting the numbers of people, a lot of unattended equipment, available network points, access cameras, and printed information. So, let's talk about the truth, or the truth before the truth, you know? We are workers. That is the truth. But the truth before the truth is our real objective. So, the cat can't know that. So, I need two volunteers. So, I think there's one here. You say, and the guy there. I don't know. Yeah, you can come, come, come. And you too. Yeah, yeah, both. Yeah, yeah. So, we will play an improv situation. So, your name? Katya. And your name? Chris. Thank you both. So, we're going to make this improv, to know the truth before the truth. So, I'm going to give you this. Let me check. It's a noise cancelling headphones. I think it's working. Sorry. Put it on. Yeah. Okay, so, you can... Chris, Chris, Chris, Chris. So, the truth will be, you're going to paint a fence. That is the truth, the reality, the action. But the real goal is going to be, she needs to touch her left eye. But the truth is painting a fence. Yeah, yeah. Let me check. Yeah, it's everything? Okay. Let's start. Sorry, sorry, sorry, sorry. Yeah. Rub. Chilean rub. So, let's start the improv. So, action. He's painting something. You can help. Watch out with the paint. That was fast. Look for your goal. Okay, give them an applause, please. Thank you. But, who was the real rat? Wait, wait, wait. Who was the real rat? Let's hear this. Hi, it's me. And this is a secret instruction. Thank you for being my real helper. The first thing I need you to do is to move your head as if you were listening to music. Now, look at me. She had the real goal. The real goal was he touched his nose. But everyone sees the truth is painting, you know? It's yours. You have to get the other participant to touch his or her own nose. Break a leg. Now, I leave you with a classic from my country. The true game of Tiro de Gracia. Now, give them applause. Nice, nice. Okay, now you understand the truth. Or the truth before the truth. Two minutes. No. Okay, this is going to be fast. Okay. Coverage consultant introduced himself and told the purpose of the visit that the current duty is very doubtful and skeptical. Let's see them. I'm going to be fast. So, what happens here? We introduce ourselves. We send the email from the account. And after that, we have the permission. So, we talk with everyone in there. We give them the sticker. We send this email. And in this email says that the entire department is going to be on field. So, if you want to talk with them, you need to call to our phone. So, stickers. So, we start to walk in other places, other offices. And you know the flow, you know? The call, the email. And we arrive to a strange office. Inside of this office was a few people, but many unlocked equipment. One of them says, we don't block them to be able to monitor. To this day, I do not know how we contain our excitement. It was the data center cameras. And as an old man who just know OnlyFans, I asked, what is that? What is that place? And he says, it's the data center. Oh, and it's in here? Yes, but only we and the technicians can enter. Then, the cover rat seriously said, OK, I'm going to finish here. So, after that, we went to the data center. Now, you're going to lose a rap song with this. We have this rap song. How we get in there? Sorry, technical problems. But we go in there. We go to the data center. We give the guy another sticker. And then, we go to the rat hole. So, sorry, you can't see everything, but it's OK. Hope you enjoy it.