Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Check Your Mac for Rootkits

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Checking your Mac for rootkits means looking for deeply hidden malware that can disguise itself and control your system. The most reliable way is to use Apple's built-in security tools combined with a reputable antivirus scanner. Start with a quick check of your system integrity, then run a full malware scan, and finally review your system's startup items and extensions.

What You'll Need

  • Your Mac with macOS installed (any recent version).
  • Administrator password for your user account.
  • An up-to-date antivirus app from a trusted developer (free or paid).
  • Internet connection to download the latest malware definitions.

Step-by-Step

  1. Update macOS – Go to System Settings > General > Software Update (or System Preferences > Software Update on older macOS). Install any available updates. This patches known security holes that rootkits exploit.
  2. Check for unexpected startup items – Open System Settings > General > Login Items & Extensions (or System Preferences > Users & Groups > Login Items). Review the list of apps that launch automatically. Remove anything you don't recognize by selecting it and clicking the minus (–) button. Be cautious: some are legitimate system processes, so research before deleting.
  3. Review system extensions – In the same Login Items & Extensions screen, look at the Extensions tab. Check for kernel extensions (kexts) or system extensions that you didn't install. If you see something suspicious, note its name and research it online. Do not remove system extensions without knowing what they do, as it may break functionality.
  4. Run Apple's built-in diagnostics – Restart your Mac and hold down the D key (or Command-D for network diagnostics) to launch Apple Diagnostics. Follow the on-screen instructions. This tests hardware but also checks for some firmware-level issues. It won't find all rootkits, but it can detect certain low-level problems.
  5. Use a trusted antivirus scanner – Download a reputable Mac antivirus app (e.g., Malwarebytes, Bitdefender, or Intego) from the official developer's website or the Mac App Store. Install it and run a full system scan. These tools are specifically designed to detect rootkits and other malware. Follow the app's instructions to quarantine and remove anything found.
  6. Check for hidden processes – Open Activity Monitor (found in Applications > Utilities). Look at the CPU and Memory tabs. Look for processes you don't recognize. Right-click a process and select Inspect to see its path. If a process runs from a suspicious location (like /tmp or a hidden folder), investigate. Be careful: many system processes have cryptic names but are legitimate.
  7. Verify system integrity – Open Terminal (in Applications > Utilities). Type csrutil status and press Return. It should say System Integrity Protection status: enabled. If it says disabled, a rootkit could have modified your system. Re-enable it by restarting into Recovery Mode (hold Command-R at startup), opening Terminal, and typing csrutil enable. Note: this only works on Intel Macs; on Apple Silicon, the steps are similar but you may need to use the Recovery options.
  8. Check for suspicious network activity – In Activity Monitor, go to the Network tab. Look for apps that are sending or receiving a lot of data unexpectedly. If you see a process you don't recognize with high network usage, that could be a sign of a rootkit communicating with a remote server. Research the process name before taking action.
  9. Review your DNS settings – Go to System Settings > Network (or System Preferences > Network). Select your active connection (Wi-Fi or Ethernet) and click Details (or Advanced). Check the DNS tab. If the DNS servers are not your ISP's or a known public DNS (like 8.8.8.8), a rootkit might have changed them. Change them back to automatic or to a trusted DNS server.
  10. Use a second-opinion scanner – If you're still concerned, run a second antivirus tool from a different vendor. This helps catch anything the first scanner missed. Some tools offer free trials or free versions that are sufficient for a one-time scan.

Common Mistakes

  • Ignoring updates – Skipping macOS updates leaves known vulnerabilities open, making it easier for rootkits to install.
  • Deleting system files without research – Removing a file just because you don't recognize it can break your Mac. Always Google the exact name first.
  • Trusting unknown antivirus apps – Some fake antivirus programs are themselves malware. Only download from official developer websites or the Mac App Store.
  • Only running a quick scan – Quick scans often miss rootkits. Always choose the full system scan option.
  • Ignoring the router – Rootkits can sometimes affect your router, not just your Mac. If you suspect a network issue, check your router's admin page for unusual DNS settings.

Tips

  • Keep your Mac's firewall enabled: go to System Settings > Network > Firewall and turn it on.
  • Use a standard (non-admin) user account for daily tasks. Rootkits often need admin privileges to install.
  • Regularly back up your Mac with Time Machine. If you ever need to restore after an infection, you can wipe and restore from a clean backup.
  • Be cautious with downloads from the internet. Only install software from trusted developers and official sources.
  • If you think your Mac is infected, disconnect it from the internet until you've run a scan to prevent data exfiltration.

Troubleshooting

If your scan finds nothing but you still suspect a rootkit, or if the tools fail to work, try these steps:

  • Restart in Safe Mode – Shut down your Mac, then turn it on while holding the Shift key. This loads only essential software and can disable some rootkit components. Run your antivirus scan again in Safe Mode.
  • Check for a firmware password – If your Mac has a firmware password set, a rootkit might have been prevented from installing. Reset it if you know the password, but be careful: forgetting it requires Apple support.
  • Use a bootable scanner – Some antivirus vendors offer a bootable rescue disk (e.g., a USB drive) that can scan your Mac before macOS loads. This is more thorough but requires creating the bootable drive on another computer.
  • Reinstall macOS – If you're still worried, back up your data, then reinstall macOS using Recovery Mode. This wipes your system drive and reinstalls a clean OS. Make sure to restore only your personal files, not apps or settings that might be infected.

Frequently Asked Questions

Can I check for rootkits without installing any software?

Yes, you can manually inspect startup items, extensions, and processes as described above, but these methods are not comprehensive. A dedicated antivirus tool is much more likely to catch a rootkit.

Does macOS have a built-in rootkit scanner?

macOS includes XProtect and Malware Removal Tool (MRT) that run automatically in the background, but they are not user-accessible. They provide baseline protection, but for a thorough check, you need a third-party scanner.

What is the difference between a virus and a rootkit?

A virus is a type of malware that spreads by infecting other files. A rootkit is a stealthy program that hides its presence and can give an attacker remote control. Rootkits are often harder to detect because they hide from the operating system.

Can a rootkit survive a macOS reinstall?

Some rootkits can persist in firmware or in the recovery partition. Reinstalling macOS from Recovery Mode usually removes them, but if the rootkit is in the firmware, you may need a firmware restore tool from Apple. In extreme cases, contact Apple Support.

Are free antivirus apps effective on Mac?

Yes, many free versions are effective for scanning. Malwarebytes free version, for example, scans and removes malware without a subscription. For real-time protection, you might need a paid version, but a free scan is fine for a one-time check.

How often should I check for rootkits?

If you don't download suspicious files, checking once every few months is reasonable. If you're in a high-risk environment (e.g., you download many files or use public Wi-Fi), do it monthly. Also, run a scan if you notice strange behavior like unusual network traffic or system slowdowns.