[00:00.000 --> 00:04.680] All right. After a morning and early afternoon of a lot of stuff about policy and things, [00:04.680 --> 00:09.680] it's time for a technical talk in PartyTrack. And we're going to hear about a new tool and [00:09.800 --> 00:16.220] a new service that is going to be exciting. And once again, we have a first‑time attendee [00:16.220 --> 00:22.080] and a first‑time speaker. So ‑‑ and Elijah is totally calm, not worried about [00:22.080 --> 00:31.620] it at all. What's that? Eja. I apologize. Eja. And he is thrilled to talk to you guys about [00:31.620 --> 00:36.380] his tool that he's been working on for a long time, talking about Demon Saw. So let's give him [00:36.500 --> 00:49.820] a big PartyTrack welcome. Thank you. Recently, our right to share files online has been [00:49.820 --> 00:55.300] under assault by governments, corporations and others who fear openness and personal [00:55.300 --> 01:01.620] privacy rights. People have been persecuted, fined and even imprisoned simply for sharing [01:01.620 --> 01:07.820] data electronically. As private conversations transition from the home to the web, we're [01:07.820 --> 01:13.920] losing our fundamental rights to privacy and personal beliefs. Imagine for a moment a [01:13.920 --> 01:19.500] secure file sharing application that lets you share whatever you wanted with anybody you [01:19.500 --> 01:27.400] wanted across all of your devices without fear. Governments, corporations and others would [01:27.400 --> 01:31.560] not be able to know what you're doing, what you're sharing or know who you are. They [01:31.560 --> 01:36.200] wouldn't be able to track your IP address and not being a centralized based network, they [01:36.200 --> 01:44.900] could not take you down. Now, imagine a million file sharing networks just like that. This [01:44.900 --> 01:50.480] presentation is a free data manifesto, a historical analysis and a recipe for creating a new [01:50.480 --> 01:57.980] type of file sharing application. My name is Eija and I believe in the right to share. Glenn [01:57.980 --> 02:03.800] Greenwald said, one can easily remain free of even the most intense political oppression [02:03.800 --> 02:10.300] simply by placing one's faith and trust in institutions of authority. But I think the Bible [02:10.300 --> 02:17.760] says it even better in Psalms 56.3, when I am afraid, I put my trust in you. The modern [02:17.760 --> 02:27.220] Internet is a very different place today than it was in the past. We can define the modern [02:27.220 --> 02:33.220] Internet by four different states. It's a state of trust, a state of convenience, a state of [02:33.220 --> 02:40.280] control and a state of change. Over the last 15 years, the Internet has shifted from a web of [02:40.280 --> 02:46.620] isolated content to a cloud of interoperable networks and trusted third parties. A primary [02:46.620 --> 03:00.440] reason for this state of trust is technological innovation. Speaking of change... shot time. So [03:00.440 --> 03:06.540] companies have begun to support open source technologies, web and data standards, shared [03:06.540 --> 03:13.300] protocols and interoperability. This has been going on for the last 15 plus years. But it's [03:13.300 --> 03:18.860] more prevalent now than it ever was before. Interoperability being the mutual trusting and [03:18.860 --> 03:24.980] coexisting of disparate domains like single sign on, shared authentication protocols and open [03:24.980 --> 03:32.100] ID which is what we use when we log in with our Facebook accounts. All right, let's do this. [03:32.100 --> 03:40.240] All right. So you all know the drill. By the way, I wasn't going to interrupt a Bible verse [03:40.240 --> 03:46.420] walking in here. I had to pause for a second. I'm like, oh, shit. Anyway, it is very hard to [03:46.420 --> 03:58.610] get selected at DEF CON. Congratulations. Welcome to the team. All right. As you were. [03:58.610 --> 04:03.930] Thank you. Thank you, sir. So the benefits of trust are cost effective applications. [04:03.930 --> 04:08.310] Companies can roll out applications faster than ever before. It's faster to get their [04:08.310 --> 04:14.170] applications on the market. It's easier to share content cross domain. Different companies [04:14.170 --> 04:19.050] are working together that never did 10 or 15 years before. And there's a level of [04:19.050 --> 04:25.150] convenience to us as users of this content. Now trust has made possible a level of [04:25.150 --> 04:30.050] convenience that we have grown accustomed to and can no longer live without. We have [04:30.050 --> 04:33.790] improved application usability like signing in with our Google or Facebook accounts [04:33.790 --> 04:39.370] everywhere. There's everything at our fingertips. All of our content, our bank accounts, [04:39.370 --> 04:43.690] our social networks, everything we can get to from our laptops, our home computers, our [04:43.690 --> 04:50.470] phones, our tablets. And everything is simple now. There's obviously concerns with this such [04:50.470 --> 04:56.610] as our privacy, our anonymity, potential for abuse from these companies and an overall loss [04:56.610 --> 05:04.490] of control. For a model based on trust, the cost of convenience is control. When our [05:04.490 --> 05:10.410] personal data is in the hands of others, we've lost control. At that point we're faced [05:10.410 --> 05:17.190] with some rather difficult questions. Who owns our data? Are we simply a source or are we [05:17.190 --> 05:25.950] greater than the sum? A fundamental flaw in the model of trust is this loss of control. And [05:25.950 --> 05:33.350] once we've given up control, it's gone forever. My favorite examples of a loss of control [05:33.350 --> 05:39.670] and never being able to get it back, I have three of them. One is the release of the AACS [05:39.670 --> 05:44.810] processing and device keys and the continual release of those. Number two is, and I still [05:44.810 --> 05:49.610] find this absolutely fabulous, is the Tom Cruise Scientology videos. If you haven't seen [05:49.610 --> 05:55.870] those, I highly advise them. It's seven minutes well worth to watch those. And of course [05:55.870 --> 06:01.990] WikiLeaks and the great work they're doing with releasing documents. Loss of control brings [06:01.990 --> 06:08.450] concerns to us as private citizens. Data retention and oversight. Do we trust the [06:08.450 --> 06:14.310] companies to take care of our data? Legal compliance matters. What corporations are [06:14.310 --> 06:17.150] giving our data over to the governments and what are the governments doing with that [06:17.150 --> 06:22.390] data? Security breaches and what happens with our data when companies cannot protect what's [06:22.390 --> 06:27.530] ours? And overall transparency. Do we have the right to know what companies are doing [06:27.530 --> 06:31.950] with our data behind the scenes? And finally the bottom line, because everything a company [06:31.950 --> 06:40.670] does is for its own best interest and is driven by financial means. The truth about this modern [06:40.670 --> 06:47.150] Internet is that convenience does not require trust. We can achieve the same level of [06:47.150 --> 06:53.030] convenience that we get today without giving up control and without trusting governments [06:53.030 --> 07:01.570] and companies. The power to change the world is in our hands. We're experts in our fields, we're [07:01.570 --> 07:08.110] passionate, envied and feared. We have the knowledge, tools and experiences and most [07:08.110 --> 07:15.670] importantly we have the free time to code. The path forward involves becoming advocates for [07:15.670 --> 07:21.070] distrust. Even Ronald Reagan, I know I quoted the Bible, now I'm going to quote a [07:21.070 --> 07:29.090] Republican, even Ronald Reagan said, trust but verify. We can break the mold of old and [07:29.090 --> 07:35.450] stale thinking, we can create something beautiful and secure and we can open up the [07:35.450 --> 07:44.410] Internet for what I call digital self‑expression. Stephen Hawking said the increase of [07:44.410 --> 07:50.310] disorder or entropy is what distinguishes the past from the future, giving a direction to [07:50.310 --> 07:57.250] time. And Aaron Swartz said information is power, but like all power there are those who [07:57.250 --> 08:03.510] want to keep it for themselves. Reinventing file sharing means that we need to understand [08:03.510 --> 08:09.210] the current file sharing applications available to us now. We also need to understand how [08:09.210 --> 08:15.450] secure or insecure these applications are. So let's look back in history and let's take a [08:15.450 --> 08:20.570] look at the existing file sharing applications to see what type of model, network model [08:20.570 --> 08:26.290] they're based on. There's two primary models for file sharing applications. The [08:26.290 --> 08:32.830] centralized model and the decentralized model. The centralized model is a tried and [08:32.830 --> 08:39.190] true model with over 45 years of history. Did you know that FTP is over 45 years old? [08:39.810 --> 08:44.070] I did not know that until I did a little bit of research for this presentation. That is [08:44.070 --> 08:51.110] amazing. The pros of the centralized model are fairly obvious. It's a simplified [08:51.110 --> 08:56.170] programming model. If you've taken any computer science classes or you get bored at home [08:56.170 --> 09:00.750] and code like I do, you know how simple it is just to open up a socket connection and send [09:00.750 --> 09:05.370] some sort of data. It's a very, very simplified programming model. There's dedicated [09:05.370 --> 09:11.450] hosting benefits for a centralized application. Web hosting now only costs a fraction of [09:11.450 --> 09:17.850] what it did 5, 10, 15 years ago. You can get a shared hosting environment in Linux or [09:17.850 --> 09:26.410] .NET for $3 a month. That is extremely inexpensive. The cons are logging and [09:26.410 --> 09:30.970] auditability. There's a lot of credential based security with the centralized model. [09:30.970 --> 09:34.830] Companies are storing our information. There's the question of digital rights [09:34.830 --> 09:43.150] management. Identity or IP and usage transparency. And the centralized model is easily [09:43.150 --> 09:47.670] susceptible to take down. It's a single point of failure and it's very, very easy for [09:47.670 --> 09:52.910] governments or corporations or the legal system to go after a single point. Here are some [09:52.910 --> 09:57.910] examples of different type of file sharing applications that use the centralized model. Most [09:57.910 --> 10:04.370] of these will be familiar to us. We have file system based like Samba or NTFS. We've got [10:04.370 --> 10:11.510] IRC, FTP. We've got some web based choices like Mega, Rapid Share. We've got some new [10:11.510 --> 10:17.310] streaming applications like Netflix, Prime, Go, et cetera. And we've got cloud computing [10:17.310 --> 10:23.330] which entered the market a few years back like Google Drive, Amazon Web Services, Dropbox, [10:23.330 --> 10:29.790] et cetera. The decentralized model, on the other hand, is a rather newer model for file [10:29.790 --> 10:40.090] sharing but imperfect as well. The pros are there's no central point of access or failure. It [10:40.090 --> 10:46.110] can also last forever. A well‑designed decentralized file sharing application or [10:46.110 --> 10:53.310] network, once live, has the potential to never be taken down. However, there are some [10:53.310 --> 11:01.010] concerns with the decentralized model as well such as identity and IP usage transparency. [11:01.010 --> 11:06.210] That's the same con as we saw in the centralized model and we'll talk about that later on. You [11:06.210 --> 11:11.250] also have the loss of anonymity. Your IP address is revealed and that can be linked to your [11:11.250 --> 11:19.110] name. There is personal liability which is something new. The legal system can go after us [11:19.110 --> 11:28.270] directly for downloading files via BitTorrent. And there's a security issue too. Really [11:28.270 --> 11:32.870] quick, I just want to point out some of these. These should be all familiar to you. BitTorrent [11:33.410 --> 11:40.450] to go way back, Napster, the start of it all. Stuff like Plex, R‑Sync, Plex is newer to the [11:40.450 --> 11:44.270] market. And then, of course, some streaming applications that I think are very exciting [11:45.410 --> 11:49.470] like Chromecast and of course XBMC which has been around for a long time now. [11:50.630 --> 11:57.510] File sharing is an amazing technology. But this doesn't mean that it's perfect. There are [11:57.510 --> 12:04.990] some fundamental problems with file sharing. For example, file sharing is insecure. Either [12:04.990 --> 12:12.290] we trust a third party source like a centralized server or set of applications or we risk [12:12.290 --> 12:18.070] revealing our identity via a peer‑to‑peer or decentralized network. There's also legality [12:18.070 --> 12:24.810] issues with file sharing. It's also inflexible. I want my files available to me at all [12:24.810 --> 12:30.890] times. I don't want to force sync content across my devices. And what if I'm offline? If I'm [12:30.890 --> 12:36.970] offline, I can't stream Netflix or I can't grab my files via Dropbox. So I want more [12:37.550 --> 12:42.730] flexibility in file sharing. It's also inconvenient. I want to watch the show that I'm [12:42.730 --> 12:48.050] paying for. I don't want to watch ads. Probably the thing that most upset me about Hulu [12:48.050 --> 12:55.010] Plus is the requirement that we watch ads. Some of them are funny, but seeing the same [12:55.010 --> 13:02.190] ad four times over in an hour is not funny anymore. Why do we have to watch ads? File sharing [13:02.190 --> 13:08.310] is also unreliable. If you look at streaming providers, they have exclusive content and [13:08.310 --> 13:13.130] they have licensing disputes, which changes the content available on their sites. Netflix [13:13.130 --> 13:20.990] Prime does this all the time. Network outages. Why, when they go down, should I suffer? And [13:20.990 --> 13:26.190] there's not enough seeds for BitTorrent. I want something that nobody else wants. How do I [13:26.190 --> 13:32.490] get that? File sharing choices are sometimes expensive. Has anyone looked into upgrading [13:32.490 --> 13:38.510] their Dropbox accounts? The free two gigs that were given cost substantially more when you [13:38.510 --> 13:44.370] want 100 gigs. That shouldn't be the case. Hard drives are cheap these days. The cloud is [13:44.370 --> 13:50.490] also expensive. And not only the price, but what do these companies do with our data? Who [13:50.490 --> 13:56.230] has access to that? And then what if it's stolen? Netflix and Amazon Prime I think are doing [13:56.230 --> 14:05.550] it the best. HBO Go not so much. I don't want cable or satellite. My HBO subscription is [14:05.550 --> 14:10.670] through uTorrent. Some of my friends get their HBO subscriptions through the HBO [14:10.670 --> 14:16.190] subscriptions of their friends and their logins. I would prefer to watch HBO through [14:16.190 --> 14:22.370] Netflix or Amazon Prime. Granted, HBO finally caved in recently if you want to watch shows [14:22.370 --> 14:27.210] that are five years old. What about the shows that are out now? So my Game of Thrones [14:27.210 --> 14:34.510] subscription is through uTorrent. The modern Internet has also taught us to value something [14:34.510 --> 14:41.490] if it is good, convenient and reasonably priced. So I want to just throw those three things [14:41.490 --> 14:46.290] out there again. The modern Internet teaches us that convenience is a good thing and we [14:46.290 --> 14:53.090] like convenience. But it's also taught us to value things that are good, convenient and [14:53.090 --> 15:00.370] reasonably priced. This is why we still torrent. This is why we still download illegally. I [15:00.370 --> 15:05.650] find for my personal use that if it shows on Netflix or Prime, I'm much more likely just to [15:05.650 --> 15:11.520] stream it because it's good, convenient and reasonably priced. It's actually more work to [15:11.520 --> 15:18.540] torrent it. And finally, file sharing problems. File sharing can be unfair. Not all usage [15:18.540 --> 15:23.420] patterns are the same. The BitTorrent network is a very important and very powerful [15:23.420 --> 15:29.620] network and we probably all use it. But it's designed to adhere to a state of pseudo equality [15:29.620 --> 15:35.680] across the board. If it didn't, then we wouldn't be able to download if we didn't have to [15:35.680 --> 15:44.040] upload. So the ratio of seeding to downloading is very, very critical. But not all usage [15:44.040 --> 15:52.120] patterns are the same. What if I only wanted to download? Is that possible? Well, it should [15:52.120 --> 15:58.560] be allowed. The differentiation between acquisition, which is the initial acquiring of [15:58.560 --> 16:04.700] new content, and the subsequent aggregation of that, which is the dispersing and sharing, [16:04.700 --> 16:11.600] should be separate models in a file sharing app and configurable separately. So these [16:11.600 --> 16:17.600] problems with file sharing have led to the creation of a niche market for solutions. Inadequacy [16:17.600 --> 16:25.780] breeds innovation. VPNs, proxies, firewalls, dark net, Tor, peer block, which doesn't work, [16:25.780 --> 16:32.660] but people like it nonetheless, and hacking our neighbor's access points are all cures to the [16:32.660 --> 16:38.480] symptoms and not the problems. You laugh, but many of us do it. I probably shouldn't admit [16:38.480 --> 16:46.700] that I would do such a thing, but if I did, I would laugh as well. Yes, exactly. So [16:46.700 --> 16:51.580] reinventing file sharing, we need to ‑‑ in order to reinvent file sharing, we need to [16:51.580 --> 16:57.000] leverage the power of our Internet access. I'm going to quote Aaron Swartz. He said [16:57.000 --> 17:03.160] something absolutely amazing in 2007. He said, when you have a distributed network like the [17:03.160 --> 17:08.240] Internet, everybody can be a server. You can take your home laptop and run a server off of it [17:08.240 --> 17:13.540] that can distribute movies and music and web pages and e‑mail in the same way that the [17:13.540 --> 17:18.900] biggest computers at Google can. There's no fundamental difference between the computers they [17:18.900 --> 17:24.700] have in the racks in their server rooms and what you have on your desk. He was absolutely [17:24.700 --> 17:31.300] correct. Reinventing file sharing means we need a new solution that's secure, anonymous, free [17:31.300 --> 17:40.740] and everywhere. So what does it take to reinvent file sharing? Noam Chomsky said, if you want [17:40.740 --> 17:46.640] to achieve something, you build the basis for it. And Julian Assange said the only way to [17:46.640 --> 17:52.820] keep a secret is to never have one. So let's talk about five key principles that will [17:52.820 --> 17:59.000] secure file sharing network and maintain the privacy of our data. Number one, saving [17:59.000 --> 18:05.160] cyberspace means that we need to reclaim the authoritative source. Well, what is the [18:05.160 --> 18:10.860] authoritative source? The authoritative source is the primary repository of trusted data. [18:11.700 --> 18:18.100] It's basically our data that we're about to share. When we give away the authoritative source, [18:18.100 --> 18:26.240] we give away the control of our sensitive data. And the price of online data storage is our [18:26.240 --> 18:32.600] anonymity and the potential for the abuse of our data. So the foundation of file sharing is [18:32.600 --> 18:37.480] data, right? Everything is based around data. And data should be the first thing secured and [18:37.480 --> 18:42.940] the last thing to be compromised. It should never leave our control. Companies, I used to [18:42.940 --> 18:49.520] work in the financial sector, and companies I learned are very, very good at securing their [18:49.520 --> 18:55.880] devices. Their corporate devices like laptops and phones and USB drives, they excel at [18:55.880 --> 19:02.420] securing those. But they're very bad at securing network transmissions between those devices. [19:02.520 --> 19:09.220] The weakest link are the users and the methods by which they exchange data. When we lose [19:09.220 --> 19:14.540] control of our data, we lose control of everything. This includes the power to protect what's [19:14.540 --> 19:20.860] ours, the certainty that our data is protected, the choice to respond to attacks and the [19:20.860 --> 19:27.240] ability to remain anonymous. The solution? We need to take responsibility and reclaim the [19:27.240 --> 19:33.160] authoritative source. Our data should not leave our personal devices. It should never go [19:33.160 --> 19:37.920] into the cloud, it should never go into Dropbox, it should never go beyond the devices that [19:37.920 --> 19:44.460] we own, like this laptop or my phone or my tablet. We need to do what companies continue to [19:44.460 --> 19:52.420] fail at, and that is secure our data. Number two, saving cyberspace means that we need to [19:52.420 --> 19:58.040] redefine authentication. What does it mean to authenticate? We do that all the time, [19:58.040 --> 20:05.000] multiple times per day. Simply, authentication is the process by which I prove who I claim [20:05.000 --> 20:12.740] to be. That's really it. Right now, there are many, many forms of stateful authentication. [20:12.840 --> 20:17.000] Stateful authentication is usually credential based or certificate based authentication [20:17.000 --> 20:22.940] where there is some sort of state that's maintained, usually in a database. It's a [20:22.940 --> 20:30.300] necessary model, but in some cases it can be antiquated and unnecessary. Relying on trusted [20:30.300 --> 20:36.560] third parties is not always the best solution for authentication. Stateless authentication [20:36.560 --> 20:44.640] is a form of shared secret authentication that leverages shared assets or other known data to [20:44.640 --> 20:52.740] mutually authenticate clients. The benefits are obvious in that the modern Internet gives [20:52.740 --> 20:58.620] us a wealth of information or shared secrets, such as pictures that we've uploaded to [20:58.620 --> 21:04.680] Facebook or posts that we've made or tweets, et cetera. There's an immense amount of [21:04.680 --> 21:10.300] information available that can be used as shared secrets across multiple people. Mutual [21:10.300 --> 21:16.400] coexistence by shared knowledge is the basis for stateless authentication. This means that [21:16.400 --> 21:20.960] the shared secret is something that's obvious to a very specific group of people. There's no [21:20.960 --> 21:27.840] registration process and no data storage. No need for databases, SQL or otherwise. And the [21:27.840 --> 21:34.080] beauty of this is we can use a series of dynamic encryption algorithms based on this [21:34.080 --> 21:39.460] information because no state needs to be maintained. So there's no certificate [21:39.460 --> 21:44.640] authorities, there's no databases, there's nothing in the background that can link what we're [21:44.640 --> 21:52.410] doing to our identity. So the solution for stateless authentication is redefine what it [21:52.410 --> 21:57.750] means to authenticate. Let's create a temporary trust. We've learned that trust is bad and [21:57.750 --> 22:03.750] we should be advocates for distrust. But temporary trust that can be changed and [22:03.750 --> 22:11.790] modified over the course of seconds or minutes or hours is valuable. Our social networks [22:11.790 --> 22:18.010] have an immense amount of shared secrets that we can tap into. No data is stored and the [22:18.010 --> 22:24.090] loss of security becomes insignificant with stateless authentication. Why? Because it's [22:24.090 --> 22:29.830] not necessarily a security model that needs to stand the test of time. It's a [22:29.830 --> 22:35.950] transitory nature of stateless authentication that has the ability to adapt via dynamic [22:35.950 --> 22:42.790] encryption algorithms. Number three is saving cyberspace means that we need to implement a [22:42.790 --> 22:48.310] modular approach to security. Modular security is something that is based on layered [22:48.310 --> 22:54.610] security. Layered security being the practice of combining multiple mitigating security [22:54.610 --> 23:00.490] controls to protect data, make it more difficult to compromise the whole. Well, modular [23:00.490 --> 23:07.250] security takes layered security and builds on top of it by creating more of an obfuscated [23:07.250 --> 23:14.070] and disjointed separation of duties. It uses a double blind approach so nobody knows the [23:14.070 --> 23:20.930] entire secret. And there's an inability to store complete secrets. It's not feasible in a [23:20.930 --> 23:26.490] network design based on modular security to have any secrets. In fact, it's a bit like a [23:26.490 --> 23:31.450] free for all. It's kind of like a hail Mary in a way, but it's a guaranteed touchdown. So [23:31.450 --> 23:37.510] perhaps it's a bad analogy. The existing applications today are two tempting targets for [23:37.510 --> 23:43.330] takedown. There are too many single points of failure. They reveal too much information. [23:44.530 --> 23:50.790] Modular security provides plausible deniability. We should always assume that somebody is [23:50.790 --> 23:57.010] listening. Always be paranoid. It's better to be paranoid than to be caught. And what they [23:57.010 --> 24:04.750] don't know won't hurt us. They cannot audit what we do not have. The solution, implement [24:04.750 --> 24:12.030] multiple modules of defense to resist penetration. As messages propagate through the [24:12.030 --> 24:17.390] transmission stream, they will increase in strength. But nobody will be able to know the [24:17.390 --> 24:23.430] entire secret. And even a compromise of 99 percent of the network will not reveal the [24:23.430 --> 24:29.350] entire secret. Each module, therefore, is isolated, autonomous, self‑sufficient and [24:29.350 --> 24:35.010] resistant to attacks. Number four, saving cyberspace means that we need to leverage [24:35.010 --> 24:41.070] existing protocols. Our choice of protocol, message or otherwise, does not define us as an [24:41.070 --> 24:48.190] application. When we create a new file sharing app, it's really about art and science. This [24:48.190 --> 24:52.590] is my second file sharing app now in the last 15 years that I've created and it truly is always [24:52.810 --> 24:57.170] a journey. This one I'm about to share with you shortly has taken a year part time as a [24:57.170 --> 25:03.130] labor of love. But creating a message protocol is true wizardry and much more difficult [25:03.130 --> 25:10.850] than creating a file sharing app. So use standard protocols. The benefits are obfuscation, [25:10.850 --> 25:16.550] which there's a Japanese proverb that I love that says, the nail that sticks out gets [25:16.550 --> 25:21.710] hammered down. What this means is calling undue attention to ourselves will only result in [25:21.710 --> 25:27.950] problems. So let's blend in with the rest of the HTTP network traffic. Pretend like we're no [25:27.950 --> 25:35.710] different. It's interoperable. It will work with existing web services and websites and [25:35.710 --> 25:42.350] hopefully will arrive at undetectable transfers. The solution, keep a low profile, use these [25:42.350 --> 25:50.750] preexisting protocols, stuff like HTTP, XML, JSON, et cetera. And finally, number five, is [25:50.750 --> 25:55.990] saving cyberspace means that we need to support a more flexible and adaptive model for file [25:55.990 --> 26:02.910] sharing. What does this mean? Flexible and adaptive. First of all, we need to be simple and [26:02.910 --> 26:10.870] effective. It needs to be easy to use our file sharing app. BitTorrent is an amazing protocol [26:12.050 --> 26:18.810] and uTorrent is an amazing application. I use uTorrent almost every day. It's very complex. [26:18.810 --> 26:24.010] A lot of my friends aren't necessarily ‑‑ they're not like us. They might not have the same [26:24.010 --> 26:29.590] technical background. So if we can make something that everybody can use, then file sharing can [26:29.590 --> 26:35.990] be everywhere. Individuals, families and organizations, small, medium and large, should be [26:35.990 --> 26:41.730] able to use this application equally. It should be available on all of our devices, phones, [26:41.730 --> 26:46.710] tablets, workstations, laptops, servers and even low power consumption devices like the [26:46.710 --> 26:53.030] Raspberry Pi and the Ouya or even these badges should be able to run file sharing networks. [26:53.030 --> 26:59.270] It's very, very possible. Also operating systems should be operating system agnostic. Windows, [26:59.270 --> 27:07.730] Linux, Mac, Android and iOS, it should support all of them. And finally, we need a hybrid [27:07.730 --> 27:14.770] model. We need a file sharing app that takes the best of the centralized model and the best of [27:14.770 --> 27:20.530] the decentralized model and removes everything else that's crap. How do we create this [27:20.530 --> 27:27.050] hybrid model? We need to abstract the content from the transfer. No fixed servers and no [27:27.050 --> 27:32.910] direct peer to peer. So nobody knows about your IP address and no fixed servers. It needs to [27:32.910 --> 27:37.030] be pervasive and ubiquitous. What does that mean? It needs to be everywhere and throughout [27:37.030 --> 27:46.110] everything. And it needs to be secure, anonymous, free and everywhere. Edward Snowden recently [27:46.110 --> 27:50.810] said, I don't want to live in a world where there's no privacy and therefore no room for [27:50.810 --> 27:57.270] intellectual exploration and creativity. And Bjarne Strobstrup, his name is very difficult [27:57.270 --> 28:02.890] for me to pronounce, he's one of my personal heroes, the founder of C++, said people who [28:02.890 --> 28:08.590] think they know everything really annoy those of us who know we don't. I think that's [28:08.590 --> 28:15.690] true, right? He's a far smarter man than I am and he seems to get annoyed quite frequently. [28:16.470 --> 28:21.550] So do we really need, let's be honest, do we really need another file sharing [28:21.550 --> 28:26.010] application? This is something I struggled with a year ago before I started writing [28:26.010 --> 28:31.130] Demon Saw. There's a lot out there and every year there's a new file sharing app that comes [28:31.130 --> 28:37.190] out. Recently I found myself halfway around the world. I won't tell you what area of the [28:37.190 --> 28:43.870] world or what country, but it was far, far from home. And I found myself there for many, [28:43.870 --> 28:50.150] many months. And I realized that I had no good way of getting access to all the files that I [28:50.150 --> 28:57.350] had downloaded previously. I had no good way of sharing or accessing my content. And I felt [28:57.710 --> 29:02.830] a little vulnerable. And I thought why is this the case? I could have FTP'd it somewhere or I [29:02.830 --> 29:08.450] could have uploaded it to the cloud or I could have paid Dropbox or Amazon a shit load of [29:08.450 --> 29:15.010] money to host my content. But I realized I wasn't happy with the current state of file sharing. I [29:15.010 --> 29:22.330] wanted to share with my friends and my family or 10,000 complete strangers. And I wanted to [29:22.330 --> 29:27.850] do it whenever I wanted on any device. I wanted access to all my content from anywhere in [29:27.850 --> 29:34.110] the world and I wanted convenience and control. So why doesn't a solution for me already [29:34.110 --> 29:42.230] exist? I realized this is a problem that we could solve. I'd like to introduce you to [29:42.230 --> 29:50.310] Demonsaw. Demonsaw is a tool that allows me to share my files my way. In fact, just this [29:50.310 --> 29:56.330] morning, we made Demonsaw available to the public. Demonsaw.com. If you go there, you can [29:56.330 --> 30:04.990] download it. Have fun. Do whatever you want. It's free. When I was stuck across the world, I [30:04.990 --> 30:11.050] realized that most file sharing networks, they really break down to three fundamental [30:11.050 --> 30:16.790] components. When you look at any file sharing network, BitTorrent, FTP, it doesn't matter. [30:16.790 --> 30:22.610] They all come down to three fundamental components. And that is, you have a client or [30:22.610 --> 30:27.110] multiple client nodes. And what these do is these either upload or download. They either [30:27.110 --> 30:33.530] share or acquire data. And then you have this type of node that serves as really a message [30:33.530 --> 30:39.330] propagator. What it does is it controls program flow. It makes sure that messages get sent [30:39.330 --> 30:47.410] where they need to. This can be torrent trackers. Or this can be built into the client in [30:47.410 --> 30:54.450] the case of more direct applications like FTP. And then finally, you have what I call a [30:54.450 --> 30:59.230] server component, which is really responsible. It's the dumbest of the three components. All [30:59.230 --> 31:07.370] it does, it's like a tank. All it does is data gets sent through it. 99.99% of the bytes [31:07.370 --> 31:14.470] get sent through the server. All it does is propagate data. Most file sharing applications [31:14.470 --> 31:21.510] have combined these three components into two components. Either the client and the server [31:21.510 --> 31:30.190] are combined or the router and the server are combined and the client is separate. DemonSaw [31:30.750 --> 31:37.350] is a completely new type of file sharing application. The architecture is based on a [31:37.350 --> 31:44.570] security pattern. But it's deceptively simple at its core. The magic behind DemonSaw is it [31:44.570 --> 31:49.990] keeps these three functions, these three different client, router and server nodes [31:49.990 --> 31:54.870] separate. It doesn't try to combine them. And because of that, it's able to achieve an [31:54.870 --> 32:00.890] enhanced level of security and anonymity that we'll see shortly. So what I want to do now is [32:00.890 --> 32:06.390] I want to give you a quick, very, very brief demo of DemonSaw and just show you what it can [32:06.390 --> 32:15.230] do. It's just going to be a local demo, but it is going to be a live demo. Okay. I'll just [32:15.230 --> 32:22.090] talk you through a very, very basic scenario. What's going to happen here is a router, here [32:22.090 --> 32:56.740] it's just a Windows-based router, but, oh, all right. Thank you. All right. We're going to [32:56.740 --> 33:10.340] use our backup demo then, which is a static demo. Hopefully that will work. Okay. Sorry about [33:10.340 --> 33:17.600] that. There's always technical difficulties, live demos. I will be available after this in [33:18.260 --> 33:23.120] the cafe, and I will be glad to walk you through the live demo or answer any of your [33:23.120 --> 33:29.180] questions that you may have. So always come prepared. Let's talk about the demo. [33:29.180 --> 33:35.080] Julian Assange also said nonconformity is the only real passion worth being ruled by. And Sean [33:35.080 --> 33:42.080] Parker, a very, very famous person, anyone know who Sean Parker is? Okay. Exactly. Said you [33:42.080 --> 33:48.960] can now be the master of your own destiny. What you're going to see here is you're going to [33:48.960 --> 33:53.980] see the client. Basically there's three downloads that I've made available. There is a [33:53.980 --> 34:00.560] Windows-based router, which serves only as a message facilitator. All it does is it [34:00.560 --> 34:05.020] groups clients and it controls message flow, and that's it. There's the client, which [34:05.020 --> 34:12.360] you see here, and that's just going to share, search, browse, and transfer. And then you [34:12.360 --> 34:17.720] have a web-based server that I have available, which is a .NET web app that you can drop [34:17.720 --> 34:22.800] in any .NET web hosting provider, and all of your data will be sent through that. So for [34:22.800 --> 34:26.540] three or four dollars a month, you can go to a hosting company and you can get something [34:26.540 --> 34:34.460] that supports .NET 4.5. In fact, fuck it, get 25 of them for $100 a month. Get 25 hosting [34:35.580 --> 34:42.300] environments for $100 a month and you could basically be routing as much traffic as you [34:42.300 --> 34:48.100] want through it. Because web hosting is so cheap these days. But the web server will allow [34:48.100 --> 34:54.020] the router to not have to handle large streams of data. So here in this example, we've [34:54.020 --> 34:57.940] searched for, I think, Daft Punk, for some reason. I want to listen to a new Daft Punk [34:57.940 --> 35:04.100] album this day. So all you do is you just type search, bang, instantaneously gives you the [35:04.100 --> 35:10.080] results. In the next window, you have a browse function. This allows you to navigate [35:10.080 --> 35:16.640] through any of the content in your secret group. Now, a secret group is going to be defined [35:16.640 --> 35:22.720] by an AES key that's going to be dynamically created by some sort of shared asset. In this [35:22.720 --> 35:28.400] version of Demon Saw, that shared asset is simply going to be an image. So let's say the [35:28.400 --> 35:34.720] front row and I all have that picture of the Christmas party where things got a little [35:34.720 --> 35:39.680] crazy, right? Things got a little crazy, we all had a good laugh and we all wanted to forget [35:39.680 --> 35:46.020] about that party. Well, let's use that image and suddenly the 12, 13, 14 of us are in a [35:46.020 --> 35:51.620] group that nobody else can get to. And anything that we share will only be available to us in [35:51.620 --> 35:57.060] the group. But even through using the client, we're not going to know that I'm downloading [35:57.060 --> 36:02.680] from you or you're downloading from me or you have X, Y and Z files available. But we are [36:02.680 --> 36:08.680] going to isolate ourselves to a specific group simply by this shared image from which our [36:08.680 --> 36:14.400] dynamic AES keys are going to be created. We'll be able to browse each other's content. [36:14.400 --> 36:18.220] And by the way, the names of the clients here are really irrelevant. You can make them [36:18.220 --> 36:23.340] whatever you want. I just ‑‑ server and workstation seem to work for me. You can [36:23.340 --> 36:30.580] transfer and download stuff and see your status. Very Napster‑like. And here you can [36:30.580 --> 36:35.700] share content. So I can choose what folders that I want to share and this is a little [36:35.700 --> 36:40.580] browse window where I can get access to my content. And right here you see the little image [36:40.580 --> 36:47.080] of the little demon guy. That is the image from which the AES keys will be created. So if [36:47.080 --> 36:53.760] you want to deny somebody access to your group, this is why security is almost unnecessary [36:53.760 --> 36:58.420] and insignificant for Demon Saw. All I do is change my image and nobody gets access to my [36:58.420 --> 37:03.160] shit. That's all I have to do. So let's say one of our friends that we don't like to hang out [37:03.160 --> 37:08.280] with found that image. All right? And he suddenly wants to transfer all of our Daft Punk. [37:08.280 --> 37:13.260] And for some reason I don't like him. We just change our image. There's no need to revoke [37:13.260 --> 37:18.800] security access or we change an image every day. It's something different. The lack of an [37:18.800 --> 37:23.340] image will default to the global or the default group which is basically what BitTorrent does [37:23.340 --> 37:37.840] now. So if I choose not to have an image, it defaults to nothing. Now, sorry about the technical [37:37.840 --> 37:43.160] difficulties. Now, how does Demon Saw address all of these problems that we talked about [37:43.160 --> 37:50.080] with file sharing? First of all, it's secure. There's no peer-to-peer. There's no IP [37:50.080 --> 37:54.800] addresses that are revealed. Nobody can know what you're downloading. Nobody can even know [37:54.800 --> 37:59.880] what you're uploading. And there's no centralized servers. The routers and the servers that [37:59.880 --> 38:06.240] we talked about can be dynamic and shift as much as they want. In fact, I don't have my phone [38:06.240 --> 38:15.790] on me, but now I do. We're right now working on an Android port of Demon Saw that will bring [38:15.790 --> 38:22.050] the client and the router to your phone. So what that means is I'll be able to host a private [38:22.050 --> 38:27.910] file sharing network on my phone and all the data that gets transferred can be sent through [38:27.910 --> 38:32.470] hundreds or thousands of different servers all around the world. They can be in countries [38:32.470 --> 38:38.390] that don't discriminate against data sharing rules or data sharing in general. But I can [38:38.390 --> 38:41.950] control my own private file sharing network from my phone. That's what we're working on right [38:41.950 --> 38:46.610] now on Android. And I can download stuff from my phone. And we'll also be working on Chromecast [38:46.610 --> 38:53.110] and possibly Plex plug-ins. So you can download stuff and 2, 3% that it's done, you can stream [38:53.110 --> 38:59.470] it to your TV. Anywhere in the world, have access to any stuff. It's not just local like Plex [38:59.470 --> 39:04.590] or DLNA or XBMC, but you'll be able to do this from your phone. We all have old phones, [39:04.590 --> 39:09.070] Android or otherwise, that are sitting around, right? They're doing nothing. Plug them in, [39:09.070 --> 39:15.230] make them routers. Take them with you, have them access wireless networks and suddenly you [39:15.230 --> 39:20.730] have a mobile router that is your file sharing network that nobody knows what you're doing. [39:21.690 --> 39:28.790] Demon Saw is encrypted. Everything is encrypted. There's multiple layers of encryption. We [39:28.790 --> 39:34.290] leverage encryption standards. You can theoretically rotate encryption keys and [39:34.290 --> 39:39.650] algorithms at will. That's something we can easily add if the need is out there. There's varying [39:39.650 --> 39:45.950] encryption types and algorithms. We use Diffie-Hellman, we use AES, mutating, automatic, [39:45.950 --> 39:51.950] isolated, data driven and stateless algorithms. There's varying encryption techniques. [39:51.950 --> 39:57.430] Messages and data are encrypted separately. So if somebody sniffs your network and they [39:57.430 --> 40:04.610] happen to get access to one of the message packets and they happen to know the shared [40:04.610 --> 40:11.170] Diffie-Hellman key by some act of God and they happen to decrypt that message packet, they [40:11.170 --> 40:19.610] won't even know what you're trying to do. They won't know what packet that belongs to, [40:19.610 --> 40:23.170] whether it's uploading or downloading a file. They'll have no idea what type of file you're [40:23.170 --> 40:29.610] sharing or even if you're sharing a TurboTax document from 2003. They'll have no idea. In [40:29.610 --> 40:35.490] order to know that, they have to completely compromise the entire end to end chain, which is [40:35.490 --> 40:41.850] what we saw with modular security. And of course authentication and authorization is all [40:41.850 --> 40:48.850] done via keys. Demon saw is anonymous. There's no logging, no registration, no data [40:48.850 --> 40:54.410] retention, no loss of control. In fact, I'll even go one step further. It's free and there's [40:54.410 --> 41:00.170] no ads. You can use it however you will. There's no call back to demonsaw.com. I don't even [41:00.170 --> 41:04.990] know you're using it. I don't even care you're using it. A year ago I started on this journey [41:04.990 --> 41:10.010] to write this to meet my needs and I want to share it with everybody because I thought maybe [41:10.010 --> 41:14.470] other people share my need. It's yours to use however you want. You can set up a sniffer and [41:14.470 --> 41:20.810] verify I'm not sending any data back to demonsaw.com. It's modular. There's a separation of [41:20.810 --> 41:28.030] messages and content. We're unable to deduce the type of content exchange. This, of course, [41:28.030 --> 41:35.410] is the need to know basis. It's simple. You saw the interface. It's share, search, browse, [41:35.410 --> 41:40.650] download and upload. And that's it. I'm sure the Android and iOS versions will be even [41:40.650 --> 41:46.930] simpler once we've created it. Use it at home, work or while traveling. It will go right [41:46.930 --> 41:51.910] through most firewalls because it's standard HTTP. Nobody will even know what you're [41:51.910 --> 41:57.410] doing, which is great because I didn't really think about the security ramifications of this, [41:57.410 --> 42:01.690] but if you set up a demonsaw client and shared your C drive, yes, you could transfer your [42:01.690 --> 42:08.590] entire work computer from home. I've not tried this. I do enjoy my day job and the paychecks [42:08.590 --> 42:12.790] that come as a result of it. But that is theoretically possible. It will punch right [42:12.790 --> 42:17.430] through firewalls and go right through proxies. As long as HTTP can get through, this shit [42:17.430 --> 42:24.410] can get through. It's everywhere. Windows, Linux, Mac, Android and iOS and the web. Right now [42:24.410 --> 42:31.030] we just released the Windows versions of the router and the client and a Windows web [42:31.030 --> 42:38.570] application based version of the server. Now the router will do server functionality. The [42:40.790 --> 42:45.090] web server component will override that and allow the router only to do message [42:45.090 --> 42:51.630] propagation. We're working on the Android version. It's written in C sharp right now, but [42:51.630 --> 42:56.590] we're porting it to C++ so we can roll it across all these platforms. It's just a matter of [42:56.590 --> 43:02.430] time before it gets on Linux, Mac, iOS and you should see something. Hopefully in the next [43:02.430 --> 43:06.370] three months we'll launch the Android version, fingers crossed. It's based on design [43:06.370 --> 43:13.970] patterns. I'm a game programmer. It's my professional job. In game programming we use [43:13.970 --> 43:18.830] what's called the entity component system. What this does is favors composition over [43:18.830 --> 43:25.530] inheritance. It makes adding new code and expanding the system extremely easy. So in terms [43:25.530 --> 43:30.930] of faster and more flexible features and maintenance, we'll be able to roll out these [43:30.930 --> 43:37.210] features fast because it's based on the entity component system. Demon saw is silent and [43:37.210 --> 43:45.130] unseen. We leverage standards, we avoid suspicion, and we remain undetectable. It's [43:45.130 --> 43:50.850] flexible and adaptive. As we said before, share files just with yourself, share them with [43:50.850 --> 43:56.210] your family and friends, or share it with 10,000 people. A million file sharing networks. [44:05.350 --> 44:10.550] And finally, if you're curious what the architecture looks like, here's a picture of a very, [44:10.550 --> 44:16.290] very simple demon saw network. The router is performing message propagation and data [44:16.290 --> 44:20.370] propagation services. There's four clients in this example. They don't have to be all [44:20.370 --> 44:25.270] different devices, but here's a very, very simple way that you can share your content just [44:25.270 --> 44:32.410] with yourself or with three other people. There's a UPNP functionality in the client or in [44:32.410 --> 44:37.890] the router, and it will just open up the ports appropriately in your routers. If you just [44:37.890 --> 44:41.930] have stuff and you just want to get to it from work, this is a great way to do it and not [44:41.930 --> 44:49.150] trust Dropbox or the cloud. And since it's your shit on your devices, it's free. This is a [44:49.150 --> 44:53.070] slightly more complicated design, which I think is going to be probably the majority of [44:53.070 --> 44:58.470] use. This is a friends and family model. Here you have a router that just does message [44:58.470 --> 45:03.090] propagation in the center. Very, very lightweight. This can be on a phone or right now this [45:03.090 --> 45:07.950] can be on an old Windows box you have sitting around doing nothing. You have a bunch of [45:07.950 --> 45:13.770] clients that can be anywhere. And you have some servers here, one a web server and one a [45:13.770 --> 45:17.870] Windows server that does the data propagation services. So when files are uploaded or [45:17.870 --> 45:22.150] downloaded, they're sent through the servers. And the router is a very, very lightweight. [45:23.150 --> 45:29.490] And finally, a much more complicated network topology of multiple routers that are [45:29.490 --> 45:34.830] completely isolated with multiple servers and multiple different groups that all have [45:34.830 --> 45:39.150] different AES keys because they have a different shared secret. The green groups all have the [45:39.150 --> 45:42.970] same shared secret. The red groups have a different one and the purple groups have their own. [45:42.970 --> 45:48.190] We're currently working on session propagation technology which would allow any routers [45:48.190 --> 45:54.690] that opt in to be able to propagate the sessions of people that are logged in. Which means [45:54.690 --> 45:59.790] that you could theoretically log into any router and be able to access anybody else. This is [45:59.790 --> 46:03.450] something that we're working on right now. We haven't thoroughly tested it. We haven't [46:03.450 --> 46:07.730] really vetted some of the security concerns with it. But it's something that's in the works. I [46:07.730 --> 46:15.450] think it's kind of a cool idea. And in summary, Albert Einstein said, only a life lived for [46:15.450 --> 46:22.250] others is a life worthwhile. I created DemonSaw as a labor of love to meet a personal need. I [46:22.250 --> 46:28.870] want to share it with you because I think it met my need and if it meets your need as well, [46:28.870 --> 46:35.350] then I encourage you, download it, use it. Let me know whether you like it or not. If you [46:35.350 --> 46:42.990] have feature ideas, please email me. Steve Jobs said, and one more thing, changing the [46:42.990 --> 46:48.890] world, our potential is unbound. We possess a tremendous amount of talent. We're good at [46:48.890 --> 46:53.930] what we do and we enjoy what we're good at. We can create something new and beautiful that [46:53.930 --> 47:00.830] can change the world and we can do it together. DemonSaw is a tool that deviates from the [47:00.830 --> 47:06.890] secure models of file sharing. It's a new way to share our content without fear. It's [47:06.890 --> 47:14.390] secure, it's anonymous, it's free and it's everywhere. My name is Eja and thank you very [47:14.390 --> 47:19.050] much. You can contact me here and Twitter and the website. Thank you. [47:24.700 --> 47:29.380] Eja, I have one question for you real quick. Can you explain how it is that you're [47:29.380 --> 47:37.660] tunneling the encrypted transportation over HTTP? Yeah, we're almost out of time but I'll [47:37.660 --> 47:42.340] take a quick stab at it and if you want more information, I'll be at the cafe afterwards as [47:42.340 --> 47:46.400] long as you guys need to meet or chat. Basically what we're doing is we're using standard [47:46.400 --> 47:52.600] HTTP and so we're adhering to the HTTP protocols and the data appears to look just like [47:52.600 --> 48:01.000] HTTP. So basically if your firewall is set to allow HTTP content via port 80 or 443, then [48:01.000 --> 48:05.600] this will get sent. But because there's no direct connection coming into your network, there's [48:05.600 --> 48:09.320] no issues with firewalls blocking incoming transmissions because everything is designed [48:09.320 --> 48:14.880] from an inside out perspective. So if that doesn't answer your question, I'll be glad to go [48:14.880 --> 48:21.000] into more detail. Do you have the protocol spec published someplace? I don't, but you know, [48:21.000 --> 48:25.440] email me or follow me on Twitter and we'll definitely start the conversation or I'll be glad [48:25.440 --> 48:29.960] to talk about it in more detail. As well as open source, I've gotten questions about that. [48:30.040 --> 48:34.700] Honestly, I haven't had time with development to even think about open sourcing it, but it's [48:35.240 --> 48:39.240] something that I'll definitely think about and if you have some thoughts about it, I'd love to [48:39.240 --> 48:41.380] hear from you guys. Thank you again.