So, for folks who are just trickling in, this is the Law of Reversing, Jailbreaking Talk. I'm Fred Von Lohmann from the Electronic Frontier Foundation. I'm a senior staff attorney there focusing on intellectual property, copyright, that kind of thing. With me is Jennifer Granik, no stranger to many DEF CON veterans, who is our Civil Liberties Director. So, without further ado, we're going to be talking about sort of four basic sets of things here. First, I want to sort of go over the kinds of law problems that reverse engineers should be worried about. I'm not sure we'll give everybody all the answers they hope to have, but at least hopefully you'll know what questions you should be asking before you get in trouble. We'll use two examples of reverse engineering to sort of sprinkle real-world examples in this talk. One will be jailbreaking the iPhone, something that is on a lot of people's minds, including our good friends at Apple, who recently, if you missed it, seemed to have been in a lot of trouble. They seem to think we are going to crash the entire nation's cell network with jailbroken iPhones. I expect that will be a talk at next year's DEF CON. I encourage all of you to attend that. And online gaming is another example. And then we'll give a few concrete strategy and tips like that. So, EFF probably doesn't need a big introduction. These are some of the other things we do. We're doing a talk at 4 o'clock that's a general Ask EFF talk. So, if folks want to come and query us. If you want to ask us about any of the other things on our agenda, please come to that. So, the take away I want you guys to get here, if there is one thing I want you to walk away with, I want you to remember four basic problems to be aware of when it comes to reverse engineering. Four legal concerns. One is license agreements. So, we've all clicked I agree. Many times we probably shouldn't have clicked I agree. But there are all of those there. And increasingly courts think, that 20,000 words of legalese actually matters. The second thing to worry about is copyright law. Whenever you are making copies of software, including potentially even just copies in RAM, copyright law probably is something to think about. Third thing, the Digital Millennium Copyright Act. Those four letters get a lot of play. The thing you have to remember is, if you are circumventing a technical protection measure, often people say, oh, that's DRM. It can be DRM. It can also be other things. Any time you are bypassing or circumventing anything, even if it's just obfuscation, certainly if it's encryption, you should be thinking about the DMCA. And then finally, if you are accessing a computer that is not yours, if it's a server out there, you should be thinking about the Computer Fraud and Abuse Act. And that will be something Jennifer will talk more about. So, we're not talking today about patents or trade secrets. Frankly, these are not as much of a thing as you might think. They're not as much of a threat for most reverse engineers as the other four items we will be talking about. So, talking about jailbreaking first, let's start with the license question. As I said, license agreements are out there. The jailbreaking context brings us really two. I should probably list them in the reverse order. The first is the end user agreements you agree to as an iPhone owner slash customer. Last time I checked, you have to agree to over 21,000 words. In order to activate an iPhone, I haven't counted the latest Apple Rev. It might be a few hundred more or less now. They just changed the license agreement about two months ago. Actually, in direct response to our effort to get jailbreaking legalized in the Copyright Office, they went to the trouble of changing the license agreement to try to make it extra clear that you don't own any of the software on the iPhone even though you own the hardware. I still think they didn't win on that. But we'll get there later. The other one is the SDK and API licenses that folks agree to if you are a developer for the iPhone. These are both licenses. If you're reverse engineering, you're going to want to know what they say. You're particularly going to want to read to figure out what, if anything, they say about reverse engineering. They specifically attempt to forbid reverse engineering, and they go into some detail to say, including decompilation, including a whole bunch of other things that they say they don't want you to do. It's not a simple matter of, oh, it's there, I'm not allowed to do it. There are a lot of questions about license agreements, about their enforceability, but I'm here really to urge you not to ignore them. Realize they're there. Take the trouble to read them if you're thinking about agreeing to them. Are they enforceable? Often courts in the United States have been saying that if you click I agree, that licenses are generally enforceable. That doesn't mean that every clause and every provision will necessarily be enforced, but just so folks know, there is a mythology out there that, oh, this stuff can't possibly be legally binding. Courts actually have been saying they often are. Big question there is, do you have to click I agree? Browser apps tend to be frowned on by courts, so those are the things where we just give you a link, we never show you the terms, we just say, oh, you used it, therefore you're bound. Courts tend not to be very friendly to those. On the other hand, if you clicked I agree, particularly if you clicked I agree before you actually paid any money, courts tend to be friendlier there. The other thing to keep in mind about licenses is, what's your maximum downside risk? If you breach a license, it's like any other breach of contract that you would have in any contract that you'd enter into with someone else, and normally in the law, that means they get what we call actual damages, which means in the case of jailbreaking, Apple would have to say, you've actually caused some financial harm to Apple by jailbreaking your iPhone. I personally doubt they would be able to show any real harm, given the several hundred dollars you've probably paid them, and you may also be paying AT&T, it's hard to see how jailbreaking your own iPhone harms them, but it's good to keep in mind that's the kind of remedy we're talking about. We're not talking about going to prison, we're not talking about huge statutory damages, we're not talking about the kinds of things that I'll get to in a minute, that come up with copyright and the DMCA. So, reverse engineering prohibitions have been enforced by a couple of courts in the United States. The final word is far from out on this. EFF continues to look for reverse engineering cases to bring to try to shape this law in a way that leaves room for reverse engineering. The other thing to keep in mind is that in Europe, European law is extremely friendly to reverse engineering, compared to U.S. law. In fact, in Europe, license agreements are not allowed to ban reverse engineering, and if you read license agreements carefully, you'll see they're often carefully written to say you may not reverse engineer, except to the extent the law in your jurisdiction allows reverse engineering. And that magic language is usually in there for people who want to sell in both the United States and Europe, they want to leave the door open under the European law. So, things to keep in mind. So, let's talk a little bit about copyright, the second of the four things I mentioned to keep in mind for reverse engineering. Copyright is scarier than contracts, scarier than licenses. For the reasons I alluded to a moment ago, there are statutory damages. Many of you may have heard about the Jamie Thomas Rasset in Minnesota, who just got a $2 million judgment against her for sharing 26 songs on a peer-to-peer forum. That's the result of these so-called statutory damages. That means the copyright owner doesn't have to prove that you actually harmed them the way they would for a contract claim. They can simply say, hey, you infringed my copyright, I'm automatically entitled to a minimum of $750, up to a maximum of $30,000, or up to $150,000, if you're willful, per work infringed. So, if we're talking about the iPhone software, how many pieces of software are you copying potentially there? I would argue if it's the firmware, that's just one piece of software, one statutory damage award. I'm not sure Apple would agree. Nobody has yet been sued in that. There are injunctions. They can say you're not allowed to do this anymore. And there are potentially criminal penalties. Criminal penalties in copyright tend to be reserved for piracy and counterfeiting. I'm not aware of anyone who's ever been brought up on criminal charges for reverse engineering in the context of interoperability, or any other sort of pro-competitive, pro-research kind of reverse engineering. But it is possible, if there's a commercial motive, that you never can be sure that some district attorney might not be talked into something. But at least so far, the situation has been pretty positive. We have not seen criminal charges in copyright for traditional reverse engineering. So the two main defenses in copyright for reverse engineers are fair use, section 107 of the Copyright Act, and section 117 of the Copyright Act, which basically gives the owner of software certain rights to make copies and adaptations. So, quickly, fair use. We have a couple of very good cases in the fair use jurisprudence that say, hey, if you have to make copies in order to access function and idea, the stuff that's not protected by copyright, in order to make an interoperable product, that's been viewed as a fair use. There are two cases, both involving video game consoles, Sega and the PlayStation, and in those cases the court said, hey, if you need to reverse engineer to figure out how to make game cartridges that work in the console, you just want to know how to make your game work on the console, that's a fair use. Two key pieces of this in those cases, the courts were very interested in whether you got legitimate access to the software that you were reverse engineering. So you want not to have taken the cracked version from BitTorrent, and also the courts don't like it if you're copying code unnecessarily. Fair use is something that's not there to save you the effort of coding your own thing if you could have done it. It's there to allow you access to the pieces you absolutely needed. So try to avoid lifting code from the code that you're reverse engineering. Try not to wholesale copy chunks into your own resulting code. Section 117, this is a less well known part of the Copyright Act. It says that the owner of a copy of a computer program may copy or adapt the program as an essential step of the utilization of the computer program with a machine. So this is basically the idea that if I buy a piece of software, I should be able to run that piece of software on a computer without being worried about violating copyright by simply using the software for the purpose that it was intended. That also includes this adapt language. There's not much case law about how far that adapt right reaches, but it certainly could reach certain kinds of reverse engineering. I would argue that adapting the firmware on your iPhone in order to run applications of your choice should fall within this. In fact, we are arguing that in front of the Copyright Office right now, seeking an exemption to the DMCA for jailbreaking. So, as I mentioned, one question is how far does adapt reach? Another question is do you own the software? These are issues that people fight about. The courts still haven't given us clear answers. In my view, you own the firmware on your iPhone in Apple's view. You are merely licensed. This is a fight that several cases are working on right now, but suffice to say, you want to think about whether or not it's the kind of software you own. In other words, you bought it one time fee, keep it forever, can't be taken away from you, versus whether it's the kind of software that you are merely leasing or otherwise given very limited access to. For that kind of code, reverse engineering, 117 might not help you. So, moving to the third category of legal areas to think about when reverse engineering, the Digital Millennium Copyright Act. Many folks here are already familiar with that. Section 1201 of the Copyright Act says you may not circumvent technical protection measures and you may not traffic in tools that are circumvention tools. So, here's the actual language, not actually the actual language, but this is the basic gist of the code, of the law. It says, no person shall circumvent, no trafficking in tools, raises a lot of questions then about, well, what is a technological measure? What are the things you're not allowed to circumvent or bypass? Well, there are a few things we know from the law and there's a lot of other areas that are still gray. Courts have said DVD encryption is a technical protection measure. Therefore, DVD ripping, in the eyes of most courts, would be viewed as a violation of the DMCA. Decrypting encrypted content without using the authorized key. Protocol encryption, probably a technical protection measure. Came up in the context of real media streams in a case back in 2001. Authentication handshakes, also probably a technical protection measure that should trigger your thinking about this. Chain of trust code signing, that's what Apple uses in the iPhone. I think a strong chance that a court would find that to be covered by the DMCA. Harder questions are, what about simple code obfuscation? What about undocumented protocols? We've seen software vendors argue that that stuff is protected by the DMCA as well. I tend to disagree. The courts have not given us clear guidance for that. But whenever you see this kind of measure put in the code to stop you from reverse engineering, you'll want to think about the DMCA, maybe call a lawyer to talk about it. There are fortunately a bunch of exceptions that are built into the law to allow certain activities. Reverse engineering for interoperability is probably the most important one for our purposes. There's also one for security testing, encryption research, one for law enforcement of course, and some courts have said there also has to be a real possibility of copyright infringement. That if your circumvention can't actually infringe any copyright, say for example because it's firmware in a garage door opener, as was the case in one recent ruling, really no chance of infringing the firmware in the garage door opener if the code never comes out of the actual garage door opener. The court said no DMCA violation because no chance of copyright infringement. Reverse engineering, this is the exception, kind of long, worth reading carefully, breaks down to a few key elements. You have to have lawfully obtained the code, you have to do the reverse engineering for the sole purpose of identifying and analyzing to achieve interoperability. Again, the focus in this exception is interoperability, making your own piece of software to work in conjunction with the piece that you're reverse engineering. The statute talks about program to program interoperability. A lot of debate about whether this extends to program to data interoperability. A distinction that I'm the first one to admit kind of doesn't make much sense, but the courts seem to think, well, if you're reverse engineering to get your DVD to play back on a Linux machine, that's different than if you're reverse engineering to make one piece of software work with another piece of software. Finally, or two last things, one, the information has to have been not previously readily available, and finally, you have to still prove that you didn't infringe copyright, so it takes us back to our fair use discussion. So, very quickly here, talk a bit about how this applies to the jailbreaking scenario. There are really three categories of people to worry about. They have different questions that they have to ask. There's the independent app developers. I think app developers have relatively little to worry about. Under the DMCA, they are not themselves having, generally, to reverse engineer the firmware. If you're just putting your app in the Cydia store, develop the app, put it in the store, not much risk there. The jailbreaking tool developers, of which at least one is in the audience, I know. God bless you. PwnageTool is wonderful. I'm not prepared to admit in public whether I, in fact, have used it just last weekend. So, there, I think, obviously the DMCA is a question, should be considered, but frankly, I think the reverse engineering for interoperability exception could very well apply to developing PwnageTool. It is, after all, creating interoperability program to program. And finally, what about iPhone owners? Well, when someone actually jailbreaks their own iPhone, I think it's rather hard to argue that they are analyzing for the purpose of developing interoperable software. Most people who are jailbreaking their iPhone are not themselves developing their own code. They're just jailbreaking their iPhone to use some, you know, Psycorder tethering GV Mobile this last week. So, for them, we have gone to the Copyright Office starting in December and are arguing there now to get a specific DMCA exception for iPhone owners to jailbreak their phone. We've been arguing with Apple about this now for about six months. We'll have a ruling in October and hopefully that will yield some legal certainty for owners. I will say Apple hasn't sued or threatened to sue any individual iPhone owner for jailbreaking their phone, as far as I'm aware, but they have taken a very strong public position in front of the Copyright Office that they believe it violates the DMCA. Of course, as long as they say that, it's going to be hard for independent app developers to develop the kind of legitimate marketplace that they deserve. So, with that, I'm going to hand over to my colleague Jennifer Granik to talk about the fourth and final category, what happens when you connect to a server that's not your own. Hi, everybody. Thanks for having me. Okay, so, we talked a bit about the jailbreaking of the iPhone, but sometimes when you do reverse engineering, you're looking to do something else, and so I'm going to talk a little bit about the special issue of online gaming and doing reverse engineering of online gaming, just to illustrate that there are other areas of the law that may apply. Now, when reverse engineering an online game like, let's say something like World of Warcraft, you have many of the same issues, legally, that you have with jailbreaking, but now you have the special issue that there is a network involved. And this is different because now you have to deal with the areas of law that protect networks. So, that is the Computer Fraud and Abuse Act. And that is the federal law. And the Computer Fraud and Abuse Act is the federal computer crime law. It is codified at 18 U.S.C. 1030. That's the statute for it. And this federal law is kind of prototypical of the computer crime laws that are out there. Every state has its own computer crime law as well. So, I what I'm talking about here will have some implication for many of the state laws which are kind of built off of the Computer Fraud and Abuse Act, but each state law is really different. And I'm going to talk later on today at 1 o'clock about some cases that arose under the CFAA and the Massachusetts Computer Crime Law. And so, people who are interested in how computer crime is regulated and what it has to do with legitimate hacking and computer security work can come to that talk as well. And I'll do a little bit of a comparison between the federal law and the Massachusetts law, which is very interesting. I'll just tell you, for those of you who are here in Nevada right now, I also looked up the Nevada Computer Crime Law before I came here to DEF CON, and it is extremely broad. It prohibits altering or tampering with or gaining access to documents that are outside of a computer network. So, if you see any papers lying around near a computer, I wouldn't actually touch those without consulting a lawyer first. So, this is what the Computer Fraud and Abuse Act says. And there's basically an essential concept in here. Two essential concepts that are the trigger for the illegal activity. One is the concept of access, and the other is the concept of exceeding authorization or doing so without authorization. So, these are supposed to be the things that distinguish between legal activity and illegal activity. So, what does it mean to access a computer? Well, the case law has basically interpreted that term to mean anything you do to a computer. Any kind of interaction with it whatsoever. Computer, you send a packet, you've accessed it. You look at something, you know, you access a web server, you look at whatever data it sends back to you, you've accessed it. So, they've interpreted access extremely broadly. There's never been a case that said this isn't a computer crime because there wasn't really access here. Okay, so now the second thing is about without authorization. Well, what is authorization or something without authorization? And it turns out that without authorization also has been interpreted extremely broadly. So, you know, do you need express or written permission? We use computers all the time without getting any kind of permission. And what the courts have kind of to do is have two sort of fuzzy tests about whether you do something without authorization or you exceed your authorization. And one of the fuzzy tests is like, you know you shouldn't have done that and it was something that was not appropriate and so you exceeded your authorization. So there's a number of cases that involve disgruntled ex-employees who go from one company to another company and take their data with them. Take contacts or other stuff like that with them. And in a number of those cases, not all, because there's started to be a pushback in the federal courts against this idea, but in a number of those cases the courts have said, you know, the minute you stopped working for your employer and started thinking I'm going over to the competition, you no longer, that's no longer, you're no longer acting in your employer's interest and so you no longer have authorization. So think about that. You're using a computer in a way that's not in the computer owner's best interest and somehow that means that you're denied authorization. Another kind of trend in the case law is this idea that you don't have authorization if you access in a way that is contrary to the terms of service. So the big case in this area was the prosecution last year of Lori Drew for violating the MySpace terms of service for providing false information about her identity. Now those of you who follow this case may know that this was in the context of the other name for the Lori Drew case that people refer to it as sort of a shorthand as the Megan Meyer case and this was a situation where this Missouri housewife made a false account on MySpace in the name and identity of like a teenage boy and people used that account to have interaction with this teenage girl who was her neighbor and the boy said hurtful and nasty things to the girl and the girl killed herself which was this big tragedy that then resulted in a United States attorney in Los Angeles prosecuting this Missouri housewife under the Computer Fraud and Abuse Act and basically what they said is you violated the MySpace terms of service so you didn't have authorization. Now just to remind you these are those same terms of service that as Fred told you earlier are considered browswrap that you don't click through on I agree and you can't even get contract damages for violating but now it's become arguably the basis for federal crime. The case in this case the woman was convicted and then the judge just recently overturned her conviction on the grounds that that interpretation of the Computer Fraud and Abuse Act that results in her being convicted was vague and we are waiting for a written opinion from the court on that topic to discuss the issue and then be something that we can point to to show that the idea that violating terms of service is somehow now a federal crime is ridiculous. Okay, the next part of 1030 that's really important is this 1030A5 which is the causes damage provision. I'm going to talk a lot about this at 1 o'clock but you can hear it's a little bit different from the access without authorization. This involves transmitting programs or information or code and as a result causing damage without authorization to a protected computer which basically just means any computer in interstate commerce. Okay, and this is the rest of A5 if you access without authorization and cause damage. And damage isn't defined as just any impairment to the integrity or availability of the data. Integrity is a term that's also been very loosely interpreted. So what's the situation here? Well, and why is it so special with online games? Well, with online games you have this situation where very often there's client software that resides on your own computer and then the client software interacts with software on the central server for the game. And your client communicates with the server and data and packets are transmitted between those two things. And you want to know how the game works. So you do some reverse engineering. You either listen to the traffic between or something like that or you manipulate the data that resides on your own computer. And one of the things that we're going to say to you a little later at the end here is, you know, if you do your testing on your own computer, you're always in a safer situation than if you do testing that involves some kind of interaction with other computers. And here's why. If I manipulate the client software on my own computer in order to test and see how the server reacts to that manipulation, I'm sending packets from the client to the server. Okay, so just to go back for a second. I'm transmitting codes or commands to another computer. And if those codes or commands cause damage as interpreted under the statute, then I am, I could be liable under the CFAA. And damage again means impairment to the integrity of the data. Or if the game soft, so that's one way the CFAA could apply to online gaming. Another way is if the terms of service or the EULA for the game says that you're not going to do this and you're not going to make any kind of contact with the game server using software or client software that's been manipulated in any way or that's been reverse engineered in any way, then you do so. Then under the Laurie Drew theory, you violated the terms of service so you are accessing the game server without authorization and again, that's a potential computer fraud and abuse act violation. So, um, this is the problem with doing reverse engineering with code that runs on, with code on your machine that interacts with code on another machine. Okay. How does this, has this been applied to online games? Well, there's one case that I found where the computer fraud and abuse act was a claim that was raised in a civil case. And this was Blizzard versus in-game dollar. There's no accident that I used World of Warcraft as an example. It's an extremely popular game. In fact, several of my friends have lost many hours of their lives to it. Maybe lost is the wrong word. But Blizzard is very, very, very litigious. So, um, they do, they bring a lot of lawsuits to protect their varied interests. And in this case, this was a company that was doing gold farming. And do people know what that is? Basically, they create, you know, it's a bot that creates value, valuable gold pieces within the game. And Blizzard sued them and one of the claims that they brought was the computer fraud and abuse act. And the other claim that they brought was the California computer crime statute, which is section 502C under the California law. And, um, so I looked at the claims for this and the computer fraud and abuse act claim was very much focused actually on the idea that this company advertised its gold farming services through spam to World of Warcraft users. And that there was tons of spam coming through on the network all the time where they were saying, like, use our service, use our service. And people were getting a lot of messages and it was degrading the network because the network was having to take up time to process and distribute all of these spam messages. Um, so again, when we're thinking about, and that this was the damage, right? So again, when thinking about damage, which is impairment to the integrity or availability of data, doesn't mean you're bringing down the system. Courts have said even where, you know, kind of system availability or the speed of traffic is degraded, then that can be damaged too. And this is what Blizzard said that in-game dollar was doing. Um, and so, okay, spam, it's not really that much about the interoperability or interaction of the first engineered software with the clients, or rather with the server software in the game. Um, but the California computer crime statute claim had no such distinction in it about, well, this is really just about the sending of the spam. And that statute there very much seemed like they were saying, you know, just by having this program running and interacting with the server software, that that violates the California computer crime statute, which is a little bit broader than Section 5.0, than Section 1030. Okay. Um, and there were, I looked around for some other examples of whether this claim's been broad in civil cases, and I haven't seen it, but given the breadth of state computer crime statutes and of the Computer Fraud and Abuse Act, I think it's worth noting that if you're going to be doing reverse engineering of online games or any other kind of code where you have client software that sits on your machine that interacts with any kind of server or any kind of software that's out there on the network, that you need to start thinking about the Computer Fraud and Abuse Act and the corollary state laws and whether those apply. Okay. So this is all sad and dangerous and everybody's thinking, God, the law sucks, what can we do? So here we have some strategies and lessons from these stories about what you can do. Do you want to talk about the ones that are relevant to your part, or should I just go? I'll go ahead. You can chime in. This is on. Okay. Um, so first, um, avoid clicking through EULAs if possible. And again, as Fred said, you know, it doesn't help to not read them, but if you can avoid clicking on them, that's a great way to go. One concrete piece of advice on that. It's not a guarantee that you'll be able to dodge a EULA, but I have often told people if you're intent on reverse engineering, particularly software that's included with hardware, eBay can be your friend. Right? If you were to buy an iPhone, for example, from eBay that already was activated and had the firmware installed, well, then you haven't clicked I agree to anything. And I think Apple will have a hard time arguing that you're somehow bound by any kind of contract because you didn't agree to a contract. Now the person who sold you the iPhone, maybe they breached their contract, but hey, that's between Apple and person number one. Not between Apple and you. So that's something to keep in mind. I'm not saying that'll work every time. There have been courts that have said, hey, wait a minute, you knew there was a contract, and so this dodge may or may not work, but all else being equal, eBay can be your friend. Yeah, and also though to really distinguish there between going and buying something legitimately on eBay and getting a copy of the software that you know is infringing. Because a lot of the exceptions, as Fred said before, that apply to protect reverse engineers don't apply if you infringe to get the copy of the software that you're reverse engineering in the first place. So legitimate, bonafide for value purchase, that's good, or could be good, can help getting a cracked version or something that you know is infringing. Always bad. Always bad. Causes more problems. Okay. Think about what you're doing before you copy, and copy no more than is necessary to do the job. So for individuals, this can be a little bit difficult, but what we tell people and what companies do when they do reverse engineering is they have one set of people who do the reverse engineering and figure out how the code works and derive the ideas and the functionality from the code. And then those people who've seen the original code take the stuff that they've derived, the information they've derived and they pass it off to a whole new different set of people that were not allowed to interact with the original piece of code at all. And it's those people that do the programming. This is the clean rooming. And this is a way to make sure that you don't inadvertently or accidentally take some of the code and put it in your final product. Right. This just happened for anybody who is following the news. There's been a bunch of reverse engineering efforts underway in connection with RTMPE which is a streaming video protocol that is part of some of the latest Flash implementations and someone thoughtfully out there reverse engineered RTMPE wrote a piece of code that interoperated with that protocol and someone else wrote a spec, basically looking at that source code, describing exactly how it works pulling out the ideas without pulling any of the code. And so of course now if anybody wanted to reimplement, they have a clean spec to do it from. They don't have to click I agree. They don't even have to necessarily have access to the original code at all in order to write a piece of code that can play back RTMPE. Which by the way, if you check there are some very interesting videos on YouTube that are actually RTMPE. Particularly videos that are provided by certain major Hollywood movie studios. So, interesting. Okay, if there's encryption or obfuscation or any of these kinds of technical protection measures that were in the list that Fred showed you earlier the slide says re-read 1201F but I would be a little bit more directive about this. If you have that kind of thing as part of something you're reverse engineering, I think you need to talk to a lawyer. The Digital Millennium Copyright Act you know, it's great for lawyers because people need to come and talk to us and that's wonderful because that's our job. But the Digital Millennium Copyright Act is very complicated and the exact exemptions to the act are very complicated. Doing something solely for a particular purpose what does that mean? What does it mean for a certain type of interoperability? It's subtle and difficult. So I think that if you're working in an area where you have TPMs, technological protection measures, and that's part of what you're going to be routing around those, then I think it's a great idea to go and talk to a lawyer first. I would say the more effort somebody has put into stopping you from doing it, the more you should talk to a lawyer before you go and jump those hurdles. They're there for a reason. Courts often are sympathetic and so you want to be careful. For any who followed this story, there's a guy who made a piece of code called Glider that allowed you to play World of Warcraft on autopilot while you were asleep. So you could level up. So you could level up without the trouble and bother. And sleep. And sleep. Same time. Great idea. Awesome. Sold tens of thousands of copies and got sued by Blizzard. World of Warcraft, for those who don't know, if you're running World of Warcraft on your computer, you're also running a set of code known as Warden, which is Blizzard's code that watches everything else that's executing on your machine while World of Warcraft is executing. And if they spot anything they don't like running in your environment at the same time, they cut off your access to the World of Warcraft servers. And one of the claims that was brought against the guy who designed Glider was the argument that by hiding from Warden, by having his Glider code basically elude Warden's surveillance of his own CPU, he was circumventing a technological protection measure, continuing to get access to the server that he wasn't supposed to otherwise access. And he lost that case. That'll be appealed. It's a case we're watching very closely. But it's an example of how if Warden, if there's a technical measure like Warden that really is designed to stop you from doing what you want to do, that's a good time to call a lawyer before you go and dodge that one. And while Fred's absolutely right that the more trouble and effort that the copyright owner has gone into to put some kind of regulation or TPM on that code, it's not true that it requires that that technological protection measure be super good or powerful or strong. It just has to, the statute says it effectively controls access to a copyrighted work. And despite what that might sound like to the average reader, effectively doesn't mean that it's effective. Effectively means that in effect, that's what I was trying to do, as opposed to like I actually effectively accomplished it. So the strength of the TPM is not necessarily a trigger for whether the DMCA applies or not, but in terms of, but he's absolutely right in terms of how difficult, how much the copyright owner tried is going to matter in terms of how likely it is that a court will look askance at your circumvention of that measure. Okay, offshoring and its limitations. Go ahead. I often talk to people who say, oh there's no problem, we'll just do all of this in another country that doesn't have a DMCA and doesn't care about copyright. That again is something you should do very carefully. Some may remember real networks is being sued in San Francisco right now for their real DVD product that allows you to copy your DVDs onto a hard drive for later playback. One of the things that was a big deal in that trial was real networks hired a reverse engineering firm in the Ukraine to do the work. And the motion picture studios just went hammer and tongs about the fact that we all know what goes on in the Ukraine is all a bunch of hacking that can't possibly be okay. So keep in mind the fact that if you're going to go offshore, that doesn't necessarily automatically solve your problem. That being said, I've always thought someone could make a great business holding a DEFCON-like conference on a cruise ship in international waters. That would be fun. Okay. Test on your own machines. I talked about this before, but with the Computer Fraud and Abuse Act, we're talking about unauthorized access to other people's computers that cause damage to their computers. In the old days, it was really, really hard to do any kind of testing on your own machines because computers were a lot more expensive. They're still expensive, but it's more possible now, I think, to do testing on machines that you control. And if you can do that, it obviates a lot of problems that maybe are unnecessary under state and federal laws. Of course, with Blizzard, you don't have access, or World of Warcraft or something like that, you don't have access to the code that runs on the server, so you're really just being able to study the code that's on your own machine, and then whatever you might decide to test or implement, you're taking the Computer Fraud and Abuse Act risk. So this is a... If at all possible, and I understand the limitations, but I think it's also possible in more circumstances than it used to be. Yeah, and I'll just say, concrete example, if you're going to try to reverse engineer the Flash protocol, better to find somebody who actually has a licensed Flash server, get their permission to use it as a test platform, rather than just hammering on YouTube servers and figuring, oh, what could possibly go wrong. Exactly. There are other people's servers turn out to be inordinately delicate, you never know. Okay, and the importance of atmospheric. So this is something that, again, I'm going to talk about at 1 o'clock a little bit more, but I can't... Unfortunately, this isn't really how it ought to be, but this is an extremely important thing for judges, because one of the things you have to understand about courts is that they don't really know all that much about technology, and they don't really know all that much about computer security. And so they're kind of going with their gut on a lot of things. This is true with everything, but I think it's true with crimes and search warrants and all of that stuff as well. But I think it's particularly true with something where they just don't have a basic familiarity with it. So it's sort of like the sensibility about it is something that really makes a difference. So in the Blizzard case, basically one of the things there, people were kind of disgusted by the spam, and by the fact that it was cheating. And the idea that this cheating, this gold farming, was not only messing with Blizzard, but was undermining the experience of all of Blizzard's customers, who were just these people who wanted to play their game and had paid their money, and that sort of thing. Similarly, with the WoW Glider case that Fred was talking about, this is another thing where it has kind of the stink of cheating about it. And if there's courts understand cheating, they may not understand reverse engineering or circumvention or all of that stuff, but they understand the idea that somebody's taking unfair advantage, and that is unpalatable. And we see always when we have our cases, you have kind of the dry law, and there's just what the law says. But then there's sort of the advocacy or the art that goes into it, and a lot of that has to do with giving people a feeling that you're the one who's supposed to win. And so we see that in our just to give you an example of our jailbreaking exemption that we have up before the copyright office now. Our view is that it's your phone, and you should be able to do what you want with your phone. That this is a consumer right, and that the phone is kind of locked down, and you want to free your phone so that you can run the code that you want to on it. And that's what we think. Well, when we see what Apple writes back to the copyright office about this idea, in their mind it's these rogue devices that are posing a danger to their network. There's no real reason to unlock them. It allows you to manipulate all sorts of variables on the phone, like the unique serial identifier, and the only people who would want to manipulate those identifiers are drug dealers. So, you know, here we've gone from, like, consumer advocates being like, you know, your phone is yours to do with what you want because you bought it to, we're helping drug dealers make their phones untraceable. The drug dealers who want to sign up for a two-year AT&T contract to get an iPhone. Those drug dealers. You know who you are. You should have talked to me before you did that. So, again, the importment of atmospherics and this idea that, so, okay. So that's something, you know, you've got to think about. And I think a lot of times, and this is something that we have a little bit of, you know, that courts have a little bit of trouble with at DEF CON, you know, you have legitimate research, legitimate reporting by legitimate people in a fun context where people call themselves hackers, and sometimes courts just think a little bit askance at that. I had a case a couple of years ago where one of the pieces of evidence, that the prosecutor used to show that my client had malicious intent when he did what he did was that when he was arrested he was wearing a DEF CON t-shirt. So, my plan was to show up in the Ninth Circuit, and the case was up in the Ninth Circuit, which is the Federal Appellate Court for Nevada and California and a whole bunch of states in this area, and my plan was to show up in the Ninth Circuit in my DEF CON t-shirt and be like, you know, do I have malicious intent? And my pink suit. And I was going to be like, do I have malicious intent? No, it's okay to wear the shirt, it's not really evidence, but then the government decided that I was right and they were wrong and they dismissed the charges. So, you know, another thing is you have to be cognizant of these things, even though sometimes it takes a little bit of the fun out of it. Anything else? That's it. Okay, so we are going to take questions in room 104, and so we'll go over there and we're going to be there for about half an hour, and if you guys have other questions, you're welcome to contact us. I'm Jennifer at EFF.org, Fred's Fred at EFF.org, and come and talk to us or email us and if we can help you, we will. Thank you.