luoke-bench / scan /sets /posture.json
jason926's picture
Sync: scoring fixes and corrected keys from the 12-05 review
7f02d8a verified
Raw History Blame Contribute Delete
195 kB
{ "set": "posture", "version": 1, "seed": 1, "clock": "2026-10-20T12:00:00Z", "scan": { "commit": "b1dc338d154c851e3c2eb6976267d15ec2b9403f", "version": "luoke-scan 0.3.46 · rules 0.1.0" }, "made_on": { "macos": "27.2.1" }, "kinds": [ "filevault", "firewall", "stealth", "sip", "gatekeeper", "screen-lock", "screen-lock-delay", "autoupdate", "pending-updates", "remote-login", "screen-sharing", "file-sharing", "internet-sharing", "airdrop-everyone", "auto-login", "guest", "trusted-roots", "xprotect-stale", "partial" ], "rules": [ "posture" ], "other_rules_seen": [], "rules_skipped": [ "malware" ], "surprises": [], "items": [ { "id": "posture-001", "group": "near", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[25706:461617] screenLock delay is 300 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.smbd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 15 days, 7:42, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-17 23:00\n", "answer": [], "planted": [], "near": [ "screen-lock-delay-300" ] }, { "id": "posture-002", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[40152:679476] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n0\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.AEServer\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 3 days, 4:26, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-14 23:00\n", "answer": [ { "rule": "posture.autoupdate", "kind": "autoupdate", "severity": "medium", "verdict": "info", "targets": [], "title": "系统不会自动检查更新" } ], "planted": [ "autoupdate-off" ], "near": [] }, { "id": "posture-003", "group": "mixed", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[15826:442122] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.openssh.sshd\" => enabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.rexecd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 29 days, 14:40, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):3 个\nXProtect 特征库上次更新:2026-10-12 09:00\n", "answer": [ { "rule": "posture.remote-login", "kind": "remote-login", "severity": "medium", "verdict": "info", "targets": [], "title": "「远程登录」(SSH)开着:知道密码或有钥匙的人能从网络上登录这台 Mac" } ], "planted": [ "remote-login" ], "near": [ "uptime-29-days-with-updates" ] }, { "id": "posture-004", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is Off.\nDeferred enablement appears to be active for user 'tomas'.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is off\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[4258:363005] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.tftpd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 18 days, 17:38, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-10-16 22:00\n", "answer": [ { "rule": "posture.filevault", "kind": "filevault", "severity": "high", "verdict": "info", "targets": [], "title": "FileVault 没开:电脑丢了,硬盘上的东西能直接被读出来" }, { "rule": "posture.stealth", "kind": "stealth", "severity": "low", "verdict": "info", "targets": [], "title": "防火墙的隐身模式没开:别人探测这台 Mac 时它会回应" } ], "planted": [ "stealth-off", "filevault-deferred" ], "near": [], "boundary": [ "filevault-deferred" ] }, { "id": "posture-005", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[44902:578643] screenLock delay is 14400 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.openssh.sshd\" => enabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.tftpd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 16 days, 15:04, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-29 13:00\n", "answer": [ { "rule": "posture.remote-login", "kind": "remote-login", "severity": "medium", "verdict": "info", "targets": [], "title": "「远程登录」(SSH)开着:知道密码或有钥匙的人能从网络上登录这台 Mac" }, { "rule": "posture.screen-lock-delay", "kind": "screen-lock-delay", "severity": "low", "verdict": "info", "targets": [], "title": "屏保或关屏后 240 分钟内不要密码" } ], "planted": [ "screen-lock-delay", "remote-login" ], "near": [] }, { "id": "posture-006", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[20773:355812] Unable to read the screenLock setting\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.screensharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.AEServer\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.telnetd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 11 days, 5:27, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-27 03:00\n", "answer": [ { "rule": "posture.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "有几样没查成:锁屏" } ], "planted": [ "screen-lock-unknown" ], "near": [] }, { "id": "posture-007", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[24031:859694] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.nfsd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nNumber of trusted certs = 1\nCert 0: Brackenfield Dev Root\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultTrustRoot\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultTrustRoot\n\n$ security dump-trust-settings\nNumber of trusted certs = 1\nCert 0: Brackenfield Dev Root\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultTrustRoot\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultTrustRoot\n\n$ uptime\n20:00 up 11 days, 12:24, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-06 00:00\n", "answer": [ { "rule": "posture.trusted-roots", "kind": "trusted-roots", "severity": "medium", "verdict": "info", "targets": [], "title": "有 1 个加进来的根证书被设成信任:用它的人能看到你的 HTTPS 内容" } ], "planted": [ "trusted-root-both-domains" ], "near": [] }, { "id": "posture-008", "group": "clean", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[15501:793730] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 16 days, 7:07, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-14 06:00\n", "answer": [], "planted": [], "near": [] }, { "id": "posture-009", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is disabled. (State = 0)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode disabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[21366:837856] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.nfsd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nEveryone\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nNumber of trusted certs = 1\nCert 0: Quillbay Debug Root\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultTrustRoot\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultTrustRoot\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 7 days, 19:14, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-15 08:00\n", "answer": [ { "rule": "posture.firewall", "kind": "firewall", "severity": "medium", "verdict": "info", "targets": [], "title": "防火墙没开" }, { "rule": "posture.trusted-roots", "kind": "trusted-roots", "severity": "medium", "verdict": "info", "targets": [], "title": "有 1 个加进来的根证书被设成信任:用它的人能看到你的 HTTPS 内容" }, { "rule": "posture.airdrop-everyone", "kind": "airdrop-everyone", "severity": "low", "verdict": "info", "targets": [], "title": "隔空投送对所有人开着:附近任何人都能给你发东西" } ], "planted": [ "airdrop-everyone", "trusted-root-admin", "firewall-and-stealth-off" ], "near": [] }, { "id": "posture-010", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: unknown (Custom Configuration).\n\nConfiguration:\n\tApple Internal: disabled\n\tKext Signing: enabled\n\tFilesystem Protections: disabled\n\tDebugging Restrictions: enabled\n\tDTrace Restrictions: enabled\n\tNVRAM Protections: enabled\n\tBaseSystem Verification: enabled\n\nThis is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.\n\n$ spctl --status\nassessments disabled\n\n$ sysadminctl -screenLock status\nsysadminctl[17770:302556] Unable to read the screenLock setting\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nNumber of trusted certs = 1\nCert 0: mkcert haoran@studio-mini\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultTrustRoot\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultTrustRoot\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 12 days, 16:57, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-15 19:00\n", "answer": [ { "rule": "posture.sip", "kind": "sip", "severity": "high", "verdict": "info", "targets": [], "title": "系统完整性保护(SIP)被关掉了" }, { "rule": "posture.gatekeeper", "kind": "gatekeeper", "severity": "high", "verdict": "info", "targets": [], "title": "Gatekeeper 被关掉了:没签名的应用打开时不会再拦" }, { "rule": "posture.trusted-roots", "kind": "trusted-roots", "severity": "medium", "verdict": "info", "targets": [], "title": "有 1 个加进来的根证书被设成信任:用它的人能看到你的 HTTPS 内容" }, { "rule": "posture.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "有几样没查成:锁屏" } ], "planted": [ "gatekeeper-off", "trusted-root-admin", "screen-lock-unknown", "sip-custom" ], "near": [], "boundary": [ "sip-custom" ] }, { "id": "posture-011", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: disabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[20760:11210] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.AEServer\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.apple.uucp\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nNumber of trusted certs = 1\nCert 0: Quillbay Debug Root\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultTrustRoot\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultTrustRoot\n\n$ security dump-trust-settings\nNumber of trusted certs = 1\nCert 0: Quillbay Debug Root\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultTrustRoot\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultTrustRoot\n\n$ uptime\n20:00 up 6 days, 12:00, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-09-18 21:00\n", "answer": [ { "rule": "posture.sip", "kind": "sip", "severity": "high", "verdict": "info", "targets": [], "title": "系统完整性保护(SIP)被关掉了" }, { "rule": "posture.trusted-roots", "kind": "trusted-roots", "severity": "medium", "verdict": "info", "targets": [], "title": "有 1 个加进来的根证书被设成信任:用它的人能看到你的 HTTPS 内容" } ], "planted": [ "trusted-root-both-domains", "sip-off" ], "near": [] }, { "id": "posture-012", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\n(没有答复:15 秒没跑完)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[5593:490042] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.telnetd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 14 days, 7:05, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-10-14 06:00\n", "answer": [ { "rule": "posture.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "有几样没查成:FileVault" } ], "planted": [ "probe-failed" ], "near": [] }, { "id": "posture-013", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is Off.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[32979:493922] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.AEServer\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 11 days, 22:19, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-10-16 08:00\n", "answer": [ { "rule": "posture.filevault", "kind": "filevault", "severity": "high", "verdict": "info", "targets": [], "title": "FileVault 没开:电脑丢了,硬盘上的东西能直接被读出来" } ], "planted": [ "filevault-off" ], "near": [] }, { "id": "posture-014", "group": "clean", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[51486:572438] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 9 days, 20:50, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-19 04:00\n", "answer": [], "planted": [], "near": [] }, { "id": "posture-015", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments disabled\n\n$ sysadminctl -screenLock status\nsysadminctl[49798:727081] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.smbd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 9 days, 18:53, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-16 10:00\n", "answer": [ { "rule": "posture.gatekeeper", "kind": "gatekeeper", "severity": "high", "verdict": "info", "targets": [], "title": "Gatekeeper 被关掉了:没签名的应用打开时不会再拦" } ], "planted": [ "gatekeeper-off" ], "near": [] }, { "id": "posture-016", "group": "near", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[42175:775406] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.telnetd\" => enabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.rpmuxd\" => enabled\n\t\"com.apple.screensharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nNumber of trusted certs = 1\nCert 0: Quillbay Debug Root\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultDeny\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultDeny\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 3 days, 2:39, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-02 03:00\n", "answer": [], "planted": [], "near": [ "other-service-on", "cert-denied" ], "boundary": [ "other-service-on" ] }, { "id": "posture-017", "group": "clean", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[53245:748344] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.telnetd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 16 days, 4:41, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-11 16:00\n", "answer": [], "planted": [], "near": [] }, { "id": "posture-018", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode disabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[18382:443737] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 18 days, 1:59, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-15 06:00\n", "answer": [ { "rule": "posture.stealth", "kind": "stealth", "severity": "low", "verdict": "info", "targets": [], "title": "防火墙的隐身模式没开:别人探测这台 Mac 时它会回应" } ], "planted": [ "stealth-off-new-wording" ], "near": [] }, { "id": "posture-019", "group": "mixed", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\nEncryption in progress: Percent completed = 66\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[58168:94431] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.AEServer\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.ftpd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nNumber of trusted certs = 1\nCert 0: Tidewater Labs Internal CA\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultTrustRoot\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultTrustRoot\n\n$ security dump-trust-settings\nNumber of trusted certs = 1\nCert 0: Tidewater Labs Internal CA\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultTrustRoot\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultTrustRoot\n\n$ uptime\n20:00 up 20 days, 12:24, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-07 06:00\n", "answer": [ { "rule": "posture.trusted-roots", "kind": "trusted-roots", "severity": "medium", "verdict": "info", "targets": [], "title": "有 1 个加进来的根证书被设成信任:用它的人能看到你的 HTTPS 内容" } ], "planted": [ "trusted-root-both-domains" ], "near": [ "screen-lock-short-delay", "filevault-encrypting" ] }, { "id": "posture-020", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is disabled. (State = 0)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode disabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[49897:359502] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.AEServer\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 13 days, 6:21, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-18 20:00\n", "answer": [ { "rule": "posture.firewall", "kind": "firewall", "severity": "medium", "verdict": "info", "targets": [], "title": "防火墙没开" } ], "planted": [ "firewall-and-stealth-off" ], "near": [] }, { "id": "posture-021", "group": "mixed", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is set to block all non-essential incoming connections. (State = 2)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[24514:212701] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.openssh.sshd\" => enabled\n\t\"com.apple.nfsd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 69 days, 15:51, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):3 个\nXProtect 特征库上次更新:2026-09-10 17:00\n", "answer": [ { "rule": "posture.remote-login", "kind": "remote-login", "severity": "medium", "verdict": "info", "targets": [], "title": "「远程登录」(SSH)开着:知道密码或有钥匙的人能从网络上登录这台 Mac" }, { "rule": "posture.pending-updates", "kind": "pending-updates", "severity": "low", "verdict": "info", "targets": [], "title": "有 3 个系统更新等着装,这台 Mac 已经 69 天没重启" } ], "planted": [ "remote-login", "pending-updates" ], "near": [ "firewall-blocks-all" ] }, { "id": "posture-022", "group": "mixed", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[31808:141852] Unable to read the screenLock setting\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.rexecd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.AEServer\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 18 days, 4:48, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-08-22 01:00\n", "answer": [ { "rule": "posture.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "有几样没查成:锁屏" } ], "planted": [ "screen-lock-unknown" ], "near": [ "xprotect-59-days" ] }, { "id": "posture-023", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[46893:629525] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nEveryone\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\ndalia\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nNumber of trusted certs = 1\nCert 0: localhost dev CA\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultTrustRoot\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultTrustRoot\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 14 days, 11:16, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-05-15 19:00\n", "answer": [ { "rule": "posture.auto-login", "kind": "auto-login", "severity": "high", "verdict": "info", "targets": [], "title": "开机自动登录:谁打开这台 Mac 都直接进到你的账户" }, { "rule": "posture.trusted-roots", "kind": "trusted-roots", "severity": "medium", "verdict": "info", "targets": [], "title": "有 1 个加进来的根证书被设成信任:用它的人能看到你的 HTTPS 内容" }, { "rule": "posture.xprotect-stale", "kind": "xprotect-stale", "severity": "medium", "verdict": "info", "targets": [], "title": "macOS 自带的恶意软件特征库(XProtect)158 天没更新了" }, { "rule": "posture.airdrop-everyone", "kind": "airdrop-everyone", "severity": "low", "verdict": "info", "targets": [], "title": "隔空投送对所有人开着:附近任何人都能给你发东西" } ], "planted": [ "trusted-root-admin", "auto-login", "xprotect-stale", "airdrop-everyone" ], "near": [] }, { "id": "posture-024", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[32679:717637] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n0\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.AEServer\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nEveryone\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 30 days, 0 mins, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-03-05 16:00\n", "answer": [ { "rule": "posture.autoupdate", "kind": "autoupdate", "severity": "medium", "verdict": "info", "targets": [], "title": "系统不会自动检查更新" }, { "rule": "posture.xprotect-stale", "kind": "xprotect-stale", "severity": "medium", "verdict": "info", "targets": [], "title": "macOS 自带的恶意软件特征库(XProtect)229 天没更新了" }, { "rule": "posture.pending-updates", "kind": "pending-updates", "severity": "low", "verdict": "info", "targets": [], "title": "有 1 个系统更新等着装,这台 Mac 已经 30 天没重启" }, { "rule": "posture.airdrop-everyone", "kind": "airdrop-everyone", "severity": "low", "verdict": "info", "targets": [], "title": "隔空投送对所有人开着:附近任何人都能给你发东西" } ], "planted": [ "pending-updates-exactly-30-days", "xprotect-stale", "autoupdate-off", "airdrop-everyone" ], "near": [] }, { "id": "posture-025", "group": "clean", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[45745:100515] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.nfsd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 17 days, 9:02, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-12 15:00\n", "answer": [], "planted": [], "near": [] }, { "id": "posture-026", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[26358:805006] screenLock is off\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.tftpd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 2 days, 16:48, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-09-12 06:00\n", "answer": [ { "rule": "posture.screen-lock", "kind": "screen-lock", "severity": "medium", "verdict": "info", "targets": [], "title": "锁屏不要密码:你走开时别人能直接用这台 Mac" } ], "planted": [ "screen-lock-off" ], "near": [] }, { "id": "posture-027", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: disabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[53921:803072] screenLock is off\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.openssh.sshd\" => enabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 8 days, 18:32, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-04 18:00\n", "answer": [ { "rule": "posture.sip", "kind": "sip", "severity": "high", "verdict": "info", "targets": [], "title": "系统完整性保护(SIP)被关掉了" }, { "rule": "posture.screen-lock", "kind": "screen-lock", "severity": "medium", "verdict": "info", "targets": [], "title": "锁屏不要密码:你走开时别人能直接用这台 Mac" }, { "rule": "posture.remote-login", "kind": "remote-login", "severity": "medium", "verdict": "info", "targets": [], "title": "「远程登录」(SSH)开着:知道密码或有钥匙的人能从网络上登录这台 Mac" } ], "planted": [ "remote-login", "screen-lock-off", "sip-off" ], "near": [] }, { "id": "posture-028", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is Off.\nDeferred enablement appears to be active for user 'ruben'.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[56754:885954] screenLock is off\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.smbd\" => enabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 1:59, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-09-20 04:00\n", "answer": [ { "rule": "posture.filevault", "kind": "filevault", "severity": "high", "verdict": "info", "targets": [], "title": "FileVault 没开:电脑丢了,硬盘上的东西能直接被读出来" }, { "rule": "posture.screen-lock", "kind": "screen-lock", "severity": "medium", "verdict": "info", "targets": [], "title": "锁屏不要密码:你走开时别人能直接用这台 Mac" }, { "rule": "posture.file-sharing", "kind": "file-sharing", "severity": "low", "verdict": "info", "targets": [], "title": "「文件共享」开着:同一个网络里的人能看到共享出来的文件夹" } ], "planted": [ "screen-lock-off", "filevault-deferred", "file-sharing" ], "near": [], "boundary": [ "filevault-deferred" ] }, { "id": "posture-029", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is disabled. (State = 0)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments disabled\n\n$ sysadminctl -screenLock status\nsysadminctl[21753:804534] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.smbd\" => disabled\n\t\"com.openssh.sshd\" => enabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.tftpd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 30 days, 0 mins, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-09-28 05:00\n", "answer": [ { "rule": "posture.gatekeeper", "kind": "gatekeeper", "severity": "high", "verdict": "info", "targets": [], "title": "Gatekeeper 被关掉了:没签名的应用打开时不会再拦" }, { "rule": "posture.firewall", "kind": "firewall", "severity": "medium", "verdict": "info", "targets": [], "title": "防火墙没开" }, { "rule": "posture.remote-login", "kind": "remote-login", "severity": "medium", "verdict": "info", "targets": [], "title": "「远程登录」(SSH)开着:知道密码或有钥匙的人能从网络上登录这台 Mac" }, { "rule": "posture.pending-updates", "kind": "pending-updates", "severity": "low", "verdict": "info", "targets": [], "title": "有 1 个系统更新等着装,这台 Mac 已经 30 天没重启" } ], "planted": [ "gatekeeper-off", "firewall-off", "pending-updates-exactly-30-days", "remote-login" ], "near": [] }, { "id": "posture-030", "group": "clean", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[54849:85664] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.apple.smbd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 18 days, 7:34, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-10-09 20:00\n", "answer": [], "planted": [], "near": [] }, { "id": "posture-031", "group": "mixed", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\nEncryption in progress: Percent completed = 42\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode disabled\n\n$ csrutil status\n(没有答复:15 秒没跑完)\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[56672:365780] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 4 days, 23:57, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-05 06:00\n", "answer": [ { "rule": "posture.stealth", "kind": "stealth", "severity": "low", "verdict": "info", "targets": [], "title": "防火墙的隐身模式没开:别人探测这台 Mac 时它会回应" }, { "rule": "posture.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "有几样没查成:SIP" } ], "planted": [ "probe-failed", "stealth-off-new-wording" ], "near": [ "filevault-encrypting" ] }, { "id": "posture-032", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\n(没有答复:15 秒没跑完)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[54761:833377] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nNumber of trusted certs = 1\nCert 0: Quillbay Debug Root\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultTrustRoot\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultTrustRoot\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 20 days, 1:07, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-22 18:00\n", "answer": [ { "rule": "posture.trusted-roots", "kind": "trusted-roots", "severity": "medium", "verdict": "info", "targets": [], "title": "有 1 个加进来的根证书被设成信任:用它的人能看到你的 HTTPS 内容" }, { "rule": "posture.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "有几样没查成:FileVault" } ], "planted": [ "probe-failed", "trusted-root-admin" ], "near": [] }, { "id": "posture-033", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is off\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[44317:209083] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 19 days, 22:30, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-28 12:00\n", "answer": [ { "rule": "posture.stealth", "kind": "stealth", "severity": "low", "verdict": "info", "targets": [], "title": "防火墙的隐身模式没开:别人探测这台 Mac 时它会回应" } ], "planted": [ "stealth-off" ], "near": [] }, { "id": "posture-034", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[23247:876559] screenLock delay is 3600 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.AEServer\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 23:26, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-19 08:00\n", "answer": [ { "rule": "posture.screen-lock-delay", "kind": "screen-lock-delay", "severity": "low", "verdict": "info", "targets": [], "title": "屏保或关屏后 60 分钟内不要密码" } ], "planted": [ "screen-lock-delay" ], "near": [] }, { "id": "posture-035", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[48494:258614] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.nfsd\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.ftpd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nNumber of trusted certs = 1\nCert 0: localhost dev CA\n Number of trust settings : 0\n\n$ uptime\n20:00 up 1 day, 23:30, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-09-26 04:00\n", "answer": [ { "rule": "posture.trusted-roots", "kind": "trusted-roots", "severity": "medium", "verdict": "info", "targets": [], "title": "有 1 个加进来的根证书被设成信任:用它的人能看到你的 HTTPS 内容" } ], "planted": [ "trusted-root-always" ], "near": [] }, { "id": "posture-036", "group": "near", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[22980:34067] screenLock delay is 300 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.AEServer\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.screensharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nNumber of trusted certs = 1\nCert 0: Brackenfield Dev Root\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultDeny\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultDeny\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 29 days, 15:27, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-09-20 09:00\n", "answer": [], "planted": [], "near": [ "uptime-29-days-with-updates", "cert-denied", "screen-lock-delay-300" ] }, { "id": "posture-037", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[56816:398983] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.openssh.sshd\" => enabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nNumber of trusted certs = 1\nCert 0: Quillbay Debug Root\n Number of trust settings : 0\n\n$ uptime\n20:00 up 17 days, 19:59, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-19 04:00\n", "answer": [ { "rule": "posture.remote-login", "kind": "remote-login", "severity": "medium", "verdict": "info", "targets": [], "title": "「远程登录」(SSH)开着:知道密码或有钥匙的人能从网络上登录这台 Mac" }, { "rule": "posture.trusted-roots", "kind": "trusted-roots", "severity": "medium", "verdict": "info", "targets": [], "title": "有 1 个加进来的根证书被设成信任:用它的人能看到你的 HTTPS 内容" } ], "planted": [ "trusted-root-always", "remote-login" ], "near": [] }, { "id": "posture-038", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[50627:283114] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.smbd\" => enabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 11 days, 10:46, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-15 08:00\n", "answer": [ { "rule": "posture.file-sharing", "kind": "file-sharing", "severity": "low", "verdict": "info", "targets": [], "title": "「文件共享」开着:同一个网络里的人能看到共享出来的文件夹" } ], "planted": [ "file-sharing" ], "near": [] }, { "id": "posture-039", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[15519:502718] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 30 days, 0 mins, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-09-24 20:00\n", "answer": [ { "rule": "posture.pending-updates", "kind": "pending-updates", "severity": "low", "verdict": "info", "targets": [], "title": "有 1 个系统更新等着装,这台 Mac 已经 30 天没重启" } ], "planted": [ "pending-updates-exactly-30-days" ], "near": [] }, { "id": "posture-040", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[29801:617218] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.rpmuxd\" => true\n\t\"com.apple.screensharing\" => true\n\t\"com.apple.smbd\" => true\n\t\"com.openssh.sshd\" => false\n\t\"com.apple.NetworkSharing\" => true\n\t\"com.apple.uucp\" => true\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 9 days, 19:07, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-09-14 04:00\n", "answer": [ { "rule": "posture.remote-login", "kind": "remote-login", "severity": "medium", "verdict": "info", "targets": [], "title": "「远程登录」(SSH)开着:知道密码或有钥匙的人能从网络上登录这台 Mac" } ], "planted": [ "remote-login-old-format" ], "near": [] }, { "id": "posture-041", "group": "near", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[43447:475050] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.AEServer\" => disabled\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 8 days, 3:02, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-24 02:00\n", "answer": [], "planted": [], "near": [ "screen-lock-short-delay" ] }, { "id": "posture-042", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\n(没有答复:15 秒没跑完)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments disabled\n\n$ sysadminctl -screenLock status\nsysadminctl[24889:123623] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.smbd\" => enabled\n\t\"com.apple.tftpd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 7 days, 1:33, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-28 10:00\n", "answer": [ { "rule": "posture.gatekeeper", "kind": "gatekeeper", "severity": "high", "verdict": "info", "targets": [], "title": "Gatekeeper 被关掉了:没签名的应用打开时不会再拦" }, { "rule": "posture.file-sharing", "kind": "file-sharing", "severity": "low", "verdict": "info", "targets": [], "title": "「文件共享」开着:同一个网络里的人能看到共享出来的文件夹" }, { "rule": "posture.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "有几样没查成:FileVault" } ], "planted": [ "probe-failed", "gatekeeper-off", "file-sharing" ], "near": [] }, { "id": "posture-043", "group": "near", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[39851:882794] screenLock delay is 300 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.smbd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nNumber of trusted certs = 1\nCert 0: Mossgate Office Gateway CA\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultDeny\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultDeny\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 185 days, 7:00, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-10 17:00\n", "answer": [], "planted": [], "near": [ "screen-lock-delay-300", "cert-denied", "long-uptime-no-updates" ], "boundary": [ "long-uptime-no-updates" ] }, { "id": "posture-044", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[26355:50309] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 3 days, 19:56, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-08-12 13:00\n", "answer": [ { "rule": "posture.xprotect-stale", "kind": "xprotect-stale", "severity": "medium", "verdict": "info", "targets": [], "title": "macOS 自带的恶意软件特征库(XProtect)69 天没更新了" } ], "planted": [ "xprotect-stale" ], "near": [] }, { "id": "posture-045", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[17291:676721] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.telnetd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.screensharing\" => enabled\n\t\"com.apple.NetworkSharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 7 days, 21:11, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-09-25 17:00\n", "answer": [ { "rule": "posture.screen-sharing", "kind": "screen-sharing", "severity": "medium", "verdict": "info", "targets": [], "title": "「屏幕共享」或「远程管理」开着:别人能从网络上看到、操作这台 Mac" } ], "planted": [ "screen-sharing" ], "near": [] }, { "id": "posture-046", "group": "mixed", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is Off.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[32733:495874] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.telnetd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.smbd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nNumber of trusted certs = 1\nCert 0: Harborline Proxy Root CA\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultDeny\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultDeny\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 3 days, 10:20, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-08-21 20:00\n", "answer": [ { "rule": "posture.filevault", "kind": "filevault", "severity": "high", "verdict": "info", "targets": [], "title": "FileVault 没开:电脑丢了,硬盘上的东西能直接被读出来" } ], "planted": [ "filevault-off" ], "near": [ "xprotect-exactly-60-days", "cert-denied" ] }, { "id": "posture-047", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is disabled. (State = 0)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is off\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[10479:574029] screenLock is off\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n0\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n1\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 1 day, 23:30, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-28 02:00\n", "answer": [ { "rule": "posture.firewall", "kind": "firewall", "severity": "medium", "verdict": "info", "targets": [], "title": "防火墙没开" }, { "rule": "posture.screen-lock", "kind": "screen-lock", "severity": "medium", "verdict": "info", "targets": [], "title": "锁屏不要密码:你走开时别人能直接用这台 Mac" }, { "rule": "posture.autoupdate", "kind": "autoupdate", "severity": "medium", "verdict": "info", "targets": [], "title": "系统不会自动检查更新" }, { "rule": "posture.guest", "kind": "guest", "severity": "low", "verdict": "info", "targets": [], "title": "客人用户开着:不用密码就能登录这台 Mac" } ], "planted": [ "guest", "autoupdate-off", "firewall-and-stealth-off", "screen-lock-off" ], "near": [] }, { "id": "posture-048", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[53333:649228] screenLock is off\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nEveryone\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 91 days, 11:41, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-09-12 07:00\n", "answer": [ { "rule": "posture.screen-lock", "kind": "screen-lock", "severity": "medium", "verdict": "info", "targets": [], "title": "锁屏不要密码:你走开时别人能直接用这台 Mac" }, { "rule": "posture.pending-updates", "kind": "pending-updates", "severity": "low", "verdict": "info", "targets": [], "title": "有 1 个系统更新等着装,这台 Mac 已经 91 天没重启" }, { "rule": "posture.airdrop-everyone", "kind": "airdrop-everyone", "severity": "low", "verdict": "info", "targets": [], "title": "隔空投送对所有人开着:附近任何人都能给你发东西" } ], "planted": [ "pending-updates", "airdrop-everyone", "screen-lock-off" ], "near": [] }, { "id": "posture-049", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[42823:330178] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.AEServer\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n1\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 8 days, 21:43, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-10-17 12:00\n", "answer": [ { "rule": "posture.guest", "kind": "guest", "severity": "low", "verdict": "info", "targets": [], "title": "客人用户开着:不用密码就能登录这台 Mac" } ], "planted": [ "guest" ], "near": [] }, { "id": "posture-050", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[21938:306830] screenLock delay is 3600 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.NetworkSharing\" => enabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 74 days, 3:31, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):2 个\nXProtect 特征库上次更新:2026-09-13 19:00\n", "answer": [ { "rule": "posture.screen-lock-delay", "kind": "screen-lock-delay", "severity": "low", "verdict": "info", "targets": [], "title": "屏保或关屏后 60 分钟内不要密码" }, { "rule": "posture.pending-updates", "kind": "pending-updates", "severity": "low", "verdict": "info", "targets": [], "title": "有 2 个系统更新等着装,这台 Mac 已经 74 天没重启" }, { "rule": "posture.internet-sharing", "kind": "internet-sharing", "severity": "low", "verdict": "info", "targets": [], "title": "「互联网共享」开着:这台 Mac 在把网络分给别的设备" } ], "planted": [ "screen-lock-delay", "internet-sharing", "pending-updates" ], "near": [] }, { "id": "posture-051", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[59063:21261] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.AEServer\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.openssh.sshd\" => enabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 12 days, 19:56, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-10 03:00\n", "answer": [ { "rule": "posture.remote-login", "kind": "remote-login", "severity": "medium", "verdict": "info", "targets": [], "title": "「远程登录」(SSH)开着:知道密码或有钥匙的人能从网络上登录这台 Mac" } ], "planted": [ "remote-login" ], "near": [] }, { "id": "posture-052", "group": "mixed", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is set to block all non-essential incoming connections. (State = 2)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: unknown (Custom Configuration).\n\nConfiguration:\n\tApple Internal: disabled\n\tKext Signing: enabled\n\tFilesystem Protections: disabled\n\tDebugging Restrictions: enabled\n\tDTrace Restrictions: enabled\n\tNVRAM Protections: enabled\n\tBaseSystem Verification: enabled\n\nThis is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.\n\n$ spctl --status\nassessments disabled\n\n$ sysadminctl -screenLock status\nsysadminctl[23896:479321] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.ftpd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.telnetd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 12 days, 22:41, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-08-22 12:00\n", "answer": [ { "rule": "posture.sip", "kind": "sip", "severity": "high", "verdict": "info", "targets": [], "title": "系统完整性保护(SIP)被关掉了" }, { "rule": "posture.gatekeeper", "kind": "gatekeeper", "severity": "high", "verdict": "info", "targets": [], "title": "Gatekeeper 被关掉了:没签名的应用打开时不会再拦" } ], "planted": [ "gatekeeper-off", "sip-custom" ], "near": [ "xprotect-59-days", "firewall-blocks-all" ], "boundary": [ "sip-custom" ] }, { "id": "posture-053", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is Off.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[9627:410110] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nNumber of trusted certs = 1\nCert 0: Harborline Proxy Root CA\n Number of trust settings : 0\n\n$ uptime\n20:00 up 18 days, 7:25, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-29 02:00\n", "answer": [ { "rule": "posture.filevault", "kind": "filevault", "severity": "high", "verdict": "info", "targets": [], "title": "FileVault 没开:电脑丢了,硬盘上的东西能直接被读出来" }, { "rule": "posture.trusted-roots", "kind": "trusted-roots", "severity": "medium", "verdict": "info", "targets": [], "title": "有 1 个加进来的根证书被设成信任:用它的人能看到你的 HTTPS 内容" } ], "planted": [ "trusted-root-always", "filevault-off" ], "near": [] }, { "id": "posture-054", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is Off.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is disabled. (State = 0)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[39127:539476] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.telnetd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 3 days, 10:50, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-17 22:00\n", "answer": [ { "rule": "posture.filevault", "kind": "filevault", "severity": "high", "verdict": "info", "targets": [], "title": "FileVault 没开:电脑丢了,硬盘上的东西能直接被读出来" }, { "rule": "posture.firewall", "kind": "firewall", "severity": "medium", "verdict": "info", "targets": [], "title": "防火墙没开" } ], "planted": [ "firewall-off", "filevault-off" ], "near": [] }, { "id": "posture-055", "group": "near", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is set to block all non-essential incoming connections. (State = 2)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[7221:349119] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 12 days, 8:19, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-17 03:00\n", "answer": [], "planted": [], "near": [ "firewall-blocks-all" ] }, { "id": "posture-056", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: disabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[11251:500598] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.AEServer\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 14 days, 9:57, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-30 12:00\n", "answer": [ { "rule": "posture.sip", "kind": "sip", "severity": "high", "verdict": "info", "targets": [], "title": "系统完整性保护(SIP)被关掉了" } ], "planted": [ "sip-off" ], "near": [] }, { "id": "posture-057", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[20474:396654] screenLock is off\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.nfsd\" => true\n\t\"com.openssh.sshd\" => false\n\t\"com.apple.CSCSupportd\" => true\n\t\"com.apple.screensharing\" => true\n\t\"com.apple.uucp\" => true\n\t\"com.apple.ftp-proxy\" => true\n\t\"com.apple.ODSAgent\" => true\n\t\"com.apple.NetworkSharing\" => true\n\t\"com.apple.smbd\" => true\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 8 days, 3:11, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-15 16:00\n", "answer": [ { "rule": "posture.screen-lock", "kind": "screen-lock", "severity": "medium", "verdict": "info", "targets": [], "title": "锁屏不要密码:你走开时别人能直接用这台 Mac" }, { "rule": "posture.remote-login", "kind": "remote-login", "severity": "medium", "verdict": "info", "targets": [], "title": "「远程登录」(SSH)开着:知道密码或有钥匙的人能从网络上登录这台 Mac" } ], "planted": [ "screen-lock-off", "remote-login-old-format" ], "near": [] }, { "id": "posture-058", "group": "near", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\nEncryption in progress: Percent completed = 13\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[30251:660348] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nNumber of trusted certs = 1\nCert 0: localhost dev CA\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Policy String : router.lan.example\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultTrustRoot\n Trust Setting 1:\n Policy OID : Basic X509\n Policy String : router.lan.example\n Result Type : kSecTrustSettingsResultTrustRoot\n\n$ uptime\n20:00 up 4 days, 4:04, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-12 03:00\n", "answer": [], "planted": [], "near": [ "cert-for-one-host", "filevault-encrypting" ] }, { "id": "posture-059", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: disabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[50676:120689] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 1 day, 1:35, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-03-03 12:00\n", "answer": [ { "rule": "posture.sip", "kind": "sip", "severity": "high", "verdict": "info", "targets": [], "title": "系统完整性保护(SIP)被关掉了" }, { "rule": "posture.xprotect-stale", "kind": "xprotect-stale", "severity": "medium", "verdict": "info", "targets": [], "title": "macOS 自带的恶意软件特征库(XProtect)231 天没更新了" } ], "planted": [ "xprotect-stale", "sip-off" ], "near": [] }, { "id": "posture-060", "group": "near", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[37633:435544] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.ftpd\" => enabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.uucp\" => enabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 1 day, 10:06, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-30 11:00\n", "answer": [], "planted": [], "near": [ "other-service-on" ], "boundary": [ "other-service-on" ] }, { "id": "posture-061", "group": "near", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[34953:461316] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.ftp-proxy\" => enabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.rexecd\" => enabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 4 days, 8:01, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-10 19:00\n", "answer": [], "planted": [], "near": [ "other-service-on" ], "boundary": [ "other-service-on" ] }, { "id": "posture-062", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is disabled. (State = 0)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is off\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[8537:264075] Unable to read the screenLock setting\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.screensharing\" => enabled\n\t\"com.apple.AEServer\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nEveryone\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 9 days, 23:03, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-26 08:00\n", "answer": [ { "rule": "posture.firewall", "kind": "firewall", "severity": "medium", "verdict": "info", "targets": [], "title": "防火墙没开" }, { "rule": "posture.screen-sharing", "kind": "screen-sharing", "severity": "medium", "verdict": "info", "targets": [], "title": "「屏幕共享」或「远程管理」开着:别人能从网络上看到、操作这台 Mac" }, { "rule": "posture.airdrop-everyone", "kind": "airdrop-everyone", "severity": "low", "verdict": "info", "targets": [], "title": "隔空投送对所有人开着:附近任何人都能给你发东西" }, { "rule": "posture.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "有几样没查成:锁屏" } ], "planted": [ "airdrop-everyone", "screen-sharing", "firewall-and-stealth-off", "screen-lock-unknown" ], "near": [] }, { "id": "posture-063", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[4919:385213] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nNumber of trusted certs = 1\nCert 0: Brackenfield Dev Root\n Number of trust settings : 2\n Trust Setting 0:\n Policy OID : SSL\n Allowed Error : CSSMERR_TP_CERT_EXPIRED\n Result Type : kSecTrustSettingsResultTrustRoot\n Trust Setting 1:\n Policy OID : Basic X509\n Result Type : kSecTrustSettingsResultTrustRoot\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 8 days, 2:02, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-04 09:00\n", "answer": [ { "rule": "posture.trusted-roots", "kind": "trusted-roots", "severity": "medium", "verdict": "info", "targets": [], "title": "有 1 个加进来的根证书被设成信任:用它的人能看到你的 HTTPS 内容" } ], "planted": [ "trusted-root-admin" ], "near": [] }, { "id": "posture-064", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[43851:475892] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 42 days, 4:56, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):3 个\nXProtect 特征库上次更新:2026-10-09 17:00\n", "answer": [ { "rule": "posture.pending-updates", "kind": "pending-updates", "severity": "low", "verdict": "info", "targets": [], "title": "有 3 个系统更新等着装,这台 Mac 已经 42 天没重启" } ], "planted": [ "pending-updates" ], "near": [] }, { "id": "posture-065", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is disabled. (State = 0)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[18505:134151] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.AEServer\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.smbd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 2 days, 4:04, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-09-23 14:00\n", "answer": [ { "rule": "posture.firewall", "kind": "firewall", "severity": "medium", "verdict": "info", "targets": [], "title": "防火墙没开" } ], "planted": [ "firewall-off" ], "near": [] }, { "id": "posture-066", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[32602:845162] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nEveryone\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 5 days, 19:34, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-17 01:00\n", "answer": [ { "rule": "posture.airdrop-everyone", "kind": "airdrop-everyone", "severity": "low", "verdict": "info", "targets": [], "title": "隔空投送对所有人开着:附近任何人都能给你发东西" } ], "planted": [ "airdrop-everyone" ], "near": [] }, { "id": "posture-067", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is Off.\nDeferred enablement appears to be active for user 'dalia'.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[25574:789050] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.nfsd\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 13 days, 4:56, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-16 04:00\n", "answer": [ { "rule": "posture.filevault", "kind": "filevault", "severity": "high", "verdict": "info", "targets": [], "title": "FileVault 没开:电脑丢了,硬盘上的东西能直接被读出来" } ], "planted": [ "filevault-deferred" ], "near": [], "boundary": [ "filevault-deferred" ] }, { "id": "posture-068", "group": "near", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[36213:473997] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.apple.telnetd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 29 days, 23:54, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):2 个\nXProtect 特征库上次更新:2026-09-11 10:00\n", "answer": [], "planted": [], "near": [ "uptime-29-days-with-updates" ] }, { "id": "posture-069", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[11920:620249] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.NetworkSharing\" => enabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 6 days, 9:26, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-10-05 20:00\n", "answer": [ { "rule": "posture.internet-sharing", "kind": "internet-sharing", "severity": "low", "verdict": "info", "targets": [], "title": "「互联网共享」开着:这台 Mac 在把网络分给别的设备" } ], "planted": [ "internet-sharing" ], "near": [] }, { "id": "posture-070", "group": "clean", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[43718:252599] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.apple.smbd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 12 days, 22:26, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-17 07:00\n", "answer": [], "planted": [], "near": [] }, { "id": "posture-071", "group": "near", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[5005:819451] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 47 days, 14:00, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-13 06:00\n", "answer": [], "planted": [], "near": [ "long-uptime-no-updates", "airdrop-off" ], "boundary": [ "long-uptime-no-updates" ] }, { "id": "posture-072", "group": "near", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[32090:785750] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.rpmuxd\" => enabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.rexecd\" => enabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.telnetd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 153 days, 8:00, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-10 13:00\n", "answer": [], "planted": [], "near": [ "long-uptime-no-updates", "other-service-on" ], "boundary": [ "long-uptime-no-updates", "other-service-on" ] }, { "id": "posture-073", "group": "mixed", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\nDecryption in progress: Percent completed = 44\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[56421:775052] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.smbd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.screensharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\ntomas\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 3 days, 18:18, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-08-22 19:00\n", "answer": [ { "rule": "posture.auto-login", "kind": "auto-login", "severity": "high", "verdict": "info", "targets": [], "title": "开机自动登录:谁打开这台 Mac 都直接进到你的账户" } ], "planted": [ "auto-login" ], "near": [ "xprotect-59-days", "filevault-decrypting" ], "boundary": [ "filevault-decrypting" ] }, { "id": "posture-074", "group": "multi", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode disabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[6757:355935] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.rpmuxd\" => disabled\n\t\"com.apple.rexecd\" => disabled\n\t\"com.openssh.sshd\" => enabled\n\t\"com.apple.smbd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 20 days, 3:09, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-19 05:00\n", "answer": [ { "rule": "posture.remote-login", "kind": "remote-login", "severity": "medium", "verdict": "info", "targets": [], "title": "「远程登录」(SSH)开着:知道密码或有钥匙的人能从网络上登录这台 Mac" }, { "rule": "posture.stealth", "kind": "stealth", "severity": "low", "verdict": "info", "targets": [], "title": "防火墙的隐身模式没开:别人探测这台 Mac 时它会回应" } ], "planted": [ "remote-login", "stealth-off-new-wording" ], "near": [] }, { "id": "posture-075", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: unknown (Custom Configuration).\n\nConfiguration:\n\tApple Internal: disabled\n\tKext Signing: enabled\n\tFilesystem Protections: disabled\n\tDebugging Restrictions: enabled\n\tDTrace Restrictions: enabled\n\tNVRAM Protections: enabled\n\tBaseSystem Verification: enabled\n\nThis is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[54224:688560] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 19 days, 15:16, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-09 03:00\n", "answer": [ { "rule": "posture.sip", "kind": "sip", "severity": "high", "verdict": "info", "targets": [], "title": "系统完整性保护(SIP)被关掉了" } ], "planted": [ "sip-custom" ], "near": [], "boundary": [ "sip-custom" ] }, { "id": "posture-076", "group": "clean", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[2724:680826] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.AEServer\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 15 days, 2:08, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-29 15:00\n", "answer": [], "planted": [], "near": [] }, { "id": "posture-077", "group": "single", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[25074:336361] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.AEServer\" => disabled\n\t\"com.apple.uucp\" => disabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\ndalia\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 8 days, 16:56, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-11 02:00\n", "answer": [ { "rule": "posture.auto-login", "kind": "auto-login", "severity": "high", "verdict": "info", "targets": [], "title": "开机自动登录:谁打开这台 Mac 都直接进到你的账户" } ], "planted": [ "auto-login" ], "near": [] }, { "id": "posture-078", "group": "near", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[39264:140118] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 15 days, 3:39, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-08-21 20:00\n", "answer": [], "planted": [], "near": [ "airdrop-off", "xprotect-exactly-60-days" ] }, { "id": "posture-079", "group": "near", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\nEncryption in progress: Percent completed = 53\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[24149:715797] screenLock delay is 5 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.AEServer\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 11 days, 21:39, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-19 18:00\n", "answer": [], "planted": [], "near": [ "filevault-encrypting" ] }, { "id": "posture-080", "group": "clean", "facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[16196:698987] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, AutomaticCheckEnabled) does not exist\n(退出码 1)\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.rexecd\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.screensharing\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 17 days, 12:03, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-10-02 03:00\n", "answer": [], "planted": [], "near": [] } ] }
{
"set": "posture",
"version": 1,
"seed": 1,
"clock": "2026-10-20T12:00:00Z",
"scan": {
"commit": "b1dc338d154c851e3c2eb6976267d15ec2b9403f",
"version": "luoke-scan 0.3.46 · rules 0.1.0"
},
"made_on": {
"macos": "27.2.1"
},
"kinds": [
"filevault",
"firewall",
"stealth",
"sip",
"gatekeeper",
"screen-lock",
"screen-lock-delay",
"autoupdate",
"pending-updates",
"remote-login",
"screen-sharing",
"file-sharing",
"internet-sharing",
"airdrop-everyone",
"auto-login",
"guest",
"trusted-roots",
"xprotect-stale",
"partial"
],
"rules": [
"posture"
],
"other_rules_seen": [],
"rules_skipped": [
"malware"
],
"surprises": [],
"items": [
{
"id": "posture-001",
"group": "near",
"facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[25706:461617] screenLock delay is 300 seconds\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.mdmclient.daemon.runatboot\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.smbd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 15 days, 7:42, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-17 23:00\n",
"answer": [],
"planted": [],
"near": [
"screen-lock-delay-300"
]
},
{
"id": "posture-002",
"group": "single",
"facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nStealth mode enabled\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[40152:679476] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n0\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.AEServer\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.openssh.sshd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 3 days, 4:26, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):0 个\nXProtect 特征库上次更新:2026-09-14 23:00\n",
"answer": [
{
"rule": "posture.autoupdate",
"kind": "autoupdate",
"severity": "medium",
"verdict": "info",
"targets": [],
"title": "系统不会自动检查更新"
}
],
"planted": [
"autoupdate-off"
],
"near": []
},
{
"id": "posture-003",
"group": "mixed",
"facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is On.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is on\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[15826:442122] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.openssh.sshd\" => enabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.ODSAgent\" => disabled\n\t\"com.apple.tftpd\" => disabled\n\t\"com.apple.telnetd\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.rexecd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nContacts Only\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\n0\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 29 days, 14:40, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):3 个\nXProtect 特征库上次更新:2026-10-12 09:00\n",
"answer": [
{
"rule": "posture.remote-login",
"kind": "remote-login",
"severity": "medium",
"verdict": "info",
"targets": [],
"title": "「远程登录」(SSH)开着:知道密码或有钥匙的人能从网络上登录这台 Mac"
}
],
"planted": [
"remote-login"
],
"near": [
"uptime-29-days-with-updates"
]
},
{
"id": "posture-004",
"group": "multi",
"facts": "现在是 2026-10-20 20:00(UTC+8)。下面是在这台 Mac 上运行几条系统命令得到的输出,和另外读到的三样。\n\n$ fdesetup status\nFileVault is Off.\nDeferred enablement appears to be active for user 'tomas'.\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate\nFirewall is enabled. (State = 1)\n\n$ /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode\nFirewall stealth mode is off\n\n$ csrutil status\nSystem Integrity Protection status: enabled.\n\n$ spctl --status\nassessments enabled\n\n$ sysadminctl -screenLock status\nsysadminctl[4258:363005] screenLock delay is immediate\n\n$ defaults read /Library/Preferences/com.apple.SoftwareUpdate AutomaticCheckEnabled\n1\n\n$ launchctl print-disabled system\ndisabled services = {\n\t\"com.apple.ftp-proxy\" => disabled\n\t\"com.apple.NetworkSharing\" => disabled\n\t\"com.apple.nfsd\" => disabled\n\t\"com.openssh.sshd\" => disabled\n\t\"com.apple.screensharing\" => disabled\n\t\"com.apple.smbd\" => disabled\n\t\"com.apple.ftpd\" => disabled\n\t\"com.apple.CSCSupportd\" => disabled\n\t\"com.apple.tftpd\" => disabled\n}\n\n$ defaults read com.apple.sharingd DiscoverableMode\nOff\n\n$ defaults read /Library/Preferences/com.apple.loginwindow autoLoginUser\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, autoLoginUser) does not exist\n(退出码 1)\n\n$ defaults read /Library/Preferences/com.apple.loginwindow GuestEnabled\nThe domain/default pair of (/Library/Preferences/com.apple.loginwindow, GuestEnabled) does not exist\n(退出码 1)\n\n$ security dump-trust-settings -d\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ security dump-trust-settings\nSecTrustSettings: No Trust Settings were found.\n(退出码 1)\n\n$ uptime\n20:00 up 18 days, 17:38, 2 users, load averages: 1.42 1.31 1.25\n\n等着安装的系统更新(软件更新的推荐列表):1 个\nXProtect 特征库上次更新:2026-10-16 22:00\n",
"answer": [
{
"rule": "posture.filevault",
"kind": "filevault",