WEBVTT

00:00.000 --> 00:03.220
So our first speaker, Tyler Kelley.

00:03.220 --> 00:03.980
Welcome.

00:03.980 --> 00:06.020
And give a big round of applause.

00:10.080 --> 00:12.060
All right, everybody.

00:12.260 --> 00:14.660
Hi, so my name is Tyler.

00:14.660 --> 00:17.440
I work at Cornell Tech in New York City.

00:17.680 --> 00:26.400
I hope everyone's hangovers aren't too bad and thanks for braving the hard heat to come up here in the morning.

00:26.880 --> 00:34.240
This presentation represents some joint work with some very smart people who are all also at Cornell.

00:35.240 --> 00:44.920
So today we're going to talk about tools to improve anonymity on the internet and specifically I'm going to cover an anonymity tool called dining cryptographer networks.

00:45.220 --> 00:53.440
Some academic research in that area and then our open source project that we call Howl, which is a dining cryptographer protocol.

00:54.200 --> 01:01.880
I'm hoping that you leave this talk with a rough intuition of how DC nets work and some excitement about our project and so, yeah.

01:02.140 --> 01:04.140
Let's, uh, let's jump in.

01:05.880 --> 01:10.340
So let's talk about every cryptographer's favorite topic, which is, of course, cryptocurrency.

01:11.200 --> 01:16.860
How many times do you guys think the word privacy occurs in the white paper for Facebook's new crypto coin?

01:17.000 --> 01:18.840
Okay, I'm seeing some zero in some hands.

01:18.840 --> 01:19.400
Anyone else?

01:19.400 --> 01:20.400
Also zero.

01:20.540 --> 01:21.440
A lot of zero.

01:21.440 --> 01:21.860
Okay.

01:21.860 --> 01:22.120
All right.

01:22.120 --> 01:25.080
Well, the actual answer is one.

01:25.560 --> 01:27.500
Um, and this quote is golden.

01:27.500 --> 01:33.120
It's like, we're not even going to try and do anything about privacy, but we'll like think about it and see what other people do.

01:33.560 --> 01:34.440
Yeah.

01:34.720 --> 01:36.060
It's pretty great.

01:37.180 --> 01:46.540
So it's become pretty clear that the digital revolution has in many ways eroded privacy and enabled surveillance on a grand scale that was never before possible.

01:46.540 --> 01:48.120
I think that's pretty well understood.

01:48.760 --> 01:54.780
Um, so we have this problem today, which is that for all intents and purposes, digitally speaking, privacy is dead, right?

01:54.780 --> 02:03.680
Like you are tracked online at every step by everyone from your ISP to Facebook at the application layer to MasterCard at the payment layer, et cetera, et cetera, et cetera.

02:05.360 --> 02:11.800
And anonymity is a subset of privacy and you need anonymity in some sense to preserve privacy because you need a crowd to hide in.

02:11.800 --> 02:20.900
So, you know, privacy tools like Tor and I2P exist, but they're not necessarily widely used, um, and often have pitfalls for users.

02:21.020 --> 02:26.040
So we'd like to improve the state of, you know, existence right now.

02:26.100 --> 02:41.020
Um, so we need privacy enhancing tools on the internet, um, not just for activists like those in Hong Kong during the protests like the umbrella protests, um, but also for whistleblowers or for applications where treating all parties the same is important like anonymous voting.

02:41.800 --> 02:47.960
So we understand that being anonymous is hard, so where could we find a solution?

02:48.580 --> 02:51.040
How about back in the 1980s?

02:51.040 --> 02:53.580
And who's going to be our mad scientist?

02:55.080 --> 02:56.760
Well, David Chom.

02:56.760 --> 03:09.260
So there are a variety of anonymity techniques that exist, but one of the most thorough and strong privacy preserving techniques that we have today is called dining cryptographer networks, and this idea has been around since the late 80s.

03:09.580 --> 03:24.020
So let's say, hypothetically, not that this could possibly have happened, but, you know, last night maybe a group of you went to a bar in Valleys and shared a round of drinks, and at some point the bartender informs you that some person who wishes to stay anonymous,

03:24.020 --> 03:26.600
um, has purchased you all the next round of drinks.

03:28.340 --> 03:38.180
But being in this audience, you are sophisticated cryptographers, so you're concerned that maybe the NSA is trying to bribe you by buying you a round of drinks, and that wouldn't be good.

