1 00:00:00,000 --> 00:00:07,060 A little bit about Pink, the speaker, former Black Badge winner, through Capture the Packet. 2 00:00:07,380 --> 00:00:14,540 And he's going to talk about, you know, something, something hard to reach places. 3 00:00:15,500 --> 00:00:16,920 It's bound to be a good one. 4 00:00:17,080 --> 00:00:19,720 Without much ado, Silas Cutler, Pink. 5 00:00:20,900 --> 00:00:21,400 Thank you. 6 00:00:26,140 --> 00:00:26,640 Hey. 7 00:00:30,920 --> 00:00:31,720 All right. 8 00:00:32,000 --> 00:00:36,700 So, hey, formerly this was sniffing the hard to reach places. 9 00:00:37,380 --> 00:00:40,340 However, we changed it slightly to burning the lookout. 10 00:00:49,380 --> 00:00:50,860 So, I don't just go by Pink. 11 00:00:50,960 --> 00:00:51,740 My name is Silas Cutler. 12 00:00:52,060 --> 00:00:54,440 I'm a senior security researcher for CrowdStrike. 13 00:00:55,220 --> 00:00:56,580 I also run two projects. 14 00:00:56,640 --> 00:01:02,160 One of which is MalShare, which is a site similar to VirusTotal. 15 00:01:02,260 --> 00:01:03,400 We offer free malware samples. 16 00:01:03,960 --> 00:01:06,640 And an internet scanning project called 25499. 17 00:01:07,960 --> 00:01:13,380 Depending on if you're a vendor and you ask what level I'm at, I'm an intern. 18 00:01:13,620 --> 00:01:14,780 Because, yeah. 19 00:01:16,380 --> 00:01:17,200 Contact information. 20 00:01:17,600 --> 00:01:22,700 Feel free to reach out afterwards if I don't or am unable to answer any questions you have. 21 00:01:25,340 --> 00:01:25,860 So. 22 00:01:26,840 --> 00:01:31,280 This talk, we're going to, in this talk, we're going to talk a little bit about some lawful intercept. 23 00:01:31,960 --> 00:01:35,700 Just out of a quick show of hands, how many people are familiar with what lawful intercept entails? 24 00:01:37,740 --> 00:01:38,400 All right. 25 00:01:39,100 --> 00:01:40,660 So, a lot of fresh faces. 26 00:01:41,460 --> 00:01:45,020 So, what we're going to talk about is very commonly known as wiretapping. 27 00:01:46,140 --> 00:01:50,160 And this is how they do it at the ISP and carrier level. 28 00:01:54,440 --> 00:01:55,560 So, I'm going to let you know. 29 00:01:56,640 --> 00:01:57,100 Very up front. 30 00:01:57,180 --> 00:01:58,580 I am not an expert in lawful intercept. 31 00:01:58,960 --> 00:02:00,080 I'm a security researcher. 32 00:02:00,300 --> 00:02:03,320 I follow breadcrumbs from one place to another. 33 00:02:03,980 --> 00:02:07,700 Through it, I've learned about lawful intercept while researching this system. 34 00:02:08,860 --> 00:02:17,660 So, lawful intercept, in a very formal definition, provides law enforcement the tools and access they need in order to conduct investigations. 35 00:02:18,160 --> 00:02:21,240 So, if they have a suspect, they can work with an ISP. 36 00:02:21,340 --> 00:02:26,260 We'll provide them the ability to capture the things they need to for their case. 37 00:02:27,520 --> 00:02:34,140 There's two really important laws and standards that are the sort of framework for how this works. 38 00:02:34,280 --> 00:02:37,560 The first is CALEA, which is the Communications Assistance for Law Enforcement Act. 39 00:02:38,360 --> 00:02:42,640 I've also seen it called the Computer Assistance for Law Enforcement Act, but that's the other one. 40 00:02:42,660 --> 00:02:47,920 And then the other is SD, which is the European Telecommunications Standard Institute. 41 00:02:48,140 --> 00:02:56,020 And they sort of define, here's what the protocols are that hardware needs to speak and what data should be collected. 42 00:02:56,020 --> 00:03:00,860 Cisco has some amazing documentation for their routers and switches on doing this. 43 00:03:02,160 --> 00:03:13,100 And so, basically, ISPs will provide, through their infrastructure, the ability for law enforcement to place taps on people. 44 00:03:13,480 --> 00:03:19,640 With that, it's also access to things like subscriber information, so they don't have to say, this IP address I want to tap. 45 00:03:19,760 --> 00:03:22,220 It's, I want to tap Silas Cutler's phone. 46 00:03:22,680 --> 00:03:25,440 Like, that's the name their system will look up. 47 00:03:26,020 --> 00:03:32,500 My subscriber information and any IP address or phone number I'm calling from, they'll be able to tap without a problem. 48 00:03:33,520 --> 00:03:36,920 So, these systems usually are comprised of three different components. 49 00:03:37,380 --> 00:03:43,140 The intercept access point, usually the switch or wherever my traffic is passing through. 50 00:03:43,540 --> 00:03:47,520 The mediation device, which is something we're going to talk a little about in a few minutes. 51 00:03:47,840 --> 00:03:54,300 And what's called the Lawful Intercept Administration, which controls subscriber information 52 00:03:54,300 --> 00:03:56,000 and verifies that the system is being tapped. 53 00:03:56,000 --> 00:03:58,200 So, this is something that they can place taps when they need. 54 00:04:03,040 --> 00:04:08,840 So, this whole story started a few years ago on what is probably on my favorite site on the internet, Pacebin. 55 00:04:09,720 --> 00:04:16,320 I've been scraping Pacebin now with a 99.99% capture rate for about eight years. 56 00:04:16,840 --> 00:04:23,800 I have keywords set up, so if you post something with any of the sort of keywords I'm watching for, I'll get an email alert. 57 00:04:24,160 --> 00:04:25,600 And it's really important because... 58 00:04:26,000 --> 00:04:32,420 In the days when Anonymous was heavily active, they were sharing configuration scripts, and so I was able to watch all of those. 59 00:04:33,460 --> 00:04:46,240 In 2015, I was doing some work for an Iranian and Middle Eastern cyber group, so I had a keyword set up for cyber army. 60 00:04:46,560 --> 00:04:49,240 Which triggered on this really unusual paste. 61 00:04:50,900 --> 00:04:55,920 This paste was somebody who had claimed to have hacked the Brazilian army after they had done a capture of the flag. 62 00:04:55,920 --> 00:04:59,540 And I know what you might be thinking, which is, how does this relate to Lawful Intercept? 63 00:04:59,780 --> 00:05:00,980 But we're going to get there in a second. 64 00:05:02,420 --> 00:05:06,320 So, in this paste, they had included three addresses that they claimed to have hacked. 65 00:05:06,700 --> 00:05:12,540 And it was a very tongue in cheek post saying, if you like to play, you guys like to play hackers, but we're going to show you our skills. 66 00:05:14,440 --> 00:05:18,600 So, I was curious, and decided to check out and see what one of those sites looked like. 67 00:05:19,160 --> 00:05:20,800 Which I assume you're all curious about as well. 68 00:05:22,200 --> 00:05:25,580 So, fired up Tor Browser, and it was presented. 69 00:05:25,580 --> 00:05:26,700 With this! 70 00:05:27,200 --> 00:05:29,480 An invalid SSL certificate because it expired. 71 00:05:30,040 --> 00:05:33,260 But what it then took me to, was this. 72 00:05:33,860 --> 00:05:37,100 Which is the login panel for one of these mediation devices. 73 00:05:38,260 --> 00:05:39,900 For something called VGEA. 74 00:05:39,940 --> 00:05:42,680 The VGEA Interception Achievement Suite. 75 00:05:44,360 --> 00:05:54,560 And, so this is one of those systems that law enforcement use to log in and place taps or view the records from somebody they've tapped. 76 00:05:55,580 --> 00:05:57,180 And this made me really uncomfortable. 77 00:05:57,420 --> 00:05:58,720 As it should all of you. 78 00:05:59,120 --> 00:06:02,460 Because I was able to publicly access this system. 79 00:06:02,600 --> 00:06:03,520 Which it shouldn't be. 80 00:06:04,840 --> 00:06:08,020 Since it's release, they've actually done their updates. 81 00:06:10,220 --> 00:06:14,920 But, again, haven't updated their SSL certificates, which are expired. 82 00:06:18,200 --> 00:06:19,300 So, I dug a little more. 83 00:06:21,260 --> 00:06:24,920 And, I found that VGEA is actually developed by a company. 84 00:06:24,920 --> 00:06:25,860 It's a company out of Buenos Aires. 85 00:06:26,320 --> 00:06:26,800 SunTech. 86 00:06:27,640 --> 00:06:31,100 In this interface, and they have a lot of information on their site. 87 00:06:31,200 --> 00:06:37,880 About how, with their product, they can assist law enforcement in fulfilling all of the needs they have before an investigation. 88 00:06:39,160 --> 00:06:44,000 Now, I'm not here to sway one way or another on things like surveillance and lawful intercept. 89 00:06:44,420 --> 00:06:51,360 But, I was concerned because all three of these systems were VGEA mediation devices. 90 00:06:52,020 --> 00:06:53,900 Which shouldn't be publicly accessible. 91 00:06:55,680 --> 00:06:57,380 So, I started digging further. 92 00:06:57,540 --> 00:07:00,540 To try and find out how many of these are out there. 93 00:07:00,600 --> 00:07:01,160 Where are they? 94 00:07:01,340 --> 00:07:05,740 How many other places could I find one of these mediation devices? 95 00:07:08,580 --> 00:07:10,700 So, I'm a huge fan of Census. 96 00:07:10,840 --> 00:07:13,120 The guys at University of Michigan have done amazing work. 97 00:07:13,280 --> 00:07:14,460 And, it's a really awesome tool. 98 00:07:14,980 --> 00:07:17,280 So, I started from those three sites. 99 00:07:17,340 --> 00:07:21,340 Trying to collect any sort of static elements that I could find. 100 00:07:22,240 --> 00:07:23,880 So, looking at things like the SSL certificate. 101 00:07:23,900 --> 00:07:31,200 I noticed the common name was VGEA.vivo.com.br. 102 00:07:31,460 --> 00:07:34,880 And, Vivo is a pretty important telecom provider. 103 00:07:35,380 --> 00:07:40,760 Which they very directly identify as part of their DNS name also. 104 00:07:40,880 --> 00:07:43,060 Which that resolves also to that intercept point. 105 00:07:44,200 --> 00:07:47,660 So, through SSL information. 106 00:07:48,140 --> 00:07:50,180 Through DNS information. 107 00:07:50,520 --> 00:07:53,880 I was able to start searching and hunting for real data. 108 00:07:53,900 --> 00:07:54,340 For more of these. 109 00:07:56,520 --> 00:07:57,660 As I was also looking. 110 00:07:57,760 --> 00:07:59,060 I found things like passive DNS. 111 00:07:59,220 --> 00:08:03,460 Which indicated all of these systems started having common things. 112 00:08:03,560 --> 00:08:07,080 So, the DNS names were VGEA dot something. 113 00:08:07,460 --> 00:08:12,000 The SSL information had either SunTech or VGEA. 114 00:08:12,200 --> 00:08:14,220 To identify what it was. 115 00:08:14,360 --> 00:08:15,500 And so, this started to become a pattern. 116 00:08:15,620 --> 00:08:17,920 Where there was a pretty easy way to spot these. 117 00:08:20,500 --> 00:08:21,740 And then, this was all for naught. 118 00:08:21,740 --> 00:08:26,860 Because on the civil police of the state of Santa Cantarina. 119 00:08:27,700 --> 00:08:30,800 They actually listed three of the systems. 120 00:08:31,240 --> 00:08:33,280 In their bookmarks tab for everyone. 121 00:08:33,580 --> 00:08:36,440 So, these were very directly being used by law enforcement. 122 00:08:37,480 --> 00:08:40,260 I've actually redacted part of the session ID. 123 00:08:40,380 --> 00:08:42,980 Which they left in the shortcut. 124 00:08:45,420 --> 00:08:46,280 Come on guys. 125 00:08:49,900 --> 00:08:51,140 So, mapped it all out. 126 00:08:51,740 --> 00:08:53,540 With the six that I had conclusively found. 127 00:08:54,300 --> 00:08:56,580 I was really hoping to see them all over the world. 128 00:08:56,660 --> 00:08:58,560 But instead, there's a really nice little cluster. 129 00:09:00,920 --> 00:09:03,060 And my geography of Brazil is a little. 130 00:09:03,840 --> 00:09:05,800 Or of South America is a little rough. 131 00:09:05,900 --> 00:09:06,820 So, I had to zoom in. 132 00:09:07,520 --> 00:09:10,720 And it was very clear that all six of these were in Brazil. 133 00:09:11,920 --> 00:09:14,040 And I was able to map them to their. 134 00:09:14,560 --> 00:09:16,420 Some of their largest telecom providers. 135 00:09:17,200 --> 00:09:20,500 So, each of these providers is providing law enforcement. 136 00:09:20,500 --> 00:09:23,880 Law enforcement wiretap ability. 137 00:09:24,080 --> 00:09:25,600 Through these VGS systems. 138 00:09:25,840 --> 00:09:27,640 So, police in these areas. 139 00:09:28,440 --> 00:09:29,520 Hopefully police. 140 00:09:29,800 --> 00:09:32,920 Can go in and place taps. 141 00:09:33,280 --> 00:09:34,900 View wiretap logs. 142 00:09:35,380 --> 00:09:37,400 And collect information on suspects. 143 00:09:40,180 --> 00:09:41,660 Hopefully law enforcement. 144 00:09:45,080 --> 00:09:46,880 So, why this matters. 145 00:09:48,400 --> 00:09:50,460 How many of you are familiar with the. 146 00:09:50,460 --> 00:09:52,220 Olympics in Greece from a few years. 147 00:09:52,300 --> 00:09:53,140 2004, 2005. 148 00:09:54,260 --> 00:09:57,100 I know it's not really a specific thing. 149 00:09:57,760 --> 00:09:59,260 But it was a few years ago. 150 00:09:59,520 --> 00:10:01,300 Because what ended up happening was. 151 00:10:02,160 --> 00:10:05,340 It was a pretty severe diplomatic and international incident. 152 00:10:05,460 --> 00:10:10,100 Because someone had broken into the Ericsson switches. 153 00:10:10,180 --> 00:10:12,860 Used by Vodafone in Greece. 154 00:10:13,580 --> 00:10:17,300 And placed taps on state officials. 155 00:10:17,660 --> 00:10:19,240 I think the prime minister was also included. 156 00:10:19,240 --> 00:10:22,380 Where their phones were tapped during the Olympics. 157 00:10:22,900 --> 00:10:26,580 So, pretty important time politically and culturally. 158 00:10:27,400 --> 00:10:31,600 Where some third party had been listening to all their calls. 159 00:10:31,620 --> 00:10:32,460 And reporting all their data. 160 00:10:34,100 --> 00:10:37,720 So, the actual perpetrators behind this aren't known. 161 00:10:38,920 --> 00:10:40,000 It was suspected. 162 00:10:40,860 --> 00:10:43,920 Being a country that we all are maybe standing in. 163 00:10:44,880 --> 00:10:45,920 And they'd actually. 164 00:10:46,080 --> 00:10:46,940 The switches themselves. 165 00:10:47,180 --> 00:10:47,760 The Ericsson switches. 166 00:10:47,760 --> 00:10:51,120 Originally didn't have the lawful intercept feature installed. 167 00:10:51,220 --> 00:10:52,700 So, someone actually installed it on it. 168 00:10:52,740 --> 00:10:55,820 Because it doesn't always come by default with the switches and things. 169 00:10:56,400 --> 00:10:58,320 It was also called the Greek Watergate incident. 170 00:11:01,600 --> 00:11:02,840 So, right now. 171 00:11:03,040 --> 00:11:04,320 These systems are out there. 172 00:11:04,640 --> 00:11:09,120 They are poorly set up for OPSEC. 173 00:11:09,280 --> 00:11:12,900 So, they are being targeted by people. 174 00:11:13,060 --> 00:11:16,220 Because the post from Pacebin was a hacktivist group. 175 00:11:16,320 --> 00:11:17,580 That said that this was a. 176 00:11:18,840 --> 00:11:19,760 Target of theirs. 177 00:11:19,860 --> 00:11:21,260 And they had broken into it already. 178 00:11:21,620 --> 00:11:23,400 So, there's hacktivists targeting these. 179 00:11:23,660 --> 00:11:25,200 There's governments targeting these. 180 00:11:26,760 --> 00:11:31,440 And there's also the very significant potential for cyber criminals to target these. 181 00:11:31,560 --> 00:11:35,560 Because if you can control someone's traffic. 182 00:11:35,680 --> 00:11:38,060 You can collect a lot of really sensitive information. 183 00:11:38,180 --> 00:11:40,720 Which can be exploited for financial gain. 184 00:11:41,060 --> 00:11:42,580 Through online banking. 185 00:11:42,660 --> 00:11:43,160 Online shopping. 186 00:11:43,500 --> 00:11:47,660 So, there's a significant risk that is being placed on people. 187 00:11:47,660 --> 00:11:48,720 Where these systems are deployed. 188 00:11:49,420 --> 00:11:52,140 And one of the other points to make about it as well. 189 00:11:52,440 --> 00:11:56,380 Is this is likely not the only setup like this out there. 190 00:11:56,640 --> 00:12:05,380 There's likely other vendors that have weak and vulnerable lawful intercept mediation devices. 191 00:12:05,580 --> 00:12:08,200 That could be attacked by third parties. 192 00:12:08,640 --> 00:12:14,640 And as a community I think we need to hold the vendors and the developers of these to a higher level of standard. 193 00:12:14,940 --> 00:12:16,960 Where things like two factor authentication. 194 00:12:17,600 --> 00:12:18,400 Valid certificates. 195 00:12:18,600 --> 00:12:22,840 And not being publicly accessible is a requirement. 196 00:12:23,060 --> 00:12:25,540 And not just a hope or want. 197 00:12:28,780 --> 00:12:31,740 And so, as a final point to it as well. 198 00:12:31,980 --> 00:12:34,420 Is as of last night at about 11 PM. 199 00:12:35,260 --> 00:12:36,860 That's the population of Brazil. 200 00:12:38,020 --> 00:12:44,380 So, all of those people are technically at risk of having their traffic and their communications intercepted. 201 00:12:44,720 --> 00:12:46,360 Because these devices are vulnerable. 202 00:12:52,200 --> 00:12:53,460 So, I like the 20 minute talks. 203 00:12:53,580 --> 00:12:54,860 Because they're very quick and to the point. 204 00:12:55,240 --> 00:12:56,420 So, questions. 205 00:12:56,920 --> 00:12:57,920 Anything I can explain more. 206 00:12:57,980 --> 00:12:58,120 Yes. 207 00:12:58,400 --> 00:13:00,700 So, do you have this type of access? 208 00:13:01,660 --> 00:13:02,060 Domestically. 209 00:13:02,540 --> 00:13:03,900 Any type of this access. 210 00:13:04,040 --> 00:13:04,240 Excuse me. 211 00:13:04,820 --> 00:13:05,220 Domestically. 212 00:13:05,920 --> 00:13:06,320 Domestically. 213 00:13:06,960 --> 00:13:07,720 I have not. 214 00:13:08,100 --> 00:13:12,020 But, CALEA was written for the U.S. 215 00:13:12,080 --> 00:13:15,640 There are telecom standards in the U.S. that require these same systems. 216 00:13:15,640 --> 00:13:20,500 And there's actually been some phenomenal research from, I think it was FX of Phono Elite. 217 00:13:20,580 --> 00:13:25,380 And Tom, I want to say Cross from IBM Xforce in 2010. 218 00:13:25,520 --> 00:13:29,680 Where they talk about some of these systems at least deployed in the U.S. and in Europe. 219 00:13:29,940 --> 00:13:34,780 But more at the intercept gateway or the intercept access point. 220 00:13:34,900 --> 00:13:39,720 Where the actual switch has the ability to receive TAP information and to send that information. 221 00:13:40,520 --> 00:13:43,740 So, they are here in the U.S. as well for law enforcement. 222 00:13:43,740 --> 00:13:49,620 However, the deployment of the mediation devices, I'm not sure about. 223 00:13:52,180 --> 00:13:52,780 Anything else? 224 00:13:54,960 --> 00:13:55,360 Awesome. 225 00:13:55,640 --> 00:13:56,340 Well, thank you. 226 00:13:56,400 --> 00:13:59,900 If you have any questions, please feel free to email me and or contact me on Twitter.