Bytewell
  • Features
  • Pricing
  • Menu
    • Features
    • Pricing
  • EN
    • English
    • Deutsch
    • Español
    • 日本語
    • Türkçe
    • 简体中文
    • 繁體中文
  • Download
Bytewell›Guides

How to check a Mac for adware and malware

Updated November 4, 2026

Real Mac viruses are rare. What people do run into is adware: a browser that keeps opening a strange search page, pop-ups, a "cleaner" nobody installed. It usually came with a download and starts again every time you log in.

The short answer: look at what starts by itself. Check System Settings › General › Login Items & Extensions, then the folders ~/Library/LaunchAgents, /Library/LaunchAgents and /Library/LaunchDaemons. Adware hides there under random or Apple-like names. Then check your browser extensions and configuration profiles. macOS's own XProtect already blocks known malware files.

On this page

  1. Where does Mac adware hide?
  2. How do I list launch agents in Terminal?
  3. What looks suspicious?
  4. How do I remove adware from a Mac?
  5. Is XProtect enough, or do I need an antivirus?

Where does Mac adware hide?

  • Launch agents and daemons: small .plist files that tell macOS to start a program at login or at startup. Yours are in ~/Library/LaunchAgents; the whole Mac's in /Library/LaunchAgents and /Library/LaunchDaemons.
  • Applications: an app you don't remember installing, often with a generic name.
  • Browser extensions: Safari › Settings › Extensions, and each other browser's extensions page.
  • Configuration profiles: System Settings › General › Device Management. On a Mac nobody manages for you, this list is usually empty.

How do I list launch agents in Terminal?

ls -la ~/Library/LaunchAgents /Library/LaunchAgents /Library/LaunchDaemons

For any file you don't recognise, see which program it starts, then who signed that program:

plutil -p ~/Library/LaunchAgents/com.example.helper.plist
codesign -dv --verbose=2 "/path/to/the/program"

The Program or ProgramArguments line is the program. In codesign's output, the Authority lines name the developer; "code object is not signed at all" means nobody did.

What looks suspicious?

  • A program no known developer signed, which no installed app claims.
  • A program in a hidden folder, in /tmp, or in /Users/Shared, which every user can write to.
  • A random-looking name, like com.xkqzt.plist.
  • A com.apple name on a program Apple didn't sign.

Each of these is a reason to look closer, not proof: small developers' helpers can look the same. Search the name before removing anything.

How do I remove adware from a Mac?

  1. Quit the app it belongs to, if there is one, and move the app to the Trash.
  2. Move its .plist from LaunchAgents or LaunchDaemons to the Trash. The ones in /Library ask for an administrator password.
  3. Move the program the .plist pointed to to the Trash as well.
  4. Restart, or log out and back in, so it stops running. Remove any browser extension and profile it added.

Is XProtect enough, or do I need an antivirus?

macOS checks downloads with Gatekeeper and notarization, and XProtect blocks and removes known malware using signatures Apple updates on its own. That covers most people. To see your XProtect version:

defaults read /Library/Apple/System/Library/CoreServices/XProtect.bundle/Contents/Info.plist CFBundleShortVersionString

Adware is often installed with your permission, as part of something else, so checking what starts on its own now and then is still worth it.

Bytewell's Malware Check (Pro, under Maintenance) does this in seconds, offline. It compares your launch agents, daemons and apps with documented Mac adware families such as Genieo, VSearch, Pirrit, Bundlore and Shlayer, points out things that start the way adware does, and says why each was flagged. Remove… moves a launch agent in your own Library to the Trash, with Undo; it never touches anything Apple signed. It isn't an antivirus: XProtect does that part, and the page shows its version.

Download