03:38.520 --> 03:47.080
So, but at the same time, it's possible that someone sitting at the bar bought the round of drinks, and if it was someone at the bar, you respect their, like, wishes for privacy.

03:47.080 --> 03:48.320
So what can you do?

03:50.240 --> 03:54.440
Well, we have this DC net thing, so let's talk about how it works with an example.

03:54.500 --> 03:57.300
So we have our familiar friends Alice, Bob, and Charlie.

03:59.760 --> 04:04.820
And the first thing that they do, um, is they agree on a shared secret setup.

04:04.820 --> 04:08.640
So for this example, we're going to just anonymize one bit of information .

04:08.640 --> 04:10.380
I'm trying to make this as simple as possible.

04:11.020 --> 04:20.680
Um, so, you know, Alice goes to Bob and agrees on a shared secret, and they agree on the shared secret one, and Bob, you know, goes to Charlie, and they talk, and they're like, all right, we're going to agree on zero.

04:20.720 --> 04:24.500
So everybody does this, and, uh, so on and so forth.

04:27.000 --> 04:41.660
Then, when it comes time to reveal who paid, each person takes the information about whether they paid, in this case represented by the bit one or zero, um, and they XOR this information with the combination of shared secrets that they have with all of the other parties in the system.

04:41.760 --> 04:47.240
So what this does is it obfuscates the information you want to broadcast with the shared secrets.

04:47.540 --> 04:51.380
Um, so Alice here paid, so she broadcasts a one.

04:52.840 --> 04:59.440
And Bob didn't pay, so he broadcasts a zero with a one and a zero , because those were his shared secrets.

04:59.640 --> 05:04.180
And Charlie does, you know, he does the same thing , and he outputs a one as well.

05:05.380 --> 05:14.700
So now that we've broadcasted our encrypted values, we can take the XOR of all of these values together, and you will have one XOR, one XOR one, which equals one.

05:14.720 --> 05:26.120
All of the participants in the system compute this output separately at the same time, and since the output is one, um, everybody knows that somebody paid, but they don't necessarily know who paid.

05:26.480 --> 05:30.280
But I want to break this down a little more obviously, so it's, it's very clear.

05:30.500 --> 05:37.120
Um, all of the shared secrets cancel out, um, when you XOR the shared secrets together in the final output.

05:37.320 --> 05:44.580
Um, this is because you have two of each shared secret that gets rolled into the final broadcasted value, uh, that comes from each of the people.

05:44.580 --> 05:53.300
So that shared secret, when you XOR them together, because of the truth table for XOR, which is over there, you can see that they'll cancel out.

05:54.080 --> 06:05.240
So hopefully that provides some intuition about how you can broadcast some information through this protocol, and how like nobody can know what other people are broadcasting, uh, without actually knowing other people's shared secrets.

06:05.240 --> 06:08.680
So that's like a very quick primer on DCNets.

06:11.220 --> 06:13.280
So DCNets have some problems.

06:13.420 --> 06:16.440
Um, for one, only one person can broadcast at a time.

06:16.440 --> 06:17.860
That's a, kind of an issue.

06:18.000 --> 06:24.720
Um, and second, if someone doesn't respond in a timely manner, they can slow down the system, because everyone has to wait for everyone else.

06:25.080 --> 06:28.920
And parties could lie, like there's, there's no reason why anyone has to be honest.

06:28.920 --> 06:35.500
And, um, and then lastly, this DCNet has exponential communication complexity in the number of participants in the system.

06:35.500 --> 06:39.200
So it, it becomes very, very gossipy.

06:41.600 --> 06:43.780
We can solve some of these problems.

06:44.000 --> 06:49.040
Um, for instance, the collision problem can be solved with a good scheduling algorithm for who can talk when.

06:49.360 --> 07:00.040
So instead of transmitting one bit at a time, you do the XOR across a bit vector of known length, where each person has a slot, and then they just transmit their message in their slot.

07:00.040 --> 07:04.800
So Alice would transmit in the first slot, maybe Bob could do his in the second, etc., etc.

07:04.980 --> 07:16.540
And as long as everyone's honest, there are ways to choose who goes in what slot, by essentially broadcasting the slot position as a message, uh, that you encrypt through the DCNet.

