Skip to main content

Is macOS more secure than Windows? This malware report has the answer

It’s a long-held belief that Macs are less at risk of malware and viruses than Windows PCs, but how true is that? Well, a new report has shed some light on the situation — and the results might surprise you.

According to threat research firm Elastic Security Labs, roughly 39% of all malware infections happen on Windows PCs. In good news for Apple fans, only 6% of breaches occurred on macOS, making Mac systems far less vulnerable than their Windows counterparts.

A person using a laptop with a set of code seen on the display.
Sora Shimazaki / Pexels

Yet Linux infections topped both Windows and macOS, counting for 54% of all infections. That large number is explained by the increasing usage of cloud devices that use Linux as their operating system. Many of these devices are poorly secured, making them tempting targets for bad actors wishing to gain access to a company’s internal systems.

Trojans were by far the most popular category of malware, with 80.5% of infections being made using this technique. Trailing far behind were cryptocurrency miners (11.3%) and ransomware (3.7%). Most trojan infections happened on Windows PCs, with Cobalt Strike prevailing as the trojan of choice for malware authors with a 34.5% share of infections.

Macs are vulnerable too

A physical lock placed on a keyboard to represent a locked keyboard.
piranka/Getty Images

While the report suggests that macOS is apparently a low priority for hackers and malware developers, it’s not all good news for users of Apple’s systems. Elastic Security Labs notes that nefarious use of the XMRig cryptocurrency miner “exploded” on macOS and that this kind of attack could become an “increasingly popular” way of targeting Mac users.

By far the most prevalent malware detection on macOS was MacKeeper, an app that has been designated as a “potentially unwanted program” by many antivirus apps due to the wide range of potentially exploitable permissions and access to macOS processes it obtains.

It’s well worth downloading the full report to see the complete list of findings unearthed by Elastic Security Labs. With the strong prevalence of trojans on all systems, it’s important you know how to secure your computer and protect yourself from attack. Sure, macOS is less at risk than Windows, but it only takes one careless mistake to get infected, no matter what you’re using.

Editors' Recommendations

Alex Blake
In ancient times, people like Alex would have been shunned for their nerdy ways and strange opinions on cheese. Today, he…
Yes, you can use both Mac and Windows — here are some tips to get started
The keyboard of the MacBook Pro 14-inch on a wood surface.

I'm not a typical Windows or Mac user. Where most people choose one operating system and stick with it, I use both Windows 11 and MacOS regularly, going back and forth daily depending on my workflow. And it's easier to do than you probably think.

I have a fast Windows 11 desktop with three 27-inch 4K displays, and I use that for all my research-intensive work that benefits from multiple monitors. But for writing simple copy, and for personal tasks, I use a MacBook Pro 14 M1 Pro simply because I like it so much. It's not MacOS that draws me to the machine, but its battery life, cool yet quick operation, excellent keyboard and touchpad, and awesome HDR display. To stay sane, I've worked out a few tricks and techniques to make the constant switching bearable. Here's what I've learned.
Adjust to your keyboards

Read more
Common macOS Ventura problems and how to fix them
A MacBook Pro M2 sits on a wooden table with a nice bokeh background.

Apple released macOS Ventura in late October of 2022 bringing several interesting features as well as a few new problems. If you're having trouble after upgrading from macOS Monterey to Ventura, here are some solutions that could help.
AirDrop isn't working

AirDrop is a fantastic feature when it works and incredibly frustrating when it doesn't. A macOS update sometimes leads to AirDrop problems. Luckily a few simple tips can usually correct the problem. The easiest solution is to open the Control Center and toggle AirDrop off and on again. You can also try switching between Contacts Only and Everyone.

Read more
This critical macOS flaw may leave your Mac defenseless
A close-up of a MacBook illuminated under neon lights.

Apple’s macOS operating system has such a strong reputation for security that many people mistakenly believe Macs simply aren’t affected by malware. Well, Microsoft has served up a reminder that that’s not true, as the company has identified a serious vulnerability that affects one of macOS’s most important lines of defense.

According to Bleeping Computer, the bug was first reported by Jonathan Bar Or, Microsoft’s principal security researcher, who named the flaw Achilles. It is now tracked as CVE-2022-42821.

Read more