Howard Oakley today on Mac malware protection

Howard Oakley’s article today (Why your Mac may not scan for malware) is giving me pause for thought.

I have long resisted having any active third party malware scanning on my Macs, preferring passive and some of the Objective-See suite, and most importantly believing that Apple was making significant progress on built in protection.

Oakley’s concluding paragraph is causing me to question this:

"Although XPR should be a big improvement on MRT, it’s now unreliable on most laptops, and its lack of reporting makes it inferior to third-party substitutes. Particularly on laptops that are run mostly on battery power, XPR scans can occur infrequently and their outcome may be impossible to discover. If you want a more reliable and transparent malware scanner, you’re better off using a third-party product.

Given the engineering effort that has gone into developing XProtect Remediator, this is a great shame."

8 Likes

I share your concerns. I too use BlockBlock and KnockKnock and RansomWhere? from Objective-See, but I am likewise reluctant to install a third party malware scanner. I don’t want to give a third party app broad, low level access to my system both for security, privacy, and system stability reasons. But it is inexplicable to me that there is no way to force an XPR scan or to allow it to continue even if the system is not idle (or is on battery). I get that the average user never thinks about these things. But the average user will also never need to use (and should never use) Terminal.app, but it exists because there are some users who do want or need to use it. Likewise, there should be a way for users to force XPR scans if they want or need to do so.

Oddly, my MacBook regularly completes full XPR scans when I plug it in for charging, but my Mac Studio which runs 24/7 almost never seems to complete full XPR scans. The current log shows a timeout on BadGacha (whatever that is).

3 Likes

It makes me feel better about my decision to run Sophos Home on my Macs.

I think I’ve been been using Mac anti-virus software since John Norstad’s Disinfectant in 1996, then Dr Solomon’s Virex in 1998. In 2002 Apple included Virex 7 in the .Mac subscription. Later is was rebranded as McAfee VirusScan.

4 Likes

Well, I’m relieved that I use a desktop and not a laptop, and so get regular, complete XPR scans (Mr. Oakley’s excellent SilentKnight3 reports that my Studio has had 50 scans, none cancelled). But most of the Macs Apple has sold for the last decade or two have been laptops. I guess I can understand not wanting to drag down performance on user tasks (particularly on, say, Neos), or draw down battery charge, but there should still be the option to run XPR manually, and a reminder to laptop users to plug the damn thing in at east once a week so XPR can run.

That aside, I’m disturbed by MacDrew’s Studio XPR issue. Mr. Oakley reported in a 2024 piece about XPR improving scanning for Adload malware that, “For those concerned with false positives resulting from its BadGacha scanning module, that has reduced in size in 131, bringing hope that it may report fewer anomalies than its predecessor.” Well, works for some but not others in the current version of XPR, I guess.

All I get is “XPR no scans in 36 hours”. Checking the unified log shows it only goes back ~12 hours. Now I need to figure out what is filling up the log file…and…Ulbow shows that com.apple.mediaanalysisd has added over 65K lines in the past hour.

It would be nice to know if XPR is actually running.

M2 Max Studio, Sequoia 15.8.2.

Edit: checked again early this morning and now it shows “XPR 50 scans 0 cancelled”.
I think the problem is the Unified Log only goes back 12 hours on my Mac because something is writing a lot of log entries.

@david_blanchard It appears my log file only goes back < 12 hours too. How did you use Ulbow to figure out which app was filling up the log file? I downloaded the app, but I can’t figure out how to use it to determine what’s filling up my log file.

I use the default settings (Predicate:none; filter:none; Style:none) and set the period to -1 day, then Get Log.

Once complete, I select Window-->Open Frequency and it displays a list of log entries and how many times they appeared in the log. From that list, I found that com.apple.medianalysis was filling the log. It turns out this is a known bug in Sequoia (and not fixed by Apple) but that the bug is not an issue in Tahoe or Golden Gate.

I “fixed” this issue by disabling Spotlight since mediaanalysisd uses Spotlight results. Without Spotlight, it does very little work. I don’t use Spotlight so this was no loss to me.