start	end	text
0	6020	So our first speaker, Tyler Kelley. Welcome. And give a big round of applause.
10080	18120	All right, everybody. Hi, so my name is Tyler. I work at Cornell Tech in New York City. I
18120	25140	hope everyone's hangovers aren't too bad and thanks for braving the hard heat to come up here
25140	31980	in the morning. This presentation represents some joint work with some very smart people who
31980	38320	are all also at Cornell. So today we're going to talk about tools to improve anonymity on
38320	43820	the internet and specifically I'm going to cover an anonymity tool called dining cryptographer
43820	49620	networks. Some academic research in that area and then our open source project that we
49620	55920	call Howl, which is a dining cryptographer protocol. I'm hoping that you leave this talk
55920	61340	with a rough intuition of how DC nets work and some excitement about our project and so,
61340	68700	yeah. Let's, uh, let's jump in. So let's talk about every cryptographer's favorite topic,
68700	73580	which is, of course, cryptocurrency. How many times do you guys think the word privacy
73580	78400	occurs in the white paper for Facebook's new crypto coin? Okay, I'm seeing some zero in some
78400	84140	hands. Anyone else? Also zero. A lot of zero. Okay. All right. Well, the actual answer is
84140	89840	one. Um, and this quote is golden. It's like, we're not even going to try and do anything
89840	95320	about privacy, but we'll like think about it and see what other people do. Yeah. It's pretty
95320	102600	great. So it's become pretty clear that the digital revolution has in many ways eroded privacy
102600	107040	and enabled surveillance on a grand scale that was never before possible. I think that's
107040	111680	pretty well understood. Um, so we have this problem today, which is that for all intents
111680	116140	and purposes, digitally speaking, privacy is dead, right? Like you are tracked online at
116140	121180	every step by everyone from your ISP to Facebook at the application layer to MasterCard at
121180	127160	the payment layer, et cetera, et cetera, et cetera. And anonymity is a subset of privacy
127160	131800	and you need anonymity in some sense to preserve privacy because you need a crowd to hide in.
131800	138240	So, you know, privacy tools like Tor and I2P exist, but they're not necessarily widely used,
138240	144540	um, and often have pitfalls for users. So we'd like to improve the state of, you know,
144540	150400	existence right now. Um, so we need privacy enhancing tools on the internet, um, not just
150400	154920	for activists like those in Hong Kong during the protests like the umbrella protests, um, but
154920	159320	also for whistleblowers or for applications where treating all parties the same is important
159320	166620	like anonymous voting. So we understand that being anonymous is hard, so where could we
166620	175980	find a solution? How about back in the 1980s? And who's going to be our mad scientist? Well,
175980	181000	David Chom. So there are a variety of anonymity techniques that exist, but one of the
181000	185100	most thorough and strong privacy preserving techniques that we have today is called
185100	190280	dining cryptographer networks, and this idea has been around since the late 80s. So let's
190280	194380	say, hypothetically, not that this could possibly have happened, but, you know, last
194380	199440	night maybe a group of you went to a bar in Valleys and shared a round of drinks, and at
199440	204760	some point the bartender informs you that some person who wishes to stay anonymous, um, has
204760	210280	purchased you all the next round of drinks. But being in this audience, you are
210280	215380	sophisticated cryptographers, so you're concerned that maybe the NSA is trying to bribe you by
215380	220140	buying you a round of drinks, and that wouldn't be good. So, but at the same time, it's
220140	224340	possible that someone sitting at the bar bought the round of drinks, and if it was someone at
224340	231020	the bar, you respect their, like, wishes for privacy. So what can you do? Well, we have this
231020	235540	DC net thing, so let's talk about how it works with an example. So we have our familiar
235540	244060	friends Alice, Bob, and Charlie. And the first thing that they do, um, is they agree on a
244060	248500	shared secret setup. So for this example, we're going to just anonymize one bit of
248500	253400	information. I'm trying to make this as simple as possible. Um, so, you know, Alice goes to
253400	257840	Bob and agrees on a shared secret, and they agree on the shared secret one, and Bob, you know,
257840	260960	goes to Charlie, and they talk, and they're like, all right, we're going to agree on zero. So
260960	269080	everybody does this, and, uh, so on and so forth. Then, when it comes time to reveal who
269080	273720	paid, each person takes the information about whether they paid, in this case represented by
273720	278960	the bit one or zero, um, and they XOR this information with the combination of shared
278960	283040	secrets that they have with all of the other parties in the system. So what this does is it
283040	288560	obfuscates the information you want to broadcast with the shared secrets. Um, so Alice here
288560	297640	paid, so she broadcasts a one. And Bob didn't pay, so he broadcasts a zero with a one and a
297640	301580	zero, because those were his shared secrets. And Charlie does, you know, he does the same
301580	308320	thing, and he outputs a one as well. So now that we've broadcasted our encrypted values, we
308320	313600	can take the XOR of all of these values together, and you will have one XOR, one XOR one,
313600	318460	which equals one. All of the participants in the system compute this output separately at the
318460	324060	same time, and since the output is one, um, everybody knows that somebody paid, but they
324060	328920	don't necessarily know who paid. But I want to break this down a little more obviously, so
328920	334540	it's, it's very clear. Um, all of the shared secrets cancel out, um, when you XOR the
334540	339160	shared secrets together in the final output. Um, this is because you have two of each shared
339160	343900	secret that gets rolled into the final broadcasted value, uh, that comes from each of the
343900	349800	people. So that shared secret, when you XOR them together, because of the truth table for
349800	355800	XOR, which is over there, you can see that they'll cancel out. So hopefully that provides
355800	359880	some intuition about how you can broadcast some information through this protocol, and how
359880	364060	like nobody can know what other people are broadcasting, uh, without actually knowing
364060	372320	other people's shared secrets. So that's like a very quick primer on DCNets. So DCNets have
372320	377260	some problems. Um, for one, only one person can broadcast at a time. That's a, kind of an
377260	382040	issue. Um, and second, if someone doesn't respond in a timely manner, they can slow down
382040	386620	the system, because everyone has to wait for everyone else. And parties could lie, like
386620	391120	there's, there's no reason why anyone has to be honest. And, um, and then lastly, this
391120	395500	DCNet has exponential communication complexity in the number of participants in the system.
395500	404840	So it, it becomes very, very gossipy. We can solve some of these problems. Um, for instance,
404840	408620	the collision problem can be solved with a good scheduling algorithm for who can talk
408620	414940	when. So instead of transmitting one bit at a time, you do the XOR across a bit vector
414940	419300	of known length, where each person has a slot, and then they just transmit their message
419300	423560	in their slot. So Alice would transmit in the first slot, maybe Bob could do his in
423560	429060	the second, etc., etc. And as long as everyone's honest, there are ways to choose who goes
429060	434920	in what slot, by essentially broadcasting the slot position as a message, uh, that you
434920	440320	encrypt through the DCNet. There's a paper, uh, called Footprint Scheduling that goes
440320	445740	into this topic, specifically scheduling, uh, in more detail. And, uh, you can see it
445740	453540	at the bottom. So one of the most successful DCNets, um, was a DCNet that was, uh, designed
453560	460240	at Yale by Gibbs and, uh, Ford. Um, you can imagine it as a client server protocol for
460240	466320	DCNets, where clients, uh, share secrets with all of the servers in the system, and then
466320	470760	the servers will perform the actual XOR operation amongst themselves. So this has the
470760	476000	advantage that, um, it minimizes the need for uptime in the clients. Clients can sort of come
476000	480500	and go as they please. Um, and as long as the servers don't go down, the system is still
480500	485040	robust. But you do have uptime requirements on the servers. So they have two papers about
485040	490460	this topic. The OSDI 2012 paper is the more useful one if you want to see implementation
490460	497900	details. Um, but dissent is not flawless either. Specifically, there's two problems that we
497900	502500	want to iterate on and improve on. And those two are the denial of service problem and the
502500	508060	performance problem. So prior work essentially requires a traitor tracing protocol, um, to
508060	513580	punish actors that don't act as honest parties. Um, and this protocol is pretty expensive and
513580	518680	complicated. And if we can get rid of it, that would be pretty good. And then if we can
518680	522220	increase the performance, that would also be good for real world adoption because we want to
522220	529940	make real world tools that actually affect people's lives and leave academia. So we're
529940	534780	developing our own system that we call Howl. Um, this stands upon the shoulders of giants
534780	540540	and it, we're trying to make a DC net that would be real world practical and usable today. The
540540	545920	way that we do this is by separating the concept of a DC net into three components. So
545920	552080	authorship of messages, aggregation of messages for XORing and the actual anonymization slash
552080	560040	encryption of messages, i.e., do XOR to it. So we have three types of nodes and each type of
560040	564960	node corresponds directly to one of the required components on the previous slide. Clients
564960	569220	will author messages and then they will send them to aggregators. These are people who want
569220	573700	to broadcast anonymous messages, obviously. Aggregators exist to help the performance of
573700	578720	the network and what they do is they reduce bandwidth load on the root nodes so that the
578720	584540	root nodes don't have to receive a flood of traffic from literally every client in the
584540	589740	system. And then additionally by organizing aggregators in a hierarchical structure, we
589740	594800	can add like very primitive fault tolerance. So if your aggregator sort of tries to
594800	598800	censor you or is not being responsive, you can just switch to another aggregator in the
598800	604220	chain and it will still send the message through the system. And then root nodes will
604220	609220	perform the final XOR, which does the whole do XOR to it and computes the plain text of
609220	616500	each round in the protocol. These XOR nodes will always need to be online. So here's a
616500	624200	diagram that shows roughly what it would look like. So the other new contribution we bring
624200	628220	to the table is the idea of putting the DC net inside of a trusted execution environment,
628220	635680	in this case Intel's SGX, secure guard extensions. So in the last few years, Intel has been
635680	640040	baking in this meta operating system into its processors that operates at a higher
640040	646100	privilege level than the OS and is completely opaque to the OS. One of the side effects of
646100	650660	this new development is that they've also included a trusted execution environment that
650660	657860	they call SGX that essentially allows you to run instructions on the CPU in this reverse
657860	663740	sandbox where all of the code and RAM associated with this enclave is protected from access
663740	676230	from the operating system. I just like memes. So they also bake private keys into the
676230	681330	hardware. And so the environment can cryptographically attest to an outside party that
681330	685170	it's running inside of an enclave and that the code is running some specific desired code
685170	694190	and only that code. So by using Intel's SGX, we can write some DC net code that acts
694190	698550	honestly and always follows the rules of the protocol and then we can use the attestation
698550	702330	features on our network and participants in the DC net can check these attestation
702330	707990	signatures to ignore anyone not acting honestly and running in the correct environment. All
707990	711650	of the trader tracing protocols that were necessary in prior work can just be gotten rid
711650	718590	of with this one step. So I want to briefly head off all of the paranoid folks in the
718590	723450	audience, which I know that there will be, especially here. I want to address the what
723450	727970	about trusting Intel problem. So it's important to note here that we're only trusting Intel
727970	734990	for preventing denial of service. The privacy component is completely and totally independent
734990	741450	of SGX. Like, if we removed SGX, there would still be private. So the worst case scenario is
741450	746690	where SGX is completely broken. In that scenario, the only thing that happens is the network
746690	751610	collapses and no longer broadcast messages. In this context, I think that's preferable
751610	760290	than trying to keep availability up. Also, in the future, Hawaii or Siemens might come out
760290	764390	with their own competing product. Well, then the network can add separate different trusted
764390	768810	execution environments and you can sort of spread the trust out across multiple nation
768810	774510	states and manufacturers to sort of have them check against each other. Also, the last
774510	782090	bullet is one of my points. So we have this anonymous broadcast channel where people can
782090	786550	essentially shout things into the ether and hide within a crowd of participants in the DC
786550	792230	net. I like to think of it as something akin to UDP where you can send messages in one
792230	797190	direction but not another. I don't think this would be a good replacement for Tor, for
797190	801230	example, because you'd have to build a lot of infrastructure on top of the DC net to make
801770	809350	stateful connections and sort of like HTTP work. But I think it's interesting that you can
809350	816330	build TCP out of UDP and that you can build Tor out of this kind of analogous. There are
816330	820330	some potential use cases that we've come up with that we think this would be great for. One
820330	825370	is social media where you're broadcasting public statements unidirectionally. So this is
825370	830470	like Twitter, for example. So with the proper API jig built, we could have a relay bot that
830470	836530	listens to the DC net for input and posts anonymous tweets from the DC net. The other big
836530	841330	use case which I am personally more excited about is anonymizing IP layer metadata from
841330	847030	cryptocurrency transactions to try to achieve the goal of anonymous digital cash. So in
847030	851770	the transition of monetary instruments to the digital era, we've lost an element of
851770	856750	anonymity that existed in cash transactions. So that doesn't exist with credit cards. When
856750	862110	you buy booze and cigarettes at Bally's tonight, MasterCard knows that you did that. And
862110	866450	by extension, everyone they sell data to and the government also knows that. And that's not
866450	871170	really any other business. So we don't really need to be sharing data with third parties all
871170	876870	the time. But in the digital world, that's sort of the norm. So the idea here would be that
876870	881690	instead of broadcasting a transaction from a node directly to a cryptocurrency network,
881690	887310	which is the status quo right now, you would broadcast it through the DC net and then a
887310	892770	relay bot would forward all of the transactions it sees in the DC net to the protocol. Sort of
892770	900490	like pushing it through a proxy almost. And that essentially obfuscates the IP address data
900490	906430	that is leaked when you broadcast a transaction from a node. So when you buy that booze
906430	909890	tonight, imagine if that transaction were privately sent through Z cash and anonymized at
909890	916290	both the IP layer and the application layer. So that would be nice. This use case also has
916290	920490	the nice property that tying this technology into a cryptocurrency lets us financially
920490	924590	incentivize people to participate in the DC net so you can pay people to anonymize your
924590	930610	transactions. And also provide cover traffic. So there might be other use cases that we
930610	933930	haven't even thought of. And if you've got one, I'd love to hear it. Feel free to email me
933930	939490	or DM me on Twitter, obviously. So this is the slide where I would have performance
939490	943530	metrics to show you that our network is fast and you should use it. But unfortunately the
943530	950090	code is still in progress. So we're working on the code. I want to do this right. So if it
950090	954570	means doing it a little slower, I'm okay with that. Hopefully we'll have something out
954570	958690	in the next few months. And we are releasing as open source, obviously. So check our
958690	964770	website and follow me on Twitter for news updates about when that might happen. And with
964770	970110	that, that's Howl. I hope you guys found this talk interesting. Feel free to contact me and
970110	974690	keep an eye out for the project. And hopefully we can bring digital privacy tools into the
974690	985920	mainstream. So thanks. All right. We're opening the floor for questions. If you have
985920	1000370	questions, just line up over here at the middle center, please. Hi. Have you found that
1000370	1004390	there's a minimum number of participants that makes it effective and once you sort of reach
1004390	1010150	below that threshold, that all of a sudden it becomes easy to attack and sort of, you know,
1010150	1017030	deobfuscate what's going on? Off the top of my head, I don't know of any specific studies
1017030	1021870	that have shown that. But that is definitely something that's the case, right? Like you
1021870	1028890	want to have a certain number of minimum K out of N anonymity set to hide in. I want this to
1028890	1032610	be run by, like, everybody. That would be fantastic. But I'm not in control of other
1032610	1038130	people. So I don't know off the top of my head how many participants you would need to be
1038130	1043670	secure. But the idea is that if we have it open source and if the community likes it, it will
1043670	1049650	grow organically and so the more people that run it, obviously, the more crowd there is to
1049650	1059290	hide in. Yeah. The scheduling broadcast, does that help to protect against kind of timing
1059290	1064950	attacks or any kind of correlation that may be possible? So the problem that scheduling
1064950	1070990	solves is this problem where you can only have one person broadcast at a time. So let me go
1070990	1077750	back to this. So in this sort of example, toy example I showed, we have Alice broadcasting the
1077750	1081990	bit one to indicate that she paid. And this was only, like, a one bit system that I was
1081990	1085910	describing. When you want to do more than one, you basically just have a bit vector and so
1085910	1091390	you just encrypt the entire bit vector. But the problem is that one person can only talk at a
1091390	1096350	time because everyone else needs X or zero with that encrypted ‑‑ with that secret
1096350	1101710	value so that the, like, zeroes cancel out at the end. So the problem that scheduling
1103390	1107730	solves is, like, how can we talk with multiple people at the same time? So you take this
1107730	1111970	bit vector and you have, like, slots where people just sit and put their message in and the
1111970	1117950	entire bit vector becomes the secret. Does that make sense? So that's ‑‑ every
1117950	1125130	participant has a slot available whether or not they use it or not is ‑‑ Yeah, and in some
1125130	1131250	cases you want participants to have more than one slot. But the paper is there and it's a
1131250	1136350	good paper. It's pretty readable. All right. The floor is open to questions.
1140400	1153450	I don't bite, I promise. All right. Thanks, guys. Appreciate it.
