1 00:00:12,900 --> 00:00:19,500 [Applause]. Hello everyone I'm Ryan Lackey and this is Marc Rogers and our third co-speaker the Grugq not here as you can 2 00:00:19,580 --> 00:00:28,980 see. I think he had severe traveling difficulties and there's sketchy details so I'm 3 00:00:29,080 --> 00:00:35,917 not too filled in on it but we worked with him on this project for the last year and awhile 4 00:00:35,920 --> 00:00:39,920 have been in contact with him so...  5 00:00:40,060 --> 00:00:45,080 So I actually work for Cloud Fare a company that does CDN DDoS 6 00:00:45,083 --> 00:00:50,708 stuff. Marc looks for Look Out. Working on this as kind of a side project, a fun thing. The 7 00:00:50,708 --> 00:00:57,000 Grugq is an OpSec consultant and works on a variety of cool projects. >> I'm mostly the head 8 00:00:57,000 --> 00:01:06,600 of security here so I apologize for shouting at you. >> Laughter >> So we're excited to be here 9 00:01:06,600 --> 00:01:12,900 and show off this cool thing we've been working on. So we're going to go over why you want to 10 00:01:12,980 --> 00:01:17,188 hide. We're using software that will let you hide in network traffic. We're going over 11 00:01:17,208 --> 00:01:23,000 principles of operational security which is really Grugq's main area of study and he's 12 00:01:23,000 --> 00:01:28,083 pretty much the most interesting person in the field taking how larger organizations learn about 13 00:01:28,083 --> 00:01:36,263 op sec and applying it to the hacker and activist community and other groups that don't have 14 00:01:36,375 --> 00:01:41,792 a huge intelligence arm or anything. We will go over serious op sec fails and what 15 00:01:41,792 --> 00:01:46,917 happens to people then how technical counter measures are used against people, existing 16 00:01:46,920 --> 00:01:52,320 tools, counter measures, we're going to bring in the exciting new technology the 17 00:01:52,320 --> 00:01:56,740 travel routers and how to use these things for safety. So, just to start 18 00:01:56,740 --> 00:02:01,917 why would you ever want to hide? If you're doing normal stuff we're not talking about 19 00:02:01,917 --> 00:02:07,083 helping people hide from doing all sorts of bad stuff. You're in your normal life. There's a 20 00:02:07,083 --> 00:02:10,333 lot of reasons why you would want to hide. A lot has become much more clear in the last 21 00:02:10,333 --> 00:02:16,042 couple years. Especially post Snowden. But even before that it was fairly widely understood at 22 00:02:16,042 --> 00:02:22,375 least within this community. Part is to avoid a global drag net. You want to make sure that 23 00:02:22,375 --> 00:02:25,833 if somebody is monitoring all the communications that you're not swept up in that. Because 24 00:02:25,833 --> 00:02:31,000 the problem is, while you might be doing nothing at all wrong somebody next to you or somebody 25 00:02:31,000 --> 00:02:38,340 you have a phone call from or in any loosely connected way might do something and due to how 26 00:02:38,340 --> 00:02:43,292 software works and scoring that plus another interaction plus something else depending on 27 00:02:43,292 --> 00:02:48,042 where you live could actually get you droned. Not just on a watch list but signature strike 28 00:02:48,042 --> 00:02:54,382 or something like that. Prevents all sorts of problems but really it's like none of your business. 29 00:02:54,382 --> 00:02:58,700 Why would you want to be monitored? It doesn't benefit you in any way so if you can 30 00:02:58,700 --> 00:03:07,560 avoid it you should possibly do it. >> There's also the fact that you are doing something you 31 00:03:07,583 --> 00:03:13,458 don't want people to watch. Maybe it's illegal, maybe it's just something you want to ensure you 32 00:03:13,458 --> 00:03:19,292 maintain OPSEC for your project, OPSEC for your company. People are actively trying to steal 33 00:03:19,292 --> 00:03:23,952 secrets for both national security reasons and because they want to 34 00:03:23,960 --> 00:03:29,040 steal your secrets. >> And the crazy thing is people that were in various illegal activities 35 00:03:29,042 --> 00:03:34,917 knew this and people that were in the hacker community knew this but now there's a whole new 36 00:03:34,917 --> 00:03:39,167 realm of people that really need to worry about this kind of thing that you would never think 37 00:03:39,167 --> 00:03:46,208 of as spies or hackers. Journalists, any people giving any kind of activism in an environment where 38 00:03:46,208 --> 00:03:51,875 their adversaries are well resourced these people have this as a serious concern and it's 39 00:03:51,875 --> 00:03:57,917 crazy and it's an asymmetric problem where there's people that have problems now and don't 40 00:03:57,917 --> 00:04:04,417 have the resources. >> There's two important takeaways we get from this. Number one OPSEC not 41 00:04:04,417 --> 00:04:11,417 new. We like to talk about OPSEC as though it is a new thing that we've discovered. It's probably 42 00:04:11,417 --> 00:04:19,375 as old as mankind. And many of the techniques to protect are just as old. The other one is 43 00:04:19,375 --> 00:04:24,417 the tools and stuff we're talking about there's no rocket science here. We are talking 44 00:04:24,417 --> 00:04:29,208 about using exiting tools, existing technique. The difference is we're showing 45 00:04:29,208 --> 00:04:35,000 you how you can use it in a seamless way so you don't have to think about it and you avoid 46 00:04:35,000 --> 00:04:43,620 the number 1 problem, human error. >> So Grugq has sort of distilled OPSEC basic principles 47 00:04:43,625 --> 00:04:48,875 which are listed here. We're not going to go over them but he's done this many, many times and 48 00:04:48,880 --> 00:04:54,180 it's [inaudible] okay. 49 00:04:54,180 --> 00:05:02,333 So Biggy Small actually had a great song about how drug dealers apply OPSEC to 50 00:05:02,333 --> 00:05:10,153 selling crack and it's been analyzed by law professors and everyone else as pretty good 51 00:05:10,160 --> 00:05:15,620 actionable advice for people involved in any sort of activity and it's not just crack dealers 52 00:05:15,625 --> 00:05:21,500 that need these. It's people involved in complaining about spying systems being installed 53 00:05:21,520 --> 00:05:27,500 in their local port system in Oakland or people worried about companies 54 00:05:27,500 --> 00:05:32,540 and boycotting due to Human Rights abuses or really anything. So it's a 55 00:05:32,542 --> 00:05:38,542 pretty universal kind of problem a lot of people have. 56 00:05:38,542 --> 00:05:41,292 But on the other hand what happens when OPSEC 57 00:05:41,292 --> 00:05:50,232 goes wrong? This is a photo from Somalia where the U.S. Marines were going in to intervene and 58 00:05:50,250 --> 00:05:55,333 try to distribute aid and food and stuff and get rid of War Lords. They did this opposed 59 00:05:55,333 --> 00:06:04,033 beach landing which they hadn't done since Normandy in World War II but it was a big opposed 60 00:06:04,042 --> 00:06:09,708 beach landing. And unfortunately the media knew about it in advance so they were doing this 61 00:06:09,708 --> 00:06:14,708 landing with a bunch of little rubber boats and everything else with a bunch of journalists 62 00:06:14,708 --> 00:06:18,542 sitting there with cameras waiting for them on the beach putting the thing live on 63 00:06:18,580 --> 00:06:24,000 satellite TV that all the War Lords saw. So that's an OPSEC failure 64 00:06:24,000 --> 00:06:28,260 Nobody got hurt as a result directly but that could definitely have gone a lot 65 00:06:28,260 --> 00:06:34,292 worse. And... Yeah. Then we've got other examples of basic OPSEC failures bringing down an 66 00:06:34,292 --> 00:06:40,125 organization that many people think was sort of a libertarian commercial market. >> When you 67 00:06:40,125 --> 00:06:47,833 look at many of the big busts, issues that have happened recently you will see the OPSEC 68 00:06:47,840 --> 00:06:55,458 failures behind them are basic. Really, really basic. Take for example Silk Road, the largest 69 00:06:55,480 --> 00:07:01,458 most successful online contraband, 957,000 user accounts 70 00:07:01,458 --> 00:07:06,417 9.5 million bitcoins, 1.2 billion transactions and the guy 71 00:07:06,500 --> 00:07:11,760 behind it allegedly, Russ Albrect (sp.), used his personal Gmail when 72 00:07:11,760 --> 00:07:18,160 setting up an account that he then used as the administrator, an account with Altoid. He then 73 00:07:18,167 --> 00:07:23,542 used that Altoid account to post jobs, advertise for people to come in and do coding for Silk 74 00:07:23,542 --> 00:07:31,083 Road related projects. He also advertised Silk Road using this same account. He later on kind 75 00:07:31,083 --> 00:07:39,743 of caught up to this and changed his handle, changed his Gmail to Frosty at Frosty.com but once 76 00:07:39,750 --> 00:07:46,250 you've opened the door the information is out there. The internet doesn't forget. And if 77 00:07:46,250 --> 00:07:51,625 you start then building it all becomes fruit of the poisonous tree and everything you do from 78 00:07:51,625 --> 00:08:04,020 that point onwards is tainted. Next one. Sabu - Even worse. Sabu, a skilled hacker knew what he was doing. 79 00:08:04,020 --> 00:08:11,200 He used TOR all the time. Except every now and then he would forget and log into IRC. Just once is enough in 80 00:08:11,208 --> 00:08:16,208 this day and age. It used to be you could get away with one mistake but now in this world 81 00:08:16,208 --> 00:08:22,292 where it's possible for people to wholesale, capture and store just in case there's something 82 00:08:22,292 --> 00:08:29,708 interesting that one mistake will hang you. Perhaps even worse than that he also used his 83 00:08:29,708 --> 00:08:36,000 home address to use stolen credit cards to buy car parts and had them shipped to his home 84 00:08:36,000 --> 00:08:43,417 address. These kinds of OPSEC failures are really obvious. Not surprisingly he was busted. Mark 85 00:08:43,420 --> 00:08:52,160 Karpeles, allegedly we don't know exactly what's going on but we do know around the time that 86 00:08:52,167 --> 00:09:01,542 they had completely run out of money there were wallets he used to prove that they still had 87 00:09:01,542 --> 00:09:09,542 liquidity. Those accounts are still around and active. So people started looking at them 88 00:09:09,542 --> 00:09:15,248 and guess what? You follow the chain and looked to them, they still had money in them. Way 89 00:09:15,250 --> 00:09:20,458 more than he allegedly had. Unsurprisingly when people started talking about it he 90 00:09:20,458 --> 00:09:26,458 miraculously found another pile of bitcoin that he didn't know about. >> So what are the common 91 00:09:26,458 --> 00:09:30,167 mistakes and vulnerabilities here? These are just three examples. There's a bunch more. 92 00:09:30,167 --> 00:09:38,280 Insider threat is the most difficult to resolve and also the easiest to find in almost 93 00:09:38,280 --> 00:09:45,620 any organization. People making mistake, human error and data leakage. People using the wrong 94 00:09:45,625 --> 00:09:50,333 channels for the wrong kind of data. Then there's more serious technical threats. You have 95 00:09:50,333 --> 00:09:56,083 people tearing down either seizing your hardware or getting temporary access or doing live 96 00:09:56,083 --> 00:10:02,750 or cold analysis on it. You have people doing network or RF monitoring of your systems. You 97 00:10:02,750 --> 00:10:08,583 have people tearing down remote servers. Then you have active tampering. These are pretty 98 00:10:08,583 --> 00:10:14,167 serious threats and maybe it's not worth trying to mitigate the most difficult thing. Start with 99 00:10:14,167 --> 00:10:19,375 the easy things. Then of course there's the financial and physical audit trails left by every system people 100 00:10:19,375 --> 00:10:27,995 interact with. >> One of the most important points you can't take care of everything. You 101 00:10:28,000 --> 00:10:33,833 can't think about everything. But if you can automatically catch the low hanging fruit and 102 00:10:33,833 --> 00:10:39,417 protect a certain segment of your stuff that you don't have to think about you can then 103 00:10:39,417 --> 00:10:46,500 focus the rest of your resources on the more complex problems. >> So network forensic pretty 104 00:10:46,500 --> 00:10:52,792 widely understood. Metadata of course being the target of almost everything. Metadata is 105 00:10:52,792 --> 00:10:56,958 so much easier to process from the attacker side. They don't need to bother translating it 106 00:10:56,958 --> 00:11:02,042 into the native language or normalize the data. It's already there and automated and trusted and 107 00:11:02,042 --> 00:11:08,458 reliable. So we've seen a lot of recent attacks where metadata really was the focus of the 108 00:11:08,458 --> 00:11:14,000 attack. >> And it is very much the low hanging fruit. As we saw from the talk that was given. 109 00:11:14,000 --> 00:11:19,640 Even data that you think is encrypted such as some of your personal information on the 110 00:11:19,640 --> 00:11:25,740 iPhone is not because when the device is running certain segments of device are 111 00:11:25,740 --> 00:11:30,660 unencrypted so the device can operate and receive messages. 112 00:11:30,660 --> 00:11:35,160 That means it's accessible and in fact the only time the iPhone is completely secure is 113 00:11:35,167 --> 00:11:41,125 when it's powered off. >> So there's all this data you would attack from a desktop system, 114 00:11:41,125 --> 00:11:46,833 any sort of server you're attacking. It's pretty clear. And on cell phones which are 115 00:11:46,840 --> 00:11:51,958 basically computers you have fairly similar kinds of targets. They have some additional threat 116 00:11:51,958 --> 00:11:58,625 vectors because they connect to telephone networks and we can tell you horror stories and the 117 00:11:58,625 --> 00:12:03,160 fact they're with you at all times and taken out of secure spaces and taken back into 118 00:12:03,160 --> 00:12:10,240 secure spaces and taken out over and over again it's a more interesting threat but it's not 119 00:12:10,250 --> 00:12:17,333 really terribly novel. >> This is all low hanging fruit. This is easy stuff that can be 120 00:12:17,333 --> 00:12:23,167 gotten off of almost every cell phone with commonly available tools without expending too much 121 00:12:23,167 --> 00:12:28,458 effort. >> All this stuff used to be hard. People haven't taken that into account that it's 122 00:12:28,458 --> 00:12:33,750 changed and become a lot easier to go after. Used to be you had one agency in the U.S. and one agency 123 00:12:33,750 --> 00:12:39,000 in the Soviet Union to worry about. Now pretty much everybody with RF equipment can be your 124 00:12:39,000 --> 00:12:43,875 threat. Anybody with a network router in your path can be your threat. Anybody running a 125 00:12:43,875 --> 00:12:47,917 service can be a threat. Anybody that gets access to your equipment. So it's a much, much 126 00:12:47,917 --> 00:12:51,583 wider population of people tracking you. If you're not attractive to the government as 127 00:12:51,583 --> 00:12:57,208 a target, perhaps you are to a different government or to an individual or organization. It's 128 00:12:57,208 --> 00:13:03,875 really the democrazation of SIGINT and attacks. >> One interesting thing from the slide 129 00:13:03,875 --> 00:13:10,875 is everyone is talking about Snowden and how everyone is moving to more encrypted. It has 130 00:13:10,875 --> 00:13:18,542 had an effect on the traffic on the internet. We've gone from in the U.S. 2.29% was deemed to be 131 00:13:18,542 --> 00:13:30,922 SSL traffic. Today it's 3.8. That's a really big increase. Right? >> A lot of that traffic 132 00:13:30,922 --> 00:13:35,375 is unencrypted which leaves all this data available. Even if the data is encrypted you can get a 133 00:13:35,375 --> 00:13:39,583 lot of information from pure traffic analysis. You can see source and destination of 134 00:13:39,583 --> 00:13:45,333 target. You can see the type of traffic in a flow and you can actually in a lot of cases get 135 00:13:45,333 --> 00:13:51,375 content information from the size of packets because it's not data dependent and it's pretty 136 00:13:51,375 --> 00:13:57,125 terrifying. >> What you have to realize is you don't have control over this. Vast majority 137 00:13:57,125 --> 00:14:01,000 of this traffic is backend traffic. This is your application talking to 138 00:14:01,000 --> 00:14:07,042 application server. You don't have a choice to say I'll only use encryption. That's up to the dev who 139 00:14:07,042 --> 00:14:13,667 built your app. >> It's pretty bad when you pop up a commercial operating system on a new 140 00:14:13,667 --> 00:14:18,833 computer the first time and has all this software you're not familiar with and you don't 141 00:14:18,833 --> 00:14:25,000 really know what's phoning home when. Cell phones are even scarier because you actually do 142 00:14:25,000 --> 00:14:28,333 have pretty good information that they're phoning home all the time. They're always in 143 00:14:28,333 --> 00:14:34,167 contact with the tower and they're relaying an awful lot of information you don't really see 144 00:14:34,167 --> 00:14:40,167 as a user but it's there and is a threat. And the scary thing is while you might trust your 145 00:14:40,167 --> 00:14:45,542 operator and you might trust your phone vendor over the air a lot of this data can be gathered 146 00:14:45,542 --> 00:14:52,958 just from passive monitoring and anybody else over the air can do a lot of the stuff. Then we've 147 00:14:52,958 --> 00:14:58,083 got examples of when you travel to places like China. It's a great place to visit but they 148 00:14:58,083 --> 00:15:02,167 have a fairly restrictive international firewall. The great firewall and you don't 149 00:15:02,167 --> 00:15:07,042 really know where it's not really one firewall. It's different in every province and 150 00:15:07,042 --> 00:15:10,542 different operators have different policies but in addition to being monitored 151 00:15:10,542 --> 00:15:15,800 there's just a basic problem of stuff is blocked and it's really annoying when you go and you 152 00:15:15,802 --> 00:15:20,200 want to connect to your services. You want to basically operate like you would at home. 153 00:15:20,208 --> 00:15:26,042 You would think just a VPN would protect you and allow you to bypass this stuff but it's like 154 00:15:26,042 --> 00:15:33,960 a whack a mole game they play where they block things all the time, it's a pain to deal with. 155 00:15:33,960 --> 00:15:41,600 >> One last thing on the Chinese firewall they are getting smart on how they look out for VPN's. 156 00:15:41,600 --> 00:15:47,080 Before it was identification VPN end points, then they get blocked. Now as we see with Tor 157 00:15:47,083 --> 00:15:54,042 since 2011 they're actively scanning suspected nodes and they're doing things like 158 00:15:54,042 --> 00:16:02,042 talking Tor to suspected nodes and of they get a reply they can block it. Now that makes it real difficult, now you 159 00:16:02,042 --> 00:16:07,042 have folks who are actively looking for your all your tools and blocking. So whatever you 160 00:16:07,042 --> 00:16:12,083 have to do has to be robust enough to protect it. >> So there are a bunch of tools 161 00:16:12,083 --> 00:16:18,333 people use to protect themselves. Basic principles that make certain tools easier 162 00:16:18,333 --> 00:16:24,833 to use and more privacy protecting than others. Tools generally are tools used by 163 00:16:24,833 --> 00:16:29,875 smaller communities rather than a wider tool are going more likely to work in a given 164 00:16:29,875 --> 00:16:36,042 scenario. Although there's an engineering quality issue of a tool not used by many users 165 00:16:36,042 --> 00:16:42,000 generally not of high quality. Generally I like things that aren't realtime, things 166 00:16:42,000 --> 00:16:47,400 asynchronous like email based systems, rather than connection oriented systems. However we 167 00:16:47,500 --> 00:16:52,792 really moved to the World Wide Web and everybody wants connection based systems. And then 168 00:16:52,792 --> 00:16:57,000 encryption even if it doesn't provide you with full protection it provides with you a little 169 00:16:57,000 --> 00:17:03,542 bit of contact protection in a lot of cases even if it's not implemented fully. So if you 170 00:17:03,542 --> 00:17:08,208 have the choice always add encryption. And there's a lot of common tools that can be 171 00:17:08,208 --> 00:17:14,750 reconfigured. VPN's were never intended as an anonymity technology, it just happened to 172 00:17:14,750 --> 00:17:19,250 be useful in certain circumstances. They do provide some privacy and some firewall 173 00:17:19,250 --> 00:17:24,583 busting just because people don't want to block all VPNs because it will block a lot of 174 00:17:24,583 --> 00:17:29,625 business traffic. It's an interesting thing. And then the really awesome thing is that 175 00:17:29,625 --> 00:17:34,667 cheap hardware has gotten so cheap that you can dedicate hardware to a certain task. It's 176 00:17:34,667 --> 00:17:40,900 hard to build a secure multiuser multiapplication operating system. It's really much simpler 177 00:17:40,900 --> 00:17:48,333 challenge to build a single purpose device and dedicate it to a certain thing. >> Before we 178 00:17:48,333 --> 00:17:53,750 move off of VPN's one amusing thing came up in our discovery as we were playing around. We 179 00:17:53,750 --> 00:18:03,250 discovered that you can actually weaponize it - great firewall works and detects a node doing 180 00:18:03,250 --> 00:18:08,667 something it doesn't like it floods it with reset packets. And it's not really doing much 181 00:18:08,667 --> 00:18:18,000 to validate the source address so...  [Laughing]. It's also quite nice it floods it with 182 00:18:18,000 --> 00:18:25,583 reset packets for sometimes up to 30 seconds. So it's an amplifier. So oh I was just 183 00:18:25,583 --> 00:18:33,000 playing around like I mentioned and I sent some packets spoofing a colleague and 184 00:18:33,000 --> 00:18:38,460 watched as the great firewall flooded him with reset packets for the 185 00:18:38,460 --> 00:18:50,180 next couple of hours. And he couldn't do anything. [Applause]. >> I think not 186 00:18:50,180 --> 00:18:56,580 demoing that live on the stage is a good idea. >> Although,I highly advocate doing this. But 187 00:18:56,580 --> 00:19:07,297 carefully. >> So yeah we've got things. The other thing is Java script. Any sort of executable, 188 00:19:07,300 --> 00:19:10,680 When you don't have separation between your data and your code, bad 189 00:19:10,680 --> 00:19:16,320 things happen and problems with anonynmity tools leaking information is when the addressing 190 00:19:16,320 --> 00:19:25,400 information is completed with the messages so the OSI stack isn't kept as separate as it 191 00:19:25,460 --> 00:19:32,375 should be or where code is mixed with data this leads to bad stuff. As we said cheap hardware 192 00:19:32,375 --> 00:19:38,000 is great. Prevents a lot of user errors. The problem with a lot of these secure systems is users 193 00:19:38,000 --> 00:19:43,167 use them incorrectly and if you give somebody a single device and say that's to talk to go one 194 00:19:43,167 --> 00:19:48,458 other person it's a much easier user model then you need to enter in code every time you use 195 00:19:48,458 --> 00:19:54,167 it and authenticate them and do all sorts of other stuff. >> A great real life example of this 196 00:19:54,167 --> 00:20:02,875 literally yesterday as part of my goon job, I had to provide protection for John Mc. We were 197 00:20:02,875 --> 00:20:10,167 walking around with John who is a colorful character. With his security detail who are even 198 00:20:10,167 --> 00:20:19,042 more colorful. Especially the one who remembers faces. And he is talking about security of his 199 00:20:19,042 --> 00:20:25,250 phone. He said he always uses burner phones, I'm very careful. Once I used a phone for a 200 00:20:25,250 --> 00:20:31,542 certain amount of time I attach it to a (Unknown) and it goes off all around the country and 201 00:20:31,542 --> 00:20:37,167 they can follow that and they always track me down within a couple days and find me again. 202 00:20:37,167 --> 00:20:43,917 I had a chance and I said by any chance do you regularly call the same kinds of numbers. He 203 00:20:43,917 --> 00:20:51,167 said yes. That would be why. It doesn't matter if you're changing your phone if you keep 204 00:20:51,167 --> 00:21:02,500 calling your mom. >> So one of 205 00:21:02,500 --> 00:21:06,375 the issues is again if you go buy this hardware and order, 206 00:21:06,375 --> 00:21:14,555 this whole problem if you order hardware if you're receiving it internationally, say you're the 207 00:21:14,560 --> 00:21:20,500 Grugq, it's going to be high that, that hardware will not come as the hardware vendor 208 00:21:20,500 --> 00:21:26,042 intended it and you probably want to start buying stuff off the shelf that's preconfigured 209 00:21:26,042 --> 00:21:31,208 or sort of a commodity thing. It's unlikely they will back door every hardware but the one 210 00:21:31,208 --> 00:21:39,167 piece of hardware that Grugg orders that could very likely be back doored and cash is great. 211 00:21:39,167 --> 00:21:49,792 And bitcoin is not so anonymous. And the same thing applied to accounts. So VPN's are sort of near and dear 212 00:21:49,792 --> 00:21:53,833 to my heart. I ran a VPN provider for a year. Then we shut it down when the 213 00:21:53,833 --> 00:21:58,500 (indiscernible) happened. They're definitely a useful tool. There are some concerns. 214 00:21:58,500 --> 00:22:04,875 They're not really designed for anonymity so they don't give it. You have to use them correctly 215 00:22:04,875 --> 00:22:11,292 for stuff like that. Of course there's the problem if you trust the operator of service to one 216 00:22:11,292 --> 00:22:18,833 operating in a certain way. And two it's really, really a bad idea to expect a third party to 217 00:22:18,833 --> 00:22:26,208 break the law on your behalf for like $3 a month. It's not going to happen. So you will have data 218 00:22:26,208 --> 00:22:30,708 turned over. The third party doctrine in the U.S. means a server provider has little ability to 219 00:22:30,708 --> 00:22:40,260 protect their customer data if it's sought for the customer. So there's cool stuff to counter this. 220 00:22:40,260 --> 00:22:48,000 Tor is a great tool. It can keep you anonymous. I believe Snowden has endorsed it, others 221 00:22:48,000 --> 00:22:55,080 have endorsed it but it has some disadvantages. It has a very recognizable signature. 222 00:22:55,080 --> 00:22:59,292 It's high profile. Lots of people looking for it. And it's pretty 223 00:22:59,292 --> 00:23:07,392 complicated and not really so simple for users to understand. So you have to build systems on 224 00:23:07,400 --> 00:23:14,380 top of it to make it useable. Tor browser, bundle, are great, but you pretty much need 225 00:23:14,380 --> 00:23:21,040 additional tools to make it a useful tool. However it's got some enemies. If you try to use it in 226 00:23:21,042 --> 00:23:28,200 like China they're getting better and better at if it's the default Tor protocal blocking 227 00:23:28,200 --> 00:23:37,250 it. D packet inspection can block it and of course if you have exfiltrated data network 228 00:23:37,250 --> 00:23:43,000 that logs everything there might be a human analyst and the traffic will be obvious so 229 00:23:43,000 --> 00:23:50,860 whoever sent the Tor traffic... So people realize this is a problem and they come up with 230 00:23:50,860 --> 00:24:00,917 transports which are great tools. There's 7 alive. Think is still accurate and there's a 231 00:24:00,917 --> 00:24:06,875 couple much more popular than the others. >> The benefit of the Tor transports is they're 232 00:24:06,875 --> 00:24:12,042 recognized there is no one tool that will solve the problem. There's no silver bullet. 233 00:24:12,042 --> 00:24:16,042 Whatever solution you use needs to be variable because if you keep doing the same thing 234 00:24:16,042 --> 00:24:27,162 eventually someone will catch on to it. Plus you will get some real genius and some of these 235 00:24:27,167 --> 00:24:37,440 pluggable transports are phenomenal. The general concept of this is transform traffic so 236 00:24:37,440 --> 00:24:45,500 it doesn't look like it and the next level is take the traffic and make it look like some other 237 00:24:45,500 --> 00:24:58,420 form of traffic. >> I will go through this really quickly. [Inaudible] 238 00:25:01,680 --> 00:25:08,440 A lot of the censorship tools out there are quite crude 239 00:25:08,440 --> 00:25:13,500 What they do is use regular expressions to look at the protocol and make 240 00:25:13,500 --> 00:25:21,700 judgments as to what they think it is. If you use those same expressions yourself you can 241 00:25:21,708 --> 00:25:28,250 play to them and make your traffic look like whatever you want. The screen here is 242 00:25:28,250 --> 00:25:35,875 transformed Tor traffic that has been put through a transform that makes it look like an SSH. 243 00:25:35,875 --> 00:25:48,075 While it won't stand up to immediate scrutiny. The point is with this vast volume of traffic 244 00:25:48,083 --> 00:25:53,125 going through the only people who will get that special extra special scrutiny are people that 245 00:25:53,125 --> 00:25:58,708 popped the red flag. This is about not popping up the red flag. So if your traffic hides 246 00:25:58,708 --> 00:26:03,042 amongst the general Tor traffic, there's going to be no reason for them to dive deep enough for 247 00:26:03,042 --> 00:26:07,500 them to say this is suspicious. >> And there's an additional tool, where if you have a 248 00:26:07,500 --> 00:26:12,167 cooperating end point on the other end, you can actually, like Google App Engine, I've 249 00:26:12,167 --> 00:26:16,940 talked about this with Cloud Flare. Various providers, you can encode your traffic as 250 00:26:16,940 --> 00:26:22,080 normal HTTP traffic, put it inside HTTPS, you can make it look like it's going to a 251 00:26:22,080 --> 00:26:27,958 regular website and do cool stuff there so... Then I guess the ultimate thing is to make it 252 00:26:27,958 --> 00:26:34,458 look like natural language. Banana phone does this. Obviously it won't stand up to a 253 00:26:34,458 --> 00:26:38,917 human analyst looking at this after the fact. If you aren't routinely sending literature 254 00:26:38,920 --> 00:26:43,880 back and forth to someone but you can imagine a scenario where 255 00:26:43,880 --> 00:26:52,940 there's an automated detection system or even where you built a system on top of that. 256 00:26:52,940 --> 00:26:56,120 And there's of course the classic network tools that are 257 00:26:56,125 --> 00:27:01,458 primarily used for getting around like captive portal, authentication systems where DNS 258 00:27:01,458 --> 00:27:08,583 huddle, at a hotel such as the Rio and these are pretty cool. >> The point of going through 259 00:27:08,583 --> 00:27:14,625 these is these are the tools we looked at for building the travel router. The travel router 260 00:27:14,625 --> 00:27:20,500 itself there really isn't that much to it. We looked at all the best tools out there and built 261 00:27:20,500 --> 00:27:25,583 them into this as a library so you have an OS build that's going to sit on a device. You 262 00:27:25,583 --> 00:27:36,500 can carry it anywhere. It's tiny and all these things will be available to you to choose. And 263 00:27:36,500 --> 00:27:43,667 we're hoping to build some intelligence on to it as well so it makes choices for you to say 264 00:27:43,667 --> 00:27:49,833 are you sure you wanted to select that? That might not be the best thing here. >> There's 265 00:27:49,833 --> 00:27:54,667 not silver bullet so it's a bunch of separate tools combined, So as we were thinking 266 00:27:54,667 --> 00:27:58,250 of this, we tried to figure out because we had the practical concern we travel a lot and go 267 00:27:58,250 --> 00:28:03,750 to places and we're not the most interesting targets. I know a lot of people that are greater 268 00:28:03,750 --> 00:28:09,417 targets and it's really difficult I can build something I can use myself mostly out of 269 00:28:09,417 --> 00:28:14,250 existing software. But building something I can have somebody else use that's easy for them to 270 00:28:14,250 --> 00:28:19,792 use, simple that I don't have to then go with them all the time is a much harder problem. We 271 00:28:19,792 --> 00:28:27,750 looked at a lot of VM systems. VMs are great, but the problem is, if something gets subverted 272 00:28:27,750 --> 00:28:33,125 the top level operating system there's problems. Fingerprinting stays the same then there's 273 00:28:33,125 --> 00:28:42,520 really no way to know that the system is intact. I work with TPM and it's still not quite there. 274 00:28:42,520 --> 00:28:47,875 And the other problem is this stuff is expensive if you build is out of pure software on 275 00:28:47,875 --> 00:28:53,250 dedicated high end laptops, virtualization with bunch of 16 giga ram Mac Book Pros, you 276 00:28:53,250 --> 00:28:58,500 can't afford it. Most of the people really that need this stuff are also people that are 277 00:28:58,500 --> 00:29:04,458 not rich. They're also not willing to throw away a 3,000 dollar laptop. So it wasn't 278 00:29:04,458 --> 00:29:11,250 really the most ideal target. So we looked at something that would be providing much of the 279 00:29:11,250 --> 00:29:16,458 same protection but be a lot cheaper a lot easier to support. Ideally something people already 280 00:29:16,458 --> 00:29:20,833 have to use and we came up with a secured travel router being the sweet spot. They're pretty 281 00:29:20,833 --> 00:29:25,875 awesome. They're , I have a whole box of them. They'are about $20-100 each. They are 282 00:29:25,875 --> 00:29:30,125 about made by a bunch of vendors, TP Link, Linksys, DLink. All the low end network 283 00:29:30,125 --> 00:29:35,125 companies make this stuff. They're available everywhere. But a lot of people use them 284 00:29:35,125 --> 00:29:40,875 when you go to a hotel and you have to pay per WiFi device this lets you share a wired 285 00:29:40,875 --> 00:29:44,917 connection in a hotel with a lot of a lot of connections. There's a lot of really cool stuff you 286 00:29:44,917 --> 00:29:50,583 can do, but they weren't explored as a security tool very much. >> One of the problems we 287 00:29:50,583 --> 00:30:00,120 have is the hardware is variable. So some of them have flash memory, some have no flash 288 00:30:00,120 --> 00:30:10,000 memory. So the code, we, the next version is going to have another kitchen tool and what 289 00:30:10,000 --> 00:30:16,125 you'll do is put in the version of travel router you're working with, how much resources it has 290 00:30:16,125 --> 00:30:21,542 and it will can look it up in the library and it will tell you which modules you can then 291 00:30:21,542 --> 00:30:27,375 select. So you can have Tor plus these transforms and if you want to have secure voice you can 292 00:30:27,375 --> 00:30:35,535 have these other things added in just enough to squeeze it in without filling it up. >> We've 293 00:30:36,720 --> 00:30:48,792 used a lot on that. There's a lot of open source firmware. I think the Linksys 54G was the grand 294 00:30:48,792 --> 00:30:58,167 daddy where it came with crappy firmware. Fortunately wireless hardware has moved on to newer 295 00:30:58,167 --> 00:31:09,320 stuff. That whole wireless hacking community has been going on for a while. The EFF started 296 00:31:09,320 --> 00:31:15,740 working on a project to make secure routers for home use. Primarily focused on protecting 297 00:31:15,750 --> 00:31:19,417 them from outside threats as opposed to using them for security tools themselves and 298 00:31:19,417 --> 00:31:24,792 that's a huge improvement over the status quo even a year ago. The problem with these things is 299 00:31:24,792 --> 00:31:31,452 they're embedded systems like a billion different ones of them. They're too weak and it's a 300 00:31:31,460 --> 00:31:38,340 pain. It's not a huge pain like dealing with true very minimal resources embedded stuff but 301 00:31:38,340 --> 00:31:43,500 still not the easiest thing to use. Other people worked on this before. There's a safe plug 302 00:31:43,500 --> 00:31:50,833 which is cool. They have Tor. They don't do pluggable transports. It's more for home use. Onion 303 00:31:50,840 --> 00:31:59,540 pie which another company has is like a learn how to do something project. It uses a device, 304 00:31:59,540 --> 00:32:07,680 raspberry pi and has external hardware and I have been looking at this stuff individually and 305 00:32:07,680 --> 00:32:14,620 he talked to Grugq and I realized the guy that was working on it I talked to so it 306 00:32:14,625 --> 00:32:23,417 was an obvious thing to do. >> There is only one Grugq. >> It's not that rare of a name. So we 307 00:32:23,417 --> 00:32:29,333 worked on this. The original portal from a couple years ago have pluggable transports but it 308 00:32:29,333 --> 00:32:36,875 was a pain to install. And it did a lot of stuff but it wasn't like an all in one thing. So out 309 00:32:36,875 --> 00:32:40,958 of this full range of hardware we needed to come up with an initial piece that we needed to 310 00:32:41,020 --> 00:32:57,040 support. It was awesome but the problem is  it's an awesome piece of hardware. We wanted to 311 00:32:57,042 --> 00:33:03,750 have a prebuilt image with multiple ports and wanted to power off the USB because you 312 00:33:03,750 --> 00:33:13,250 can use USB batteries and power off your lap top and you can use the Nexis7 or cell phone and you 313 00:33:13,250 --> 00:33:19,417 want your mobile phone to talk to this device which has a WiFi connection or a 3G connection 314 00:33:19,417 --> 00:33:23,542 plugged into it. So having something that can be battery powered is great but putting a 315 00:33:23,542 --> 00:33:27,542 battery in a small cheap device is more of a consumer engineering challenge. So we're 316 00:33:27,542 --> 00:33:33,833 not all hardware guys so we try to make it as simple as possible. And obviously needs to 317 00:33:33,833 --> 00:33:41,708 be easy to use. But there's some problems. A lot of the hardware is designed to be as cheap as 318 00:33:41,708 --> 00:33:47,208 possible when you make it in like million unit quantities. The price difference between 319 00:33:47,208 --> 00:33:54,833 like 64mg chip is substantial in the quantities so they put the minimum on a ram, absolute 320 00:33:54,833 --> 00:34:01,625 tiniest flash they can do and we wanted to have multiple radios and Ethernet. It wasn't really a 321 00:34:01,625 --> 00:34:09,458 common use. The other problem is we're in the middle and USB2 is still the most wide spread power 322 00:34:09,458 --> 00:34:18,618 protocol we can use so we're limited to 500 milliamps. Radio quality is really, really bad. 323 00:34:18,625 --> 00:34:27,458 They're using antennas and then we wanted to make it ourselves but making quantity like a 324 00:34:27,458 --> 00:34:33,250 thousand, Making quantities under 10 of something is really easy. Making a hundred 325 00:34:33,250 --> 00:34:37,000 thousand or a million of something is also fairly easy because you can justify 326 00:34:37,000 --> 00:34:44,792 amortizing your dev costs but making a thousand of them or 5,000 is still a pain point. And 327 00:34:44,792 --> 00:34:48,792 we looked at the cost of making them and you can buy the travel routers for a hundred bucks, $20 328 00:34:48,792 --> 00:34:54,592 or whatever. For us to make a small quantity would be really expensive and if we make the 329 00:34:54,600 --> 00:34:59,333 special secret spy router, one we have to distribute it to the people that want it and it's 330 00:34:59,333 --> 00:35:04,750 suspicious. So the guy carrying around the super secret spy device will get special 331 00:35:04,750 --> 00:35:11,125 attention and that's the last thing you want in any of the states. So we were kind of  >> 332 00:35:11,125 --> 00:35:15,250 Speaking of someone who gets special attention every time he goes to the airport I can tell 333 00:35:15,250 --> 00:35:21,500 you it's a real drag. >> So we really had no idea I've been working on this as a hardware 334 00:35:21,500 --> 00:35:26,917 thing and ended up selling. I was looking at doing something and I ended up selling my 335 00:35:26,917 --> 00:35:32,750 company instead. So it was like a back burner thing then I was like oh what are we going to do. 336 00:35:32,750 --> 00:35:36,417 Then we were saved by China. There's apparently a company in China that makes the perfect 337 00:35:36,417 --> 00:35:41,792 device. It appears to be a clone of a much more popular device but it happens to have a huge 338 00:35:41,792 --> 00:35:49,208 amount of ram and rom and they're really cheap. It's this box, the good life GLI net box. 339 00:35:49,208 --> 00:35:55,583 You can buy them for about $215 for 10 of them. You get them in 3 days. They're awesome. It does 340 00:35:55,583 --> 00:36:00,125 everything you want. It's pretty much the perfect packing platform for this kind of 341 00:36:00,125 --> 00:36:08,583 hardware. It's got two ethernet ports on it, USB and micro USB power. It's a pretty good deal, 342 00:36:08,583 --> 00:36:15,458 and the RAM that we need. So we have portalmaps.com, we have tools loading up there that will let 343 00:36:15,458 --> 00:36:22,542 you use the old portal chain and additional pluggable transports on it. Building the service is 344 00:36:22,542 --> 00:36:27,083 maybe a little ambitious at this point but definitely the client side of the hardware will work 345 00:36:27,083 --> 00:36:38,663 with existing services. >> That's it. >> We would actually like questions at this point. It 346 00:36:38,667 --> 00:36:47,458 would be great to talk to people. >> Obviously we welcome a ton of feedback because we 347 00:36:47,458 --> 00:36:54,542 want to shape this into a tool that's genuinely useable. This is no good if it's hard to work 348 00:36:54,542 --> 00:36:58,625 with, it doesn't quite meet all the cases. We want this to be the kind of thing you put in 349 00:36:58,625 --> 00:37:03,917 your pocket and a journalist can take and go to a foreign country and use it for secure coms 350 00:37:03,920 --> 00:37:10,640 without even thinking about it. >> Open source of course not commercial. 351 00:37:10,640 --> 00:37:21,480 >>Thank you and questions... [Applause] 352 00:37:33,660 --> 00:37:38,220 >> If anyone has questions we'll be happy to answer them.