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…
After decades of Windows loyalty, I’m switching to Mac
The 14-inch MacBook Pro on a window sill.

I've been using Windows since Version 1.0, bridging the great divide between command-line computing and the graphical user interface. I never gave the Mac a try because it didn't support my business environment, and in the beginning, I enjoyed cobbling together components and squeezing out every ounce of performance. I was also a bit of a Windows snob, taking offense at Apple's Mac versus PC commercials and its generally superior attitude over the years.

But lately, I've used macOS more often and have grown ever more weary of some aspects of Windows that seem like they'll never go away. So, after a bit of soul searching and financial planning, I've decided to switch to an all-Apple computing environment. Like lots of people in the past couple of years, the Mac renaissance has caught my attention -- and led me to do the unthinkable: say goodbye to Windows.
It all started with my MacBook Pro
Apple MacBook Pro 14 Mark Coppock / Digital Trends

Read more
7 key settings in macOS Sonoma you should change right now
A MacBook Pro running macOS Sonoma at Apple's Worldwide Developers Conference (WWDC) in June 2023.

Apple’s macOS Sonoma came loaded with a bunch of great new features, including desktop widgets, video screen savers, and more. With plenty of them, you just need to sit back and enjoy them, without much action required on your part. But that’s not always the case.

Sometimes, you’ll have to change a few settings to enable a new feature. Other times, you might want to disable something that is switched on by default. Either way, it’s often worth diving into macOS Sonoma’s settings to get things how you want them.

Read more
All the best macOS Sonoma tips and tricks you need to know
A Safari window and the Maps app open in macOS Sonoma.

Apple’s macOS Sonoma is full of great features, including many that Apple raved about when it unveiled the operating system at its Worldwide Developers Conference (WWDC) in June 2023. If you want to get the most out of macOS Sonoma, it helps to know a few handy tips and tricks to improve your experience.

From rapidly hiding windows and showing the desktop to saving websites to your Dock for quick access, macOS Sonoma is bursting with clever extras that make a big difference in day-to-day usage. Here, we’ve collected eight of the best tips and tricks that will make using macOS Sonoma better than ever.
Look picture perfect

Read more