07:17.180 --> 07:24.380
There's a paper, uh, called Footprint Scheduling that goes into this topic, specifically scheduling, uh, in more detail.

07:24.380 --> 07:26.680
And, uh, you can see it at the bottom.

07:28.960 --> 07:36.480
So one of the most successful DCNets, um, was a DCNet that was, uh, designed at Yale by Gibbs and, uh, Ford.

07:36.680 --> 07:49.660
Um, you can imagine it as a client server protocol for DCNets, where clients, uh, share secrets with all of the servers in the system, and then the servers will perform the actual XOR operation amongst themselves.

07:49.860 --> 07:55.220
So this has the advantage that, um, it minimizes the need for uptime in the clients.

07:55.220 --> 07:57.360
Clients can sort of come and go as they please.

07:57.460 --> 08:01.380
Um, and as long as the servers don't go down, the system is still robust.

08:01.480 --> 08:03.860
But you do have uptime requirements on the servers.

08:04.060 --> 08:05.700
So they have two papers about this topic.

08:05.700 --> 08:11.600
The OSDI 2012 paper is the more useful one if you want to see implementation details.

08:12.920 --> 08:15.340
Um, but dissent is not flawless either.

08:15.560 --> 08:19.860
Specifically, there's two problems that we want to iterate on and improve on.

08:19.860 --> 08:23.700
And those two are the denial of service problem and the performance problem.

08:23.780 --> 08:30.620
So prior work essentially requires a traitor tracing protocol, um, to punish actors that don't act as honest parties.

08:31.500 --> 08:34.360
Um, and this protocol is pretty expensive and complicated.

08:34.360 --> 08:36.760
And if we can get rid of it, that would be pretty good.

08:37.460 --> 08:46.420
And then if we can increase the performance, that would also be good for real world adoption because we want to make real world tools that actually affect people's lives and leave academia.

08:49.340 --> 08:52.320
So we're developing our own system that we call Howl.

08:52.320 --> 08:59.660
Um, this stands upon the shoulders of giants and it, we're trying to make a DC net that would be real world practical and usable today.

09:00.340 --> 09:05.520
The way that we do this is by separating the concept of a DC net into three components.

09:05.760 --> 09:15.600
So authorship of messages, aggregation of messages for XORing and the actual anonymization slash encryption of messages, i.e., do XOR to it.

09:17.340 --> 09:24.200
So we have three types of nodes and each type of node corresponds directly to one of the required components on the previous slide.

09:24.620 --> 09:28.540
Clients will author messages and then they will send them to aggregators.

09:28.540 --> 09:31.520
These are people who want to broadcast anonymous messages, obviously.

09:31.940 --> 09:45.300
Aggregators exist to help the performance of the network and what they do is they reduce bandwidth load on the root nodes so that the root nodes don't have to receive a flood of traffic from literally every client in the system.

09:45.880 --> 09:52.300
And then additionally by organizing aggregators in a hierarchical structure, we can add like very primitive fault tolerance.

09:52.300 --> 10:02.880
So if your aggregator sort of tries to censor you or is not being responsive, you can just switch to another aggregator in the chain and it will still send the message through the system.

10:03.340 --> 10:10.540
And then root nodes will perform the final XOR, which does the whole do XOR to it and computes the plain text of each round in the protocol.

10:11.280 --> 10:14.180
These XOR nodes will always need to be online.

10:15.620 --> 10:19.320
So here's a diagram that shows roughly what it would look like.

10:22.700 --> 10:32.300
So the other new contribution we bring to the table is the idea of putting the DC net inside of a trusted execution environment, in this case Intel's SGX, secure guard extensions.

10:33.260 --> 10:44.520
So in the last few years, Intel has been baking in this meta operating system into its processors that operates at a higher privilege level than the OS and is completely opaque to the OS.

10:44.760 --> 11:05.760
One of the side effects of this new development is that they've also included a trusted execution environment that they call SGX that essentially allows you to run instructions on the CPU in this reverse sandbox where all of the code and RAM associated with this enclave is protected from access from the operating system.

11:09.340 --> 11:10.840
I just like memes.

11:13.590 --> 11:17.050
So they also bake private keys into the hardware.

11:17.210 --> 11:26.810
And so the environment can cryptographically attest to an outside party that it's running inside of an enclave and that the code is running some specific desired code and only that code.