Guides

  • Claude Code, Codex and Cursor disk usage: what's safe to cleanWhere Claude Code, Codex, Gemini CLI, Cursor and VS Code keep transcripts, worktrees, runtimes and editor state on a Mac, and which of it you can safely remove.
  • I deleted an app on my Mac. Why are its files still there?Dragging an app to the Trash leaves its settings, caches and data in your Library. Where those leftovers are, how to find them, and which are safe to remove.
  • How to clear browser history, cookies and recent items on a MacClear browsing history and cookies in Safari, Chrome, Edge, Brave and Firefox, plus macOS's Recent Items and its record of the files you downloaded.
  • Where are iPhone backups on a Mac, and how do I delete old ones?Finder keeps iPhone and iPad backups in ~/Library/Application Support/MobileSync/Backup. How to see their size, which to keep, and how to delete old ones.
  • Docker using too much disk space on a Mac: Docker.raw explainedDocker Desktop keeps everything in one file, Docker.raw. Why it looks huge, how to see what uses it, and which docker prune commands free space safely on Mac.
  • How to find large files on a MacFind the biggest files on your Mac with Storage settings, Finder or one Terminal command, and spot screen recordings, old installers and videos you forgot.
  • Can I delete iPhone software update files on my Mac?Finder downloads several GB of iPhone and iPad system software to update a device, and keeps it. Where the .ipsw files are and why removing them is safe.
  • Is it safe to delete cache files on my Mac?Most app caches in ~/Library/Caches are safe to remove with the app quit: the app rebuilds them. Where caches are, how big they are, and what not to delete.
  • Where Ollama, LM Studio and Hugging Face store models on a MacWhere Ollama, LM Studio and Hugging Face keep local AI models on a Mac, how big they get, how to find the same model stored twice, and how to remove them.
  • How to see which Mac apps need an updateMac apps update in three ways: the App Store, their own updater, or Homebrew. How to check each one, the commands to use, and when it's wiser to wait.
  • My Mac says the disk is full, but Finder shows free spaceYour Mac has two numbers for free space: what's free now, and what's available once macOS removes purgeable data. Why they differ and how to close the gap.
  • What opens at login on my Mac, and how do I turn it off?See what starts with your Mac in System Settings › General › Login Items & Extensions, what the background items are, and how to turn them off safely.
  • Why is my Mac slow? How to see what uses memory and the processorA slow Mac is usually memory pressure, swap or one busy app. How to read Activity Monitor, what memory pressure means, and why memory cleaners don't help.
  • How to check your Mac's SSD health and wearmacOS only says S.M.A.R.T. Verified. How to read your Mac SSD's real wear (Percentage Used, data written, errors), what the numbers mean, and what wears it out.
  • Why is my Mac storage filling up by itself?Mac storage shrinking on its own? Usually snapshots, caches, swap, chat media, backups or developer tools. How to find what grows with two du runs a week apart.
  • What is System Data on a Mac, and how do I make it smaller?System Data in Mac storage settings is caches, logs, Time Machine snapshots, swap, iPhone backups, app data and VM disks. What each is and what you can remove.
  • Messages and Mail are taking up storage on my MacMessages and Mail keep attachments on your Mac. Where they are, and how to reduce them with Storage settings, Keep messages and Mail's own settings.
  • How to move big files to an external drive on a Mac, safelyFree up Mac storage without deleting: copy big files, AI models and old projects to an external drive, check the copy, then remove the original.
  • How to find and delete old node_modules folders and package caches on a MacFind every node_modules folder on a Mac with one command, see which package caches (npm, pnpm, Yarn, Homebrew, pip, Go, Gradle) are safe to clear, and how.
  • Videos or GIFs on X are black in SafariVideos and GIFs on X (Twitter) black in Safari while the timer runs, fine in Chrome? Safari's video helper is stuck. Quit Safari with Cmd+Q and reopen it.
  • Telegram is taking up storage on my MacTelegram for Mac keeps a copy of every photo and video you open. Where its cache is, how to clear it in Settings › Data and Storage, and what secret chats lose.
  • What did this installer put on my Mac?A .pkg installer leaves a receipt on your Mac. List what it installed with pkgutil, find helpers it added, and what to do for apps installed from a disk image.
  • WhatsApp is taking up storage on my MacWhatsApp for Mac keeps every photo, video and voice note from your chats in its Group Container. Where it is, how big it is, and how to reduce it in WhatsApp.
  • Xcode taking up too much space: what's safe to deleteWhere Xcode keeps DerivedData, simulators, runtimes, device support and archives on a Mac, which of them rebuild themselves, and how to remove them safely.
Refunds Privacy Terms Contact

Bytewell is made by Axleno.

© 2026 Axleno LLC. All rights reserved.