# Mac Monitor

用于安全研究、恶意软件分诊和系统故障排查的 macOS 图形化 Endpoint Security 事件分析工具。

> 这是 OpenNavo 上 Mac Monitor 页面的 Markdown 版本，内容与网页相同： <https://opennavo.com/zh/apps/mac-monitor>

- **最新版本**: `3.3.0`
- **主页**: <https://github.com/Brandon7CC/mac-monitor>
- **分类**: [安全与隐私](https://opennavo.com/zh/categories/security)
- **安装**: `brew install --cask mac-monitor`
- **近 30 天安装**: 72
- **Homebrew**: 可以安装，应用会自行更新
- **曾用 token**: red-canary-mac-monitor
- **下载地址**: <https://github.com/Brandon7CC/mac-monitor/releases/download/v3.3.0/Mac-Monitor.pkg>
- **SHA-256**: `4f2acdd1d82be88ddab1e76cac6b6bc78b8dbf9692b65eb39d89f8f285aa4489`
- **安装包**: Mac-Monitor.pkg

SHA-256 只用来核对下载的文件是否完整，不代表安全认证。

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "pkgutil": "com.swiftlydetecting.agent",
          "script": {
            "executable": "/Applications/Mac Monitor.app/Contents/SharedSupport/uninstall.sh",
            "must_succeed": false,
            "sudo": true
          }
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "pkg": [
        "Mac-Monitor.pkg"
      ]
    },
    "phase": "install",
    "sources": [
      "Mac-Monitor.pkg"
    ],
    "type": "pkg"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Application Support/Mac Monitor",
            "~/Library/Preferences/com.swiftlydetecting.agent.plist",
            "~/Library/Saved Application State/com.swiftlydetecting.agent.savedState"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

Mac Monitor 是一款 macOS 图形化系统监控工具，可记录并丰富 Apple Endpoint Security 事件，供用户分析。事件数据涵盖进程、进程间通信、内存、XPC 和文件活动，并附带帮助调查事件经过的元数据。

- 在跟踪期间调整 Endpoint Security 事件订阅，并通过路径静音减少不需要的事件干扰。
- 查看事件详情和元数据，按进程关联事件，并对进程活动分组以追踪执行链。
- 按事件类型或发起进程、目标进程路径筛选事件；将完整或部分跟踪记录导出为格式化 JSON 或 JSONL。
- 查看事件分布图表，并从事件详情中探索进程谱系。

使用 `brew install --cask mac-monitor` 安装。首次启动时，macOS 会提示你在系统设置中允许系统扩展，并为 Mac Monitor Security Extension 授予“完全磁盘访问权限”。该应用要求 macOS 13 或更高版本；其文档建议使用 macOS 13.1 或更高版本以及至少 4 GB 内存。推荐使用 Apple Silicon，也支持 Intel。

来源：[项目文档](https://github.com/Brandon7CC/mac-monitor) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/m/mac-monitor.rb)

## 系统要求

- macOS 13 起 · 应用版本: 3.3.0 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/mac-monitor.rb> · 核查于 2026-12-04
  - <https://github.com/Brandon7CC/mac-monitor/releases/download/v3.3.0/Mac-Monitor.pkg>
  - SHA-256: `4f2acdd1d82be88ddab1e76cac6b6bc78b8dbf9692b65eb39d89f8f285aa4489`
- macOS 13 起 · 应用版本: 3.3.0 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/mac-monitor.rb> · 核查于 2026-12-04
  - <https://github.com/Brandon7CC/mac-monitor/releases/download/v3.3.0/Mac-Monitor.pkg>
  - SHA-256: `4f2acdd1d82be88ddab1e76cac6b6bc78b8dbf9692b65eb39d89f8f285aa4489`

## Mac Monitor 的安全事实

这里只列可以核验的事实，并注明来源和日期，不是安全认证。要检查你下载的文件，可以用 OpenNavo 在本机扫描。

- <https://github.com/Brandon7CC/mac-monitor> · 是否开源: 是 — <https://github.com/Brandon7CC/mac-monitor> · 核查于 2026-11-14

## 卸载

- `brew uninstall --cask mac-monitor`

普通卸载会删除应用本身，设置和缓存会保留。

### 卸载时还会处理

- 安装包收据（pkgutil）: `com.swiftlydetecting.agent` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/mac-monitor.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-04；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

### 深度清理（可选）

- `brew uninstall --zap --cask mac-monitor`

`--zap` 还会删除 Homebrew 定义里列出的设置、缓存等文件，其中可能有其他应用共用的数据，删除后无法恢复；它也不保证没有任何残留。请先备份需要保留的数据；如要保留设置和缓存，请不要加 `--zap`。

普通卸载会删除应用本身，设置和缓存会保留。

- 文件和文件夹: `~/Library/Application Support/Mac Monitor` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/mac-monitor.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-04；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Preferences/com.swiftlydetecting.agent.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/mac-monitor.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-04；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Saved Application State/com.swiftlydetecting.agent.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/mac-monitor.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-04；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

## 最新版本说明

### 3.3.0 (2026-12-03)

Mac Monitor 3.3.0 新增网络连接记录，并会用 XProtect 内置的 YARA 规则扫描进程写入的 Mach-O 文件和脚本。发布于 2026-12-03。来源：https://github.com/Brandon7CC/mac-monitor/releases/tag/v3.3.0

**新功能**

- 记录每个进程连接的 new_flow 与 flow_closed 事件。
- 用 XProtect 的 YARA 规则扫描写入的 Mach-O 文件和脚本。
- 指标可匹配网络连接与 YARA 扫描结果。

**指标**

- 指标包 3 新增 48 条指标，其中 3 条为新检测。

**修复**

- 用命令行修改指标后立即生效。
- macOS 13 的空白图标与 14/15 的套接字图标恢复正常显示。
- 设置面板摘要不再被默认宽度截断。

## 资料与来源

- <https://opennavo.com/zh/apps/mac-monitor>
- <https://opennavo.com/zh/apps/mac-monitor/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/mac-monitor.rb> · 核查于 2026-12-04
- <https://formulae.brew.sh/cask/mac-monitor>
- <https://github.com/Brandon7CC/mac-monitor> · 核查于 2026-11-14
