Inside Snow Leopard's hidden malware protection
File Quarantine is Mac users' first line of defense against malicious software
Macworld - While malware has long been an almost daily annoyance for Windows PCs, Mac users have become accustomed to not worrying about malicious software. Threats arise from time to time -- in January of this year, for example, a Trojan horse made the rounds in pirated copies of Apple's iWork software -- but most Mac users these days are probably running without virus protection software.
Apple's encouraged that, too, by frequently touting the Mac's resistance to malware in its advertising materials, especially when compared to Windows. But with the release of Mac OS X Snow Leopard, Apple's finally decided to subtly step up its game when it comes to malware, much as it has done in the past with phishing in Safari. For the first time, the Mac OS contains a built-in system that detects malicious software and attempts to protect users from inadvertently damaging their computers.
How does it work?
Since Mac OS X 10.4, Apple has built a download validation system called File Quarantine into its operating system. Beginning in Leopard, this manifested most frequently as a dialog box that popped up when a user first opened a file that was downloaded from the Internet via Mail, Safari, or iChat. The warning displayed what application downloaded the file, from what site, and at what time. It gave the user the option to continue opening the file, cancel, or view the Web page from which it had been downloaded.
In Snow Leopard, Apple has enhanced File Quarantine to also check files against known malware, pulling from a list of malware definitions at System/
Library/Core Services/CoreTypes.bundle/
Contents/Resources/XProtect.plist. At the time of this writing, the file contains only two definitions: the OSX.RSPlug.A Trojan Horse first discovered in 2007 and the OSX.iService malware embedded in the pirated iWork installer mentioned above. However, Apple told Macworld that the list of definitions can be updated via Software Update.
If you try to open an infected file, Snow Leopard will present you with a stronger warning, saying that the file may damage your computer and suggesting you move it to the trash. As with the download validation dialog, you'll have the option to continue or cancel, but if the file is on an disk image, there's a button to eject the image. If, on the other hand, the file is already on your hard drive, that button instead invites you to move it to the trash.
If you've enabled Safari's "Open 'safe' files after downloading" preference, you will automatically be prompted with the dialog when the download completes and the file opens. Unlike the more general warning, the malware warning doesn't go away after the first time you open the file -- it will continue to appear any time you open the file.
File Quarantine seems to serve mainly as a gatekeeper for files downloaded from untrusted sources: Think of it as a layer between the user and the untamed wilds of the Internet. Snow Leopard defines an expanded list of applications for which it "quarantines" downloaded files (marking that they've been downloaded from the Internet).
So if you download a file via your Web browser -- including Safari, Internet Explorer, Firefox, OmniWeb, Opera, Mozilla, Camino, and more -- or an e-mail client -- Mail, Entourage, or Thunderbird -- or receive a file via iChat, then it will be checked for malware when you open it. However, if you grab an infected file from another source, such as an FTP site, a file-sharing service like Bit Torrent, or through a program that's not covered by Apple's system, you're out of luck: The system won't detect it.
Most importantly, Apple's system appears to contain no way to clean malicious software off your Mac after it's been infected. For that, it seems you'll still need to turn to third-party anti-virus products.
- Image gallery: Snow Leopard vs. Windows 7
- OS deathmatch: Snow Leopard vs. Windows 7
- What's the real deal with 64-bit computing in Snow Leopard?
- Apple launches Snow Leopard, posts support docs
- Snow Leopard: Which apps, utilities have been left behind?
- Upgrading to Apple's Snow Leopard OS: What you need to know
- Review: Apple's Snow Leopard opens door to a fab future
- Inside Snow Leopard's hidden malware protection
- Apple's Snow Leopard: Same great UI, refinements under the hood



- Excel 2010 Cheat Sheet
- Register for this Computerworld Insider Cheat Sheet and gain access to hundreds of premium content articles, guides, product reviews and more.
- Overcome Top 7 Admin Challenges of Active Directory
- As Active Directory's role in the enterprise has drastically increased, so has the need to secure the data. Gain insight on creating repeatable,...
- Insiders Can Ruin Your Company. Take Action.
- Did you know that 80 percent of threats to an organization come from the inside? The threat from insiders is often overlooked in...
- Top Solutions and Tools to Prevent Devastating Malware
- Custom malware frequently goes undetected. According to Forrester Research, the best way to reduce risk of breach is to deploy file integrity monitoring...
- Streamline Compliance and Increase ROI
- Streamline, simplify, and automate compliance related activities; especially those that impact multiple business units. This white paper from NetIQ, outlines solutions that will...
- X-Ray of the PCI Process-4 Proactive Steps
- This white paper from Forrester Research Inc., helps break PCI into understandable components. Security and risk professionals will gain knowledge and insight into... All Internet White Papers
- Optimizing Networks for the Cloud
- Join guest speaker, Rohit Mehra, IDC Director of Enterprise Communications Infrastructure, to explore current trends, discuss best practices for optimizing Data Center and...
- Apps QuickStart Series Part 2: Designing and Deploying SQL Server on VMware vSphere
- Download this webcast to learn about the design considerations for virtualizing SQL workloads, performance and scalability information and high-availability options, as well as...
- Apps QuickStart Series Part 1: Designing and Deploying Exchange 2010 on VMware vSphere
- Download this webcast to learn the virtual hardware design considerations for Exchange 2010, deployment using the building block approach, options for high-availability and...
- Customer Spotlight: How IPC The Hospitalist Company Implemented Oracle on VMware
- Have you been looking to hear about customer's experiences with the new VMware vCenter Site Recovery Manager product? View this webcast to learn...
- Virtualize Business-Critical Applications with Confidence
- Virtualizing business-critical applications has become a key focus for organizations as they move along their virtualization journey. With the launch of VMware vSphere®... All Internet Webcasts