11:29.970 --> 11:47.390
So by using Intel's SGX, we can write some DC net code that acts honestly and always follows the rules of the protocol and then we can use the attestation features on our network and participants in the DC net can check these attestation signatures to ignore anyone not acting honestly and running in the correct environment.

11:47.630 --> 11:53.090
All of the trader tracing protocols that were necessary in prior work can just be gotten rid of with this one step.

11:55.250 --> 12:01.610
So I want to briefly head off all of the paranoid folks in the audience, which I know that there will be, especially here.

12:01.870 --> 12:05.050
I want to address the what about trusting Intel problem.

12:05.070 --> 12:11.550
So it's important to note here that we're only trusting Intel for preventing denial of service.

12:11.830 --> 12:16.910
The privacy component is completely and totally independent of SGX.

12:16.910 --> 12:19.510
Like, if we removed SGX, there would still be private.

12:19.530 --> 12:23.330
So the worst case scenario is where SGX is completely broken.

12:23.570 --> 12:29.850
In that scenario, the only thing that happens is the network collapses and no longer broadcast messages.

12:29.890 --> 12:33.650
In this context, I think that's preferable than trying to keep availability up.

12:36.710 --> 12:41.910
Also, in the future, Hawaii or Siemens might come out with their own competing product.

12:41.910 --> 12:52.730
Well, then the network can add separate different trusted execution environments and you can sort of spread the trust out across multiple nation states and manufacturers to sort of have them check against each other.

12:53.230 --> 12:56.850
Also, the last bullet is one of my points.

12:58.590 --> 13:07.230
So we have this anonymous broadcast channel where people can essentially shout things into the ether and hide within a crowd of participants in the DC net.

13:07.970 --> 13:13.710
I like to think of it as something akin to UDP where you can send messages in one direction but not another.

13:14.790 --> 13:24.710
I don't think this would be a good replacement for Tor, for example, because you'd have to build a lot of infrastructure on top of the DC net to make stateful connections and sort of like HTTP work.

13:27.870 --> 13:35.210
But I think it's interesting that you can build TCP out of UDP and that you can build Tor out of this kind of analogous.

13:35.730 --> 13:39.850
There are some potential use cases that we've come up with that we think this would be great for.

13:39.950 --> 13:44.830
One is social media where you're broadcasting public statements unidirectionally.

13:44.830 --> 13:46.790
So this is like Twitter, for example.

13:46.930 --> 13:55.070
So with the proper API jig built, we could have a relay bot that listens to the DC net for input and posts anonymous tweets from the DC net.

13:55.750 --> 14:06.410
The other big use case which I am personally more excited about is anonymizing IP layer metadata from cryptocurrency transactions to try to achieve the goal of anonymous digital cash.

14:06.750 --> 14:13.990
So in the transition of monetary instruments to the digital era, we've lost an element of anonymity that existed in cash transactions.

14:14.470 --> 14:16.570
So that doesn't exist with credit cards.

14:16.570 --> 14:21.310
When you buy booze and cigarettes at Bally's tonight, MasterCard knows that you did that.

14:21.950 --> 14:25.570
And by extension, everyone they sell data to and the government also knows that.

14:25.850 --> 14:27.570
And that's not really any other business.

14:27.570 --> 14:31.650
So we don't really need to be sharing data with third parties all the time.

14:31.650 --> 14:34.210
But in the digital world, that's sort of the norm.

14:35.190 --> 14:52.290
So the idea here would be that instead of broadcasting a transaction from a node directly to a cryptocurrency network, which is the status quo right now, you would broadcast it through the DC net and then a relay bot would forward all of the transactions it sees in the DC net to the protocol.

14:52.290 --> 14:55.330
Sort of like pushing it through a proxy almost.

14:57.670 --> 15:03.790
And that essentially obfuscates the IP address data that is leaked when you broadcast a transaction from a node.

15:05.410 --> 15:12.730
So when you buy that booze tonight, imagine if that transaction were privately sent through Z cash and anonymized at both the IP layer and the application layer.

15:13.330 --> 15:14.490
So that would be nice.

15:14.830 --> 15:25.370
This use case also has the nice property that tying this technology into a cryptocurrency lets us financially incentivize people to participate in the DC net so you can pay people to anonymize your transactions.

15:26.610 --> 15:28.550
And also provide cover traffic.

15:29.170 --> 15:31.590
So there might be other use cases that we haven't even thought of.

