Let's all welcome our next speaker. Nox is going to be speaking to us today about Cicada, what the puzzles can teach us about cryptography and privacy. Take it away. Thank you. So it was about, call it seven years ago, particularly stormy night in spring and I received a message online from that one friend everyone kind of seems to have who finds these strangest things online and sends them to you. And it was this online radio station. It was an online radio station. It played this sort of blare of sound which any of you who are radio enthusiasts might know as a copy of UBV 76. And then the stern female voice began reading out numbers. Of course, a few of us sat down to read out numbers to try and work out some sort of meaning from these numbers. We thought despite the fact the message was obviously not intended for us, we might try something out. And it was after all of my own attempts had failed miserably and I was watching the successes people were having with getting a word at a time and then full phrases out of these that I kind of understood how much deeper crypto was than the sort of like children's puzzles and mince the challenges I'd done as a kid sort of thing. And so I was like, well, I don't know. I don't know. I don't know. I don't know. I don't know. And that's one of my favorite things about cryptography. One of the things I really love is how varied the stories are from either the bizarre like my own to the mundane of why you started looking into crypto seriously. And for an increasing number of people these days, Cicada is actually one of those. It was an enormous media thing a few years after it came out. It's been just a ridiculous number of people that have come out and said, well, yeah, well, I'm going to back you up and do this, or I'll come back and do that. And it was just need to be looking at. And we're trying to live at least, at least with a community looking into it. It was called things like the hardest puzzle on the internet and the greatest internet mystery and things like that. So I'd like to talk a little bit about what was the draw. Like what did they do so successfully that it became something that most crypto puzzles online, and there are many, never really got, which was this notoriety. Unfortunately, before I get into that, I realize there's a lot of people who probably know a thing or two about cryptos about Cicada but really superficially. You may have heard the name, you may have heard these comments about it and might not actually know that much about what it is. So I'm going to do a bit of overview first. Cicada ran for three years once a year. It started quite simply. There was an image posted online that would lead you through step after step of these different puzzles. They lasted roughly I would say two months each time and then they had a distinct finish before they would carry on a new puzzle the next year. Now all of these were, there wasn't a particular website for Cicada. There wasn't any one source you were going to. Each image, each puzzle was a distinct thing posted on one place. It was a brand new user account with no history. There was no context given, no source for these images. Which kind of added to the mystery about it a little bit. It started with this image, which was the first image that we used. A couple of years ago, which many of you may be familiar with, this image on it's own, it doesn't tell you really anything. It has some unverifiable claims about looking for people. But despite how empty kind of this image is, this was actually the first step in the puzzle. There was an appended like string of text at the end of the data for this image which would lead you on to the next steps. And that's how it carried forward. Each image was a copy of the next image. Every image was a copy. They were also going to take a each file would lead you to one website. It was often major social media or file hosting websites, that sort of thing. And each one would have a singular image or file which would be your next puzzle to move forward. It began incredibly simply, actually. For example, this one, the appended text was just a Caesar cipher. They would move on into other very simple classical cryptography. There was book codes and columnar transposition, that sort of thing. So there was a lot of first timers that were able to keep up with it for the first little while, which let them kind of get really into it before the difficulty hit. It would eventually get to doing things like more modern cryptography. It was cracking low bit RSA keys. There was one point where you had to implement your own implementation of Diffie-Hellman on a typical cryptography. It was cracking low bit RSA keys. There was one point where you had to implement your own implementation of Diffie-Hellman on a typical cryptography. It was cracking low bit RSA keys. There was one point where you had to implement your own implementation of Diffie-Hellman on a typical cryptography. It was cracking low bit RSA keys. There was one point where you had to implement your own implementation of Diffie-Hellman on a typical cryptography. It was cracking low bit RSA keys. There was one point where you had to implement your own implementation of Diffie-Hellman on a typical cryptography. It was cracking low bit RSA keys. There was one point where you had to implement your own implementation of Diffie-Hellman on a typical cryptography. It was cracking low bit RSA keys. There was one point where you had to implement your own implementation of Diffie-Hellman on a typical cryptography. It was cracking low bit four puzzles throughout the first year. It was just, you kept having to come back and use this image that originally you thought had nothing going on in it at all. It had its appended text at the end of it. It came out later that there was steganographically hidden information using software called Outgas in it. And way later on they were calling for a certain number of associated prime numbers which this had if you looked into the data for it and the dimensions and that sort of thing. That sort of very efficient puzzle design would carry on to a frankly ridiculous degree. There's steps later on, I think I have, yeah I do, where you started getting into things like this. Already just the image looks like a pretty hard puzzle, right? It's not English text so there's going to be some sort of substitution into English before you're even doing the cryptography step to figure out what all of this means. But it turned out that that wasn't really enough. So as you can tell, the hacks underneath, they kind of abused the whole idea of this one feature of how JPEG files are read. That after the FFD9 it doesn't care what else is there. So they just kept appending new JPEGs at the end of these. This one in itself actually has three separate images in it. Later on they would take that a step further and they would start appending full text files between the FFD9 and the FFD8 of the next one. And you would just like start unpacking. You get this one image and unpack six, seven files each with their own puzzle. All of these different steps. It got ridiculously complicated in this hard way. It's a horrendously efficient package. Another thing that they really stuck with throughout the design of it was this sort of idea that they always kept consistent with where they started. I said stick in a graphic using outgrass, like a message using outgrass earlier on. And that was sort of a thing where they gave that cue quite simply right at the beginning. And that would be because for the three years following, every time they wanted to give you a little bit more, you would be going back to that. There was a bunch of things like that. My particular favorite example was in 2013 when they gave the substitution for these runic characters actually. There was an English character or multiple English characters, a runic symbol associated so you could do the back calculation. And then there was a number associated with as well. And once we were starting to look at these, we were like why is there a number associated? It turned out if you went a year prior to the release of the runic characters, you were previous and started looking at some of the very distinct phrases that they were using. All of them added up to prime numbers through this thing that they wouldn't release for over a year after the fact. Somehow they had designed from the first day, all of their messages to be, have something new in them once you got years into the puzzle and found something that was supposed to be unrelated. It was just beautifully designed to be honest. So of course, one of the ongoing questions for a lot of people is, how do you do this? How do you do this? And a lot of people with Cicada is, that's all great. That's a fantastic puzzle. What happens next? So eventually, you would reach a point in the puzzle where they decided that, you know, the collaboration is wonderful, the community is cool, but we're trying to look for individual intelligent people. So there was a solo round at the end of each year. You would get to a point where you had to somehow provide them a unique way to contact you. And every individual who got there actually got their own puzzle that had been designed specifically for them. If you took it and compared it to anyone else, there would be no kind of consistency there. And of course, then you would have to work through your own solo one and getting, of course, to the end. Now, when you got to the end, the kind of current public knowledge of what that looks like was mostly popularized in an online article from, that was, a friend of mine was in the interview for, his name is Marcus. He talked in Rolling Stone about his experiences in 2012, which was all of these different winners, all the people who got to the end, were collected up and put together and tasked with working on code. They were told to write software that they felt somehow, like they designed it themselves, they picked their project, but somehow enhanced the goals of the group, 3301, that had made these puzzles. Now, those goals, kind of relevant to our theme here at DEF CON this year is pretty much the importance of the right to privacy, the right to anonymity, as well as the freedom of information within that. So, that's kind of my overview for what Cicada actually was. Hopefully that gives a clear enough picture that I can now talk about it. There's two very disparate elements that I think really went into the success they had in both popularizing, as well as keeping people working on it. The first of those that I'd like to talk about is the mystery. I mean, that's the obvious one, right? I'm sure a lot of you here today who know about Cicada or are interested in Cicada are here because of the question of who did it, why did they do it, why were they looking for intelligent individuals. And that question really drove the early parts of the, you know, the, you know, the, you know, the, you know, the, you know, the puzzle. There was a lot of people, myself included, who, the puzzle was kind of enough on its own, right? Like, crypto puzzles are all over the internet and a lot of the time they're really fun. So, there's a certain group of people that would just dive into it because it was a new and very complicated crypto puzzle. And that was kind of enough. There's this giant group of people, and I think it's still increasing now, years after Cicada was finished, who may or may not have been, you know, been able to do it. And I think that's the first thing that's really important. I think it's the first thing that's really interesting. And, you know, it's actually interesting that people who are interested in the crypto puzzle part of it but desperately wanted to know the answer to that question. Why? Why did they do this? Who are they? Those sorts of things. And despite the fact that they didn't necessarily have that much interest in the actual puzzle, they still dove through the steps like all the rest of us. They spent countless hours trying, working on this just with that burning question of why. Now, that idea of the mystery, leading people to put a whole bunch of time into it, leading to the focus on your project. That's not unique to Cicada. There's a lot of other media where they've had a lot of success with that. I think what I consider probably the closest example to that is ARGs or alternate reality games. If you're not familiar with that, they're usually by major corporations looking to have some sort of game, some sort of challenge or puzzle that will act as advertising for some media that they're going to put out, often to kind of get people to try and be involved with their story before it comes out. Now these often work very much like Cicada. They were puzzles, they were challenges, you would move forward and sometimes they used crypto. And they lived or died often on the question of why, the mystery part of it. I say live and die because many of them are very successful. There's some fantastic examples of it. But they never really many of them also despite the just millions of dollars put in by these big companies all of this effort and time and work would die out in popularity within the first few steps because they didn't keep the mystery going. They were too obvious right at the bat who they were advertising for what the project was. I think the most recent example of that was there was a game No Man's Sky that tried one of these and it was obvious within two steps of what they were advertising for and everyone I know who does ARGs who loves that sort of community, they got to that step and said oh that's what it is, bye and the community just tanked. So there's something so powerful about maintaining that mystery. ARGs while I think of it as the closest is not by far the only thing to have used that very successfully. If you're talking things particularly like Cicada there's a strong kind of correlation to these recruitment puzzles. This ability to keep people invested to the point that you can pick individuals out with the mystery. The best examples of this are a few years after Cicada the Navy, the U.S. Navy actually released their own puzzle in the style of Cicada looking for recruitment. My favorite example I think is Google. Google tried one of these a few years ago. As you were searching through Google usually you would find a lot of the search results. If you were doing enough searches that were relevant to what they're looking to hire for right now. You get this black bar in your search history. And it would invite you into this kind of game. The one I did it started as this sort of cryptography-themed word puzzle thing and then into this. It was like a terminal in your browser. It gave you a coding challenge and a timer. And every time you completed a coding challenge it would double the timer and give you a more complicated coding challenge. And this would go on and on and on until you reach to the end and they finally told you what, why are you doing this, right? And you'd get, I don't know if you can read that, it's a little small, but it's would you like to share your answers with a recruiter? Now, it's not hard to apply to Google. You can apply, there's recruiters at events. So there's sort of the question of why did they feel they needed to do this. And it's an interesting thing that they considered this, this idea that don't tell the person that you're trying to recruit them all the way until they have already proven themselves, that they found so powerful. They actually repeated it two or three times in subsequent years after this. They kept coming back to it despite that it's really, it's not that complicated to send an application into Google, but they were still finding the people they wanted through something so round about, so unrelated like this. So there's a bit of a question of why. And the answer to that question is, what is the actual power there? Now, there's a really interesting paper. It came out of the University of Toronto that tried to measure levels of excitement in the brain with various things. And they found sort of an unintended result. They were testing positive, they were testing negative. And they found that there was this large, like certain large group of people for whom the unknown had a higher level of excitement in the brain than either the positive or the negative. stimulus. It was a sort of interesting unintended thing. We've all heard the ridiculous power of the fight or flight response, right? You have the nervous reaction, you have the panic, that sort of thing. I don't need to tell anyone the kind of highs you would feel in a positive reaction when you're excited about something like that. But there was still all of these people for whom the unknown was somehow overpowering it. That sort of curiosity and trepidation we feel when we're faced with something we don't understand overpowered things like the animalistic fight or flight response. It's kind of strangely powerful. Cicada, I feel, took this even a step further. Obviously the unknown has this pull on all of us. But there's this sort of there's this sort of I'll say crypto and the unknown, crypto and a mystery have this ridiculously long history. There are so many times throughout crypto's history that the sense of an unknown, the sense of a mystery in it, it felt important, right? I don't need to talk that much about World War II cryptography where knowing the answer to an unknown could save thousands of lives. European history when groups like the Masons were trying not to be interrupted in what they were doing, and some of their encrypted texts are just being decrypted now. They worked so hard on it. And Cicada really pulls on that. They have all of this theming, which is sort of esoterism and sort of trying to evoke this idea of the long history of importance in a mystery in cryptography. So we've got this pull from the mystery anyway and then this historical context of what if this encroupment really matters? What if there's something important at the end of this? And that went to be just, you know, it was a very, very, very, very, very, very, very, very, very, very, very, very, very powerful enough to get all of this media attention. So the other side of it, the other strategy they used I think is worth talking about is as far as you can go in the opposite direction. And that's the gamification of cryptography. This idea of crypto and crypto challenges as this fun game. And again, nowhere near unique to Cicada. Long history of crypto as well as I've said has taken up huge directions. In here at the crypto village actually one of the best examples was Edgar Allan Poe. He ran this contest sort of thing where if you could provide him a cipher he couldn't crack, there was a reward. And this went on for I think years. And would ultimately lead him into writing the Goldbug book, which is obviously the name of the puzzle that the crypto village uses now. Um, and, I mean there's also things like BUCK, this kind of taking his names of his loved ones and steganographically hiding them in the notes or his puzzle canons, which was sort of a game where he'd write two-thirds of a canon and challenge his students and his peers to try and figure out what his design was and finish the canon. So let's talk Cicada. Let's talk why that's so effective in pulling people in. Now, for new players, for new people to cryptography, there's this very simple kind of structure to it, right? It's like a game. It starts incredibly simplistically. It teaches you a few things. Then it ups the complexity, right? It's almost got a video game style structure of teaching you mechanics and moving up into more complicated things. This has this unique effect of getting newer users to understand the tools that they're going to need to get further. Well, there's another effect to it. So, somehow, there was this interesting 好不好 development that happened along the way of like how meatball was embedded in Cicada, in the way that tomfoolery and all kinds of important not only because Cicada would then sign with their PGP key everything they ever said again after that point for years, but also they felt it was an important enough idea that they wanted anyone who touched their puzzle to have to understand it. And I think that has more to do with their goals, their listed anonymity, privacy, freedom of information ideas than it has to do with actually signing their messages. This sort of structure though of starting simply, it's not just to teach that, right? There's going to be a point, it increases in difficulty, you know, you may be able to get away with, you come to a new thing, you've kind of muddled through it, but every new player will get lost eventually. And I think that's an important part of their design as well. There's sort of this idea in learning of the idea of the idea of the known unknowns, where until you kind of know what you don't know, learning it is quite difficult. And I'm going to take an example here of this message. This is one where they lost quite a few people, even though it's a fairly simple classical crypto kind of cipher. Now the idea was, this was columnar transposition was the solution to this. But, what? I can't remember the answer to this. I could, yes. I'll lose my notes, but I think that's okay. I'll do it long enough for everyone to read it if that's alright. I'm going to go back, because I don't want to lose these notes. There we go. So, it's got this interesting thing of, you arrive at this, you've tried all of your classical ciphers, you know, you might try your visioners, your well-known ones, and for so many people, they got a lot of this and didn't know what to do. But, Cicada had set this up in a way that this provided them enough information that they knew what they had to go learn, right? Like, this almost gave them search terms for going and teaching themselves. And that's a theme that would come through all of Cicada. They always made sure that when you were stumped, you were given everything you needed to teach yourself the skills that you would need to move forward. And for a lot of people, myself included, that was very important for moving forward. I did not have all of the skills I needed when I started. It was this fantastic teaching tool. I mean, this, it's got only plain text, it's, like, only English text, they're capitalized, they're in rows and columns, and searching those things would lead you to columnar transposition, which would then lead you to teach yourself how to get past that. Of course, that's all for inexperienced people in cryptography. Cicada is obviously not really for inexperienced people in its design, right? In how they talk to each other, in how they talk about it. But there's a lot of benefits to the structure, this kind of gamey structure, to people who have been in cryptography for a long time. I'll give an example of myself. There was this one piece of the puzzle that was based entirely around the exclusive or function. Now, I knew the exclusive or function. I'd seen it used in, you know, stream ciphers, that sort of thing. I knew of it. I'd even used it a few times. Cicada decided to go a little, you know, a little above and beyond how they used this thing. And they were using all of these features that mathematically are part of the function, but in my typical uses of it had never seen. It's sort of this associativity and commutativity that are just intrinsic by the math of it. So what they did is they used the fact that those are the case. They gave us this file. It was about five different files all exclusive or together. And then throughout the rest of that year, they would give you a piece at a time. Like, what is this? What is this? What is this? What is this? What is this? What is this? And then you would just find one full file from it or two of them exclusive or together. And just by like piecing these together by doing, oh, well, if I exclusive or the two that are together into the four, I get two back. And then I just need to find one file to get the original. And they sort of taught you that sort of math-based way of dealing with exclusive or until you got all of these files out, which were all very important as you moved along. And I personally had never seen anything even sort of like that. Teaching is a great way to learn. yourself something new isn't really the only benefit, though, of seeing it in a new light. I'm going to go with a kind of historical example. I'm not sure how many of you are aware of the, he was a scientist. He was named Mendeleev, and he was early, early chemistry. And quite famously, he had this love for this Russian kind of version of solitaire, like cards. And while he was working early chemistry, he'd made himself a deck of cards that were all of the elements that they discovered so far. And one morning, he was waiting for a train and decided to play solitaire with his cards of chemistry instead, and came to some starting realizations about how you could lay them out, how the structures worked. And that actually became the basis for the current, a bunch of the current things that would work out to the periodic table. Not only that, but it, from watching the patterns through it, at the same time, it became the basis for the current, a bunch of the patterns that he found. And at the time, he was able to predict a number of elements that hadn't been discovered yet just because of the patterns he found through that. And that's this idea of gamification forcing us out of the context of how we might professionally use these tools. And we have no idea what we might discover from something like that. That's one half of it for experienced users. I think the other half, I'm going to quote, I think it was originally Durant that said, we are what we repeatedly do. Excellence, then, is pure habit. There's this idea that while it's a game, while it's not important in any measure, there's something personal to be gained by trying it anyway. And Cicada, obviously, is not the only one working on this. The NSA puts out a ton of different sort of challenges and puzzles, some of them only internally to their own agents, who they already know are quite practiced at all of these things, because they're of the opinion that forcing this sort of gamified practice of it is important for keeping skills. They do a biweekly internal cryptography challenge. They do a public online logic and math puzzle. And they've been doing this for years and quite happy with the effects of it. So that's sort of a thing that I think is important for people to understand about gamified crypto. One last thing about the game part of it. I think it's important for people to understand it, which is, I think, probably the most important for me. And it's the social structures. There's something about a game that creates communities, right? When you're working through something like Cicada, you don't, you get stumped by something. You're really excited about something that you solved. And you don't want to just keep that to yourself. So Cicada almost unintentionally formed these groups of people who all found each other working on it. And we're all excited to talk about it. And this had all sorts of unintended kind of consequences. And I'm really excited to talk about the consequences. One of the important ones, I think, is the longevity of them. Cicada has been quiet now for three or four years. And all of these communities, all of these thousands of people that have come together, are still present. They're still helping each other. They're still there. When I joined these communities right at the start, I didn't think I had anything to learn. And I was very wrong. But all of these experience, experienced cryptographers that were hanging out with me, I was like, oh, this is a great place. So all of these people that are out there taught me all of these things as I tried to move forward. And then I reached this point at the end of that where I was, like, well, now I can't leave because some of them might be leaving. Some of them are gone around all the time. What if they don't, new people coming in don't have that? Which led me to stick around and be that for newer people. I've since watched those newer people get to that point and be that for the next generation. And somehow this community, despite the game being over, is growing. And it's had far-reaching consequences. I've seen so many people who started day one, no idea about crypto, didn't know what a Caesar cipher is, who in those years, those six years since Cicada started, they've gone to school for computing or math. They've got specialization degrees in cryptography. And many of them are now out in the world writing cryptography software, which was, as you saw from the 2012, that was the goal of Cicada originally, is get people caring about cryptography. And this community that's lasted forever, after they were done, is now becoming that over these years that they've actually been entirely quiet. And I think that's incredibly important and is just an intrinsic feature of games. I think that's, gamification of crypto makes that kind of naturally. So the last kind of thing I would like to get into about Cicada, I think, is the most important, actually, for the topic of the convention. And that is, you know, the idea of 1983, the idea that we're all being watched is privacy dead. So in our specific community, you know, we've got a wiki of all of the different solutions. We've got subreddits, IRC channels, that sort of thing. The last count I did, I think we'd seen about 40 or 50,000 unique IP addresses just to our little community. And we're by no means the only one. And, I mean, I showed you all the media, I showed you all the information, I showed you all the media hype about it, BBC, New York Times, Business Insider, Rolling Stone all had these articles about it. People really cared about Cicada, really cared about who had made this. Now it's been six years. They spent three years pouring stuff onto the internet. And in all of that time, we still don't know who they are. Which is interesting. All of these people who in our community have all tried to figure out who it is. All these investment heads, all of these journalists for their respective newspapers have tried from FOIA requests and things like that were reasonably convinced that the major intelligence agencies have taken a look. And somehow they're still entirely anonymous. So I think that's important to talk about how that is. And the answer is disturbingly simple. It's there's not some sort of great secret that Cicada has. And I think that's what's so important about it. They made a new user account for every email, every account, like a site they were going to do. They did all of their connections through some anonymizing software, usually Tor. And these probably sound quite familiar. If you've ever heard anything from the EFF or any other Tor group, anyone working on privacy software, these are the basic strategies that they're telling you you could stick with. And I think it's really important that Cicada is this example of just following what we have, what the strategy we have, and more importantly, just using the software we already have is actually enough. Somehow these adversaries to privacy are actually being defeated by the work we've done right now. And that's the opposite of the message you hear so often, that privacy is dead. That's a hopeful message. There's still a lot of work to be done on the security side of this kind of software. The threats are always increasing in severity and so thus the software must be. But I think there's not enough good clear examples of it working. I think they're really important for that. They've of course had a few unintended side effects therein. One of the main ones is that by nobody knowing who they are for so long, there are a lot of people who would like to say that they are them. There's imitators coming out of the Internet and going out of the woodworks. In the intervening time since there were cicada puzzles, there's now more content online claiming to be cicada and making fake versions than there ever was combined from cicada. And so that's sort of an interesting sacrifice for the privacy that most of us will never have to really interact with. Most of us wouldn't know that we haven't achieved that level of anonymity that they are and have become public enough that that's an important thing to people. That being said, they still have set themselves up. Their PGP signature right at the start, their claim that they're going to sign everything they ever do, that still allowed them to maintain, no, this is our identity, though we're entirely anonymous. And I think that's the strength of the software that we've set up right now is you can perfectly maintain your identity, maintain that your words are your own while nobody knows who you are. And I think that's the strength of the software that we've set up right now is you can perfectly maintain your And that's frankly a wonderful thing that that's even possible. I think, I just skipped a slide, but it was obvious. I think that is for now all I have to say about them actually. Thank you all very much. And I hope you enjoyed it. I'll be doing I think a few questions if anyone has any and I'm definitely open to them. All right. Thank you, Knox. . .