1 00:00:00,000 --> 00:00:04,620 You were here last year and go back again. So welcome back. But this time you're my friend. 2 00:00:04,820 --> 00:00:15,920 So Tom, Tom and Hadar, if you want. Hello, everyone. First of all, thank you for 3 00:00:15,920 --> 00:00:21,000 coming. We really appreciate it. Today we're going to talk about turning deception outside in 4 00:00:21,000 --> 00:00:27,340 and how to trick attackers with open source intelligence. So my name is Hadar and with me 5 00:00:27,340 --> 00:00:33,500 today you have Tom and Tom. We are a security researcher at Illusive Networks. And this is 6 00:00:33,500 --> 00:00:38,700 what we're going to talk about today. So we will begin with covering what open source 7 00:00:38,700 --> 00:00:43,340 intelligence is, how attackers and defenders look at it. Then we'll briefly explain what 8 00:00:43,340 --> 00:00:48,780 deceptions are. And then we'll move on to combining the two concepts and explain about our 9 00:00:48,780 --> 00:00:53,380 research where we planted deceptions in open source intelligence. We will wrap up with 10 00:00:53,940 --> 00:00:55,220 summary and some takeaways. 11 00:00:55,920 --> 00:00:57,320 So what is open source intelligence? Well, open source intelligence is basically a 12 00:00:57,340 --> 00:01:01,260 form of open source intelligence. It has a cool and formal definition. You can all read it. 13 00:01:01,340 --> 00:01:06,360 But in general, it's the concept of collecting information about your target, your objective, 14 00:01:06,560 --> 00:01:13,320 from publicly available resources. And we all know that attackers really love open source 15 00:01:13,320 --> 00:01:17,480 intelligence. They use it all the time, mainly to compromise networks. They want to infiltrate 16 00:01:17,480 --> 00:01:22,620 the networks. So they begin with collecting information from OSINT. And the things that 17 00:01:22,620 --> 00:01:26,240 they're collecting are, there are a lot of things they're collecting. They're collecting 18 00:01:26,240 --> 00:01:31,800 credentials, like user names, passwords, e-mail addresses. They're looking at private 19 00:01:31,800 --> 00:01:36,060 information. And they're looking everywhere. They're trying to find this information, these 20 00:01:36,060 --> 00:01:43,840 pieces of information in public base sites, search engines, social media, and so on. And there are a 21 00:01:43,840 --> 00:01:50,520 lot of resources that attackers use. It's being used so widely and so intensively that people 22 00:01:50,520 --> 00:01:54,480 already automate the process of collecting information from OSINT. So you have awesome tools 23 00:01:54,480 --> 00:01:56,220 like de-harvester. You have a lot of tools that you can use to collect information from OSINT. So 24 00:01:56,220 --> 00:02:00,880 you have recon NG on the open source site. And you also have commercial tools like multigo, 25 00:02:01,080 --> 00:02:07,540 showdown, and they are being heavily used by attackers, red teamers, and so on. And 26 00:02:07,540 --> 00:02:13,160 defender, OSINT really works in real life, okay? We spent two minutes on Googling and we found 27 00:02:13,160 --> 00:02:17,200 two awesome examples that demonstrate how attackers are using OSINT all the time. The first 28 00:02:17,200 --> 00:02:24,760 example is this guy. He posted a comment on a blog and he mentions that he lost $50,000 in AWS 29 00:02:24,760 --> 00:02:29,720 charges. He accidentally pushed his credentials on his public GitHub account and that led 30 00:02:29,720 --> 00:02:36,660 attackers to find it and that cost him a lot of money. The second example is the guys at UpGuard, 31 00:02:36,780 --> 00:02:41,560 they did a research and they found that another company called Viacom had a lot of confidential 32 00:02:41,560 --> 00:02:47,700 data on their S3 buckets. So OSINT works. Attackers use it all the time and it's easy for 33 00:02:47,700 --> 00:02:53,900 them to leverage it. Defenders, they have a different take on open source intelligence. First of 34 00:02:53,900 --> 00:02:58,580 all, not all defenders even know that there is information about their organization in online 35 00:02:58,580 --> 00:03:04,180 resources. But the ones that do know, the first thing they do when they find out that there is 36 00:03:04,180 --> 00:03:08,880 information about their organization online is they panic. And they try to remove the 37 00:03:08,880 --> 00:03:14,060 information from the Internet where we all know that removing stuff from the Internet is not an 38 00:03:14,060 --> 00:03:23,880 easy thing because the Internet just never forgets. That's me from 2006. The second thing is 39 00:03:25,740 --> 00:03:33,980 they try to make the information obsolete. If you have a username or credentials that leaked, you 40 00:03:33,980 --> 00:03:38,860 try to go on and modify that user's information in your network and that's OK. But that's not 41 00:03:38,860 --> 00:03:44,380 always an easy task because if your network diagram leaked, then changing your entire 42 00:03:44,380 --> 00:03:49,940 architecture is not an easy thing to do. So not always the case. We suggest doing something else 43 00:03:49,940 --> 00:03:53,880 about it. Not just removing the data or making it obsolete. We suggest using deception to run and 44 00:03:53,880 --> 00:03:59,920 in OSINT to make your detection better and we'll explain how we do it. So I'll hand out to Tom to 45 00:03:59,920 --> 00:04:07,200 explain what deceptions are. Thanks, Adar. Really like the pitch by the way. Okay, so we'll put a 46 00:04:07,200 --> 00:04:13,100 pause for a second on OSINT and cover deceptions. So what are deceptions? Deceptions are 47 00:04:13,100 --> 00:04:18,240 basically pieces of information planted by defenders in order to make attackers make 48 00:04:18,240 --> 00:04:24,960 mistakes. One example from real life or real wars was in the Second World War, the allied 49 00:04:24,960 --> 00:04:31,640 forces used dummy tanks and other means to fool the German forces. What you see in the picture is 50 00:04:31,640 --> 00:04:37,340 an inflatable tank that six people can lift. The meaning was that they wanted to, German to 51 00:04:37,340 --> 00:04:42,460 believe that they're going to attack from a certain location so they deployed this. If you go 52 00:04:42,460 --> 00:04:48,080 to digital world, so deceptions are also referred to as any tokens, breadcrumbs or lures 53 00:04:48,080 --> 00:04:55,800 and one, one example of how deceptions can be used digitally is fake credentials. An attacker 54 00:04:55,800 --> 00:05:00,180 when you compromise an endpoint, you will try to leverage which credentials that already end 55 00:05:00,180 --> 00:05:07,840 endpoint. So from a defending perspective, you can take and plant deceptive credentials, they look 56 00:05:07,840 --> 00:05:14,780 very attractive, very real. An attacker, when you will try to, to leverage them, will not be 57 00:05:14,780 --> 00:05:18,060 successful and get detected by defenders. So you can take and plant deceptive credentials, they look 58 00:05:18,060 --> 00:05:21,940 very attractive. So this is an example of defenders going, making an attacker making a 59 00:05:21,940 --> 00:05:29,840 mistake. In this talk, we'll add a new twist to the concept of digital deceptions because we 60 00:05:29,840 --> 00:05:35,700 plant the information on, on the internet. Usually deceptions are planted inside the 61 00:05:35,700 --> 00:05:41,400 organization by the IT or the security team. So in this talk, we'll plant deceptions where it's 62 00:05:41,400 --> 00:05:48,040 available to everybody and see how it influence attackers. So going back to the same slide that I'd 63 00:05:48,040 --> 00:05:53,460 just showed you about the resources that attackers are going to look for deceptive, look for 64 00:05:53,460 --> 00:06:00,520 information on organizations, the same places can and should be used by defenders to place the 65 00:06:00,520 --> 00:06:06,260 deceptive information, the deceptive username, deceptive IP, deceptive hostname in the same 66 00:06:06,260 --> 00:06:13,420 exact location. So now that we understand what is OSINT and what are deceptions, I'll let Adar to 67 00:06:13,420 --> 00:06:15,880 combine the two and explain what we've done. 68 00:06:19,480 --> 00:06:23,860 So, like Tom said, hopefully we now have a better understanding of what OSINT is and what 69 00:06:23,860 --> 00:06:28,380 deceptions are. And we want to share with you what we tried to answer. You probably asked yourself 70 00:06:28,380 --> 00:06:34,940 what we did. So we wanted to make sure if attackers will use deception to move laterally in a 71 00:06:34,940 --> 00:06:40,140 network and not only use it to infiltrate a network. That was our main question. And in order to 72 00:06:40,140 --> 00:06:45,700 answer that question or these questions, we had the following steps. Please note that we had to 73 00:06:45,700 --> 00:06:48,020 take two extra steps because we didn't want to do the same thing over and over and over and over and over and 74 00:06:48,020 --> 00:06:51,080 over. We wanted to do our experiment on a real organization. We wanted to make the initial 75 00:06:51,080 --> 00:06:56,540 experiment on a fake company or on a fake environment that we control. So the first step was to 76 00:06:56,540 --> 00:07:02,360 create a front organization, a fake company, and then we created a corresponding computer 77 00:07:02,360 --> 00:07:09,500 network for that company. Then we had a planting of the deceptions in OSINT resources and we 78 00:07:09,500 --> 00:07:17,880 monitored the attacker's activity or their attempts to use those credentials. So the first step was, in my opinion, one of the most 79 00:07:18,020 --> 00:07:23,700 fun parts because we could create our own company. We decided to call it Aviado Mining because 80 00:07:24,260 --> 00:07:29,620 everyone's doing crypto mining and cryptocurrency, right? It's the hottest thing right now. And we had 81 00:07:29,620 --> 00:07:35,800 some employees on LinkedIn. They even got job requests from recruiters. We had a coming soon 82 00:07:35,800 --> 00:07:42,680 website, of course. We had a Twitter account and a GitHub account with code, pieces of code that 83 00:07:42,680 --> 00:07:48,000 relates to crypto mining and cryptocurrency. And we had a good presence online. We had a lot of 84 00:07:48,020 --> 00:07:52,180 people online right now, okay? The next step was to create a computer network for Aviado 85 00:07:52,180 --> 00:07:58,240 Mining. So we chose a random cloud provider. We created servers, computers. They were all joined on 86 00:07:58,240 --> 00:08:03,720 Active Directory domain. We had computers and user accounts that were part of the domain. And we 87 00:08:03,720 --> 00:08:10,640 added a jump server, theoretically for users to use it from home. But actually we wanted attackers 88 00:08:10,640 --> 00:08:16,520 to compromise that server and then move on to his lateral movement in our network. That was our goal. 89 00:08:16,820 --> 00:08:18,000 The entire operation was based on the data that we had. So we had a lot of data that we had to use to 90 00:08:18,020 --> 00:08:21,380 control the traffic. And the entire operation was monitored using pretty simple architecture. We had 91 00:08:21,380 --> 00:08:27,480 sysmon deployed on the servers and endpoints. We had net flow logs from the Cloud provider and a 92 00:08:27,480 --> 00:08:33,380 Splunk server to correlate the entire thing. And now Tom will talk on the actual cool thing of 93 00:08:33,380 --> 00:08:43,040 planting deception and the results. Thank you. So as Adar said before, we planted different 94 00:08:43,040 --> 00:08:48,000 deceptions in different OSINT resources. Actually we planted tons of deceptions in your 95 00:08:48,020 --> 00:08:54,320 with various complexity levels. We planted internal resources like IPs and host name of the 96 00:08:54,320 --> 00:09:00,760 jump server and other internal servers of the network. We also planted credentials to do 97 00:09:00,760 --> 00:09:06,100 servers like username and password or API keys. And we also since we know that attackers 98 00:09:06,100 --> 00:09:12,320 upload credentials to the internet, we planted some credentials dump too. For example, 99 00:09:12,320 --> 00:09:20,080 NTDSD dump or Mimikatz dump. We planted it in various OSINT resources. For example, paste 100 00:09:20,080 --> 00:09:29,820 sites, public mailboxes, code repositories and file uploads. We wanted to show you what it 101 00:09:29,820 --> 00:09:35,360 really means to plant deceptions on OSINT resources. So let's take a classic example of 102 00:09:35,360 --> 00:09:41,500 Pastebin which is a public paste site. As you can see, we uploaded like 20 mails of our 103 00:09:41,500 --> 00:09:42,300 AVIATO mining system. And we also planted a lot of data. We also planted a lot of data 104 00:09:42,300 --> 00:09:46,500 from the main company with their password and we also planted an external IP of the jump 105 00:09:46,500 --> 00:09:55,980 server which contains a username and password which we will monitor later. Another example to 106 00:09:56,640 --> 00:10:01,780 resource to plant deceptions on is public mailboxes. For example, Mailinator which 107 00:10:01,780 --> 00:10:07,080 exposed an API that attackers can use in order to find interesting data in the public mailboxes. 108 00:10:12,360 --> 00:10:18,140 Credentials can be found online not only due to attackers activities like uploading credentials 109 00:10:18,140 --> 00:10:24,040 down to the internet, but also as you because of user mistakes. For example, here, the user by 110 00:10:24,040 --> 00:10:34,220 mistake uploaded a script to Github which contains a ClearTex password. A more complex resource is 111 00:10:34,220 --> 00:10:40,720 file uploads for example, we uploaded an NTDS DIT file to VirusTotal which is a data base of the 112 00:10:40,720 --> 00:10:45,860 active directory that contains hashes of the password of the users in the domain. For 113 00:10:45,860 --> 00:10:51,540 example, the correct password of Jay Hoffman is password 2. And as you can see there are 114 00:10:51,540 --> 00:10:55,700 open source Seattle rules which attackers and defenders can use in order to find this 115 00:10:55,700 --> 00:11:04,180 anti-DSD files on the reverse total. And actually we had many others more ideas, for example 116 00:11:04,180 --> 00:11:12,120 RDP shops, github gist, cloud storage, IRC channels. And we also failed on some resources. For 117 00:11:12,120 --> 00:11:16,580 example, while uploading credentials dumped to hacking forums and Reddit we just got banned. 118 00:11:21,160 --> 00:11:27,280 So our goal was that the company will be visible on the internet. So before the research was 119 00:11:27,280 --> 00:11:32,960 started, if an attacker searched for our company name on Google, he would not find anything. Not 120 00:11:32,960 --> 00:11:34,160 on Google and not on the internet. So the company name was not on the internet. So the 121 00:11:34,160 --> 00:11:37,740 clip from Google came with automatic tools like The Harvester and Ewa Ibn Poln which is a 122 00:11:37,740 --> 00:11:42,300 public website where you can enter your email address and it searches it across all the data 123 00:11:42,300 --> 00:11:47,900 briefly on the internet. After we planted all the deceptions we talked about, this is what 124 00:11:47,900 --> 00:11:53,440 it looks like. Google find all of the deceptions and also the automatic to us found our 125 00:11:53,440 --> 00:12:02,400 credentials down. Actually our goal was achieved now. Our company is visible to the internet. 126 00:12:05,080 --> 00:12:09,800 We ran the experiment for two months where we used unique user name for each resource in 127 00:12:09,800 --> 00:12:15,260 order to easily distinguish the resource. Our monitoring focused on usage of deceptions of 128 00:12:15,260 --> 00:12:21,480 successful or gone of the deceptive users and attempts to move laterally. And we didn't care 129 00:12:21,480 --> 00:12:27,780 so much about scanners and brute force attacks. Also we saw some of them which we'll talk 130 00:12:27,780 --> 00:12:37,120 later. So let's talk about the findings. What did we found? We found like close to 8,000 131 00:12:37,120 --> 00:12:42,660 successful logins with our deceptive user names. Over 700 distinct processes which were 132 00:12:42,660 --> 00:12:49,740 executed on our jump servers and close to 20,000 failed logins attempts of non-existing users 133 00:12:50,240 --> 00:12:57,760 probably which are scanners. Let's most, let's monitor now the results of this experiment. 134 00:12:57,780 --> 00:13:03,340 We found the most attractive resource which was paste bin by far and let's try to explain why 135 00:13:03,340 --> 00:13:09,720 it was the most monitored site. First of all, the average time between deception planting and 136 00:13:09,720 --> 00:13:17,300 attacker attempt to use them was 4 hours which is the fastest of all the OSINT resources. The 137 00:13:17,300 --> 00:13:24,300 exposure was amazing. We got a paste like over 7,000 views in one month. And we also paid 138 00:13:24,300 --> 00:13:27,760 attention that every time we post a paste, the paste gets 40,000 views. So we found that the 139 00:13:27,780 --> 00:13:32,920 paste gets 40,000 views after several minutes. Probably by automatic tools which scrapes these 140 00:13:32,920 --> 00:13:39,500 public sites like dump monitor, have I been pwned, paste hunter. And actually our research 141 00:13:39,500 --> 00:13:45,620 showed that as the time went by, attempts to use the deceptive user decreased drastically. So 142 00:13:45,620 --> 00:13:53,160 if you want to remain relevant, you should constantly be posted. GitHub is a great example 143 00:13:53,160 --> 00:13:57,760 too. But in contrast to paste bin, here the average time between deception planting and 144 00:13:57,760 --> 00:14:04,700 attacker attempt to use them was days and not hours. The exposure watched much less, only 145 00:14:04,700 --> 00:14:12,380 tens of views and not thousands of views. And in contrast to paste bin, here the automatic tools 146 00:14:12,380 --> 00:14:20,540 scan only specific repositories and not scan all the, all the GitHub content. For example, 147 00:14:20,540 --> 00:14:27,740 repo scanner and git rob. Let's talk about the activity of the Github app. The Github app is a 148 00:14:27,760 --> 00:14:33,640 great example of the activity that was done on the jump server and let's, I'm sorry, let's talk 149 00:14:33,640 --> 00:14:38,720 about the activities. We saw different activities. Some of them were expected and some of them 150 00:14:38,720 --> 00:14:44,300 were less expected. We used the cool forensics tool that we took a screenshot for every 151 00:14:44,300 --> 00:14:50,360 successful logon and for every one minute. We saw lateral movement attempts like trying to add a 152 00:14:50,360 --> 00:14:57,440 local admin user or, or scanning the network in order to reach our internal servers. We also saw 153 00:14:57,760 --> 00:15:02,340 some privilege escalation since the deceptive user was only a domain user and not a local admin 154 00:15:02,340 --> 00:15:13,100 user. And we also saw some generic malicious tool like some bitcoin miners on sentry MBA. And 155 00:15:13,100 --> 00:15:17,620 also some weird stuff like an attacker who entered YouTube and searched for Rihanna 156 00:15:17,620 --> 00:15:27,080 diamonds on. And now I will let Tom to talk about the summary and the conclusions. Thank you. 157 00:15:31,080 --> 00:15:38,160 So let's review everything we covered. We talked about what are the definitions of OSINT and 158 00:15:38,160 --> 00:15:44,860 deceptions. We shared with you what, what were our research questions. Will attacker use OSINT 159 00:15:44,860 --> 00:15:50,420 information to infiltrate the network but also to move laterally. And we shared with you the 160 00:15:50,420 --> 00:15:57,360 experiment that we found. And shared some of the findings. We will release in Monday a, a, a more 161 00:15:57,360 --> 00:16:03,740 detailed report with all the findings. You can find the website down there. So we have multiple 162 00:16:03,740 --> 00:16:10,420 conclusions from our experiment. The first thing that we, we found that we were surprised that how 163 00:16:10,420 --> 00:16:15,940 many human operators try to compromise our servers. We had human operators connecting via 164 00:16:15,940 --> 00:16:22,360 RDP to our server either installing bitcoin miners or as Tom said doing weird stuff like opening 165 00:16:22,360 --> 00:16:27,200 YouTube and searching for Rihanna. So we expected much more automatic scans but we found human 166 00:16:27,360 --> 00:16:34,720 operators. The second thing we were surprised from how fast attackers operate. It took only up to 167 00:16:34,720 --> 00:16:39,260 four hours from the point of time that we uploaded the credentials to the point of time that 168 00:16:39,260 --> 00:16:47,700 somebody knocked on our door. It was really, really fast. And all that was achieved while we had to 169 00:16:48,230 --> 00:16:54,140 revise our deceptions again and again. We discovered it's kind of an out form. You have to, in 170 00:16:54,140 --> 00:16:57,340 order to make deceptions look realistic, you have to invest the time and the effort to make the 171 00:16:57,360 --> 00:17:02,580 time and think what will look realistic in the eyes of an attacker. So it also, it took us a 172 00:17:02,580 --> 00:17:11,660 while to, to get this. If we go higher a little bit, we, we understand that our results, uh, 173 00:17:11,920 --> 00:17:16,660 were influenced from the fact that we had a unimported organization. And if you use a real 174 00:17:16,660 --> 00:17:21,560 organization versus an unimported organization, we expect quite different results. We saw a lot of 175 00:17:21,560 --> 00:17:27,160 attempts try to compromise the initial server and less attempts to move laterally. And we believe, 176 00:17:27,160 --> 00:17:32,360 that using a real organization, we'll see a shift and much more attempts to move laterally in the 177 00:17:32,360 --> 00:17:37,280 network because attackers will have a higher motivation to move around. And this is something we 178 00:17:37,280 --> 00:17:44,960 expect, we expect to do in a future research. And one question we also, which refers to real 179 00:17:44,960 --> 00:17:52,240 organization that come to our mind, will planting deceptive information online will increase the 180 00:17:52,240 --> 00:17:57,080 motivation of attackers to try to compromise your network? That's, that's something that we, we had to think 181 00:17:57,160 --> 00:18:03,640 about. And what we see during the experiment, that because so much open source information is 182 00:18:03,640 --> 00:18:09,860 already available on, online. So if you have a fake organization that nobody, nobody knew about, it 183 00:18:09,860 --> 00:18:15,840 will may increase the, the motivation of attackers. But because your organization probably already 184 00:18:15,840 --> 00:18:23,740 has information filed online, you can all gain from adding additional deceptive information. If 185 00:18:23,740 --> 00:18:27,140 we'll take from this talk only three things, we really advise you to be the follow-up. First of all, 186 00:18:27,160 --> 00:18:31,440 you have to keep an eye on what you're doing. The first thing, when you go back home to your go, to 187 00:18:31,440 --> 00:18:36,600 your company, use one of the open source tools that we share with you and see what kind of information 188 00:18:36,600 --> 00:18:41,560 is available online. We promise you you'll be surprised of the amount and the type of 189 00:18:41,560 --> 00:18:49,160 information that's already out there. The second thing, turn the problem into an advantage. Because, 190 00:18:49,280 --> 00:18:55,080 once something is online, you cannot remove it. We urge you to monitor that information. If there 191 00:18:55,080 --> 00:18:57,140 are user name, e-mails, you cannot remove it. You have to monitor it. You have to monitor it. You can't 192 00:18:58,860 --> 00:19:03,100 Gottesma and and you may be surprised and maybe find a, find a 193 00:19:03,100 --> 00:19:08,800 attacker that already compromised your network. And the last, the most important one, add 194 00:19:08,800 --> 00:19:14,820 deceptive information to the open source resources. The first thing, you'll confuse attackers. 195 00:19:15,280 --> 00:19:21,120 They will not be able to distinguish between the real information and deceptive one. And most 196 00:19:21,120 --> 00:19:26,120 importantly, it will increase your detection capabilities and enable you to detect attackers that 197 00:19:26,120 --> 00:19:27,140 already compromised your network. Now, when you go back to your organization, would you know anything, 198 00:19:27,140 --> 00:19:30,260 your network. Thank you very much.