15:31.590 --> 15:32.990
And if you've got one, I'd love to hear it.

15:32.990 --> 15:35.590
Feel free to email me or DM me on Twitter, obviously.

15:37.230 --> 15:42.330
So this is the slide where I would have performance metrics to show you that our network is fast and you should use it.

15:42.610 --> 15:44.710
But unfortunately the code is still in progress.

15:44.930 --> 15:46.570
So we're working on the code.

15:47.450 --> 15:48.710
I want to do this right.

15:48.710 --> 15:52.450
So if it means doing it a little slower, I'm okay with that.

15:53.030 --> 15:55.810
Hopefully we'll have something out in the next few months.

15:56.070 --> 15:58.210
And we are releasing as open source, obviously.

15:58.210 --> 16:02.890
So check our website and follow me on Twitter for news updates about when that might happen.

16:04.070 --> 16:06.810
And with that, that's Howl.

16:06.810 --> 16:08.810
I hope you guys found this talk interesting.

16:08.810 --> 16:11.490
Feel free to contact me and keep an eye out for the project.

16:11.670 --> 16:15.410
And hopefully we can bring digital privacy tools into the mainstream.

16:15.670 --> 16:16.730
So thanks.

16:22.220 --> 16:23.040
All right.

16:23.040 --> 16:25.620
We're opening the floor for questions.

16:25.620 --> 16:29.800
If you have questions, just line up over here at the middle center, please.

16:38.810 --> 16:39.430
Hi.

16:39.430 --> 16:51.910
Have you found that there's a minimum number of participants that makes it effective and once you sort of reach below that threshold, that all of a sudden it becomes easy to attack and sort of, you know, deobfuscate what's going on?

16:52.990 --> 16:58.710
Off the top of my head, I don't know of any specific studies that have shown that.

16:58.890 --> 17:01.590
But that is definitely something that's the case, right?

17:01.590 --> 17:06.990
Like you want to have a certain number of minimum K out of N anonymity set to hide in.

17:07.930 --> 17:10.370
I want this to be run by, like, everybody.

17:10.370 --> 17:11.330
That would be fantastic.

17:11.330 --> 17:13.050
But I'm not in control of other people.

17:13.050 --> 17:18.810
So I don't know off the top of my head how many participants you would need to be secure.

17:18.810 --> 17:30.330
But the idea is that if we have it open source and if the community likes it, it will grow organically and so the more people that run it, obviously, the more crowd there is to hide in.

17:30.330 --> 17:30.990
Yeah.

17:33.050 --> 17:43.610
The scheduling broadcast, does that help to protect against kind of timing attacks or any kind of correlation that may be possible?

17:43.610 --> 17:49.030
So the problem that scheduling solves is this problem where you can only have one person broadcast at a time.

17:49.210 --> 17:52.210
So let me go back to this.

17:52.430 --> 17:59.790
So in this sort of example, toy example I showed, we have Alice broadcasting the bit one to indicate that she paid.

18:00.010 --> 18:02.770
And this was only, like, a one bit system that I was describing.

18:02.810 --> 18:07.610
When you want to do more than one, you basically just have a bit vector and so you just encrypt the entire bit vector.

18:07.910 --> 18:19.530
But the problem is that one person can only talk at a time because everyone else needs X or zero with that encrypted ‑‑ with that secret value so that the, like, zeroes cancel out at the end.

18:20.050 --> 18:27.270
So the problem that scheduling solves is, like, how can we talk with multiple people at the same time?

18:27.270 --> 18:33.930
So you take this bit vector and you have, like, slots where people just sit and put their message in and the entire bit vector becomes the secret.

18:33.950 --> 18:34.810
Does that make sense?

18:35.910 --> 18:48.090
So that's ‑‑ every participant has a slot available whether or not they use it or not is ‑‑ Yeah, and in some cases you want participants to have more than one slot.

18:48.530 --> 18:51.810
But the paper is there and it's a good paper.

18:51.810 --> 18:52.730
It's pretty readable.

18:53.390 --> 18:53.890
All right.

18:53.890 --> 18:56.350
The floor is open to questions.

19:00.400 --> 19:02.100
I don't bite, I promise.

19:07.420 --> 19:11.490
All right.

19:11.730 --> 19:12.770
Thanks, guys.

19:12.770 --> 19:13.450
Appreciate it.

