Projects:Tom Wang
<----- Return to Class Projects
Video Game Copyright ProtectionNotes to Ted and Monica
Goals
Work AccomplishedImpact
Knowledge
Instruction
Technology Overview
Future
Resources
Milestones
WriteupAbstractIn 2006, the Entertainment Software Association (ESA) determined that the video game industry sold $7.4 billion dollars worth of software. Though the games industry has shown skyrocket growth, almost tripling sales since a decade prior, the ESA released a chilling statistic just one year prior at Electronic Entertainment Expo (E3) 2005: "The video game industry loses $3 billion dollars of revenue annually due to software piracy". Though this statement is only a estimate, it only factors in hard-copy pirated versions and does not take into account losses due to online piracy (which is difficult to track). When we consider that the games industry could be losing from 40% - 60% of its annual revenue due to piracy, we should begin to seriously take a look at the issue of video game copy protection. This report surveys current copy protections and circumvention methods in the three main types of video games: offline, online, and console (hardware). Current popular protection techniques are analyzed, such as SafeDisc, StarForce, and SecuROM in the offline type, ActiveMark and PunkBuster in the online type, and finally XBox 360 in the console type. I then proceed to demonstrate the flaws in current offline protection schemes by providing a series of tutorials that show how to compromise the protection on a recent game, Sims 2: Pets Expansion Pack (released October 18th, 2006). Next, I document how server emulation has managed to evade online protection on two popular titles, World of Warcraft and Ragnarok Online. Finally, I discuss the technique known as 'mod-chipping' to evade hardware copy protection on the XBox 360 console. This report determines that current copy protection schemes are insufficient to prevent widespread video game piracy and that a new class of techniques need to be developed in order to truly combat piracy. I explore technical ideas that bear potential such as software watermarking and tamperproof hardware (through the Trusted Computing Platform) and weigh the advantages and disadvantages of employing such methods. I also explore a series of social engineering ideas and brainstorm the variety of options that the game industry can take to address the piracy issue. Finally, I have compiled a useful list of tools and resources to aid any further study on the topic and recommend future exploration on up-and-coming protection schemes. I view this wiki as a work-in-progress and intend to continue research on the topic after the conclusion of this course. BackgroundIn this section, I explore the backgrounds of the major players with interests in video game copy protection and identify their key motivations. This is a recommended read to gain familiarity with what groups are involved and why copy protection is in its current state. PublishersGame publishers are represented by the Business Software Alliance and more specifically by the Entertainment Software Association. The goal of these two organizations is to generate awareness about software piracy and encourage its legitimate use. Both organizations support anti-piracy movements and actively engage the government to prosecute known pirates. Game publishers are greatly concerned with the issue of copy protection since their role is to finance game developers and ultimately manufacture, market, and advertise the video game product. Since the publishers often supply most of the money in the development cycle, they usually set requirements for the game developers. These requirements often include the type of copy protection to be used in conjunction with the game. Publishers have often been criticized for applying aggressive and invasive copy protection solutions on game CDs, creating an unpleasant environment for legitimate gamers. Since video game budgets have now become quite significant, easily in the multimillion dollar range, publishers desire a good return on their financial investments and use these invasive techniques to prevent the game from being pirated at an early date when profits are highest. Larger publishers contain in-house studios which develop games specifically for the publisher (see Developers section below). In summary, an interpretation of the publishers' stance on piracy can be: "In order to be profitable, we must delay piracy of the game by applying aggressive copy protection schemes which have the side-effect of possibly creating poor user experiences for legitimate customers."
DevelopersVideo game developers are companies or individuals that create video games for any variety of platforms, including PC, console, and mobile and are represented by the International Game Developers Association. Developers can be separated into three categories: Third-party developers are larger companies that are contracted by video game publishers to work on a title, in-house studios are development companies owned directly by the publisher, and independent developers are smaller companies that work independently of publishers (often using the Internet as an alternative medium for distribution). Developers are deeply connected to the issue of copy protection since these companies often live or die by the financial success of its game titles, due to the ever-increasing cost of game development. Surprisingly, copy protection has rarely been viewed as a high priority for game developers since tight development schedules and intense market competition force the focus to be on the quality of game rather than game security. The general accepted theory is that time spent on game security is wasted since the protection is bound to be broken eventually and it is instead more valuable to focus on making a good game that hopefully more people will buy legitimately. Since developers often do not spend much time on copy protection, publishers often add on a protection scheme in the final production process. In some cases, unforeseen compatibility problems have resulted, leading to poor user experiences outside of the developers' control (as in the case with Operation Flashpoint). Also, developers must deal with leaks in the development or manufacturing process which often enable game crackers to distribute games on or even before the official release date. In one highly publicized case involving a flaw in Microsoft Outlook, Valve's highly anticipated Half-Life 2 title had its source code hacked and released as a playable build on the Internet. Clearly, piracy events such as these can wreak havoc on team morale. In summary, an interpretation of the developers' stance on game piracy is: "We don't really have time to secure our game because we have to worry about our schedule and the competition - just please don't pirate us!"
PlayersGame players are represented by the Entertainment Consumers Association and are present in many countries of the world and cover a large range of the population demographic. The Entertainment Software Association presents some interesting facts about the American game player:
Game players are the consumers making the choice between using illegal, pirated copies of video games or legitimate copies. For gamers in certain countries, such as China, the cost of games are so prohibitively high compared to the average worker's salary that there is no choice other than to procure a pirated version of the game. Even within America, however, the average PC gamer often has easy access to pirated versions of games on or immediately after the scheduled release date. The gamer can quickly download the game with little fear of legal repercussion. In many cases, the game experience has been improved for the gamer since cracked versions often include features such as a No-CD patch and skipped advertisement and logo screens. Console gamers also have an avenue to piracy through 'mod-chipping' their game consoles, though it is a more technically involved process. Some publishers use copy protections that are so invasive and aggressive that many consumers cannot install even with a legitimately purchased game. In some cases, the copy protection even proves to be damaging to the user's computer - causing system instability, crashes, and damage to the CD/DVD drive. Ironically, these copy protections instead force embittered consumers to turn to pirated versions in order to play the game. P Porting companies such as Aspyr suffer when releasing games for Macs since they charge full price for an old game and do not have the technical capability to provide copy protection. These games are often easily pirated and distributed online for consumers who don't see why they should pay so much for an older game. In summary, an interpretation of the players' stance on game piracy is: "Sometimes I can't afford it, sometimes I can't even install it, sometimes the pirated version is just better, the only reason I pay is for convenience or to support the game developers." CrackersLittle information is available about game crackers and there is no formal organization that represents them, though often teams of crackers have grouped together to release pirated goods under a unified name. Motivations for game crackers is often thought to be respect within the cracking community for being the first to perform a difficult crack as well as personal enjoyment through circumventing game security. Crackers may also have some degree of financial motivation as well since sites where cracks are posted often feature a plethora of paid advertisements. Also, sometimes cracks embed dangerous viruses or trojans which can be used maliciously by the crackers to control other computers. Game crackers are not a well-unified community and in fact are highly secretive of their own source codes, although they collaborate quite well in developing a common set of useful tools for hacking. Game crackers can often work in collusion through the Internet from various countries outside of the United States. Tutorials and instructional help from game crackers is sparse and often hidden well within the bowels of the Internet. In summary, an interpretation of the crackers' stance on game piracy is: "It's fun for us and you can't stop us from giving away your software!" Security CompaniesSecurity companies are not grouped under any formal organization and come into play in the game piracy issue as the enforcers. Publishers often seek out these security companies to license their technology for particular games that the publisher wants to manufacture. The publisher has no choice other than to turn to third-party security companies since game developers do not have the time to focus on security. The motivations of security companies are simple - they provide technology that secures the content of the game publishers so that they can win contracts and licenses in the face of intense competition in the game security market. They must take part in the arms race against crackers by further obfuscating code and making it more difficult for the crackers to penetrate the protection of the game. However, some of these protection tactics have often resulted in more difficulty and inconvenience for the end-user and have led these particular copy protection schemes to fall out of favor with the publishers. In summary, an interpretation of the security companies' stance on game piracy is: "We'll protect your product however you want it, just give us the contract!" Protection SchemesGame security companies provide protection for video games that can be classified under three major categories based on the type of the game: offline, online, and console (hardware). In this section, I detail the major protection techniques in each of the three categories and include a brief history of evolution and technical advancement. OfflineOffline copy protection is used by the publisher to protect the actual CD or DVD disc that the game is shipped on. Though protection techniques vary from company to company, the main goals are similar:
Vendors have taken different approaches to tackling the problem and some interesting solutions have involved:
For details about specific offline copy protection techniques and an evolution of the technology, please see: OnlineOnline game copy protection ensures that games can be distributed through the online venue and also ensures that games are checked for authenticity when the player logs on to an online server. Many vendors have created varied solutions for the online distribution method and some characteristic features are as follows:
One good example is Macrovision's ActiveMark: On the other end of the spectrum, many games seek to validate that players have indeed purchased a legitimate copy of the software by using an online authentication method. This method checks the player's key against a stronger encryption algorithm or a list of valid serial keys hosted at the company server - if the check succeeds, the player is allowed access to a greater list of features such as online game play or web site registration. Though many online games have their own methods of CD-key verification, one example of a widely-used software that incorporates this technique is Punkbuster: In-Game ProtectionThough not the primary focus of the topic of copy protection, protecting game security within game worlds has become a popular discussion topic lately. With the advent of virtual economies and virtual-to-real currency exchange, it has become more important than ever to make sure that games are secure from hackers that seek to benefit from exploiting game rules. In-game protection usually deals with online community games where it is important to the entire community that each of its members is playing by the game rules. Many online game companies employ in-game security software to ensure that gamers are not running malicious processes or applications and to prevent gamers from easily accessing other programs while within the game world. In addition, this software cleans up the memory space of the protected game application to prevent game hackers from reverse engineering which memory locations refer to which game abilities. For example, a hacker may find that a certain memory address controls the health of his or her character - by overwriting this address with a larger number, the hacker has effectively increased his or her potential in the game unfairly. HardwareGaming consoles (Playstation, XBox, Nintendo) have tried various strategies to prevent pirated games from being run on their systems. These strategies usually rely on difficulty of use to make it not worth the gamer's time to invest in circumvention techniques. Since circumventing a hardware system security often involves soldering or attaching additional hardware components, there is some amount of investment required from the gamer in order to successfully defeat copy protection mechanisms. One critical strategy that many console vendors adopted was to make the game media difficult to reproduce. Earlier game consoles used game cartridges which embedded the actual game data into a ROM (Read-Only Memory) and required plugging in to the game system, similar to inserting a stick of RAM in modern computers. However, this technique was both expensive and inefficient and was soon replaced by burned CDs, DVDs, and soon Blu-ray Discs. In order to prevent gamers from burning their own CD/DVDs, these games often used similar methods of 'defective' CD detection as the SafeDisc protection scheme mentioned above. One key difference is that the SafeDisc protection can be fooled into authenticating a backup CD if virtual emulators are in play - this advantage is lost on the console since the gamer cannot run arbitrary programs. After the gamer has managed to obtain a copy of the game and burn it successfully onto the proper media, the only way to skip the hardware detection present within the game console itself is to circumvent it. Common techniques involve either modifying the operating system that the console is running on (both difficult and dangerous) or soldering a hardware mod-chip onto the console to disable the security protections (similarly dangerous). In order to protect against these strategies, consoles have now adopted an online approach to validating the hardware of gamers. Even though gamers may be able to modify their own system to disable security routines and play backup copies of games, these modified systems can be easily detected when the gamer goes online and the online console network checks the gamer's hardware to validate that the hardware security is enabled. Since the gamer is using a modchip that disables the security, this check will fail and the gamer will be denied access. This denial of access includes critical updates necessary for online play as well as free upgraded game content - with these incentives in place, it becomes less advantageous for gamers to utilize hardware modchips. Protection CracksTo illustrate the problem with current copy protection schemes, I provide a set of user-friendly tutorials to guide interested students in how to examine weaknesses in copy protection. OfflineOffline copy protection circumvention involves being able to create a duplicate image of the software as well as creating a serial key number to validate the software for installation. Since duplicate image generation is legal for making backup copies of owned software, I have provided tutorials below that demonstrate how to create full and mini-images. Key generation, however, is strictly ILLEGAL and as such I only illustrate to the reader a proof-of-concept that keygens exist and generally demonstrate how keygens are constructed.
OnlineOnline games are often protected from copy protection circumvention due to a large amount of the source code being controlled server-side. However, online game copy protection is not wholly without flaw -- to prevent slowdown, most of the code for games is often run client-side. This means that it is theoretically possible to create an emulated server for any online game as long as this server provides the correct message responses to the gamer's client. Of course, these messages are not made transparent in the source code included with the user copy of the game, so they must be reverse engineered. Two popular Massively-Multiplayer Online Role-Playing Games have been compromised in such a manner by emulated virtual servers. The companies that sponsor these games use the same offline copy protection as offline games. When the server component of the game can be emulated, these online games' intellectual property can be stolen as well. HardwareHardware games benefit from hardware security validation mechanisms that ensure backup game media will not run on the console. However, these security validation mechanisms can be disabled by soldering a 'mod-chip' directly onto the system board of the console, thereby enabling the same security bypass mechanisms used for offline games. Results
ResourcesOne of the main features of this writeup is an extensive list of useful tools and technologies that individuals interested in game security can use to further their own knowledge of the topic. Though this section is still due to expand, I believe the list below is a good subset of the popular websites and software that is available for both protection and cracking of game software. GlossaryStill in development, this is a list of definitions for confusing terms related to game security. Tools
ResourcesThese are websites that feature tutorials and important forum questions with detailed insights on current copy protections, circumvention techniques, and how to investigate further.
Hacker NewsOnline blog about all the latest happenings in game security, though it focuses more on in-game hacking. Conclusion / Future Work
Last modified April 15, 2008 6:22 pm / Skin by Kevin Hughes
![]() |