KnockKnock

Objective-See Foundation · A Mac persistence inspector that lists automatically launched software, shows signing details and optionally checks file hashes with VirusTotal.

Cask安全與隱私Apple 晶片 · Intel
主頁
來自 homebrew/cask
近 30 天安裝
620
App榜第 305
近一年安裝
5755
365 天累計
最新版本
4.1.0
10月7日 · 10月7日
下載大小
2.6MB
arm64 / x86_64 · zip
更新節奏
每兩週
近 30 天 1 個版本

KnockKnock 是一款安全與隱私類 Mac 應用。開發者是 Objective-See Foundation。

基本資訊

晶片
Apple 晶片 · Intel
開發者
Objective-See Foundation
安裝命令
brew install --cask knockknock
Homebrew
可以安裝,由 Homebrew 更新
其他名稱
knockknock

以上資訊最早核查於 。檢視各項來源

介紹

KnockKnock is Objective-See Foundation's macOS persistence inspection tool. It enumerates software configured to run automatically at startup, login or another application's launch, helping users and security analysts investigate what remains installed on a Mac. It is an inspection aid, not a guarantee that the machine is free of malware.

What a scan shows

Categories include background managed tasks, launch items, cron jobs, browser extensions and other persistence mechanisms. Selecting a category shows item paths and signing information, with controls to inspect details or reveal an item in Finder. Version 4 adds shell-configuration inspection and an optional Start at Login workflow; 4.1.0 expands enumeration and improves launchd override handling.

By default, known platform and signed Apple items are filtered. Legitimate third-party software is still displayed. Appearance in a scan is not a malware verdict, and a missing or unknown VirusTotal result does not establish maliciousness. Inspect the item's publisher, path, purpose and behavior before taking action.

Save findings as JSON and compare a completed current scan with a previous result to identify additions, removals or modifications. The application bundle also provides a command-line scan mode for repeatable inspection. Elevated scans can cover additional areas such as other users' cron jobs; 4.1.0 introduces an always-run-as-root preference while retaining the console user's relevant preferences and paths.

Installation and compatibility

Download the official ZIP, unpack it and launch KnockKnock.app. The publisher says it can run from anywhere without a separate installation; the Homebrew cask copies it as an application with brew install --cask knockknock. The official product page specifies macOS 10.15 or later. The official 4.1.0 ZIP was unpacked without launching or installing it. Its executable is a verified Universal Mach-O with x86_64 and arm64 slices, supporting Intel and Apple silicon; its Info.plist confirms macOS 10.15 as the minimum.

The official 4.1.0 GitHub release records the ZIP as 2,552,206 bytes and supplies a SHA-256 checksum. The cask declares no extra Homebrew formula dependency or named conflict. Scan coverage may require Full Disk Access, which the app can prompt you to grant through System Settings. Administrator/root authorization is relevant for an elevated scan or the explicit root preference; it is not a reason to blindly elevate every downloaded security tool.

VirusTotal, accounts and privacy

VirusTotal integration is optional and configurable. Provide your own VirusTotal API key if you want hash-based reputation lookups, and observe its quota and terms. Ordinary local inspection does not describe a mandatory Objective-See account. Disable VirusTotal integration to avoid its lookup requests, and disable automatic update checks if your policy requires that behavior.

Hash lookups and uploading files are different actions. Reputation checks send a binary's hash; explicit submission of an unknown file sends the file itself to VirusTotal. Do not upload confidential, proprietary or personal files without understanding the service's sharing policy. Version 4.0.3 changes submission checkboxes to start unchecked. JSON scan exports can reveal installed applications, file paths and other sensitive system details; protect them before sharing.

Cost, license and interpretation

KnockKnock is free and its source repository is licensed under GNU GPL version 3. Objective-See Foundation accepts sponsorship and donations. VirusTotal and other external services have independent terms. An open-source inspection utility is not a replacement for backups, incident-response expertise or a broader security policy.

Code signatures and notarization provide useful provenance signals but do not settle every security question. Persisted shell or Python interpreters may run a separate script that deserves inspection even when the interpreter itself is signed. Avoid deleting launch agents, libraries or system configuration merely because they are unfamiliar. Verify the owner and purpose and keep a recovery route before modifying persistent software.

Sources: Official product and usage guide, Publisher source, 4.1.0 release, License.

系統要求

macOS應用版本晶片下載來源
適用於 macOS 27, 26, 15, 14, 13, 12, 11 的版本4.1.0Intelgithub.com/objective-see/KnockKnock/releases/download/v4.1.0/KnockKnock_4.1.0.zipSHA-256 98eae6cda5a7e122e6c7e68622617c00d6533a909f505f002c93dd90941a3f9eHomebrew核查於
適用於 macOS 27, 26, 15, 14, 13, 12, 11 的版本4.1.0Apple 晶片github.com/objective-see/KnockKnock/releases/download/v4.1.0/KnockKnock_4.1.0.zipSHA-256 98eae6cda5a7e122e6c7e68622617c00d6533a909f505f002c93dd90941a3f9eHomebrew核查於

