Extended Copy Protection
Extended Copy Protection (XCP) is a software package developed by the British company First 4 Internet (which on 20 November 2006, changed its name to Fortium Technologies Ltd) and sold as a copy protection or digital rights management (DRM) scheme for Compact Discs. It was used on some CDs distributed by Sony BMG and sparked the 2005 Sony BMG CD copy protection scandal; in that context it is also known as the Sony rootkit.
Security researchers, beginning with Mark Russinovich in October 2005, have described the program as functionally identical to a rootkit: a computer program used by computer intruders to conceal unauthorised activities on a computer system. Russinovich broke the story on his Sysinternals blog, where it gained attention from the media and other researchers.[1] This ultimately led to a civil lawsuit and criminal investigations, which forced Sony to discontinue use of the system.
While Sony eventually recalled the CDs that contained the XCP system, the web-based uninstaller was investigated by noted security researchers Ed Felten and Alex Halderman, who stated that the ActiveX component used for removing the software exposed users to far more significant security risks, including arbitrary code execution from websites on the internet.[2]
Description
[edit]The version of this software used in Sony CDs is the one marketed as “XCP-Aurora”. The first time a user attempts to play such a CD on a Windows system, the user is presented with an end-user license agreement (EULA). If they accept it, the software is installed, otherwise the disc is ejected.[3] The EULA did not mention that it installed hidden software. The software will then remain resident in the user's system, intercepting all accesses of the CD drive to prevent any media player or ripper software other than the one included with XCP-Aurora from accessing the music tracks of the Sony CD. No obvious way to uninstall the program is provided. Attempting to remove the software by deleting the associated files manually will render the CD drive inoperable due to registry settings that the program has altered. However, it was soon discovered that the software could be easily defeated by merely using a permanent marker to draw a dark border along the edge of the disk.[dubious – discuss][4]
Security research
[edit]Following Mark Russinovich's publication of his findings, other security researchers were quick to publish their own analyses. Many of these findings were highly critical of Sony and First 4 Internet. Specifically, the software was found to conceal its activity in the manner of a rootkit and expose users to follow-on harm from viruses and trojans.
XCP's cloaking technique, which makes all processes with names starting with $sys$
invisible, can be used by other malware "piggybacking" on it to ensure that it, too, is hidden from the user's view. The first malicious trojan to hide via XCP was discovered on 10 November 2005 according to a report by the BitDefender antivirus company.[5]
Follow-up research by Felten and Halderman showed that the Web-based uninstaller Sony later offered for the software contained its own critical security problems.[6] The software installs an ActiveX component which allows any Web site to run software on the user's computer without restriction. This component is used by First 4 Internet's Web site to download and run the uninstaller, but it remains active afterward allowing any Web site the user visits to take over the computer.
Since it is specific to Microsoft Windows, XCP has no effect on all other operating systems such as Linux, BSD, OS/2, Solaris, or Mac OS X, meaning that users of those systems do not suffer the potential harm of this software, and they also are not impeded from ripping the normal music tracks on the CD. (Some discs involved in the Sony scandal contained a competing technology, MediaMax from SunnComm, which attempts to install a kernel extension on Mac OS X. However, because of the permissions of Mac OS X, there were no widespread infections among Mac users.)
Although Russinovich was the first to publish about the rootkit, other researchers had discovered it around the same time, but were either still analyzing it or chose not to disclose anything sooner due to the chilling effect of the anti-circumvention clause of the Digital Millennium Copyright Act.[7]
Antivirus industry response
[edit]Shortly after independent researchers broke the story, security software vendors followed up, releasing detailed descriptions of the components of XCP, as well as software to remove the $sys$*
cloaking component of it. On the other hand, no software has yet been released to remove the CD-ROM filter driver component. Computer Associates, makers of the PestPatrol anti-spyware software, characterize the XCP software as both a trojan horse and a rootkit:[8]
XCP.Sony.Rootkit installs a DRM executable as a Windows service, but misleadingly names this service "Plug and Play Device Manager", employing a technique commonly used by malware authors to fool everyday users into believing this is a part of Windows. Approximately every 1.5 seconds, this service queries the primary executables associated with all processes running on the machine, resulting in nearly continuous read attempts on the hard drive. This has been shown to shorten the drive's lifespan.
Furthermore, XCP.Sony.Rootkit installs a device driver, specifically a CD-ROM filter driver, which intercepts calls to the CD-ROM drive. If any process other than the included Music Player (player.exe) attempts to read the audio section of the CD, the filter driver inserts seemingly random noise into the returned data, thus making the music unlistenable.
XCP.Sony.Rootkit loads a system filter driver which intercepts all calls for process, directory or registry listings, even those unrelated to the Sony BMG application. This rootkit driver modifies what information is visible to the operating system in order to cloak the Sony BMG software. This is commonly referred to as rootkit technology. Furthermore, the rootkit does not only affect XCP.Sony.Rootkit's files. This rootkit hides every file, process, or registry key beginning with
$sys$
. This represents a vulnerability, which has already been exploited to hide World of Warcraft RING0 hacks as of the time of this writing, and could potentially hide an attacker's files and processes once access to an infected system had been gained.
Computer Associates announced, in November 2005, that its anti-spyware product, PestPatrol, would be able to remove Sony's software.[8][9] One month later, Microsoft released an update for its Malicious Software Removal Tool which could clean the F4IRootkit malware.[10][11]
The somewhat slow and incomplete response of some antivirus companies has, however, been questioned by Bruce Schneier, information security expert and author of security articles and texts, including Secrets and Lies. In an article for Wired News, Mr. Schneier asks, "What happens when the creators of malware collude with the very companies we hire to protect us from that malware?" His answer is that "users lose... A dangerous and damaging rootkit gets introduced into the wild, and half a million computers get infected before anyone does anything."[12]
Impact of XCP
[edit]Beginning as early as August 2005, Windows users reported crashes related to a program called aries.sys, while inexplicably being unable to find the file on their computers.[13] This file is now known to be part of XCP. Call for Help host Leo Laporte said that he had experienced a rise in reports of "missing" CD-ROM drives, a symptom of unsuccessful attempts to remove XCP.[14]
Security researcher Dan Kaminsky used DNS cache analysis to determine that 568,000 networks worldwide may contain at least one XCP-infected computer. Kaminsky's technique uses the fact that DNS nameservers cache recently fetched results, and that XCP phones home to a specific hostname. By finding DNS servers that carry that hostname in cache, Kaminsky was able to approximate the number of networks affected.[15] After the release of the data, Kaminsky learned that an as-yet undetermined number of "Enhanced CDs" without the rootkit also phone home to the same address that rootkit-affected discs use, so infection rates are still under active investigation.
XCP flaw
[edit]According to analyst firm Gartner, XCP suffers from the same flaw in implementing DRM as any DRM technology (current or future) that tries to apply DRM to audio CDs designed to be played on stand-alone CD players. According to Gartner, because the installation of XCP or any DRM software relies on the CD being multi-session, the application of ink (via an ordinary felt-tip marker) to the outer edge of the disk renders the data track of the CD unreadable, thereby causing the PC to treat the disc as an ordinary single-session music CD.[4]
Slysoft's AnyDVD program, which removes copy protection from DVDs and Blu-ray discs, also defeats DRM on audio CDs. When active and an audio CD is inserted, AnyDVD blocks the PC from accessing any session but the audio, rendering data sessions unreadable and preventing the installation of malware such as XCP.[16]
Legal concerns
[edit]This section is written like a personal reflection, personal essay, or argumentative essay that states a Wikipedia editor's personal feelings or presents an original argument about a topic. (March 2017) |
There is much speculation to what extent the actions taken by this software are a violation of various laws against unauthorized tampering with computers, or laws regarding invasion of privacy by "spyware", and how they subject Sony and First 4 Internet to legal liability. The States of California, New York, and Texas, as well as Italy, have already taken legal action against both companies and more class action lawsuits are likely. However, the mere act of attempting to view or remove this software in order to determine or prevent its alteration of Windows would theoretically constitute a civil or criminal offense under certain anti-circumvention legislation such as the controversial Digital Millennium Copyright Act in the United States.
The Electronic Frontier Foundation's Fred von Lohmann also heavily criticised the XCP EULA, calling it the "legalese rootkit."[17]
One of the primary reasons for the XCP experiment lies in the issue of adding on DRM to a legacy standard. These problems are explored by Professor Randal Picker, Professor of Law for the University of Chicago Law School, in his article, "Mistrust-Based Digital Rights Management", published in Volume 5 of the Journal on Telecommunications and High Technology Law. CDs by themselves are incapable of updating legacy hardware such as stand-alone CD players, and lack the ability to change or upgrade the firmware in order to read DRM. Thus the DRM must be added on so as not to interfere with the function of the legacy players yet still work when the same CD is placed in a computer. Picker analyzes the four main issues with add-on DRM.
The first problem, as demonstrated in the XCP example, is that capable consumers can simply bypass the DRM. Turning off autorun prevented the rootkit installation and thus invalidated the DRM scheme.
The second problem is consumer reaction. Adding DRM to a legacy product like music CDs, which traditionally had no rights management scheme, will infuriate consumers. Picker points out that in the wake of the negative publicity surrounding the Sony add-on DRM, Amazon.com began alerting customers as to which Sony CDs contained XCP. Customers could avoid the DRM entirely, negating the effectiveness.
The third problem lies in the legal response. The EFF, as well as state attorneys general, investigated and brought suit against Sony for the XCP program. Picker does not analyze the legal merits of such suits, but the cost of litigation potentially outweighs the benefit of attempting to add-on DRM.
The fourth and final problem lies in the End User License Agreement attempted to be enforced by the add-on DRM. The ability to actually enforce these agreements on add-on DRM is limited by the mere fact that without active registration and tracking of the CDs, the company will have no one to enforce against. Therefore, the expected benefit of enforcing the EULA against violators is actually non-existent; the costs, however, of implementing the add-on DRM scheme, in the form of state and federal investigations, private lawsuits, negative publicity, consumer backlash and the technical limitations, far outweighs the benefits.
Copyright violations
[edit]Researcher Sebastian Porst,[18] Matti Nikki[19] and a number of software experts have published evidence that the XCP software infringes on the copyright of the LAME mp3 encoder,[20] mpglib,[21] FAAC[22] id3lib[23] (ID3 tag reading and writing), mpg123 and the VLC media player.[24]
Princeton researcher Alex Halderman discovered that on nearly every XCP CD, code which uses a modified version from Jon Johansen's DRMS software which allows to open Apple Computer's FairPlay DRM is included.[25] He found the code to be inactive, but fully functional as he could use it to insert songs into Fairplay. DRMS, mpg123 and VLC are licensed under the GNU General Public License (GPL). The other software found, like LAME, is licensed under the terms of the GNU Lesser General Public License (LGPL), also as free software. If the claims are correct, then Sony/BMG was distributing copyrighted material illegally.
Jon Johansen wrote in his blog[26] that after talking with a lawyer, he thinks that he cannot sue; however, there are opinions that the advice he was given is wrong.[27] The LAME developers have put an open letter[28] to Sony/BMG online.
Copyright violations which Sony could be accused[29] of include:
- No "prominent notices" for including of GPL and LGPL software.
- Statically linking GPL code into the program but not providing the source code of the whole program under GPL.
- Statically linking LGPL code but not providing the source of the LGPL parts and the binary code of the non-LGPL parts to allow relinking with updated LGPL code.
- Placing restrictions on the use of the code outside of what GPL/LGPL allow, e.g. not "licensing at no charge to all third parties" under the LGPL and GPL.
Sony already provides[30] a version of id3lib's source code on its web site, but unrelated to XCP.
Sony's response
[edit]On a National Public Radio program, Thomas Hesse, President of Sony BMG's global digital business division asked, "Most people, I think, don't even know what a rootkit is, so why should they care about it?"[31] He explained that "The software is designed to protect our CDs from unauthorized copying and ripping."
Sony also contends that the "component is not malicious and does not compromise security," but "to alleviate any concerns that users may have about the program posing potential security vulnerabilities, this update has been released to enable users to remove the rootkit component from their computers."[citation needed]
An analysis of this uninstaller has been published by Mark Russinovich - who initially uncovered XCP - titled "More on Sony: Dangerous Decloaking Patch, EULAs and Phoning Home".[32] Obtaining the original uninstaller requires one to use a specific browser (Microsoft Internet Explorer) and to fill out an online form with their email address, receive an email, install the patch, fill out a second online form, and then they will receive a link to the uninstaller. The link is personalized, and will not work for multiple uninstalls. Furthermore, Sony's Privacy Policy[33] states that this address can be used for promotions, or given to affiliates or "reputable third parties who may contact you directly".
It has also been reported that the uninstaller might have security problems which would allow remote code execution.[19] Sony's uninstall page would attempt to install an ActiveX control when it is displayed in Internet Explorer. This ActiveX control was marked "Safe for scripting," which means that any web page can utilize the control and its methods. Some of the methods provided by this control were dangerous, as they may have allowed an attacker to upload and execute arbitrary code.
On 11 November 2005, Sony announced[34] they would suspend manufacturing CDs using the XCP system:
"As a precautionary measure, Sony BMG is temporarily suspending the manufacture of CDs containing XCP technology," it said in a statement.
"We also intend to re-examine all aspects of our content protection initiative to be sure that it continues to meet our goals of security and ease of consumer use," Sony BMG added.
This followed comments by Stewart Baker, the Department of Homeland Security's assistant secretary for policy, in which he took DRM manufacturers to task, as reported in The Washington Post:
In a remark clearly aimed directly at Sony and other labels, Stewart continued: "It's very important to remember that it's your intellectual property - it's not your computer. And in the pursuit of protection of intellectual property, it's important not to defeat or undermine the security measures that people need to adopt in these days."
According to The New York Times,[35] Sony BMG said "about 4.7 million CDs containing the software had been shipped, and about 2.1 million had been sold." 52 albums were distributed by Sony-BMG that contained XCP.[36]
On 14 November 2005, Sony announced it was recalling the affected CDs and plans to offer exchanges to consumers who purchased the discs. [37]
Albums with XCP
[edit]The Electronic Frontier Foundation published its original list of 19 titles on 9 November 2005.[38] On 15 November 2005 The Register published an article[39] saying there may be as many as 47 titles. Sony BMG says there are 52 XCP CDs.[36]
Amazon says it's treating the XCP CDs as defective merchandise and will offer a refund with shipping, as long as the customer specifies the request.[40] The various adverse side-effects of XCP can rationally be viewed as defects, as they are not part of the (apparent) intended function of XCP; this view skirts the more substantive issue of whether Sony transgressed against computer owners by intentionally modifying their computer systems without consent.
Notes
[edit]- ^ Russinovich, Mark (31 October 2005). "Sony, Rootkits and Digital Rights Management Gone Too Far".
- ^ Felton, Ed (15 November 2005). "Sony's Web-Based Uninstaller Opens a Big Security Hole; Sony to Recall ..."
- ^ "Sony, Rootkits and Digital Rights Management Gone Too Far - Mark's Blog - Site Home - TechNet Blogs". Blogs.Technet.com. Retrieved 5 June 2012.
- ^ a b "The 50 Worst Inventions". Time. 27 May 2010. Archived from the original on 30 May 2010.
- ^ "First Trojan Using Sony DRM Detected". 10 November 2005. Archived from the original on 17 July 2012.
- ^ Halderman, J. Alex (15 November 2005). "Update: Sony Uninstaller Hole Stays Open".
- ^ Felten, Edward (29 March 2013). "The Chilling Effects of the DMCA". Slate. Retrieved 15 April 2013.
- ^ a b "Spyware Information: XCP.Sony.Rootkit". 5 October 2005. Archived from the original on 18 April 2006.
- ^ "CA targets Sony DRM as spyware - ZDNet". ZDNet. Archived from the original on 4 September 2009. Retrieved 5 June 2012.
- ^ "Malicious Software Encyclopedia: WinNT/F4IRootkit". Microsoft. Archived from the original on 4 March 2007. Retrieved 16 December 2006.
- ^ "December Update for Windows Malicious Software Removal Tool Released". 15 December 2005. Archived from the original on 28 September 2007.
- ^ Schneier, Bruce (17 November 2005). "Security Matters: Real Story of the Rogue Rootkit". Wired. Archived from the original on 27 January 2007. Retrieved 21 July 2013.
- ^ "SaintsReport Community Forums". Saintsreport.com. Archived from the original on 13 January 2016. Retrieved 5 June 2012.
- ^ "GRC - Security Now! Transcript of Episode #12". Grc.com. 2 November 2005. Retrieved 5 June 2012.
- ^ Dan Kaminsky's Blog
- ^ AnyDVD Help file, v.6.3.1.5
- ^ von Lohmann, Fred (9 November 2005). "Now the Legalese Rootkit: Sony-BMG's EULA".
- ^ "Proof that F4I violates the GPL - Programming stuff". www.the-interweb.com. Archived from the original on 17 October 2013. Retrieved 19 March 2006.
- ^ a b "Sony's XCP DRM". www.hack.fi. Archived from the original on 24 November 2005.
- ^ "Is Sony in violation of the LGPL? - Part II - Programming stuff". www.the-interweb.com. Archived from the original on 24 January 2009. Retrieved 23 June 2008.
- ^ "Breakthrough after breakthrough in the F4I case - Programming stuff". www.the-interweb.com.
- ^ "Two new F4I license infringements found - Programming stuff". www.the-interweb.com. Archived from the original on 17 October 2013. Retrieved 19 March 2006.
- ^ http://the-interweb.com/bdump/misc/id3lib.png [bare URL image file]
- ^ "Sam Hocevar's .plan". sam.zoy.org. Archived from the original on 15 June 2013. Retrieved 19 March 2006.
- ^ "Hidden Feature in Sony DRM Uses Open Source Code to Add Apple DRM". Freedom-to-tinker.com. 4 December 2005. Retrieved 5 June 2012.
- ^ "Jon Lech Johansen's blog". Nanocrew.net. 31 January 2006. Retrieved 5 June 2012.
- ^ "The Difficulty Of Suing Sony BMG For Violating GPL With Their Rootkit". Techdirt. 1 February 2006. Retrieved 5 June 2012.
- ^ "LAME Ain't an MP3 Encoder". Lame.sourceforge.net. Retrieved 5 June 2012.
- ^ "anselsbrain.com". anselsbrain.com. Archived from the original on 4 February 2012. Retrieved 5 June 2012.
- ^ tech.html (archived)
- ^ "Sony Music CDs Under Fire from Privacy Advocates". NPR.org. NPR. 4 November 2005. Retrieved 5 June 2012.
- ^ "More on Sony: Dangerous Decloaking Patch, EULAs and Phoning Home". sysinternals.com. 4 November 2005. Archived from the original on 7 November 2005.
- ^ "SONY BMG Privacy Policy". Archived from the original on 26 November 2005. Retrieved 25 November 2005.
- ^ "Breaking News, Business News, Financial and Investing News & More - Reuters.co.uk". arquivo.pt. Archived from the original on 23 December 2009. Retrieved 4 February 2019.
- ^ Zeller Jr., Tom (14 November 2005). "The Ghost in the CD". The New York Times. Retrieved 2 May 2010.
- ^ a b "Sony BMG:CDs Containing XCP Content Protection Technology". 12 October 2007. Archived from the original on 12 October 2007. Retrieved 5 June 2012.
- ^ Graham, Jefferson (14 November 2005). "Sony to pull controversial CDs, offer swap". USA Today. Retrieved 2 May 2010.
- ^ von Lohmann, Fred (8 November 2005). "Are You Infected by Sony-BMG's Rootkit?". EFF.org. Electronic Frontier Foundation. Retrieved 5 June 2012.
- ^ Cullen, Drew (15 November 2005). "Sony rootkit DRM: how many infected titles?". The Register.
- ^ "Copy-protected-CD flap raises questions". USA Today. 16 November 2005. Retrieved 2 May 2010.
References
[edit]- Krebs, Brian. "Calif. Lawsuit Targets Sony". The Washington Post; 8 November 2005.