1 00:00:00,000 --> 00:00:06,820 I'm by the handle Weedanon for the promotion of this talk, but my name is Alex Hyde, and I'm one of the co-founders of the Hack Miami conference. 2 00:00:07,400 --> 00:00:14,960 And I was using a pseudonym for the promotion of it just to avoid any SEO crossover, because we're going to be going into some pretty interesting topics. 3 00:00:16,480 --> 00:00:25,300 And so a bit about me, I'm from South Florida, and I work with the Hack Miami organization as one of the co-founders, the other co-founders sitting up front with me as well. 4 00:00:25,300 --> 00:00:34,720 My background's in the field of essentially web application security, network attacking, and also malware analysis and threat intel. 5 00:00:35,240 --> 00:00:43,240 And most importantly, I like computers, the internet, and I love smoking weed. That's probably the most important point to be brought here. 6 00:00:48,580 --> 00:00:55,280 So some of the stuff we'll be going through is we're going to be talking about the different areas of compliance that are being... 7 00:00:55,300 --> 00:00:59,380 being foisted upon the cannabis industry with their new... 8 00:00:59,380 --> 00:01:04,900 It's a new industry, a lot of it's unregulated still, even with proposed stuff coming up. 9 00:01:05,280 --> 00:01:16,320 And there's a lot of gray areas to where... to what existing compliances need to be fulfilled and which new ones are upcoming that may need to be thought of. 10 00:01:16,480 --> 00:01:24,320 And as anyone who's been attending DEF CON for... as anyone who's attended DEF CON ever knows compliance, 11 00:01:24,520 --> 00:01:25,280 does that... does... 12 00:01:25,300 --> 00:01:26,020 does not equal security. 13 00:01:26,520 --> 00:01:29,100 So once things are compliant, then what? 14 00:01:29,560 --> 00:01:30,140 And... 15 00:01:30,140 --> 00:01:37,280 So we'll be going over the use of IoT technologies as it relates to agricultural development and essentially just the... 16 00:01:38,140 --> 00:01:42,220 giving an IP address to all sorts of things that previously didn't have IP addresses. 17 00:01:42,460 --> 00:01:50,360 In this case, it's farm equipment, hydro gear, webcams to watch... to watch gardens, that type of stuff. 18 00:01:50,820 --> 00:01:51,400 And... 19 00:01:52,080 --> 00:01:55,120 Most importantly, from the... from the areas of... of... 20 00:01:55,300 --> 00:02:05,220 party risk. Most cannabis industries rely solely, or if not entirely, on third party 21 00:02:05,220 --> 00:02:11,080 vendors to supply all the business operations that are needed to meet the existing compliance 22 00:02:11,080 --> 00:02:16,360 frameworks that they have to go in. So merchant services, they can't have bank accounts, so 23 00:02:16,360 --> 00:02:20,880 they'll need to use a certain provider to be able to process, to either process credit 24 00:02:20,880 --> 00:02:27,300 cards if they're allowed, or use some kind of evasive credit card to cryptocurrency to cash 25 00:02:27,300 --> 00:02:33,280 system in order to make those purchases. And then we'll also be going into some examples of 26 00:02:33,280 --> 00:02:38,760 scaled attacks against IOT systems that can definitely have a big effect on the cannabis 27 00:02:38,760 --> 00:02:45,400 industry, from the smallest type of a webcam hack going up to more intense types of attacks. 28 00:02:46,740 --> 00:02:50,860 And when it comes to the vectors of risk of what is actually being used in the cannabis 29 00:02:50,860 --> 00:02:55,880 industry, what is actually being, what is at risk for the customer and what is at risk 30 00:02:55,880 --> 00:03:01,360 for the business? So for the business, there are existing areas of compliance that are 31 00:03:02,000 --> 00:03:08,520 applicable. So if they're processing credit cards, there's PCI, CSS. If they're doing 32 00:03:08,520 --> 00:03:15,260 health, if they're handling medical cannabis records, then HIPAA compliance standards apply. 33 00:03:15,860 --> 00:03:19,780 And this is all for the storage, transmission, and 34 00:03:19,780 --> 00:03:20,840 management. 35 00:03:20,860 --> 00:03:25,040 And basically, they're intending to maintain the confidentiality, integrity, and availability 36 00:03:26,100 --> 00:03:33,500 of all these data types and transactions. And very few places will actually use their 37 00:03:33,500 --> 00:03:40,320 own setup. Everyone's making use of, for example, point-of-sale systems that are specially 38 00:03:40,320 --> 00:03:46,140 designed for the cannabis industry. So the experience of walking into a dispensary, providing 39 00:03:46,140 --> 00:03:50,200 a driver's license or other form of identification that's either scanned or taken a picture 40 00:03:50,200 --> 00:03:50,840 or entered in dispensary, that's going to be a lot of work. 41 00:03:50,860 --> 00:03:50,880 But if you're going to be using it for some sort of physical security, then you've got 42 00:03:50,880 --> 00:03:54,600 to be aware that it's being used to some computer. That's hardly ever stored within, 43 00:03:55,220 --> 00:04:00,300 just within the building itself. It's being used of some type of, they're usually using 44 00:04:00,300 --> 00:04:06,220 some kind of third-party customer relationship management software that will serve often 45 00:04:06,220 --> 00:04:12,020 times many different cannabis companies or other types of companies. And we'll be going 46 00:04:12,020 --> 00:04:18,400 into those types of issues as well. And we'll also be going into actually some of the physical 47 00:04:18,400 --> 00:04:20,840 security risks that exist. We'll actually be going into the risk associated with that. 48 00:04:20,840 --> 00:04:25,020 within the cannabis industry as well 49 00:04:25,020 --> 00:04:28,240 and how it relates to information security and compliance practices, 50 00:04:28,420 --> 00:04:31,380 especially as it relates to cash and garden locations and the like. 51 00:04:32,380 --> 00:04:36,760 So to wrap your head around the concept of third-party risk, 52 00:04:37,560 --> 00:04:42,060 it's the idea that the weakest link will be exploited. 53 00:04:42,380 --> 00:04:45,220 So when you have a bunch of different companies working together, 54 00:04:45,980 --> 00:04:49,460 one company is making use of a service 55 00:04:49,460 --> 00:04:52,120 and creates a digital supply chain. 56 00:04:52,440 --> 00:04:56,760 The weakest one is oftentimes the one that will provide a vector 57 00:04:56,760 --> 00:04:59,200 into all the other different companies, 58 00:04:59,360 --> 00:05:04,460 oftentimes through password reuse or interconnected networks. 59 00:05:04,680 --> 00:05:06,320 Some examples of that would be the Target breach. 60 00:05:07,220 --> 00:05:11,920 Even the OPM government hack was based off of a compromised contractor 61 00:05:11,920 --> 00:05:15,260 that had credentials and were able to get into the government system. 62 00:05:15,660 --> 00:05:18,200 So while they're targeting all these major industries, 63 00:05:18,320 --> 00:05:19,040 they've always been targeting 64 00:05:19,040 --> 00:05:19,440 because otherwise they wouldn't be able to get into the government system. 65 00:05:19,440 --> 00:05:20,020 That's where the money is. 66 00:05:20,280 --> 00:05:22,160 They're going to be targeting the cannabis industry 67 00:05:22,160 --> 00:05:24,120 as it emerges for several reasons. 68 00:05:24,320 --> 00:05:26,320 One, there's a lot of hardware to be able to take over 69 00:05:26,320 --> 00:05:28,240 and compromise and turn it into a botnet. 70 00:05:28,560 --> 00:05:31,540 Two, there's a lot of cryptocurrency stuff that goes on 71 00:05:31,540 --> 00:05:37,180 that makes it that there's an incentive to actually steal private keys 72 00:05:37,180 --> 00:05:40,080 or actually do the reconnaissance to be able to get into these businesses 73 00:05:40,080 --> 00:05:41,600 to be able to steal private keys and information. 74 00:05:42,480 --> 00:05:45,740 And we'll be going through some of the aspects 75 00:05:45,740 --> 00:05:48,900 of what these third-party vendors, 76 00:05:48,900 --> 00:05:51,620 vendors look like and where the risks lie. 77 00:05:52,160 --> 00:05:57,260 So one of the more prominent ones 78 00:05:57,260 --> 00:06:01,260 that they seem to be doing decent from a security hygiene-wise 79 00:06:01,260 --> 00:06:04,140 is, for example, like Weedmaps.com. 80 00:06:04,340 --> 00:06:06,180 So you have all these different dispensaries 81 00:06:06,180 --> 00:06:09,200 that are using Weedmaps.com to do their listings 82 00:06:09,200 --> 00:06:10,500 and also process their orders. 83 00:06:10,780 --> 00:06:14,820 And in the event that a service like Weedmaps.com would get hacked, 84 00:06:15,040 --> 00:06:17,800 every single dispensary and customer of that service 85 00:06:17,800 --> 00:06:18,760 is impacted. 86 00:06:18,900 --> 00:06:24,040 And so attackers are no longer going after individual entities. 87 00:06:24,380 --> 00:06:25,980 They're going after the service providers 88 00:06:25,980 --> 00:06:27,640 that handle all the entities. 89 00:06:27,760 --> 00:06:29,440 And then that way they're able to actually get in. 90 00:06:29,640 --> 00:06:32,360 And from the standpoint of Weedmaps.com, 91 00:06:32,540 --> 00:06:36,660 I didn't see any indication that they're going to be hit anytime soon. 92 00:06:36,820 --> 00:06:39,560 But everybody will eventually get hit. 93 00:06:39,680 --> 00:06:44,940 And it's not about blaming a person or an entity when it happens. 94 00:06:45,120 --> 00:06:46,700 It's about how do you respond to it 95 00:06:46,700 --> 00:06:48,180 to be able to mitigate the fallout 96 00:06:48,180 --> 00:06:49,240 that's going to occur. 97 00:06:50,980 --> 00:06:55,160 And so as we touched on with an increase in IoT technology, 98 00:06:55,800 --> 00:06:58,860 so this is a graph that came from Cisco. 99 00:06:59,240 --> 00:07:02,600 And they're estimating that about 200 million, 100 00:07:03,400 --> 00:07:06,840 no, sorry, 50 billion IoT devices 101 00:07:06,840 --> 00:07:09,600 will be on the public Internet by the year 2020. 102 00:07:09,940 --> 00:07:13,020 So if 1% of those devices are exploitable 103 00:07:13,020 --> 00:07:13,900 through the public Internet, 104 00:07:14,080 --> 00:07:15,980 that means 500 million exploitable targets. 105 00:07:16,180 --> 00:07:18,040 If a percentage of those are, 106 00:07:18,180 --> 00:07:20,060 if a percentage of those are agricultural 107 00:07:20,060 --> 00:07:23,240 or cannabis-related, it doesn't matter. 108 00:07:23,300 --> 00:07:24,920 Attackers are just, they're looking for 109 00:07:24,920 --> 00:07:27,840 absolutely anything they can be able to get into. 110 00:07:28,320 --> 00:07:30,220 And then they'll figure out what they're going to do with it 111 00:07:30,220 --> 00:07:31,180 after the fact. 112 00:07:31,500 --> 00:07:32,620 It's a huge nation right there. 113 00:07:33,120 --> 00:07:35,480 Yeah, it's essentially a small nation, 114 00:07:35,540 --> 00:07:38,140 or a big nation of compromised devices. 115 00:07:40,660 --> 00:07:43,800 So IoT devices are definitely more than just routers, 116 00:07:43,800 --> 00:07:46,300 printers, webcams, coffee makers, toasters. 117 00:07:46,640 --> 00:07:46,760 They're just the... 118 00:07:48,860 --> 00:07:51,920 The innocuous consumer electronic technologies 119 00:07:51,920 --> 00:07:53,440 that everyone's making use of. 120 00:07:54,400 --> 00:07:58,340 More and more agricultural, industrial, manufacturing, 121 00:07:58,620 --> 00:08:03,240 heavy machine systems are being given IoT capabilities 122 00:08:03,240 --> 00:08:05,760 or given Internet browsing features, 123 00:08:05,940 --> 00:08:09,760 things like Telnet or real weak-looking HTTP applications. 124 00:08:10,120 --> 00:08:13,480 And the reason is it's easy and they're fast 125 00:08:13,480 --> 00:08:14,320 and they do communicate. 126 00:08:14,560 --> 00:08:15,620 The protocols work. 127 00:08:15,880 --> 00:08:17,960 And they're even older. 128 00:08:17,960 --> 00:08:19,680 The computer equipment that was never designed 129 00:08:19,680 --> 00:08:22,300 to be put online in the first place 130 00:08:22,300 --> 00:08:24,640 is getting retrofitted with hardware 131 00:08:24,640 --> 00:08:27,500 that will give it an IP address with Telnet 132 00:08:27,500 --> 00:08:29,060 and a really lame web application 133 00:08:29,060 --> 00:08:32,220 to be able to host all the everythings. 134 00:08:32,260 --> 00:08:36,240 And we're definitely seeing that also emerging 135 00:08:36,240 --> 00:08:38,880 when it comes to large-scale agricultural growth 136 00:08:38,880 --> 00:08:41,960 because it's much more efficient that way. 137 00:08:43,880 --> 00:08:45,960 And so as we touched on earlier, 138 00:08:46,640 --> 00:08:47,200 we're seeing that the... 139 00:08:47,960 --> 00:08:53,100 The increase in IoT is way more than just being able 140 00:08:53,100 --> 00:08:53,860 to compromise a machine, 141 00:08:53,940 --> 00:08:55,340 make it part of a bot and edit it or the like. 142 00:08:56,980 --> 00:09:00,160 It's essentially a bounce point into the internal networks. 143 00:09:00,360 --> 00:09:02,980 So any perimeter device that can get compromised, 144 00:09:03,060 --> 00:09:05,440 either through an exploit, through a misconfiguration, 145 00:09:05,440 --> 00:09:07,900 or through a weak password or a default password, 146 00:09:08,800 --> 00:09:11,640 this is just kind of one example of what that would look like. 147 00:09:11,800 --> 00:09:13,740 A default or a weak Telnet password. 148 00:09:14,040 --> 00:09:15,720 The attacker enables SSH. 149 00:09:16,080 --> 00:09:17,700 Now they can do an SSH tunnel. 150 00:09:17,960 --> 00:09:19,240 And now they're able to start port scanning 151 00:09:19,240 --> 00:09:21,700 the internal ranges and so forth. 152 00:09:23,240 --> 00:09:25,460 So when it comes to the tools for discovery, 153 00:09:25,740 --> 00:09:28,480 the most important thing is to have high-quality cannabis, 154 00:09:28,720 --> 00:09:31,320 usually from the top shelf with the highest grade of THC 155 00:09:31,320 --> 00:09:32,520 that's available from the store. 156 00:09:32,860 --> 00:09:36,540 And then pick up a VPS with some cryptocurrency 157 00:09:36,540 --> 00:09:38,640 to be able to conduct scans 158 00:09:38,640 --> 00:09:40,860 for something that's other than your home IP address. 159 00:09:41,640 --> 00:09:44,720 Using Google, you can find a ridiculous amount of information 160 00:09:44,720 --> 00:09:46,460 with the Google dorking technique. 161 00:09:46,540 --> 00:09:47,940 And for anyone not familiar with Google, 162 00:09:47,960 --> 00:09:50,160 Google dorking, it's using Google to find things 163 00:09:50,160 --> 00:09:51,480 that are indexed that show vulnerabilities 164 00:09:51,480 --> 00:09:53,960 that they might not have wanted to be indexed. 165 00:09:54,020 --> 00:09:56,640 So just Google, Google dorking to find more about that. 166 00:09:56,900 --> 00:09:59,860 And then the tools, MassScan, ZMap, 167 00:10:00,000 --> 00:10:01,660 for your own port scanning, 168 00:10:01,900 --> 00:10:07,800 and Shodan and Census for pre-scanned ports. 169 00:10:10,260 --> 00:10:11,840 And interestingly enough, 170 00:10:12,100 --> 00:10:14,260 powered bifooters are still a thing. 171 00:10:14,680 --> 00:10:16,720 And not only are they on... 172 00:10:17,960 --> 00:10:19,540 old websites that they shouldn't be, 173 00:10:19,640 --> 00:10:22,360 they're being printed on the receipts of the dispensaries. 174 00:10:22,740 --> 00:10:26,780 So when I picked this up earlier this week, 175 00:10:26,880 --> 00:10:32,120 it said powered by, and then the domain name of this company. 176 00:10:32,400 --> 00:10:34,560 And when we went to the domain name, 177 00:10:34,700 --> 00:10:38,100 it was essentially a CRM 178 00:10:38,100 --> 00:10:40,160 that has all sorts of different customers. 179 00:10:40,280 --> 00:10:41,900 They serve all industries, 180 00:10:41,940 --> 00:10:43,340 and they seem to have a few products 181 00:10:43,340 --> 00:10:45,680 that are targeted towards the cannabis industry. 182 00:10:46,150 --> 00:10:46,860 And they're... 183 00:10:46,860 --> 00:10:47,940 And they're... 184 00:10:49,400 --> 00:10:52,400 And their main use is e-commerce. 185 00:10:52,820 --> 00:10:53,560 So they'll be... 186 00:10:53,560 --> 00:10:55,520 I pretty much blocked out absolutely everything 187 00:10:55,520 --> 00:10:57,940 to be able to maintain who they are. 188 00:10:58,300 --> 00:11:01,080 But they're a CRM, 189 00:11:01,080 --> 00:11:04,120 a very kind of entry-level Salesforce-type thing. 190 00:11:04,320 --> 00:11:09,680 And a lot of dispensaries use this platform as a back-end 191 00:11:09,680 --> 00:11:11,140 for when you check in, 192 00:11:11,200 --> 00:11:12,960 when you go to the front desk and you check in, 193 00:11:13,040 --> 00:11:14,340 when they send your order to the back, 194 00:11:14,480 --> 00:11:17,720 every patient's order is saved in here, 195 00:11:17,960 --> 00:11:18,960 along with a whole bunch of others. 196 00:11:19,140 --> 00:11:20,860 And what's more, it's ColdFusion. 197 00:11:21,060 --> 00:11:24,520 Like, it's running a legacy web application of ColdFusion, 198 00:11:25,720 --> 00:11:26,240 parameterized. 199 00:11:26,480 --> 00:11:28,960 All the URL is heavily parameterized. 200 00:11:29,380 --> 00:11:33,240 Google dorking showed all sorts of indexed things 201 00:11:33,240 --> 00:11:34,820 that shouldn't have been indexed, 202 00:11:34,820 --> 00:11:36,200 but were publicly available. 203 00:11:36,580 --> 00:11:41,420 And when you basically throw just the simple %27 204 00:11:41,980 --> 00:11:43,140 into the URL, 205 00:11:43,340 --> 00:11:45,380 you get the 500 error, 206 00:11:45,480 --> 00:11:47,880 which indicates, oh, maybe there's an SQL injection there. 207 00:11:47,960 --> 00:11:49,780 And, well, that's where we stopped. 208 00:11:50,100 --> 00:11:53,340 Because that's, I mean, let's see, 209 00:11:53,480 --> 00:11:55,340 Windows 2008, R2, 210 00:11:56,820 --> 00:12:00,940 yeah, it's definitely a problem there. 211 00:12:01,340 --> 00:12:03,820 All the entire database is available 212 00:12:03,820 --> 00:12:06,360 and just leaking for this dispensary 213 00:12:06,360 --> 00:12:08,400 and every single other one that's using the service 214 00:12:08,400 --> 00:12:11,640 and going to be contacting them to get that sorted. 215 00:12:12,080 --> 00:12:14,640 But the thing is, it's a third-party vendor, 216 00:12:14,760 --> 00:12:16,160 so they're going to have to call some companies, 217 00:12:16,180 --> 00:12:17,160 going to have to call some companies, 218 00:12:17,200 --> 00:12:17,860 going to have to call their, 219 00:12:17,860 --> 00:12:17,940 going to have to call their, 220 00:12:17,940 --> 00:12:19,840 a developer that was hired by some contractor, 221 00:12:20,120 --> 00:12:22,580 and then they have to explain the whole thing 222 00:12:22,580 --> 00:12:24,020 of what happened, and then it'll get fixed. 223 00:12:24,220 --> 00:12:27,680 So even when it comes to high-risk security issues, 224 00:12:27,940 --> 00:12:30,540 the average time to remediation is still about six months 225 00:12:30,540 --> 00:12:33,260 for even enterprises that have their stuff together. 226 00:12:33,420 --> 00:12:35,380 From the time it's identified to the time it's fixed, 227 00:12:35,420 --> 00:12:36,300 it could take six months. 228 00:12:36,640 --> 00:12:43,020 And meanwhile, everyone from both dispensaries 229 00:12:43,020 --> 00:12:43,740 and other businesses, 230 00:12:43,760 --> 00:12:46,200 because this company does all sorts of other stuff, 231 00:12:46,320 --> 00:12:47,860 those databases are just sitting there 232 00:12:47,860 --> 00:12:49,500 waiting for someone to come along 233 00:12:49,500 --> 00:12:53,500 and use more intense flags on the analysis tools. 234 00:12:55,040 --> 00:12:58,920 And from the standpoint of physical security and ATMs, 235 00:12:58,960 --> 00:13:01,240 okay, so maybe there's no credit card numbers 236 00:13:01,240 --> 00:13:04,180 stored in these, on the databases, 237 00:13:04,280 --> 00:13:05,560 just patient record information. 238 00:13:06,000 --> 00:13:07,540 Maybe we could do some identity theft, 239 00:13:07,680 --> 00:13:09,700 but what's the big deal with that? 240 00:13:09,860 --> 00:13:12,700 Say the dispensary has an ATM on site, 241 00:13:12,820 --> 00:13:17,360 and now all of the ATMs that, 242 00:13:17,860 --> 00:13:20,180 that are available come from brands like, 243 00:13:20,740 --> 00:13:22,940 one main manufacturer is Hyosung, 244 00:13:23,100 --> 00:13:23,900 and there's a few others. 245 00:13:24,700 --> 00:13:28,300 The way most stores get these in there is 246 00:13:28,300 --> 00:13:30,500 they don't accept cards, 247 00:13:30,560 --> 00:13:32,320 so they'll get a contract with a company 248 00:13:32,320 --> 00:13:33,640 who has a contract with a company 249 00:13:33,640 --> 00:13:34,880 who has a contract with a company 250 00:13:34,880 --> 00:13:36,480 that will put an ATM in, 251 00:13:36,600 --> 00:13:38,400 and then they'll contract somebody else 252 00:13:38,400 --> 00:13:39,860 to come in and do the maintenance and all that. 253 00:13:40,020 --> 00:13:41,180 And no one's communicating, 254 00:13:41,360 --> 00:13:43,900 but everyone has the manual from the manufacturer, 255 00:13:44,840 --> 00:13:46,580 which has the, 256 00:13:46,580 --> 00:13:46,920 the, 257 00:13:46,920 --> 00:13:47,840 the, 258 00:13:47,860 --> 00:13:49,100 the operator passwords of, 259 00:13:49,160 --> 00:13:50,120 you know, 260 00:13:51,580 --> 00:13:52,020 22225555, 261 00:13:52,600 --> 00:13:53,020 you know, 262 00:13:53,020 --> 00:13:53,340 yeah, 263 00:13:53,400 --> 00:13:53,760 those are, 264 00:13:53,780 --> 00:13:56,220 those are basically just the default passwords. 265 00:13:56,440 --> 00:13:56,640 You can, 266 00:13:56,740 --> 00:13:57,060 if you, 267 00:13:57,140 --> 00:13:57,520 again, 268 00:13:57,620 --> 00:13:58,500 Google dorking, 269 00:13:58,500 --> 00:13:59,020 file type, 270 00:13:59,120 --> 00:13:59,340 colon, 271 00:13:59,460 --> 00:13:59,860 PDF, 272 00:14:00,020 --> 00:14:01,600 ATM manufacturer name, 273 00:14:01,680 --> 00:14:02,280 model number, 274 00:14:02,420 --> 00:14:03,620 you'll find what you're looking for 275 00:14:03,620 --> 00:14:04,620 because they're making them available 276 00:14:04,620 --> 00:14:07,380 because people have to be able to fix their ATMs. 277 00:14:09,540 --> 00:14:12,020 And when it comes to the actual safe 278 00:14:12,020 --> 00:14:13,580 that's in the ATM, 279 00:14:14,280 --> 00:14:15,680 also a default code, 280 00:14:15,820 --> 00:14:16,180 50, 281 00:14:16,260 --> 00:14:16,580 25, 282 00:14:16,960 --> 00:14:17,380 50, 283 00:14:17,860 --> 00:14:20,300 and when you try to look at what is actually, 284 00:14:20,460 --> 00:14:21,620 when you try to change it, 285 00:14:21,660 --> 00:14:23,200 the instructions are very complicated 286 00:14:23,200 --> 00:14:24,440 on how to actually get this changed, 287 00:14:24,640 --> 00:14:26,340 but they emphasize how important it is. 288 00:14:26,520 --> 00:14:27,120 I don't, 289 00:14:27,120 --> 00:14:29,320 I don't know if many people are doing it, 290 00:14:29,380 --> 00:14:29,680 and it's, 291 00:14:29,680 --> 00:14:29,840 again, 292 00:14:29,900 --> 00:14:30,840 it's all a matter of percentage 293 00:14:30,840 --> 00:14:31,340 to what be, 294 00:14:31,440 --> 00:14:32,760 when it actually becomes a problem. 295 00:14:34,160 --> 00:14:37,240 And when it comes to web application exploits, 296 00:14:37,240 --> 00:14:39,300 so one of the analysis is that we did is we, 297 00:14:39,960 --> 00:14:43,160 we found a web application of CVE 298 00:14:43,160 --> 00:14:45,960 from CVE 2017 7577, 299 00:14:46,920 --> 00:14:47,760 and we did a, 300 00:14:47,760 --> 00:14:49,060 we did a mapping on the entire internet 301 00:14:49,060 --> 00:14:54,360 for any HTTP service that's running the web service 302 00:14:54,360 --> 00:14:56,100 known as UCHTTPD. 303 00:14:56,240 --> 00:14:59,420 It's an embedded firmware that's used on a lot of cheap, 304 00:14:59,500 --> 00:15:04,420 cheap manufactured webcams that are white labeled, 305 00:15:04,560 --> 00:15:05,920 annoying all over the world. 306 00:15:06,060 --> 00:15:10,060 We found about 205,000 of them a little under a year ago, 307 00:15:10,220 --> 00:15:14,460 and they were version 1.0 is the only version 308 00:15:14,460 --> 00:15:15,920 of this web server that exists, 309 00:15:16,080 --> 00:15:17,160 and it's vulnerable, 310 00:15:17,160 --> 00:15:19,260 and there's no update for it. 311 00:15:19,540 --> 00:15:20,320 So it's, 312 00:15:20,320 --> 00:15:21,680 there's still like that to this day, 313 00:15:21,760 --> 00:15:23,040 and when we look into the actual, 314 00:15:23,140 --> 00:15:23,900 what the exploit is, 315 00:15:24,060 --> 00:15:26,620 it's a very standard little web application login. 316 00:15:27,260 --> 00:15:28,660 The usual passwords are again, 317 00:15:30,020 --> 00:15:30,420 admin123456, 318 00:15:30,560 --> 00:15:31,200 that type of stuff, 319 00:15:31,400 --> 00:15:32,900 but even if you can't figure out the password, 320 00:15:33,140 --> 00:15:35,840 there's a Python script available on exploit DB 321 00:15:35,840 --> 00:15:37,020 where it's just a, 322 00:15:37,020 --> 00:15:37,640 I mean, 323 00:15:37,640 --> 00:15:39,180 it's a very simple dot dot slash. 324 00:15:39,500 --> 00:15:40,780 It's just a dot dot slash, 325 00:15:41,080 --> 00:15:42,500 and you can read any file, 326 00:15:43,400 --> 00:15:44,200 and there's, 327 00:15:44,880 --> 00:15:45,280 yeah, 328 00:15:45,420 --> 00:15:45,560 yeah, 329 00:15:45,660 --> 00:15:46,020 and there's no, 330 00:15:46,020 --> 00:15:47,060 there's no shadow file, 331 00:15:47,060 --> 00:15:48,200 or anything like that. 332 00:15:48,280 --> 00:15:48,760 It's just, 333 00:15:49,300 --> 00:15:51,080 it's just the encrypted root password, 334 00:15:51,280 --> 00:15:52,720 and this was the default, 335 00:15:52,900 --> 00:15:54,120 but even when they change it, 336 00:15:54,200 --> 00:15:56,300 you could still get the most updated one, 337 00:15:56,360 --> 00:15:57,460 and crack it pretty easily, 338 00:15:57,700 --> 00:15:59,600 and then you can also download every file 339 00:15:59,600 --> 00:16:01,120 that might be on the server and whatnot, 340 00:16:01,400 --> 00:16:02,960 and so again, 341 00:16:03,120 --> 00:16:05,360 this has shown that this could definitely be more 342 00:16:05,360 --> 00:16:06,960 than just a little web app exploit. 343 00:16:07,580 --> 00:16:10,000 If you've been able to map out all your cameras, 344 00:16:10,060 --> 00:16:12,100 and be able to download the files continuously from them, 345 00:16:12,940 --> 00:16:14,940 there's definitely things that people 346 00:16:14,940 --> 00:16:16,160 probably don't want done. 347 00:16:17,060 --> 00:16:17,460 On these, 348 00:16:17,540 --> 00:16:18,360 on these devices, 349 00:16:18,480 --> 00:16:20,340 and to probably close them off to the public internet. 350 00:16:21,580 --> 00:16:22,020 And, 351 00:16:23,260 --> 00:16:23,980 so when we, 352 00:16:24,060 --> 00:16:27,200 yeah, so when we go into the heavy stuff of SCADA systems, 353 00:16:27,620 --> 00:16:29,020 we did a mapping of, 354 00:16:29,160 --> 00:16:29,720 again, 355 00:16:29,840 --> 00:16:31,240 just HTTP services, 356 00:16:31,580 --> 00:16:32,080 port 80, 357 00:16:32,320 --> 00:16:33,340 and alternate ports, 358 00:16:33,440 --> 00:16:33,920 80, 81, 359 00:16:34,140 --> 00:16:36,240 and if you Google for HTTP alternate ports, 360 00:16:36,300 --> 00:16:37,180 you can find a nice list. 361 00:16:37,460 --> 00:16:39,220 Oftentimes, people will set those up without, 362 00:16:39,500 --> 00:16:40,820 people will set up something new. 363 00:16:41,100 --> 00:16:43,420 It'll spin up an alternate HTTP port, 364 00:16:43,600 --> 00:16:44,540 no authentication, 365 00:16:44,920 --> 00:16:46,680 maybe administrative permissions or something, 366 00:16:47,060 --> 00:16:47,920 and people just won't turn it off. 367 00:16:48,360 --> 00:16:49,860 So we did a scan for that, 368 00:16:50,020 --> 00:16:50,800 with just, 369 00:16:50,920 --> 00:16:51,920 looking for the word SCADA, 370 00:16:52,660 --> 00:16:53,940 just to see what could happen. 371 00:16:54,300 --> 00:16:54,620 And, 372 00:16:55,760 --> 00:16:57,820 we started finding electrical facilities. 373 00:16:58,120 --> 00:16:58,420 So, 374 00:16:58,540 --> 00:17:01,320 from the standpoint of impacting industry, 375 00:17:01,780 --> 00:17:02,860 if you've got a, 376 00:17:02,880 --> 00:17:04,380 if your cannabis grow is one, 377 00:17:04,520 --> 00:17:05,420 a SCADA, 378 00:17:05,560 --> 00:17:08,700 if you've got a SCADA-based hydro system or whatnot, 379 00:17:09,020 --> 00:17:11,140 these types of web applications are the stuff 380 00:17:11,140 --> 00:17:13,420 that are used to monitor and guide them, 381 00:17:13,540 --> 00:17:16,280 or if you're making use of power, 382 00:17:16,280 --> 00:17:19,480 a power system like this solar panel to power it, 383 00:17:19,560 --> 00:17:20,880 also has a web application like this, 384 00:17:20,980 --> 00:17:23,860 or if your third party vendor happens to be 385 00:17:23,860 --> 00:17:24,780 the electrical company, 386 00:17:24,960 --> 00:17:27,520 which pretty much every person who has a company 387 00:17:27,520 --> 00:17:29,860 and does business has the third party vendor 388 00:17:29,860 --> 00:17:30,860 of the electrical company, 389 00:17:31,100 --> 00:17:35,200 what happens when their stuff ends up on the internet, 390 00:17:35,360 --> 00:17:37,220 and you can just start flipping switches 391 00:17:37,220 --> 00:17:40,040 and turning power off in regions. 392 00:17:40,420 --> 00:17:42,580 And so this was a server that wasn't supposed 393 00:17:42,580 --> 00:17:43,440 to be on the internet. 394 00:17:43,620 --> 00:17:46,160 The manual of this manufacturer says, don't, 395 00:17:46,280 --> 00:17:47,040 put this on the internet. 396 00:17:47,280 --> 00:17:49,800 So of course we found a bunch of them on the internet, 397 00:17:49,980 --> 00:17:51,380 and it has, 398 00:17:51,540 --> 00:17:52,840 they were smart though, 399 00:17:52,880 --> 00:17:53,820 because they had password protection, 400 00:17:54,160 --> 00:17:57,260 but these were designed because they were, 401 00:17:57,300 --> 00:17:58,200 these are for tablets. 402 00:17:58,400 --> 00:17:59,860 So when you walk into an electrical plant, 403 00:17:59,960 --> 00:18:00,960 you'll see a big tablet, 404 00:18:01,040 --> 00:18:02,600 or the employees will be walking around with their, 405 00:18:02,640 --> 00:18:05,180 with the hard hats and they'll be typing into tablets, 406 00:18:05,380 --> 00:18:09,120 and they're never really intended to be used on a desktop, 407 00:18:09,320 --> 00:18:10,520 let alone put out on the internet. 408 00:18:11,220 --> 00:18:13,320 So when you just view source code 409 00:18:13,320 --> 00:18:15,020 and remove the JavaScript object, 410 00:18:15,120 --> 00:18:16,260 because there's no real validation, 411 00:18:16,260 --> 00:18:17,120 there's no validation on the application, 412 00:18:17,660 --> 00:18:20,780 you get into the actual SCADA system itself, 413 00:18:21,100 --> 00:18:22,420 and that's that. 414 00:18:23,060 --> 00:18:25,620 So this is a solar system, 415 00:18:25,940 --> 00:18:28,180 a solar electrical plant that, 416 00:18:28,780 --> 00:18:30,280 for the sake of this presentation, 417 00:18:30,540 --> 00:18:32,720 we can say, well, hypothetically it's powering a region, 418 00:18:32,880 --> 00:18:34,260 then cannabis grows in there, 419 00:18:34,320 --> 00:18:37,080 would be impacted if this were to go out. 420 00:18:37,840 --> 00:18:40,180 And then we just kind of poked around 421 00:18:40,180 --> 00:18:41,700 to see what type of more systems we find. 422 00:18:41,920 --> 00:18:43,800 This one didn't even have a password on it, 423 00:18:43,860 --> 00:18:44,880 and we were able to, 424 00:18:44,880 --> 00:18:46,320 so we see this one, 425 00:18:46,480 --> 00:18:48,780 the knobs will actually be spinning around 426 00:18:48,780 --> 00:18:49,800 and moving during the, 427 00:18:51,040 --> 00:18:52,820 when you actually connect to the IP address, 428 00:18:53,020 --> 00:18:55,220 and there's no hacking in this. 429 00:18:55,280 --> 00:18:58,180 This is just visiting an IP address and pressing enter. 430 00:18:59,880 --> 00:19:01,460 And here's another one, 431 00:19:01,500 --> 00:19:04,840 which actually has the red button that can do something. 432 00:19:05,160 --> 00:19:06,320 We don't know what yet, 433 00:19:06,440 --> 00:19:08,220 but when we kind of keep clicking around, 434 00:19:08,340 --> 00:19:09,980 we figure out what it might be able to do. 435 00:19:10,060 --> 00:19:11,540 It's actually for a dam. 436 00:19:11,880 --> 00:19:13,820 So yeah, you could, you know, 437 00:19:14,880 --> 00:19:17,140 take out a, make sure that no one has any weed 438 00:19:17,140 --> 00:19:20,480 in a certain city, you could just mess up their crops 439 00:19:20,480 --> 00:19:22,580 with this, and they actually have the red button. 440 00:19:22,660 --> 00:19:26,960 So what happens when, so forget an APT group, 441 00:19:27,040 --> 00:19:29,680 forget a terrorist threat, forget competition. 442 00:19:29,960 --> 00:19:32,580 What happens when a Google spider or a Yahoo spider, 443 00:19:32,800 --> 00:19:35,640 just some web crawler starts hitting links 444 00:19:35,640 --> 00:19:38,060 and just goes click, click, click, click, click, click, 445 00:19:38,060 --> 00:19:41,920 and then basically it's a situation like this, 446 00:19:42,360 --> 00:19:44,380 which ends up in something like that. 447 00:19:44,880 --> 00:19:49,880 And then that's basically the most extreme way 448 00:19:50,700 --> 00:19:52,080 to represent third party risk 449 00:19:52,080 --> 00:19:54,920 that I'm able to come up with for now. 450 00:19:55,280 --> 00:19:57,240 Hopefully that's where it ends. 451 00:19:58,440 --> 00:20:00,700 And so essentially what we're, 452 00:20:00,760 --> 00:20:02,660 so the main points I'm trying to convey 453 00:20:02,660 --> 00:20:04,220 is that third party risk vectors 454 00:20:04,220 --> 00:20:06,180 are going to be the biggest single impact 455 00:20:06,760 --> 00:20:09,680 for not just a business, but an entire industry overall, 456 00:20:09,880 --> 00:20:11,680 because when one big provider gets hit, 457 00:20:11,760 --> 00:20:14,720 the entire sector gets hit sometimes across multiple end, 458 00:20:14,880 --> 00:20:19,500 industries, and increased scrutiny of default deployments 459 00:20:19,500 --> 00:20:22,460 is the only thing that's going to prevent these types 460 00:20:22,460 --> 00:20:25,620 of screw ups from taking place in the future. 461 00:20:25,720 --> 00:20:28,040 People are plugging stuff in, thinking it's working, 462 00:20:28,240 --> 00:20:30,380 and the right hand doesn't know what the left hand is doing, 463 00:20:30,560 --> 00:20:35,380 and all the ownership of who's responsible for this 464 00:20:35,380 --> 00:20:37,680 is being pushed off and shared between different people, 465 00:20:37,780 --> 00:20:41,100 and no one's doing anything because no one is technically 466 00:20:41,100 --> 00:20:42,400 responsible to do anything. 467 00:20:42,640 --> 00:20:44,660 It's all built into the contracts and whatnot. 468 00:20:45,740 --> 00:20:48,600 And also legacy systems are going to be online 469 00:20:48,600 --> 00:20:50,960 and just as stupid as those things that we saw. 470 00:20:51,060 --> 00:20:53,700 So those are like the cutting edge new SCADA systems 471 00:20:53,700 --> 00:20:57,100 that are just, everything's HTTP on web application, 472 00:20:57,730 --> 00:21:01,540 and older stuff is just going to have telnet widgets 473 00:21:01,540 --> 00:21:04,720 hooked onto old machines, and now you're able to connect 474 00:21:04,720 --> 00:21:05,940 into them and make them do things. 475 00:21:06,380 --> 00:21:10,120 And again, the only security on a lot of these things 476 00:21:10,120 --> 00:21:14,200 were client side passwords or SSL. 477 00:21:14,880 --> 00:21:18,100 So if they had SSL, they believed themselves to be secure. 478 00:21:19,260 --> 00:21:24,940 And so again, the way to prevent this is continuous monitoring 479 00:21:24,940 --> 00:21:28,020 of the external, of what your network is, 480 00:21:28,080 --> 00:21:30,420 what you know it to be, and then also figuring out 481 00:21:30,420 --> 00:21:34,840 what your service providers are, and using your choice 482 00:21:34,840 --> 00:21:37,240 of third party vendor risk management platform 483 00:21:37,240 --> 00:21:42,060 to be able to track them, or using open source tools 484 00:21:42,060 --> 00:21:42,920 to kind of build it yourself. 485 00:21:43,040 --> 00:21:44,640 If you have the time to do it yourself, 486 00:21:44,880 --> 00:21:45,740 by all means do it. 487 00:21:45,820 --> 00:21:47,140 If you need companies to do it, 488 00:21:47,160 --> 00:21:48,900 seek the help of professional services. 489 00:21:50,220 --> 00:21:52,360 And then the last main things would be 490 00:21:52,360 --> 00:21:53,340 change default passwords. 491 00:21:53,840 --> 00:21:55,340 Double check the passwords are changed, 492 00:21:55,480 --> 00:21:57,540 because a lot of crappy equipment won't register 493 00:21:57,540 --> 00:22:00,660 a password change or it'll still have an old hard coded one. 494 00:22:01,420 --> 00:22:04,400 Just research the technology heavily before you deploy it 495 00:22:04,400 --> 00:22:04,860 into production. 496 00:22:05,060 --> 00:22:07,600 Like everyone should be doing, but no one is doing. 497 00:22:09,040 --> 00:22:13,540 And again, when choosing a third party service provider, 498 00:22:14,520 --> 00:22:18,400 basic due diligence will do things like making sure 499 00:22:18,400 --> 00:22:22,120 you're guaranteed not hopping into a fire 500 00:22:22,120 --> 00:22:24,020 when it comes to sharing data. 501 00:22:24,540 --> 00:22:27,320 So for example, if you want to use a merchant processor 502 00:22:27,320 --> 00:22:31,260 that's running a cold fusion site versus a merchant processor 503 00:22:31,260 --> 00:22:33,500 that seems to have something that was made 504 00:22:33,500 --> 00:22:35,640 within the last 10 years, you might want to go 505 00:22:35,640 --> 00:22:36,700 with the newer one. 506 00:22:37,340 --> 00:22:41,200 And it's ongoing like that, and a lot of people won't, 507 00:22:41,200 --> 00:22:43,220 they'll go for what's cheapest, what's available, 508 00:22:43,540 --> 00:22:44,700 what salesperson got to them first. 509 00:22:44,780 --> 00:22:46,600 There's a million factors that go into that. 510 00:22:46,760 --> 00:22:49,300 And at the end of the day, people are going by what's 511 00:22:49,300 --> 00:22:51,220 compliant, what's going to allow them to keep operating 512 00:22:51,220 --> 00:22:54,320 a business, and what's going to be the easiest thing 513 00:22:54,320 --> 00:22:55,740 overall across the enterprise. 514 00:22:56,140 --> 00:22:59,660 And security oftentimes becomes an afterthought in this process 515 00:22:59,660 --> 00:23:04,220 to the potential scenarios of some pretty annoying 516 00:23:04,220 --> 00:23:06,320 to pretty disastrous things taking place. 517 00:23:07,260 --> 00:23:12,160 And as for some resources, MassScan, ZMap, 518 00:23:12,300 --> 00:23:13,420 two open source tools. 519 00:23:13,540 --> 00:23:14,880 They scan the internet really fast. 520 00:23:15,120 --> 00:23:18,120 Just load them up, roll some joints, and watch them go. 521 00:23:18,420 --> 00:23:21,160 And when it comes to web application security, 522 00:23:21,560 --> 00:23:23,180 definitely recommend the OWASP project. 523 00:23:23,960 --> 00:23:25,640 They have proper design methods. 524 00:23:25,880 --> 00:23:27,500 They've got local meetings all over the world. 525 00:23:27,560 --> 00:23:29,060 Definitely recommend getting involved with them. 526 00:23:29,260 --> 00:23:32,180 And if you don't want to spin up your own scanners, 527 00:23:32,240 --> 00:23:35,640 check out Shodan and Census, and you can query global 528 00:23:35,640 --> 00:23:38,620 internet scans looking for the same types of stuff that we had 529 00:23:38,620 --> 00:23:42,320 and even more specifics if you happen to know manufacturers 530 00:23:42,320 --> 00:23:44,080 of cannabis-specific products. 531 00:23:44,260 --> 00:23:47,260 The trick to finding the products is just search for the make 532 00:23:47,260 --> 00:23:50,020 and model numbers, and they'll start surfacing. 533 00:23:51,560 --> 00:23:53,560 And for that, any questions? 534 00:23:55,400 --> 00:23:56,340 We'll go into that. 535 00:23:57,100 --> 00:23:58,560 Yeah, we've still got a few more minutes, so. 536 00:24:00,720 --> 00:24:01,320 All right. 537 00:24:01,400 --> 00:24:02,580 Well, on that note, I'll be around. 538 00:24:02,760 --> 00:24:07,340 Anyone wants to chat afterwards, feel free to drop me an email. 539 00:24:07,620 --> 00:24:11,680 You can email hackmiamigroup at info at hackmiami.org, 540 00:24:11,680 --> 00:24:14,000 or you can just shoot me an email at alex at hackmiami.org. 541 00:24:14,140 --> 00:24:16,540 Check us out on Twitter, and if you have AOL, 542 00:24:16,740 --> 00:24:18,720 go to the keyword and type hackmiami, 543 00:24:18,880 --> 00:24:20,020 and you'll be able to take it. 544 00:24:20,160 --> 00:24:22,480 You'll see our AOL home page. 545 00:24:24,180 --> 00:24:24,900 Thanks, everyone.