Do Apple computers get viruses?

Updated: 03/12/2022 by Computer Hope
Computer Virus

An Apple Macintosh computer can get a virus or malware infection, so the short answer to the question is Yes. However, it's less likely for an Apple Macintosh computer to be infected compared to a Microsoft Windows computer.

Note

The term 'virus' and 'malware' are used interchangeably. For the sake of simplicity, 'virus' will be used on this page and refers to either a virus or malware.

Several examples of viruses that have infected Apple Macintosh computers include the following.

  • Flashback malware - Infected over 600,000 Apple computers in April 2012; designed to steal user's personal information, including account login credentials.
  • OSX/KitM.A virus - Infected a small number of Apple computers in May 2013; designed to take screenshots of a user's desktop and upload to one of several websites.
  • OSX.PROTON - Infected thousands of Apple computers in 2017; designed to steal user's account credentials by accessing the macOS Keychain app.
  • OSX/MaMi - Infected several thousand or more Apple computers in January 2018; designed to allow a person to view a computer's Internet traffic, also called "snooping."

In 2015, the senior e-threat analyst at Bitdefender, Bogdan Botezatu, was quoted as saying "Mac OS X software has more high-risk vulnerabilities than all versions of Windows put together." Despite that statement and apparent fact, Mac computers are still infected by viruses less often than Windows computers. Below are some reasons why Apple Macintosh computers do not have as many viruses as Windows computers:

  1. Beginning with macOS X in March 2001, Macintosh operating systems are built on "Darwin," a fork of the BSD (Berkeley Software Distribution) kernel.
  2. Most of the computer virus writers are more familiar with the IBM platform and Microsoft Windows, which means it's easier for them create a virus for that platform.
  3. Many of the tools, scripts, and code used to create viruses or other malware are designed for Microsoft Windows.
  4. Many of the targets of viruses are governments and businesses, with an aim to either steal information, money, or create havoc. The majority of computers used by government agencies and businesses have the Windows operating system, resulting in most viruses being targeted towards Windows computers, instead of Macs.
Note

If you are running a virtual PC on your Apple Macintosh or Windows in Bootcamp, because it is emulating Microsoft Windows, it can become infected with Windows viruses.

Software and plug-in threats

Although the Apple OS is more secure than many versions of Windows, additional software, plug-ins, and add-ons that connect to the Internet can introduce security vulnerabilities. The most common ways to attack a Mac computer is through a third-party browser and browser plugins, like Adobe Reader, Flash, and Java. Today, most Mac users have these plugins installed and enabled on the computer, and, in doing so, compromise the overall security of the system.

Additional security threats

Although a Mac is less susceptible to viruses, Mac users can still be the victims of trojan horses, phishing scams, and online fraud. If you are a Mac computer user, we still recommend keeping informed about how to keep safe while online. There is no such thing as a 100% safe computer. Mac, Windows, and Linux computers are all capable of being infected with a virus or other malware.