• Home
  • News
  • Fortune 500
  • Tech
  • Finance
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia

Why are there no Mac viruses?

By
Philip Elmer-DeWitt
Philip Elmer-DeWitt
Down Arrow Button Icon
By
Philip Elmer-DeWitt
Philip Elmer-DeWitt
Down Arrow Button Icon
September 2, 2009, 10:53 AM ET
Image: Apple Inc.

There are, as far as we know, no Mac OS X viruses in the wild.

To prove that assertion wrong, you only have to name one.

Academic proofs of concept and theoretical vulnerabilities don’t count. Neither do computer worms, Trojan horses, spyware, adware, spam or any of the other nasty species in the zoology of malware.

That eliminates Inqtana-A, iBotNet, MacSweeper and a handful of other examples of Mac malware usually trotted out at this point by PC apologists. Nor can you count the 10-second Zero Day Pwn2Own Safari exploit that got so much press attention last March. None of these, strictly speaking, were viruses.

The issue comes up anew because Apple’s (AAPL) latest Get a Mac ads are once again hammering Microsoft (MSFT) for those “thousands of viruses” to which its operating systems and application suites are heir. And that, in turn, has led to a resurgence of comments in this space to the effect that a) Macs are just as vulnerable as Windows machines and b) the only thing that protects them is their miniscule market share.

Those ideas, while widely promulgated on the Web, are wrong. The fact that Mac OS X represents less than 4% of the worldwide installed base of computers might explain why there are fewer Mac viruses. But it wouldn’t explain why there are none.

So what’s the answer?

First, let’s define some terms.

A Mac OS X virus in the wild, to use the definition put forward in a short-lived contest that offered $25,000 to the first hacker who could write one, is executable code that attaches itself to a program or file so that it can spread from one Mac to another. “In the wild” means it has infected, or is currently infecting, new machines through normal day-to-day usage.

By this definition, there have been hundreds, if not thousands, of Windows viruses (see partial list), a handful of Mac OS 9 viruses, and not one for Mac OS X.

The reasons for this have been extensively debated by security experts, who offer several explanations:

  • Small market share. There is some truth to the “security through obscurity” argument. Many virus writers are motivated by the power they can command — and the money they can make — by seizing control of large numbers of computers. That puts a financial premium on Windows viruses.
  • Mac OS X, with its Unix-based file system and kernel, is harder to infect with a self-replicating program. (See Claudiu Dumitru’s MacOS X Vulnerabilities for background.) Windows, as I understand it, allows users to write run executable code outside their own protected memory space; Mac OS X does not.
  • Viruses are going out of style. The action these days, I’m told, is in Trojans and spyware.

This is not to say that OS X is invulnerable. The frequency of Apple’s security updates and the emphasis the company is putting on the new security features in Snow Leopard are proof that it is not. Maybe Apple is just lucky. Or maybe it’s better at protecting its users from infection than Microsoft.

That said, if the built-in anti-virus protection in Windows 7 is as good as some earlier reviewers suggest. the security gap could close when Microsoft’s new system finally launches next month.

Which may be why Apple is hammering home the “thousands of viruses” message now.

About the Author
By Philip Elmer-DeWitt
See full bioRight Arrow Button Icon

Latest in

AIMeta
It’s ‘kind of jarring’: AI labs like Meta, Deepseek, and Xai earned some of the worst grades possible on an existential safety index
By Patrick Kulp and Tech BrewDecember 5, 2025
11 hours ago
RetailConsumer Spending
U.S. consumers are so financially strained they put more than $1 billion on buy-now, pay later services during Black Friday and Cyber Monday
By Jeena Sharma and Retail BrewDecember 5, 2025
11 hours ago
Elon Musk
Big TechSpaceX
Musk’s SpaceX discusses record valuation, IPO as soon as 2026
By Edward Ludlow, Loren Grush, Lizette Chapman, Eric Johnson and BloombergDecember 5, 2025
11 hours ago
data center
EnvironmentData centers
The rise of AI reasoning models comes with a big energy tradeoff
By Rachel Metz, Dina Bass and BloombergDecember 5, 2025
12 hours ago
netflix
Arts & EntertainmentAntitrust
Hollywood writers say Warner takeover ‘must be blocked’
By Thomas Buckley and BloombergDecember 5, 2025
12 hours ago
Personal FinanceLoans
5 ways to use a home equity line of credit (HELOC)
By Joseph HostetlerDecember 5, 2025
12 hours ago

Most Popular

placeholder alt text
Economy
Two months into the new fiscal year and the U.S. government is already spending more than $10 billion a week servicing national debt
By Eleanor PringleDecember 4, 2025
2 days ago
placeholder alt text
Success
‘Godfather of AI’ says Bill Gates and Elon Musk are right about the future of work—but he predicts mass unemployment is on its way
By Preston ForeDecember 4, 2025
2 days ago
placeholder alt text
Success
Nearly 4 million new manufacturing jobs are coming to America as boomers retire—but it's the one trade job Gen Z doesn't want
By Emma BurleighDecember 4, 2025
2 days ago
placeholder alt text
Success
Nvidia CEO Jensen Huang admits he works 7 days a week, including holidays, in a constant 'state of anxiety' out of fear of going bankrupt
By Jessica CoacciDecember 4, 2025
2 days ago
placeholder alt text
Real Estate
‘There is no Mamdani effect’: Manhattan luxury home sales surge after mayoral election, undercutting predictions of doom and escape to Florida
By Sasha RogelbergDecember 4, 2025
2 days ago
placeholder alt text
Economy
Tariffs and the $38 trillion national debt: Kevin Hassett sees ’big reductions’ in deficit while Scott Bessent sees a ‘shrinking ice cube’
By Nick LichtenbergDecember 4, 2025
2 days ago
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • Future 50
  • World’s Most Admired Companies
  • See All Rankings
Sections
  • Finance
  • Leadership
  • Success
  • Tech
  • Asia
  • Europe
  • Environment
  • Fortune Crypto
  • Health
  • Retail
  • Lifestyle
  • Politics
  • Newsletters
  • Magazine
  • Features
  • Commentary
  • Mpw
  • CEO Initiative
  • Conferences
  • Personal Finance
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Fortune Brand Studio
  • Fortune Analytics
  • Fortune Conferences
  • Business Development
About Us
  • About Us
  • Editorial Calendar
  • Press Center
  • Work At Fortune
  • Diversity And Inclusion
  • Terms And Conditions
  • Site Map

© 2025 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.