A Mac can get infected with malware just like a PC, but it’s more common for viruses to affect Windows.
Can Macs Get Viruses or Malware?
Difference Between Viruses and Malware
First off, it’s important to know that, in modern and specific terms, viruses and malware are not technically the same thing.
- Malware is anything that gets installed on a computer that preforms unwanted tasks. Malware includes viruses, adware, spyware, and even ad pop-ups.
- A virus is a specific type of malicious software (malware) that can replicate itself and spread to other computers, or is programmed to do things like damage a computer by deleting files, reformatting the hard disk, or using up computer memory.
- Likewise, Spyware is another specific type of malicious software that transfers information to a third party without your knowledge, and browser hijacking software is any advertising software that modifies your browser settings.
FACT: Before the term malware was coined by Yisrael Radai in 1990, all malicious software was referred to as computer viruses. Today malware refers to any malicious program of any type, while terms like virus and spyware refer to specific types of malware.
How Do Computers Get Malware?
In almost all situations malware is installed accidentally by the user. This could be as part of a “Trojan Horse” (you think you are installing program “X”, but an un-installable program “Y” is also installing), or due to fake links on websites or in emails (although not typical on a Mac).This video from 2011 gives some opinions on why Macs “don’t get viruses”. Note: today in 2015 there are still more Windows PCs in use than Macs, but the 90% figure in the video has applied since around 1998 (a time when creating viruses was much more popular and profitable).
TIP: Generally, Macs, Windows, and Linux based computers can all get malware, including viruses. However, Windows has the largest user base and arguably the most novice users, that paired with other factors described below leads to Microsoft Windows based machines being the more likely to fall victim to viruses and malware.
Do I Have to Put My Password in to Install Malware?
Some malware will ask for your password, but not all malware requires it.
Mac’s requirement to enter your password to install programs may offer a layer of protection in most cases, but even on a Mac it is possible to get malware just by clicking on a link online or in your email.
How Can I Protect Myself Against Malware
You can’t fully protect your computer from malware, but both Mac and Microsoft offer third party malware protection software. You can also do things like:
- Update your OS regularly.
- Encrypt your data.
- Disable third party web plugins like Flash and Java (or others you don’t use).
- Be very careful about what sort of websites you view, what links you click, and what sort of content you download.
Can Macs Get Viruses Specifically (Not Just Malware)
Macs are far less likely than Windows computers to get infected with true computer viruses that replicate on one’s computer. Macs can also get viruses, which they can pass onto Windows PCs, so even a Mac that isn’t experiencing issues can have a “dormant” computer virus.
Why Do People Think Macs Can’t Get Viruses?
The myth that Macs can’t get viruses likely stems from the fact that Macs tend to get less viruses than PCs. Anyone who has bought a PC and a Mac has a sense of this, after-all one comes with virus protection software, and the other doesn’t.
Why Don’t Macs Seem to Have as Many Malware Problems?
- They use a different Operating System (OS); viruses designed for the Windows OS don’t work on the Mac OS.
- Apple rarely talks about malware where there is a whole ingrained malware protection industry centered on Microsoft.
- When viruses were more popular, PCs were more popular too. Viruses are a lot of work to make, and that only becomes truer over time, over that same time the popularity of Apple has grown. Today other types of malware like spyware and browser hijacking software are both more simpler to make and more profitable to make. Both OS’s have issues with spyware and browser hijacking software.
- The majority of businesses used in the past and still use Windows based computers. Most people who make Malware do it to make money.
- OS X has built in security components including Application Firewall, Gatekeeper, and XProtect (also known as File Quarantine) making third party protection less necessary out-of-the-box.
- OS X locks down it’s architecture a little more not allowing files to generally be added to the main system folder.
- Both OS’s simply have different user bases.
- Newer OS X operating systems run on Unix kernel, one of the oldest and most secure operating systems.
Is the Architecture of a Mac OS More Secure than Microsoft Windows?
Mac’s don’t generally allow files to be added to the main system folder; with Windows it’s common for applications to modify system files and the registry. This can make it easier for malware to infiltrate a Windows system. Despite this, neither type of computer is actually safe from Malware.
Can Non-Mac Computers Like Linux Based Computers Get Malware too?
Macs, Windows, and Linux based computers can all get malware, including viruses. No computer is completely safe from malware.
Speaking generally, everything in life is a trade-off, Macs are more closed down, and have less security risks in-practice. Meanwhile, PCs are more open, but in-trade one has to ensure the proper malware protection is running.