如何在 Mac 上安裝 KnockKnock

  1. 在「終端機」中執行: brew install --cask knockknock
  2. Homebrew 會把應用安裝到「應用程式」資料夾。

不用 Homebrew 安裝

直接下載 Homebrew 使用的同一個檔案: github.com/objective-see/KnockKnock/releases/download/v4.1.0/KnockKnock_4.1.0.zip

SHA-256 只用來核對下載的檔案是否完整,不代表安全認證。 檢視 SHA-256 和下載網址

解除安裝 KnockKnock 與可選的資料清理

解除安裝命令
brew uninstall --cask knockknock

普通解除安裝會刪除應用本身,設定和快取會保留。

深度清理(可選)

解除安裝命令
brew uninstall --zap --cask knockknock

--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。

KnockKnock 可能留在 Mac 上的檔案(3)
檔案和資料夾
~/Library/Caches/com.objective-see.KnockKnock
~/Library/Preferences/com.objective-see.KnockKnock.plist
~/Library/Saved Application State/com.objective-see.KnockKnock.savedState

以上條目來自 Homebrew 定義,核查於 ;它們只說明定義宣告會刪除什麼,不代表你的 Mac 上都有。

4.1.0 更新內容

新版本 · OpenNavo 編輯

這個版本沒有單獨的更新說明。

KnockKnock 的安全事實

這裡只列可以核驗的事實,並註明來源和日期,不是安全認證。要檢查你下載的檔案,可以用 OpenNavo 在本機掃描。

分發渠道
Homebrew
是否開源
是 · github.com/objective-see/KnockKnock · GPL-3.0核查於
用 OpenNavo 掃描會在 OpenNavo 用戶端中開啟掃描預覽,由你決定是否開始。 瞭解安全防護

安裝細節

來源倉庫
homebrew/cask
下載網址
https://github.com/objective-see/KnockKnock/releases/download/v4.1.0/KnockKnock_4.1.0.zip
SHA-256
98eae6cda5a7e122e6c7e68622617c00d6533a909f505f002c93dd90941a3f9e
Homebrew 定義檔案
github.com/homebrew/homebrew-cask/blob/HEAD/Casks/k/knockknock.rb
formulae.brew.sh
formulae.brew.sh/cask/knockknock
原始碼
github.com/objective-see/KnockKnock

安裝與解除安裝內容

  • 安裝 app

    來源檔案: KnockKnock.app

    宣告的目標位置: /Applications/KnockKnock.app

    檢視完整宣告
    {
      "app": [
        "KnockKnock.app"
      ],
      "target": "/Applications/KnockKnock.app"
    }
  • 清理使用者資料 zap

    檢視完整宣告
    {
      "zap": [
        {
          "trash": [
            "~/Library/Caches/com.objective-see.KnockKnock",
            "~/Library/Preferences/com.objective-see.KnockKnock.plist",
            "~/Library/Saved Application State/com.objective-see.KnockKnock.savedState"
          ]
        }
      ]
    }

關於 KnockKnock 的常見問題

KnockKnock 安全嗎?

KnockKnock 收錄在 Homebrew 官方軟體庫中,沒有被停用。自 2026 年 9 月起,Homebrew 會停用沒有通過 macOS Gatekeeper 檢查的應用。安裝時,Homebrew 會用 SHA-256 校驗值核對來自 github.com 的安裝檔。過去 30 天,它透過 Homebrew 安裝了 620 次。

KnockKnock 是開源軟體嗎?

KnockKnock 的原始碼公開在 GitHub 上(objective-see/KnockKnock),使用 GPL-3.0 授權。

如何在 Mac 上徹底解除安裝 KnockKnock?

執行 brew uninstall --cask knockknock。要連設定和快取一起刪除,執行 brew uninstall --zap --cask knockknock。--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。這會再刪除 3 處檔案和資料夾,包括 ~/Library/Preferences/com.objective-see.KnockKnock.plist。

KnockKnock 支援 Apple 晶片(M1 及更新)的 Mac 嗎?

Apple 晶片和 Intel 晶片的 Mac 都能用 Homebrew 安裝,兩者使用同一個安裝檔。

KnockKnock 的設定和資料儲存在哪裡?

設定儲存在 ~/Library/Preferences/com.objective-see.KnockKnock.plist。這些位置來自 Homebrew 的清理清單。

KnockKnock 的最新版本是多少?

最新版本是 4.1.0,Homebrew 收錄於 9月15日。執行 brew upgrade --cask knockknock 即可更新。

來源

頁面上的每項資料都註明來源和核查日期;過期的資料只寫「截至」某日,不再當作當前事實。