KnockKnock 4.1.0

Persistence scanner for Mac: see what auto-runs

Screenshots

Click to enlarge

Malware on a Mac rarely shows up as an app in the Applications folder. It hides in launch agents, browser extensions and login items that run on their own. KnockKnock is a persistence scanner for Mac that lists everything configured to start automatically, so you can spot what doesn’t belong.

What gets scanned

Click Start Scan and the app checks the locations where software installs itself to run without you. Results are grouped by type: authorization plugins, browser extensions, kernel extensions, launch items, library inserts, login items, Spotlight importers and cron jobs. Each row shows the item count, a signed or unsigned icon, and the full path to the file.

Checking items against VirusTotal

KnockKnock can send file hashes to VirusTotal and display the detection ratio next to each item. If known malware turns up, the item’s name and the VirusTotal button are marked in red. You can add your own VirusTotal API key in the preferences, and the app stops further lookups once the quota is used up.

Inspecting and acting on findings

  • Show: reveals the file in Finder so you can remove it by hand.
  • Info: opens details such as hash, size, plists and signing status.
  • Always run as root: an optional preference that scans with elevated privileges while still using the logged-in user’s settings and paths.
  • Full Disk Access: the app detects whether it has this permission, which affects how complete a scan can be.
  • Export: saves scan results as JSON.

The app only reports and does not delete anything, so removal always happens through Finder.

When it’s worth running

Run it after installing software from an unfamiliar source, when Safari starts showing an extension you don’t remember adding, or when the Mac slows down for no clear reason. A monthly or yearly check also works as a quick audit of everything set to start at login.

Version 4.1.0: macOS 27 compatibility, hardening, & root support

  • Root: new "always run as root" preference; when elevated, use the console user's prefs, keychain, login item, appearance, and paths
  • Fix Full Disk Access detection on macOS 27, where the per-user TCC directory no longer exists (Fixes #52)
  • Hardening: uncaught-exception handler, per-plugin scan isolation, guards for non-regular/oversized files and malformed plist/JSON input, improved Mach-O parser, no dropped items on JSON serialization failure
  • Launchd: read the live override database, fix inverted enable/disable logic, domain-aware overrides, treat all triggers as auto-run
  • Improved enumeration for LaunchItems, BTM, DylibInserts, CronJobs, and browser extensions; better icon extraction and isTrusted checks
  • VirusTotal: improved API key handling; skip remaining lookups once the quota is exhausted
  • UI improvements, expanded localizations, app category set in Info.plist

Comments2

Leave a comment

Sign in or create a free account to join the discussion.

Create account