{ "set": "process", "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": "26.4.1" }, "kinds": [ "deleted-binary", "dyld-insert", "library-temp", "library-deleted", "pile-up", "orphan", "listening", "argv-secret", "partial" ], "rules": [ "exposure", "process" ], "other_rules_seen": [], "rules_skipped": [ "malware" ], "surprises": [], "items": [ { "id": "process-001", "group": "single", "facts": "这台 Mac 现在登录的用户是 dalia。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 4天17小时 程序 /sbin/launchd\nPID 386 父进程 1 用户 root 已运行 4天17小时 程序 /usr/libexec/securityd\nPID 416 父进程 1 用户 root 已运行 4天17小时 程序 /usr/sbin/KernelEventAgent\nPID 431 父进程 1 用户 root 已运行 4天17小时 程序 /usr/libexec/watchdogd\nPID 452 父进程 1 用户 root 已运行 4天17小时 程序 /usr/libexec/airportd\nPID 467 父进程 1 用户 root 已运行 4天17小时 程序 /usr/libexec/UserEventAgent\nPID 491 父进程 1 用户 root 已运行 4天17小时 程序 /usr/libexec/logd\nPID 509 父进程 1 用户 root 已运行 4天17小时 程序 /usr/libexec/configd\nPID 550 父进程 1 用户 dalia 已运行 4天16小时 程序 /usr/libexec/lsd\nPID 589 父进程 1 用户 dalia 已运行 4天17小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 615 父进程 1 用户 dalia 已运行 4天17小时 程序 /usr/libexec/secd\nPID 621 父进程 1 用户 dalia 已运行 4天17小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 645 父进程 1 用户 dalia 已运行 4天16小时 程序 /usr/sbin/usernoted\nPID 679 父进程 1 用户 dalia 已运行 4天16小时 程序 /usr/libexec/sharingd\nPID 689 父进程 1 用户 dalia 已运行 9小时17分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 694 父进程 689 用户 dalia 已运行 8小时39分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 696 父进程 689 用户 dalia 已运行 6小时45分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 699 父进程 1 用户 dalia 已运行 19小时48分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 713 父进程 699 用户 dalia 已运行 9小时55分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libc++.1.dylib\nPID 751 父进程 699 用户 dalia 已运行 4小时3分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libc++.1.dylib\nPID 775 父进程 1 用户 dalia 已运行 5小时0分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 810 父进程 775 用户 dalia 已运行 4小时59分 程序 /bin/zsh\n 命令行:-zsh\nPID 832 父进程 775 用户 dalia 已运行 4小时59分 程序 /bin/zsh\n 命令行:-zsh\nPID 867 父进程 775 用户 dalia 已运行 4小时59分 程序 /bin/zsh\n 命令行:-zsh\nPID 880 父进程 867 用户 dalia 已运行 50分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 912 父进程 867 用户 dalia 已运行 1小时7分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 921 父进程 867 用户 dalia 已运行 54分 程序 /opt/homebrew/bin/mysql\n 命令行:mysql -h db.internal.example -u report -p8degxjF18Qz8 sales\nPID 935 父进程 699 用户 dalia 已运行 3小时36分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\nPID 943 父进程 699 用户 dalia 已运行 7小时49分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\nPID 950 父进程 689 用户 dalia 已运行 7小时39分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):550、589、615、621、645、679\n", "answer": [ { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "921" ], "title": "正在运行的 mysql 命令行里带着参数 -p(数据库密码)" } ], "planted": [ "secret-mysql" ], "near": [] }, { "id": "process-002", "group": "near", "facts": "这台 Mac 现在登录的用户是 ruben。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 1天20小时 程序 /sbin/launchd\nPID 437 父进程 1 用户 root 已运行 1天19小时 程序 /usr/libexec/airportd\nPID 476 父进程 1 用户 root 已运行 1天19小时 程序 /usr/libexec/diskarbitrationd\nPID 514 父进程 1 用户 root 已运行 1天19小时 程序 /usr/sbin/syslogd\nPID 526 父进程 1 用户 root 已运行 1天19小时 程序 /usr/sbin/KernelEventAgent\nPID 539 父进程 1 用户 root 已运行 1天19小时 程序 /usr/libexec/securityd\nPID 568 父进程 1 用户 root 已运行 1天19小时 程序 /usr/sbin/cupsd\nPID 575 父进程 1 用户 root 已运行 1天19小时 程序 /usr/libexec/watchdogd\nPID 612 父进程 1 用户 root 已运行 1天19小时 程序 /usr/sbin/notifyd\nPID 620 父进程 1 用户 root 已运行 1天19小时 程序 /usr/libexec/thermalmonitord\nPID 658 父进程 1 用户 root 已运行 1天19小时 程序 /usr/libexec/UserEventAgent\nPID 681 父进程 1 用户 _coreaudiod 已运行 1天19小时 程序 /usr/sbin/coreaudiod\nPID 684 父进程 1 用户 ruben 已运行 1天19小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 690 父进程 1 用户 ruben 已运行 1天19小时 程序 /usr/sbin/cfprefsd\nPID 725 父进程 1 用户 ruben 已运行 1天19小时 程序 /usr/libexec/lsd\nPID 729 父进程 1 用户 ruben 已运行 1天19小时 程序 /usr/libexec/UserEventAgent\nPID 759 父进程 1 用户 ruben 已运行 1天19小时 程序 /usr/libexec/secd\nPID 777 父进程 1 用户 ruben 已运行 1天19小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 787 父进程 1 用户 ruben 已运行 1天1小时 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 815 父进程 787 用户 ruben 已运行 1小时12分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libc++.1.dylib\nPID 842 父进程 1 用户 ruben 已运行 10小时35分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 853 父进程 842 用户 ruben 已运行 8小时24分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libz.1.dylib\nPID 868 父进程 1 用户 ruben 已运行 23小时3分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 901 父进程 868 用户 ruben 已运行 23小时2分 程序 /bin/zsh\n 命令行:-zsh\nPID 902 父进程 868 用户 ruben 已运行 11小时21分 程序 /bin/zsh\n 命令行:-zsh\nPID 913 父进程 868 用户 ruben 已运行 23小时3分 程序 /bin/zsh\n 命令行:-zsh\nPID 948 父进程 902 用户 ruben 已运行 3小时45分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 978 父进程 902 用户 ruben 已运行 1小时20分 程序 /usr/bin/tail\n 命令行:tail -f /Users/ruben/Projects/harbor-site/logs/dev.log\nPID 1019 父进程 902 用户 ruben 已运行 4小时19分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1039 父进程 1 用户 ruben 已运行 1小时5分 程序 /private/var/folders/c4/hfc9fvf6p8v764j_khg5q93rx7mn0k/T/AppTranslocation/0A1B2C3D-0000-4000-8000-799797689349/d/Vextra.app/Contents/MacOS/Vextra\n 载入的库:/private/var/folders/c4/hfc9fvf6p8v764j_khg5q93rx7mn0k/T/AppTranslocation/0A1B2C3D-0000-4000-8000-799797689349/d/Vextra.app/Contents/Frameworks/VextraKit.framework/VextraKit\nPID 1045 父进程 901 用户 ruben 已运行 4小时1分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy file-server --listen [::1]:5173\n 监听:[::1]:5173\n\nlaunchd 管着的任务(launchctl list 里有的进程号):684、690、725、729、759、777\n", "answer": [], "planted": [], "near": [ "library-in-own-bundle", "listening-loopback" ] }, { "id": "process-003", "group": "multi", "facts": "这台 Mac 现在登录的用户是 ines。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 4天20小时 程序 /sbin/launchd\nPID 387 父进程 1 用户 root 已运行 4天20小时 程序 /usr/sbin/notifyd\nPID 403 父进程 1 用户 root 已运行 4天20小时 程序 /usr/libexec/thermalmonitord\nPID 442 父进程 1 用户 root 已运行 4天20小时 程序 /usr/libexec/diskarbitrationd\nPID 470 父进程 1 用户 _locationd 已运行 4天20小时 程序 /usr/libexec/locationd\nPID 481 父进程 1 用户 _windowserver 已运行 4天20小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 500 父进程 1 用户 _mdnsresponder 已运行 4天20小时 程序 /usr/sbin/mDNSResponder\nPID 505 父进程 1 用户 root 已运行 4天20小时 程序 /usr/libexec/watchdogd\nPID 538 父进程 1 用户 root 已运行 4天20小时 程序 /usr/libexec/configd\nPID 545 父进程 1 用户 ines 已运行 4天20小时 程序 /usr/sbin/distnoted\nPID 555 父进程 1 用户 ines 已运行 4天20小时 程序 /usr/libexec/rapportd\nPID 562 父进程 1 用户 ines 已运行 4天20小时 程序 /usr/libexec/secd\nPID 569 父进程 1 用户 ines 已运行 4天20小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 579 父进程 1 用户 ines 已运行 4天20小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 602 父进程 1 用户 ines 已运行 4天20小时 程序 /usr/libexec/nsurlsessiond\nPID 626 父进程 1 用户 ines 已运行 15小时52分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 655 父进程 626 用户 ines 已运行 1小时13分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (GPU).app/Contents/MacOS/Brackenmail Helper (GPU)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libobjc.A.dylib\nPID 679 父进程 626 用户 ines 已运行 3小时58分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 710 父进程 626 用户 ines 已运行 6小时0分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Plugin).app/Contents/MacOS/Brackenmail Helper (Plugin)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libSystem.B.dylib\nPID 741 父进程 626 用户 ines 已运行 3小时49分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libSystem.B.dylib\nPID 757 父进程 1 用户 ines 已运行 7小时20分 程序 /Applications/Vextra.app/Contents/MacOS/Vextra\n 命令行:/Applications/Vextra.app/Contents/MacOS/Vextra\nPID 766 父进程 757 用户 ines 已运行 5小时9分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Plugin).app/Contents/MacOS/Vextra Helper (Plugin)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libz.1.dylib\nPID 784 父进程 757 用户 ines 已运行 7小时20分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (GPU).app/Contents/MacOS/Vextra Helper (GPU)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libz.1.dylib\nPID 820 父进程 757 用户 ines 已运行 2小时11分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 845 父进程 757 用户 ines 已运行 8分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libc++.1.dylib\nPID 885 父进程 1 用户 ines 已运行 18小时39分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 893 父进程 885 用户 ines 已运行 3小时0分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libc++.1.dylib\nPID 915 父进程 885 用户 ines 已运行 1小时0分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 952 父进程 885 用户 ines 已运行 4小时27分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Plugin).app/Contents/MacOS/Saltmarsh Helper (Plugin)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libc++.1.dylib\nPID 965 父进程 885 用户 ines 已运行 2小时56分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (GPU).app/Contents/MacOS/Saltmarsh Helper (GPU)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libc++.1.dylib\nPID 979 父进程 1 用户 ines 已运行 1天9小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 992 父进程 979 用户 ines 已运行 8小时39分 程序 /bin/zsh\n 命令行:-zsh\nPID 994 父进程 979 用户 ines 已运行 10小时26分 程序 /bin/zsh\n 命令行:-zsh\nPID 1035 父进程 992 用户 ines 已运行 3小时28分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1067 父进程 992 用户 ines 已运行 21分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1071 父进程 992 用户 ines 已运行 12分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 summarize.py --key sk-7MBj0aHMUnbmjHkUYiV97\nPID 1087 父进程 994 用户 ines 已运行 2小时55分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy file-server --listen 0.0.0.0:5173\n 监听:0.0.0.0:5173\nPID 1113 父进程 994 用户 ines 已运行 5小时5分 程序 /bin/zsh\n 命令行:zsh\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/ines/Library/Application Support/Overlayd/inject.dylib(这个库的文件不在盘上)\nPID 1123 父进程 1113 用户 ines 已运行 24分 程序 /Users/ines/.local/bin/buildkiln\n 命令行:buildkiln run\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/ines/Library/Application Support/Overlayd/inject.dylib(这个库的文件不在盘上)\nPID 1132 父进程 992 用户 ines 已运行 1小时57分 程序 /usr/bin/ssh\n 命令行:ssh -p2222 deploy@build.internal.example\nPID 1144 父进程 994 用户 ines 已运行 14分 程序 /opt/homebrew/bin/mysql\n 命令行:mysql -h db.internal.example -u report -p sales\n\nlaunchd 管着的任务(launchctl list 里有的进程号):545、555、562、569、579、602\n", "answer": [ { "rule": "process.dyld-insert", "kind": "dyld-insert", "severity": "high", "verdict": "info", "targets": [ "1113", "1123" ], "title": "2 个进程启动时带着 DYLD_INSERT_LIBRARIES,要先载入 inject.dylib" }, { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1071" ], "title": "正在运行的 python3.13 命令行里带着API 密钥(sk-…)" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "1087" ], "title": "caddy 在所有网络上监听 5173 端口:同一个网络里的人能连进来" } ], "planted": [ "secret-sk-key", "listening-everywhere", "dyld-insert-missing" ], "near": [ "port-not-password", "mysql-asks-for-password" ] }, { "id": "process-004", "group": "single", "facts": "这台 Mac 现在登录的用户是 ines。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 12天10小时 程序 /sbin/launchd\nPID 447 父进程 1 用户 root 已运行 12天10小时 程序 /usr/libexec/watchdogd\nPID 482 父进程 1 用户 root 已运行 12天10小时 程序 /usr/sbin/notifyd\nPID 503 父进程 1 用户 root 已运行 12天10小时 程序 /usr/sbin/KernelEventAgent\nPID 521 父进程 1 用户 _locationd 已运行 12天10小时 程序 /usr/libexec/locationd\nPID 546 父进程 1 用户 root 已运行 12天10小时 程序 /usr/libexec/logd\nPID 555 父进程 1 用户 _coreaudiod 已运行 12天10小时 程序 /usr/sbin/coreaudiod\nPID 586 父进程 1 用户 root 已运行 12天10小时 程序 /usr/libexec/opendirectoryd\nPID 621 父进程 1 用户 root 已运行 12天10小时 程序 /usr/sbin/syslogd\nPID 637 父进程 1 用户 _windowserver 已运行 12天10小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 649 父进程 1 用户 root 已运行 12天10小时 程序 /usr/libexec/configd\nPID 668 父进程 1 用户 ines 已运行 12天10小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 673 父进程 1 用户 ines 已运行 12天10小时 程序 /usr/libexec/UserEventAgent\nPID 674 父进程 1 用户 ines 已运行 12天10小时 程序 /usr/sbin/usernoted\nPID 702 父进程 1 用户 ines 已运行 12天10小时 程序 /usr/libexec/trustd\nPID 735 父进程 1 用户 ines 已运行 12天10小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 764 父进程 1 用户 ines 已运行 12天10小时 程序 /usr/sbin/distnoted\nPID 793 父进程 1 用户 ines 已运行 12天10小时 程序 /usr/libexec/pboard\nPID 801 父进程 1 用户 ines 已运行 12天10小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 835 父进程 1 用户 ines 已运行 9小时9分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 861 父进程 835 用户 ines 已运行 8小时5分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libz.1.dylib\nPID 877 父进程 835 用户 ines 已运行 5小时57分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libc++.1.dylib\nPID 885 父进程 1 用户 ines 已运行 22小时23分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 899 父进程 885 用户 ines 已运行 3小时59分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libc++.1.dylib\nPID 908 父进程 885 用户 ines 已运行 9小时50分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libSystem.B.dylib\nPID 946 父进程 1 用户 ines 已运行 21小时17分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 965 父进程 946 用户 ines 已运行 18小时32分 程序 /bin/zsh\n 命令行:-zsh\nPID 990 父进程 946 用户 ines 已运行 11小时1分 程序 /bin/zsh\n 命令行:-zsh\nPID 1001 父进程 990 用户 ines 已运行 54分 程序 /usr/bin/tail\n 命令行:tail -f /Users/ines/Projects/harbor-site/logs/dev.log\nPID 1038 父进程 990 用户 ines 已运行 3小时7分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1056 父进程 965 用户 ines 已运行 4小时33分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1069 父进程 990 用户 ines 已运行 8小时59分 程序 /Users/ines/.local/bin/lintfinch\n 命令行:lintfinch watch\n 载入的库:/private/var/folders/8g/_fq8bn621bcr94bf2lzw69bjv500j0/T/.nO8alLJa/libhelper.dylib(签名:签名对不上:签名以后文件被改过);/System/Library/Frameworks/Security.framework/Versions/A/Security;/Users/ines/.local/lib/libcommon.1.dylib\n\nlaunchd 管着的任务(launchctl list 里有的进程号):668、673、674、702、735、764、793、801\n", "answer": [ { "rule": "process.library-temp", "kind": "library-temp", "severity": "high", "verdict": "info", "targets": [ "1069" ], "title": "进程 1069(lintfinch)载入了临时文件夹里的库 libhelper.dylib" } ], "planted": [ "library-temp-broken-signature" ], "near": [] }, { "id": "process-005", "group": "single", "facts": "这台 Mac 现在登录的用户是 tomas。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 11天22小时 程序 /sbin/launchd\nPID 386 父进程 1 用户 root 已运行 11天22小时 程序 /usr/sbin/KernelEventAgent\nPID 415 父进程 1 用户 root 已运行 11天22小时 程序 /usr/libexec/airportd\nPID 424 父进程 1 用户 root 已运行 11天22小时 程序 /usr/sbin/cupsd\nPID 434 父进程 1 用户 root 已运行 11天22小时 程序 /usr/sbin/bluetoothd\nPID 436 父进程 1 用户 _mdnsresponder 已运行 11天22小时 程序 /usr/sbin/mDNSResponder\nPID 457 父进程 1 用户 root 已运行 11天22小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 495 父进程 1 用户 root 已运行 11天22小时 程序 /usr/libexec/securityd\nPID 516 父进程 1 用户 tomas 已运行 11天22小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 535 父进程 1 用户 tomas 已运行 11天21小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 568 父进程 1 用户 tomas 已运行 11天21小时 程序 /usr/libexec/rapportd\nPID 607 父进程 1 用户 tomas 已运行 11天22小时 程序 /usr/libexec/trustd\nPID 609 父进程 1 用户 tomas 已运行 11天22小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 638 父进程 1 用户 tomas 已运行 11天21小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 674 父进程 1 用户 tomas 已运行 21小时51分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 702 父进程 674 用户 tomas 已运行 9小时53分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Plugin).app/Contents/MacOS/Tarnwell Helper (Plugin)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 721 父进程 674 用户 tomas 已运行 5小时24分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libz.1.dylib\nPID 726 父进程 674 用户 tomas 已运行 9小时33分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 747 父进程 674 用户 tomas 已运行 28分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 761 父进程 1 用户 tomas 已运行 1天4小时 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 779 父进程 761 用户 tomas 已运行 4小时40分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libc++.1.dylib\nPID 783 父进程 761 用户 tomas 已运行 5小时44分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (GPU).app/Contents/MacOS/Lumora Helper (GPU)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 804 父进程 761 用户 tomas 已运行 3小时11分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libc++.1.dylib\nPID 817 父进程 1 用户 tomas 已运行 4小时23分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 858 父进程 817 用户 tomas 已运行 16分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Plugin).app/Contents/MacOS/Saltmarsh Helper (Plugin)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libz.1.dylib\nPID 868 父进程 817 用户 tomas 已运行 4小时23分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 894 父进程 817 用户 tomas 已运行 4小时22分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (GPU).app/Contents/MacOS/Saltmarsh Helper (GPU)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libobjc.A.dylib\nPID 912 父进程 817 用户 tomas 已运行 35分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 946 父进程 1 用户 tomas 已运行 1天1小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 969 父进程 946 用户 tomas 已运行 4小时9分 程序 /bin/zsh\n 命令行:-zsh\nPID 984 父进程 946 用户 tomas 已运行 8小时26分 程序 /bin/zsh\n 命令行:-zsh\nPID 1016 父进程 984 用户 tomas 已运行 2小时14分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1039 父进程 969 用户 tomas 已运行 4小时8分 程序 /usr/bin/tail\n 命令行:tail -f /Users/tomas/Projects/harbor-site/logs/dev.log\nPID 1060 父进程 984 用户 tomas 已运行 4小时23分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1074 父进程 969 用户 tomas 已运行 56分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/tomas/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1075 父进程 984 用户 tomas 已运行 4分 程序 /usr/bin/curl\n 命令行:curl -s -u deploy:m0tKjQhStNU9 https://builds.internal.example/api/artifacts\nPID 1101 父进程 984 用户 tomas 已运行 40分 程序 /Users/tomas/.local/bin/lintfinch\n 环境变量:DYLD_LIBRARY_PATH=/opt/homebrew/lib\n 环境变量:DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Frameworks\nPID 1129 父进程 1 用户 root 已运行 11天22小时 程序 /opt/harborline/bin/gatewayd 【程序文件已经不在盘上】\n 命令行:gatewayd --config /opt/harborline/etc/gateway.toml\n\nlaunchd 管着的任务(launchctl list 里有的进程号):516、535、568、607、609、638\n", "answer": [ { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1075" ], "title": "正在运行的 curl 命令行里带着参数 -u(用户名:密码)" } ], "planted": [ "secret-curl" ], "near": [ "other-dyld-variable", "other-user-gone" ], "boundary": [ "other-user-gone" ] }, { "id": "process-006", "group": "single", "facts": "这台 Mac 现在登录的用户是 ruben。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 5天1小时 程序 /sbin/launchd\nPID 373 父进程 1 用户 root 已运行 5天1小时 程序 /usr/sbin/cupsd\nPID 388 父进程 1 用户 root 已运行 5天1小时 程序 /usr/libexec/securityd\nPID 412 父进程 1 用户 root 已运行 5天1小时 程序 /usr/libexec/thermalmonitord\nPID 453 父进程 1 用户 root 已运行 5天1小时 程序 /usr/sbin/syslogd\nPID 491 父进程 1 用户 root 已运行 5天1小时 程序 /usr/libexec/UserEventAgent\nPID 526 父进程 1 用户 _windowserver 已运行 5天1小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 537 父进程 1 用户 root 已运行 5天1小时 程序 /usr/libexec/airportd\nPID 573 父进程 1 用户 root 已运行 5天1小时 程序 /usr/sbin/KernelEventAgent\nPID 604 父进程 1 用户 root 已运行 5天1小时 程序 /usr/sbin/notifyd\nPID 614 父进程 1 用户 root 已运行 5天1小时 程序 /usr/libexec/watchdogd\nPID 648 父进程 1 用户 root 已运行 5天1小时 程序 /usr/libexec/opendirectoryd\nPID 675 父进程 1 用户 ruben 已运行 5天0小时 程序 /usr/sbin/usernoted\nPID 711 父进程 1 用户 ruben 已运行 5天0小时 程序 /usr/libexec/lsd\nPID 723 父进程 1 用户 ruben 已运行 5天1小时 程序 /usr/libexec/secd\nPID 729 父进程 1 用户 ruben 已运行 5天1小时 程序 /usr/libexec/pboard\nPID 761 父进程 1 用户 ruben 已运行 5天1小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 774 父进程 1 用户 ruben 已运行 5天1小时 程序 /usr/libexec/rapportd\nPID 814 父进程 1 用户 ruben 已运行 5天0小时 程序 /usr/sbin/distnoted\nPID 836 父进程 1 用户 ruben 已运行 11小时37分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 868 父进程 836 用户 ruben 已运行 1小时57分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libSystem.B.dylib\nPID 907 父进程 836 用户 ruben 已运行 9小时38分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libz.1.dylib\nPID 920 父进程 836 用户 ruben 已运行 8小时30分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 947 父进程 1 用户 ruben 已运行 8小时58分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 984 父进程 947 用户 ruben 已运行 5小时23分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libSystem.B.dylib\nPID 1003 父进程 947 用户 ruben 已运行 8小时26分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libz.1.dylib\nPID 1044 父进程 947 用户 ruben 已运行 2小时35分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 1083 父进程 1 用户 ruben 已运行 3小时12分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 1124 父进程 1083 用户 ruben 已运行 3小时11分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libobjc.A.dylib\nPID 1138 父进程 1083 用户 ruben 已运行 3小时11分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libz.1.dylib\nPID 1154 父进程 1083 用户 ruben 已运行 1小时22分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libobjc.A.dylib\nPID 1177 父进程 1083 用户 ruben 已运行 52分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Plugin).app/Contents/MacOS/Saltmarsh Helper (Plugin)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libobjc.A.dylib\nPID 1215 父进程 1 用户 ruben 已运行 1天3小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 1248 父进程 1215 用户 ruben 已运行 1小时28分 程序 /bin/zsh\n 命令行:-zsh\nPID 1257 父进程 1215 用户 ruben 已运行 21小时55分 程序 /bin/zsh\n 命令行:-zsh\nPID 1287 父进程 1257 用户 ruben 已运行 3小时14分 程序 /usr/bin/tail\n 命令行:tail -f /Users/ruben/Projects/harbor-site/logs/dev.log\nPID 1319 父进程 1257 用户 ruben 已运行 4小时57分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1320 父进程 1 用户 ruben 已运行 5天1小时 程序 /opt/homebrew/bin/deno\n 命令行:deno run -A dev.ts\nPID 1324 父进程 1 用户 ruben 已运行 2天9小时 程序 /opt/homebrew/bin/node\n 命令行:node /Users/ruben/Projects/old-demo/watch.js\nPID 1330 父进程 1 用户 ruben 已运行 5天1小时 程序 /Users/ruben/.local/bin/lintfinch\n 命令行:lintfinch daemon\nPID 1352 父进程 1248 用户 ruben 已运行 1小时28分 程序 /Users/ruben/.local/bin/mapquill\n 命令行:mapquill sync --password-file /Users/ruben/.config/syncferry/pass\nPID 1361 父进程 1 用户 ruben 已运行 32分 程序 /private/var/folders/vn/d337qn786p9vskw7rqkw4gqc9jj7by/T/AppTranslocation/0A1B2C3D-0000-4000-8000-364017629134/d/Vextra.app/Contents/MacOS/Vextra\n 载入的库:/private/var/folders/vn/d337qn786p9vskw7rqkw4gqc9jj7by/T/AppTranslocation/0A1B2C3D-0000-4000-8000-364017629134/d/Vextra.app/Contents/Frameworks/VextraKit.framework/VextraKit\n\nlaunchd 管着的任务(launchctl list 里有的进程号):675、711、723、729、761、774、814\n", "answer": [ { "rule": "process.orphan", "kind": "orphan", "severity": "low", "verdict": "info", "targets": [ "1320", "1324", "1330" ], "title": "3 个后台进程的父进程已经退出,还在跑" } ], "planted": [ "orphans" ], "near": [ "secret-kept-elsewhere", "library-in-own-bundle" ] }, { "id": "process-007", "group": "single", "facts": "这台 Mac 现在登录的用户是 anika。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 5天11小时 程序 /sbin/launchd\nPID 388 父进程 1 用户 root 已运行 5天11小时 程序 /usr/libexec/configd\nPID 394 父进程 1 用户 root 已运行 5天11小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 418 父进程 1 用户 _coreaudiod 已运行 5天11小时 程序 /usr/sbin/coreaudiod\nPID 444 父进程 1 用户 root 已运行 5天11小时 程序 /usr/libexec/thermalmonitord\nPID 460 父进程 1 用户 root 已运行 5天11小时 程序 /usr/libexec/watchdogd\nPID 500 父进程 1 用户 root 已运行 5天11小时 程序 /usr/libexec/opendirectoryd\nPID 531 父进程 1 用户 root 已运行 5天11小时 程序 /usr/sbin/notifyd\nPID 568 父进程 1 用户 _mdnsresponder 已运行 5天11小时 程序 /usr/sbin/mDNSResponder\nPID 593 父进程 1 用户 anika 已运行 5天11小时 程序 /usr/libexec/pboard\nPID 628 父进程 1 用户 anika 已运行 5天10小时 程序 /usr/sbin/usernoted\nPID 649 父进程 1 用户 anika 已运行 5天11小时 程序 /usr/libexec/nsurlsessiond\nPID 681 父进程 1 用户 anika 已运行 5天10小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 696 父进程 1 用户 anika 已运行 5天11小时 程序 /usr/libexec/lsd\nPID 699 父进程 1 用户 anika 已运行 5天11小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 735 父进程 1 用户 anika 已运行 5天10小时 程序 /usr/sbin/cfprefsd\nPID 758 父进程 1 用户 anika 已运行 5天10小时 程序 /usr/sbin/distnoted\nPID 767 父进程 1 用户 anika 已运行 1天4小时 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 795 父进程 767 用户 anika 已运行 7小时59分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 836 父进程 767 用户 anika 已运行 6小时12分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 850 父进程 767 用户 anika 已运行 5小时7分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 887 父进程 1 用户 anika 已运行 17小时8分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 910 父进程 887 用户 anika 已运行 4小时43分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 925 父进程 887 用户 anika 已运行 4小时55分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 955 父进程 887 用户 anika 已运行 4小时24分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 994 父进程 1 用户 anika 已运行 1天10小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 1021 父进程 994 用户 anika 已运行 5小时39分 程序 /bin/zsh\n 命令行:-zsh\nPID 1027 父进程 994 用户 anika 已运行 1天0小时 程序 /bin/zsh\n 命令行:-zsh\nPID 1042 父进程 994 用户 anika 已运行 12小时32分 程序 /bin/zsh\n 命令行:-zsh\nPID 1070 父进程 1042 用户 anika 已运行 4小时16分 程序 /usr/bin/tail\n 命令行:tail -f /Users/anika/Projects/harbor-site/logs/dev.log\nPID 1092 父进程 1042 用户 anika 已运行 3小时50分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1122 父进程 1042 用户 anika 已运行 12小时31分 程序 /Users/anika/.local/bin/syncferry 【程序文件已经不在盘上】\n 载入的库:/Users/anika/.local/lib/libferry.2.dylib(文件已经被删掉)\nPID 1136 父进程 1 用户 anika 已运行 5天11小时 程序 /opt/homebrew/bin/tmux\n 命令行:tmux new-session -d -s work\n\nlaunchd 管着的任务(launchctl list 里有的进程号):593、628、649、681、696、699、735、758\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "1122" ], "title": "进程 1122(syncferry)的程序已经被删掉了,它还在跑" } ], "planted": [ "deleted-with-deleted-library" ], "near": [ "detached-on-purpose" ] }, { "id": "process-008", "group": "multi", "facts": "这台 Mac 现在登录的用户是 yuki。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 4天1小时 程序 /sbin/launchd\nPID 315 父进程 1 用户 _coreaudiod 已运行 4天1小时 程序 /usr/sbin/coreaudiod\nPID 351 父进程 1 用户 root 已运行 4天1小时 程序 /usr/libexec/diskarbitrationd\nPID 363 父进程 1 用户 root 已运行 4天1小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 397 父进程 1 用户 root 已运行 4天1小时 程序 /usr/sbin/KernelEventAgent\nPID 399 父进程 1 用户 root 已运行 4天1小时 程序 /usr/libexec/logd\nPID 420 父进程 1 用户 root 已运行 4天1小时 程序 /usr/libexec/thermalmonitord\nPID 446 父进程 1 用户 root 已运行 4天1小时 程序 /usr/libexec/configd\nPID 454 父进程 1 用户 root 已运行 4天1小时 程序 /usr/libexec/watchdogd\nPID 477 父进程 1 用户 yuki 已运行 4天1小时 程序 /usr/libexec/secd\nPID 503 父进程 1 用户 yuki 已运行 4天1小时 程序 /usr/sbin/cfprefsd\nPID 536 父进程 1 用户 yuki 已运行 4天1小时 程序 /usr/sbin/usernoted\nPID 550 父进程 1 用户 yuki 已运行 4天1小时 程序 /usr/libexec/UserEventAgent\nPID 590 父进程 1 用户 yuki 已运行 4天1小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 626 父进程 1 用户 yuki 已运行 4天1小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 653 父进程 1 用户 yuki 已运行 10小时58分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 676 父进程 653 用户 yuki 已运行 3小时5分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libSystem.B.dylib\nPID 701 父进程 1 用户 yuki 已运行 1小时17分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 706 父进程 701 用户 yuki 已运行 1小时16分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libSystem.B.dylib\nPID 716 父进程 701 用户 yuki 已运行 1小时16分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Plugin).app/Contents/MacOS/Ondolo Helper (Plugin)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 729 父进程 701 用户 yuki 已运行 1小时16分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 738 父进程 1 用户 yuki 已运行 2小时12分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 763 父进程 738 用户 yuki 已运行 9分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 781 父进程 738 用户 yuki 已运行 40分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libobjc.A.dylib\nPID 804 父进程 738 用户 yuki 已运行 2小时12分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libobjc.A.dylib\nPID 821 父进程 1 用户 yuki 已运行 8小时54分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 827 父进程 821 用户 yuki 已运行 8小时54分 程序 /bin/zsh\n 命令行:-zsh\nPID 848 父进程 821 用户 yuki 已运行 8小时54分 程序 /bin/zsh\n 命令行:-zsh\nPID 865 父进程 827 用户 yuki 已运行 2小时13分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/yuki/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 874 父进程 848 用户 yuki 已运行 2小时21分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 888 父进程 848 用户 yuki 已运行 3小时53分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 917 父进程 848 用户 yuki 已运行 3小时23分 程序 /usr/bin/tail\n 命令行:tail -f /Users/yuki/Projects/harbor-site/logs/dev.log\nPID 949 父进程 848 用户 yuki 已运行 4分 程序 /usr/bin/curl\n 命令行:curl -s -u deploy:mL52zui1JwVS https://builds.internal.example/api/artifacts\nPID 974 父进程 827 用户 yuki 已运行 8小时53分 程序 /Users/yuki/.local/bin/buildkiln 【程序文件已经不在盘上】\n 命令行:buildkiln serve --config dev.toml\nPID 981 父进程 1 用户 yuki 已运行 6小时0分 程序 /Users/yuki/.local/bin/mapquill\n 命令行:mapquill daemon\nPID 999 父进程 848 用户 yuki 已运行 8小时54分 程序 /Users/yuki/.local/bin/cachewren\n 载入的库:/System/Library/PrivateFrameworks/OldSupport.framework/Versions/A/OldSupport(文件已经被删掉);/usr/lib/libz.1.dylib\nPID 1039 父进程 848 用户 yuki 已运行 31分 程序 /Users/yuki/.local/bin/portloom\n 命令行:portloom --debug\n 环境变量:DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib(签名:Apple 签名)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):477、503、536、550、590、626\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "974" ], "title": "进程 974(buildkiln)的程序已经被删掉了,它还在跑" }, { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "949" ], "title": "正在运行的 curl 命令行里带着参数 -u(用户名:密码)" }, { "rule": "process.orphan", "kind": "orphan", "severity": "low", "verdict": "info", "targets": [ "981" ], "title": "1 个后台进程的父进程已经退出,还在跑" } ], "planted": [ "secret-curl", "deleted-tool", "orphan-exactly-6-hours" ], "near": [ "system-library-deleted", "dyld-insert-apple-signed" ] }, { "id": "process-009", "group": "single", "facts": "这台 Mac 现在登录的用户是 ruben。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 12天6小时 程序 /sbin/launchd\nPID 383 父进程 1 用户 _mdnsresponder 已运行 12天6小时 程序 /usr/sbin/mDNSResponder\nPID 398 父进程 1 用户 _windowserver 已运行 12天6小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 428 父进程 1 用户 root 已运行 12天6小时 程序 /usr/sbin/syslogd\nPID 433 父进程 1 用户 root 已运行 12天6小时 程序 /usr/libexec/diskarbitrationd\nPID 457 父进程 1 用户 root 已运行 12天6小时 程序 /usr/sbin/notifyd\nPID 465 父进程 1 用户 root 已运行 12天6小时 程序 /usr/sbin/KernelEventAgent\nPID 482 父进程 1 用户 root 已运行 12天6小时 程序 /usr/libexec/logd\nPID 487 父进程 1 用户 root 已运行 12天6小时 程序 /usr/libexec/UserEventAgent\nPID 503 父进程 1 用户 root 已运行 12天6小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 522 父进程 1 用户 ruben 已运行 12天5小时 程序 /usr/sbin/usernoted\nPID 562 父进程 1 用户 ruben 已运行 12天5小时 程序 /usr/libexec/pboard\nPID 595 父进程 1 用户 ruben 已运行 12天5小时 程序 /usr/libexec/nsurlsessiond\nPID 606 父进程 1 用户 ruben 已运行 12天5小时 程序 /usr/sbin/cfprefsd\nPID 617 父进程 1 用户 ruben 已运行 12天5小时 程序 /usr/libexec/sharingd\nPID 642 父进程 1 用户 ruben 已运行 12天5小时 程序 /usr/libexec/trustd\nPID 680 父进程 1 用户 ruben 已运行 12天5小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 682 父进程 1 用户 ruben 已运行 12天5小时 程序 /usr/sbin/distnoted\nPID 716 父进程 1 用户 ruben 已运行 12天5小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 730 父进程 1 用户 ruben 已运行 1天4小时 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 733 父进程 730 用户 ruben 已运行 4小时13分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 771 父进程 730 用户 ruben 已运行 2小时11分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libobjc.A.dylib\nPID 805 父进程 730 用户 ruben 已运行 3小时13分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 816 父进程 1 用户 ruben 已运行 15小时43分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 846 父进程 816 用户 ruben 已运行 4小时41分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (GPU).app/Contents/MacOS/Lumora Helper (GPU)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 858 父进程 1 用户 ruben 已运行 20小时45分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 868 父进程 858 用户 ruben 已运行 4小时11分 程序 /bin/zsh\n 命令行:-zsh\nPID 873 父进程 858 用户 ruben 已运行 15小时48分 程序 /bin/zsh\n 命令行:-zsh\nPID 896 父进程 868 用户 ruben 已运行 8分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 901 父进程 868 用户 ruben 已运行 3小时51分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 936 父进程 873 用户 ruben 已运行 1小时30分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/ruben/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 953 父进程 873 用户 ruben 已运行 3小时12分 程序 /usr/bin/tail\n 命令行:tail -f /Users/ruben/Projects/harbor-site/logs/dev.log\nPID 977 父进程 873 用户 ruben 已运行 1小时10分 程序 /bin/zsh\n 命令行:zsh\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/ruben/.cache/io.example.overlay/hook.dylib(签名:开发者签名,团队 7KQ2XW9LHV)\nPID 997 父进程 977 用户 ruben 已运行 38分 程序 /Users/ruben/.local/bin/lintfinch\n 命令行:lintfinch run\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/ruben/.cache/io.example.overlay/hook.dylib(签名:开发者签名,团队 7KQ2XW9LHV)\nPID 1035 父进程 1 用户 ruben 已运行 5小时59分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/ruben/Projects/old-demo/watch.js\n\nlaunchd 管着的任务(launchctl list 里有的进程号):522、562、595、606、617、642、680、682、716\n", "answer": [ { "rule": "process.dyld-insert", "kind": "dyld-insert", "severity": "medium", "verdict": "info", "targets": [ "977", "997" ], "title": "2 个进程启动时带着 DYLD_INSERT_LIBRARIES,要先载入 hook.dylib" } ], "planted": [ "dyld-insert-developer" ], "near": [ "orphan-5-hours-50" ] }, { "id": "process-010", "group": "near", "facts": "这台 Mac 现在登录的用户是 yuki。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 16天14小时 程序 /sbin/launchd\nPID 368 父进程 1 用户 _windowserver 已运行 16天13小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 383 父进程 1 用户 root 已运行 16天13小时 程序 /usr/libexec/watchdogd\nPID 408 父进程 1 用户 root 已运行 16天13小时 程序 /usr/libexec/opendirectoryd\nPID 436 父进程 1 用户 root 已运行 16天13小时 程序 /usr/sbin/KernelEventAgent\nPID 474 父进程 1 用户 root 已运行 16天13小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 505 父进程 1 用户 _coreaudiod 已运行 16天13小时 程序 /usr/sbin/coreaudiod\nPID 516 父进程 1 用户 _locationd 已运行 16天13小时 程序 /usr/libexec/locationd\nPID 536 父进程 1 用户 root 已运行 16天13小时 程序 /usr/sbin/cupsd\nPID 562 父进程 1 用户 yuki 已运行 16天13小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 581 父进程 1 用户 yuki 已运行 16天13小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 612 父进程 1 用户 yuki 已运行 16天13小时 程序 /usr/sbin/cfprefsd\nPID 652 父进程 1 用户 yuki 已运行 16天13小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 664 父进程 1 用户 yuki 已运行 16天13小时 程序 /usr/libexec/trustd\nPID 696 父进程 1 用户 yuki 已运行 16天13小时 程序 /usr/libexec/lsd\nPID 729 父进程 1 用户 yuki 已运行 1小时13分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 764 父进程 729 用户 yuki 已运行 1小时12分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libz.1.dylib\nPID 780 父进程 729 用户 yuki 已运行 1小时12分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (GPU).app/Contents/MacOS/Saltmarsh Helper (GPU)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libc++.1.dylib\nPID 790 父进程 1 用户 yuki 已运行 23小时16分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 827 父进程 790 用户 yuki 已运行 5小时30分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libc++.1.dylib\nPID 857 父进程 790 用户 yuki 已运行 8小时54分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libz.1.dylib\nPID 861 父进程 790 用户 yuki 已运行 5小时24分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libSystem.B.dylib\nPID 892 父进程 790 用户 yuki 已运行 4小时36分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 893 父进程 1 用户 yuki 已运行 1天0小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 934 父进程 893 用户 yuki 已运行 1天0小时 程序 /bin/zsh\n 命令行:-zsh\nPID 958 父进程 893 用户 yuki 已运行 3小时18分 程序 /bin/zsh\n 命令行:-zsh\nPID 985 父进程 893 用户 yuki 已运行 1小时26分 程序 /bin/zsh\n 命令行:-zsh\nPID 1002 父进程 934 用户 yuki 已运行 3小时18分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1026 父进程 985 用户 yuki 已运行 1小时25分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1051 父进程 934 用户 yuki 已运行 2小时3分 程序 /usr/bin/tail\n 命令行:tail -f /Users/yuki/Projects/harbor-site/logs/dev.log\nPID 1080 父进程 958 用户 yuki 已运行 2小时52分 程序 /Users/yuki/.local/bin/lintfinch\n 命令行:lintfinch sync --token-file=/Users/yuki/.token\nPID 1107 父进程 958 用户 yuki 已运行 2小时15分 程序 /Users/yuki/.local/bin/syncferry\n 命令行:syncferry test --guard-malloc\n 环境变量:DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib\n\nlaunchd 管着的任务(launchctl list 里有的进程号):562、581、612、652、664、696\n", "answer": [], "planted": [], "near": [ "secret-kept-elsewhere", "dyld-insert-system-library" ] }, { "id": "process-011", "group": "single", "facts": "这台 Mac 现在登录的用户是 linwei。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 15天0小时 程序 /sbin/launchd\nPID 427 父进程 1 用户 root 已运行 15天0小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 452 父进程 1 用户 root 已运行 15天0小时 程序 /usr/libexec/securityd\nPID 484 父进程 1 用户 root 已运行 15天0小时 程序 /usr/sbin/syslogd\nPID 486 父进程 1 用户 _windowserver 已运行 15天0小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 522 父进程 1 用户 _coreaudiod 已运行 15天0小时 程序 /usr/sbin/coreaudiod\nPID 551 父进程 1 用户 root 已运行 15天0小时 程序 /usr/libexec/watchdogd\nPID 577 父进程 1 用户 root 已运行 15天0小时 程序 /usr/sbin/notifyd\nPID 610 父进程 1 用户 root 已运行 15天0小时 程序 /usr/libexec/opendirectoryd\nPID 631 父进程 1 用户 linwei 已运行 14天23小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 658 父进程 1 用户 linwei 已运行 14天23小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 672 父进程 1 用户 linwei 已运行 14天23小时 程序 /usr/libexec/UserEventAgent\nPID 693 父进程 1 用户 linwei 已运行 14天23小时 程序 /usr/libexec/secd\nPID 727 父进程 1 用户 linwei 已运行 14天23小时 程序 /usr/libexec/lsd\nPID 733 父进程 1 用户 linwei 已运行 14天23小时 程序 /usr/sbin/distnoted\nPID 755 父进程 1 用户 linwei 已运行 14天23小时 程序 /usr/libexec/rapportd\nPID 790 父进程 1 用户 linwei 已运行 14天23小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 795 父进程 1 用户 linwei 已运行 18小时31分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 823 父进程 795 用户 linwei 已运行 8小时35分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 864 父进程 795 用户 linwei 已运行 2小时58分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (GPU).app/Contents/MacOS/Quillbay Helper (GPU)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libobjc.A.dylib\nPID 866 父进程 1 用户 linwei 已运行 12小时42分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 906 父进程 866 用户 linwei 已运行 7小时27分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Plugin).app/Contents/MacOS/Brackenmail Helper (Plugin)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 947 父进程 866 用户 linwei 已运行 5小时56分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libobjc.A.dylib\nPID 951 父进程 1 用户 linwei 已运行 13小时47分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 989 父进程 951 用户 linwei 已运行 13小时47分 程序 /bin/zsh\n 命令行:-zsh\nPID 1004 父进程 951 用户 linwei 已运行 13小时47分 程序 /bin/zsh\n 命令行:-zsh\nPID 1022 父进程 1004 用户 linwei 已运行 1小时41分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/linwei/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1051 父进程 989 用户 linwei 已运行 1小时59分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1057 父进程 989 用户 linwei 已运行 21分 程序 /opt/homebrew/bin/node\n 命令行:node migrate --database-url postgres://app:Wg4d6PoN1Ehc@db.internal.example:5432/app\nPID 1075 父进程 866 用户 linwei 已运行 2小时53分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):631、658、672、693、727、733、755、790\n", "answer": [ { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1057" ], "title": "正在运行的 node 命令行里带着网址里的密码" } ], "planted": [ "secret-url" ], "near": [] }, { "id": "process-012", "group": "near", "facts": "这台 Mac 现在登录的用户是 meilin。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 14天0小时 程序 /sbin/launchd\nPID 468 父进程 1 用户 _coreaudiod 已运行 14天0小时 程序 /usr/sbin/coreaudiod\nPID 488 父进程 1 用户 root 已运行 14天0小时 程序 /usr/sbin/bluetoothd\nPID 512 父进程 1 用户 root 已运行 14天0小时 程序 /usr/libexec/airportd\nPID 544 父进程 1 用户 root 已运行 14天0小时 程序 /usr/sbin/KernelEventAgent\nPID 549 父进程 1 用户 root 已运行 14天0小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 557 父进程 1 用户 root 已运行 14天0小时 程序 /usr/sbin/cupsd\nPID 584 父进程 1 用户 root 已运行 14天0小时 程序 /usr/libexec/configd\nPID 601 父进程 1 用户 meilin 已运行 14天0小时 程序 /usr/sbin/cfprefsd\nPID 625 父进程 1 用户 meilin 已运行 13天23小时 程序 /usr/sbin/distnoted\nPID 631 父进程 1 用户 meilin 已运行 14天0小时 程序 /usr/libexec/nsurlsessiond\nPID 640 父进程 1 用户 meilin 已运行 14天0小时 程序 /usr/libexec/UserEventAgent\nPID 663 父进程 1 用户 meilin 已运行 14天0小时 程序 /usr/libexec/rapportd\nPID 700 父进程 1 用户 meilin 已运行 14天0小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 718 父进程 1 用户 meilin 已运行 14天0小时 程序 /usr/sbin/usernoted\nPID 745 父进程 1 用户 meilin 已运行 14天0小时 程序 /usr/libexec/trustd\nPID 784 父进程 1 用户 meilin 已运行 19小时12分 程序 /Applications/Vextra.app/Contents/MacOS/Vextra\n 命令行:/Applications/Vextra.app/Contents/MacOS/Vextra\nPID 805 父进程 784 用户 meilin 已运行 5小时34分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (GPU).app/Contents/MacOS/Vextra Helper (GPU)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 833 父进程 784 用户 meilin 已运行 1小时6分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Plugin).app/Contents/MacOS/Vextra Helper (Plugin)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libc++.1.dylib\nPID 855 父进程 784 用户 meilin 已运行 47分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 872 父进程 784 用户 meilin 已运行 7小时12分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libobjc.A.dylib\nPID 906 父进程 1 用户 meilin 已运行 4小时50分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 941 父进程 906 用户 meilin 已运行 3小时52分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libobjc.A.dylib\nPID 980 父进程 906 用户 meilin 已运行 4小时49分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (GPU).app/Contents/MacOS/Lumora Helper (GPU)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libobjc.A.dylib\nPID 1010 父进程 906 用户 meilin 已运行 9分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 1012 父进程 1 用户 meilin 已运行 23小时2分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 1030 父进程 1012 用户 meilin 已运行 3小时38分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (GPU).app/Contents/MacOS/Quillbay Helper (GPU)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libz.1.dylib\nPID 1063 父进程 1012 用户 meilin 已运行 8小时26分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libc++.1.dylib\nPID 1081 父进程 1012 用户 meilin 已运行 6小时24分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libSystem.B.dylib\nPID 1091 父进程 1012 用户 meilin 已运行 9小时56分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libobjc.A.dylib\nPID 1101 父进程 1 用户 meilin 已运行 5小时10分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 1139 父进程 1101 用户 meilin 已运行 5小时9分 程序 /bin/zsh\n 命令行:-zsh\nPID 1156 父进程 1101 用户 meilin 已运行 5小时9分 程序 /bin/zsh\n 命令行:-zsh\nPID 1177 父进程 1139 用户 meilin 已运行 4小时15分 程序 /usr/bin/tail\n 命令行:tail -f /Users/meilin/Projects/harbor-site/logs/dev.log\nPID 1190 父进程 1156 用户 meilin 已运行 3小时35分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1224 父进程 1156 用户 meilin 已运行 2小时22分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1235 父进程 1156 用户 meilin 已运行 52分 程序 /usr/bin/ssh\n 命令行:ssh -p2222 deploy@build.internal.example\nPID 1252 父进程 1139 用户 meilin 已运行 1小时40分 程序 /opt/homebrew/bin/mysql\n 命令行:mysql -h db.internal.example -u report -p sales\nPID 1284 父进程 1 用户 meilin 已运行 5小时49分 程序 /opt/homebrew/bin/deno\n 命令行:deno run -A dev.ts\n\nlaunchd 管着的任务(launchctl list 里有的进程号):601、625、631、640、663、700、718、745\n", "answer": [], "planted": [], "near": [ "port-not-password", "mysql-asks-for-password", "orphan-5-hours-50" ] }, { "id": "process-013", "group": "single", "facts": "这台 Mac 现在登录的用户是 tomas。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 5天14小时 程序 /sbin/launchd\nPID 418 父进程 1 用户 root 已运行 5天14小时 程序 /usr/libexec/watchdogd\nPID 458 父进程 1 用户 root 已运行 5天14小时 程序 /usr/sbin/syslogd\nPID 475 父进程 1 用户 root 已运行 5天14小时 程序 /usr/sbin/bluetoothd\nPID 516 父进程 1 用户 _coreaudiod 已运行 5天14小时 程序 /usr/sbin/coreaudiod\nPID 542 父进程 1 用户 root 已运行 5天14小时 程序 /usr/libexec/opendirectoryd\nPID 579 父进程 1 用户 root 已运行 5天14小时 程序 /usr/sbin/KernelEventAgent\nPID 597 父进程 1 用户 root 已运行 5天14小时 程序 /usr/libexec/logd\nPID 624 父进程 1 用户 root 已运行 5天14小时 程序 /usr/sbin/cupsd\nPID 636 父进程 1 用户 tomas 已运行 5天14小时 程序 /usr/libexec/sharingd\nPID 651 父进程 1 用户 tomas 已运行 5天14小时 程序 /usr/libexec/nsurlsessiond\nPID 686 父进程 1 用户 tomas 已运行 5天14小时 程序 /usr/sbin/cfprefsd\nPID 688 父进程 1 用户 tomas 已运行 5天14小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 727 父进程 1 用户 tomas 已运行 5天14小时 程序 /usr/sbin/usernoted\nPID 730 父进程 1 用户 tomas 已运行 5天14小时 程序 /usr/libexec/lsd\nPID 741 父进程 1 用户 tomas 已运行 5天14小时 程序 /usr/libexec/trustd\nPID 780 父进程 1 用户 tomas 已运行 5天14小时 程序 /usr/libexec/pboard\nPID 798 父进程 1 用户 tomas 已运行 5天14小时 程序 /usr/libexec/UserEventAgent\nPID 816 父进程 1 用户 tomas 已运行 10小时58分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 824 父进程 816 用户 tomas 已运行 8小时59分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libc++.1.dylib\nPID 827 父进程 1 用户 tomas 已运行 2小时20分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 842 父进程 827 用户 tomas 已运行 2小时19分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libz.1.dylib\nPID 860 父进程 827 用户 tomas 已运行 2小时20分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Plugin).app/Contents/MacOS/Ondolo Helper (Plugin)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 869 父进程 1 用户 tomas 已运行 18小时47分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 897 父进程 869 用户 tomas 已运行 18小时46分 程序 /bin/zsh\n 命令行:-zsh\nPID 930 父进程 869 用户 tomas 已运行 18小时46分 程序 /bin/zsh\n 命令行:-zsh\nPID 933 父进程 930 用户 tomas 已运行 40分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 968 父进程 930 用户 tomas 已运行 8分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1001 父进程 930 用户 tomas 已运行 3小时35分 程序 /Users/tomas/.local/bin/mapquill\n 命令行:mapquill poll --every 5s\nPID 1041 父进程 1001 用户 tomas 已运行 43分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1063 父进程 1001 用户 tomas 已运行 38分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1096 父进程 1001 用户 tomas 已运行 2分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1109 父进程 1001 用户 tomas 已运行 46分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1142 父进程 1001 用户 tomas 已运行 18分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1175 父进程 1001 用户 tomas 已运行 53分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1201 父进程 1001 用户 tomas 已运行 41分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1240 父进程 1001 用户 tomas 已运行 47分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1265 父进程 1001 用户 tomas 已运行 28分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1279 父进程 1001 用户 tomas 已运行 47分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1292 父进程 1001 用户 tomas 已运行 54分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1300 父进程 1001 用户 tomas 已运行 21分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1330 父进程 1001 用户 tomas 已运行 11分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1334 父进程 1001 用户 tomas 已运行 16分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1361 父进程 1001 用户 tomas 已运行 58分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1369 父进程 1001 用户 tomas 已运行 11分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1400 父进程 1001 用户 tomas 已运行 9分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1403 父进程 1001 用户 tomas 已运行 0分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1423 父进程 1001 用户 tomas 已运行 43分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1463 父进程 1001 用户 tomas 已运行 4分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1495 父进程 1001 用户 tomas 已运行 32分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1533 父进程 1001 用户 tomas 已运行 0分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1573 父进程 1001 用户 tomas 已运行 1分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1604 父进程 1001 用户 tomas 已运行 25分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1644 父进程 1001 用户 tomas 已运行 40分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1673 父进程 1001 用户 tomas 已运行 37分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1677 父进程 1 用户 tomas 已运行 5天1小时 程序 /opt/homebrew/bin/gpg-agent\n 命令行:gpg-agent --homedir /Users/tomas/.gnupg --daemon\n\nlaunchd 管着的任务(launchctl list 里有的进程号):636、651、686、688、727、730、741、780、798\n", "answer": [ { "rule": "process.pile-up", "kind": "pile-up", "severity": "medium", "verdict": "info", "targets": [ "1001", "1041", "1063", "1096", "1109", "1142", "1175", "1201", "1240", "1265", "1279", "1292", "1300", "1330", "1334", "1361", "1369", "1400", "1403", "1423", "1463", "1495", "1533", "1573", "1604", "1644", "1673" ], "title": "lsof 在同一个父进程下堆了 26 个" } ], "planted": [ "pile-up-many" ], "near": [ "detached-on-purpose" ] }, { "id": "process-014", "group": "single", "facts": "这台 Mac 现在登录的用户是 yuki。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 6天7小时 程序 /sbin/launchd\nPID 461 父进程 1 用户 root 已运行 6天7小时 程序 /usr/libexec/securityd\nPID 489 父进程 1 用户 _windowserver 已运行 6天7小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 491 父进程 1 用户 root 已运行 6天7小时 程序 /usr/sbin/notifyd\nPID 512 父进程 1 用户 root 已运行 6天7小时 程序 /usr/sbin/KernelEventAgent\nPID 534 父进程 1 用户 root 已运行 6天7小时 程序 /usr/sbin/bluetoothd\nPID 535 父进程 1 用户 _locationd 已运行 6天7小时 程序 /usr/libexec/locationd\nPID 543 父进程 1 用户 root 已运行 6天7小时 程序 /usr/libexec/logd\nPID 555 父进程 1 用户 yuki 已运行 6天7小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 558 父进程 1 用户 yuki 已运行 6天6小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 571 父进程 1 用户 yuki 已运行 6天7小时 程序 /usr/libexec/trustd\nPID 581 父进程 1 用户 yuki 已运行 6天6小时 程序 /usr/libexec/nsurlsessiond\nPID 597 父进程 1 用户 yuki 已运行 6天7小时 程序 /usr/libexec/rapportd\nPID 600 父进程 1 用户 yuki 已运行 6天6小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 613 父进程 1 用户 yuki 已运行 6天7小时 程序 /usr/libexec/lsd\nPID 648 父进程 1 用户 yuki 已运行 6天6小时 程序 /usr/sbin/usernoted\nPID 664 父进程 1 用户 yuki 已运行 1天5小时 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 699 父进程 664 用户 yuki 已运行 7小时3分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libc++.1.dylib\nPID 717 父进程 664 用户 yuki 已运行 1小时17分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 724 父进程 664 用户 yuki 已运行 8小时18分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libc++.1.dylib\nPID 759 父进程 1 用户 yuki 已运行 14小时23分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 765 父进程 759 用户 yuki 已运行 8小时49分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libobjc.A.dylib\nPID 788 父进程 1 用户 yuki 已运行 4小时16分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 826 父进程 788 用户 yuki 已运行 28分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 854 父进程 1 用户 yuki 已运行 1天0小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 879 父进程 854 用户 yuki 已运行 18小时43分 程序 /bin/zsh\n 命令行:-zsh\nPID 887 父进程 854 用户 yuki 已运行 1天0小时 程序 /bin/zsh\n 命令行:-zsh\nPID 919 父进程 854 用户 yuki 已运行 4小时13分 程序 /bin/zsh\n 命令行:-zsh\nPID 940 父进程 919 用户 yuki 已运行 40分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 961 父进程 919 用户 yuki 已运行 4小时13分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 965 父进程 887 用户 yuki 已运行 4小时19分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/yuki/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 977 父进程 1 用户 yuki 已运行 4天8小时 程序 /Users/yuki/Applications/Pinecrest.app/Contents/MacOS/Pinecrest Agent 【程序文件已经不在盘上】\nPID 1005 父进程 1 用户 yuki 已运行 4天8小时 程序 /Users/yuki/Applications/Pinecrest.app/Contents/MacOS/Pinecrest Agent 【程序文件已经不在盘上】\nPID 1041 父进程 887 用户 yuki 已运行 1小时5分 程序 /Users/yuki/.local/bin/cachewren\n 命令行:cachewren --debug\n 环境变量:DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib(签名:Apple 签名)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):555、558、571、581、597、600、613、648\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "977", "1005" ], "title": "2 个 Pinecrest Agent 进程的程序已经被删掉了,还在跑" } ], "planted": [ "deleted-app" ], "near": [ "dyld-insert-apple-signed" ] }, { "id": "process-015", "group": "single", "facts": "这台 Mac 现在登录的用户是 linwei。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 13天19小时 程序 /sbin/launchd\nPID 440 父进程 1 用户 root 已运行 13天19小时 程序 /usr/libexec/logd\nPID 452 父进程 1 用户 root 已运行 13天19小时 程序 /usr/sbin/syslogd\nPID 491 父进程 1 用户 root 已运行 13天19小时 程序 /usr/libexec/opendirectoryd\nPID 510 父进程 1 用户 _locationd 已运行 13天19小时 程序 /usr/libexec/locationd\nPID 519 父进程 1 用户 root 已运行 13天19小时 程序 /usr/sbin/bluetoothd\nPID 551 父进程 1 用户 root 已运行 13天19小时 程序 /usr/libexec/airportd\nPID 586 父进程 1 用户 root 已运行 13天19小时 程序 /usr/libexec/securityd\nPID 603 父进程 1 用户 root 已运行 13天19小时 程序 /usr/libexec/diskarbitrationd\nPID 616 父进程 1 用户 _windowserver 已运行 13天19小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 627 父进程 1 用户 linwei 已运行 13天18小时 程序 /usr/libexec/nsurlsessiond\nPID 663 父进程 1 用户 linwei 已运行 13天18小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 676 父进程 1 用户 linwei 已运行 13天18小时 程序 /usr/libexec/pboard\nPID 698 父进程 1 用户 linwei 已运行 13天18小时 程序 /usr/libexec/trustd\nPID 709 父进程 1 用户 linwei 已运行 13天19小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 713 父进程 1 用户 linwei 已运行 13天18小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 733 父进程 1 用户 linwei 已运行 13天18小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 747 父进程 1 用户 linwei 已运行 13天18小时 程序 /usr/libexec/sharingd\nPID 748 父进程 1 用户 linwei 已运行 13天18小时 程序 /usr/sbin/cfprefsd\nPID 775 父进程 1 用户 linwei 已运行 8小时10分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 786 父进程 775 用户 linwei 已运行 2小时19分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libSystem.B.dylib\nPID 818 父进程 775 用户 linwei 已运行 8小时9分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Plugin).app/Contents/MacOS/Ondolo Helper (Plugin)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libSystem.B.dylib\nPID 828 父进程 775 用户 linwei 已运行 2小时59分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 843 父进程 775 用户 linwei 已运行 2小时54分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (GPU).app/Contents/MacOS/Ondolo Helper (GPU)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 860 父进程 1 用户 linwei 已运行 1天4小时 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 867 父进程 860 用户 linwei 已运行 6小时43分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 903 父进程 860 用户 linwei 已运行 7小时59分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 913 父进程 860 用户 linwei 已运行 1小时2分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Plugin).app/Contents/MacOS/Tarnwell Helper (Plugin)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 948 父进程 1 用户 linwei 已运行 21小时48分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 970 父进程 948 用户 linwei 已运行 21小时48分 程序 /bin/zsh\n 命令行:-zsh\nPID 976 父进程 948 用户 linwei 已运行 13小时10分 程序 /bin/zsh\n 命令行:-zsh\nPID 990 父进程 976 用户 linwei 已运行 1小时20分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1028 父进程 976 用户 linwei 已运行 1小时12分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1061 父进程 970 用户 linwei 已运行 4小时28分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1072 父进程 970 用户 linwei 已运行 2小时58分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1075 父进程 970 用户 linwei 已运行 17分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 summarize.py --key sk-L0oV6aFT8hctjYOyVDer7\nPID 1088 父进程 970 用户 linwei 已运行 1小时33分 程序 /Users/linwei/.local/bin/portloom\n 命令行:portloom --debug\n 环境变量:DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib(签名:Apple 签名)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):627、663、676、698、709、713、733、747、748\n", "answer": [ { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1075" ], "title": "正在运行的 python3.13 命令行里带着API 密钥(sk-…)" } ], "planted": [ "secret-sk-key" ], "near": [ "dyld-insert-apple-signed" ] }, { "id": "process-016", "group": "single", "facts": "这台 Mac 现在登录的用户是 ruben。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 15天8小时 程序 /sbin/launchd\nPID 439 父进程 1 用户 root 已运行 15天8小时 程序 /usr/libexec/configd\nPID 456 父进程 1 用户 _coreaudiod 已运行 15天8小时 程序 /usr/sbin/coreaudiod\nPID 482 父进程 1 用户 root 已运行 15天8小时 程序 /usr/libexec/UserEventAgent\nPID 501 父进程 1 用户 _mdnsresponder 已运行 15天8小时 程序 /usr/sbin/mDNSResponder\nPID 523 父进程 1 用户 root 已运行 15天8小时 程序 /usr/sbin/cupsd\nPID 528 父进程 1 用户 _windowserver 已运行 15天8小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 545 父进程 1 用户 root 已运行 15天8小时 程序 /usr/libexec/opendirectoryd\nPID 565 父进程 1 用户 root 已运行 15天8小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 581 父进程 1 用户 root 已运行 15天8小时 程序 /usr/sbin/notifyd\nPID 611 父进程 1 用户 ruben 已运行 15天8小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 637 父进程 1 用户 ruben 已运行 15天8小时 程序 /usr/libexec/trustd\nPID 638 父进程 1 用户 ruben 已运行 15天8小时 程序 /usr/libexec/rapportd\nPID 649 父进程 1 用户 ruben 已运行 15天8小时 程序 /usr/libexec/secd\nPID 654 父进程 1 用户 ruben 已运行 15天8小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 692 父进程 1 用户 ruben 已运行 15天8小时 程序 /usr/libexec/pboard\nPID 706 父进程 1 用户 ruben 已运行 15天8小时 程序 /usr/libexec/nsurlsessiond\nPID 709 父进程 1 用户 ruben 已运行 1天3小时 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 736 父进程 709 用户 ruben 已运行 9小时34分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 738 父进程 709 用户 ruben 已运行 3小时6分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 761 父进程 709 用户 ruben 已运行 9小时7分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 799 父进程 1 用户 ruben 已运行 31分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 827 父进程 799 用户 ruben 已运行 31分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 865 父进程 799 用户 ruben 已运行 30分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libc++.1.dylib\nPID 890 父进程 799 用户 ruben 已运行 31分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 923 父进程 1 用户 ruben 已运行 1天8小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 940 父进程 923 用户 ruben 已运行 5小时49分 程序 /bin/zsh\n 命令行:-zsh\nPID 965 父进程 923 用户 ruben 已运行 21小时47分 程序 /bin/zsh\n 命令行:-zsh\nPID 978 父进程 940 用户 ruben 已运行 45分 程序 /usr/bin/tail\n 命令行:tail -f /Users/ruben/Projects/harbor-site/logs/dev.log\nPID 1004 父进程 940 用户 ruben 已运行 3小时34分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1016 父进程 940 用户 ruben 已运行 1小时19分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1042 父进程 940 用户 ruben 已运行 4小时48分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1077 父进程 940 用户 ruben 已运行 1分 程序 /usr/bin/curl\n 命令行:curl -s -u deploy:ehD1HUTPKYm2 https://builds.internal.example/api/artifacts\n\nlaunchd 管着的任务(launchctl list 里有的进程号):611、637、638、649、654、692、706\n", "answer": [ { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1077" ], "title": "正在运行的 curl 命令行里带着参数 -u(用户名:密码)" } ], "planted": [ "secret-curl" ], "near": [] }, { "id": "process-017", "group": "multi", "facts": "这台 Mac 现在登录的用户是 ruben。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 4天9小时 程序 /sbin/launchd\nPID 433 父进程 1 用户 _mdnsresponder 已运行 4天9小时 程序 /usr/sbin/mDNSResponder\nPID 434 父进程 1 用户 root 已运行 4天9小时 程序 /usr/sbin/bluetoothd\nPID 435 父进程 1 用户 _coreaudiod 已运行 4天9小时 程序 /usr/sbin/coreaudiod\nPID 450 父进程 1 用户 root 已运行 4天9小时 程序 /usr/sbin/syslogd\nPID 481 父进程 1 用户 root 已运行 4天9小时 程序 /usr/sbin/KernelEventAgent\nPID 484 父进程 1 用户 root 已运行 4天9小时 程序 /usr/libexec/thermalmonitord\nPID 512 父进程 1 用户 root 已运行 4天9小时 程序 /usr/libexec/airportd\nPID 516 父进程 1 用户 root 已运行 4天9小时 程序 /usr/sbin/notifyd\nPID 547 父进程 1 用户 root 已运行 4天9小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 573 父进程 1 用户 ruben 已运行 4天9小时 程序 /usr/libexec/trustd\nPID 586 父进程 1 用户 ruben 已运行 4天8小时 程序 /usr/sbin/usernoted\nPID 622 父进程 1 用户 ruben 已运行 4天9小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 634 父进程 1 用户 ruben 已运行 4天9小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 655 父进程 1 用户 ruben 已运行 4天9小时 程序 /usr/sbin/distnoted\nPID 695 父进程 1 用户 ruben 已运行 4天9小时 程序 /usr/sbin/cfprefsd\nPID 707 父进程 1 用户 ruben 已运行 4天8小时 程序 /usr/libexec/secd\nPID 727 父进程 1 用户 ruben 已运行 21小时58分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 740 父进程 727 用户 ruben 已运行 8分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 763 父进程 727 用户 ruben 已运行 2小时18分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 799 父进程 727 用户 ruben 已运行 1小时9分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libz.1.dylib\nPID 805 父进程 1 用户 ruben 已运行 1小时44分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 839 父进程 805 用户 ruben 已运行 1小时43分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 861 父进程 805 用户 ruben 已运行 27分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 888 父进程 805 用户 ruben 已运行 1小时32分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libSystem.B.dylib\nPID 907 父进程 1 用户 ruben 已运行 9小时57分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 947 父进程 907 用户 ruben 已运行 9小时56分 程序 /bin/zsh\n 命令行:-zsh\nPID 987 父进程 907 用户 ruben 已运行 6小时33分 程序 /bin/zsh\n 命令行:-zsh\nPID 1019 父进程 987 用户 ruben 已运行 3小时15分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1055 父进程 947 用户 ruben 已运行 40分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1061 父进程 947 用户 ruben 已运行 4小时26分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1068 父进程 947 用户 ruben 已运行 2小时48分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1079 父进程 987 用户 ruben 已运行 6小时32分 程序 /opt/homebrew/bin/ruby\n 载入的库:/opt/homebrew/lib/libssl.3.dylib(文件已经被删掉);/usr/lib/libSystem.B.dylib\nPID 1116 父进程 1 用户 ruben 已运行 6小时0分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy run --config /Users/ruben/Caddyfile\nPID 1151 父进程 1 用户 ruben 已运行 4天9小时 程序 /Applications/Emberline.app/Contents/XPCServices/EmberlineSync.xpc/Contents/MacOS/EmberlineSync\n\nlaunchd 管着的任务(launchctl list 里有的进程号):573、586、622、634、655、695、707\n", "answer": [ { "rule": "process.library-deleted", "kind": "library-deleted", "severity": "medium", "verdict": "info", "targets": [ "1079" ], "title": "进程 1079(ruby)载入的库 libssl.3.dylib 已经被删掉了,还在用" }, { "rule": "process.orphan", "kind": "orphan", "severity": "low", "verdict": "info", "targets": [ "1116" ], "title": "1 个后台进程的父进程已经退出,还在跑" } ], "planted": [ "library-deleted", "orphan-exactly-6-hours" ], "near": [ "app-service-under-launchd" ] }, { "id": "process-018", "group": "near", "facts": "这台 Mac 现在登录的用户是 soren。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 17天13小时 程序 /sbin/launchd\nPID 339 父进程 1 用户 root 已运行 17天13小时 程序 /usr/sbin/syslogd\nPID 352 父进程 1 用户 root 已运行 17天13小时 程序 /usr/libexec/UserEventAgent\nPID 373 父进程 1 用户 root 已运行 17天13小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 378 父进程 1 用户 root 已运行 17天13小时 程序 /usr/libexec/airportd\nPID 381 父进程 1 用户 root 已运行 17天13小时 程序 /usr/libexec/thermalmonitord\nPID 411 父进程 1 用户 root 已运行 17天13小时 程序 /usr/libexec/watchdogd\nPID 448 父进程 1 用户 _mdnsresponder 已运行 17天13小时 程序 /usr/sbin/mDNSResponder\nPID 483 父进程 1 用户 _windowserver 已运行 17天13小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 487 父进程 1 用户 root 已运行 17天13小时 程序 /usr/libexec/diskarbitrationd\nPID 492 父进程 1 用户 _locationd 已运行 17天13小时 程序 /usr/libexec/locationd\nPID 521 父进程 1 用户 root 已运行 17天13小时 程序 /usr/libexec/opendirectoryd\nPID 544 父进程 1 用户 soren 已运行 17天13小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 558 父进程 1 用户 soren 已运行 17天13小时 程序 /usr/sbin/distnoted\nPID 599 父进程 1 用户 soren 已运行 17天13小时 程序 /usr/libexec/lsd\nPID 604 父进程 1 用户 soren 已运行 17天13小时 程序 /usr/sbin/usernoted\nPID 630 父进程 1 用户 soren 已运行 17天13小时 程序 /usr/libexec/secd\nPID 640 父进程 1 用户 soren 已运行 17天13小时 程序 /usr/libexec/nsurlsessiond\nPID 652 父进程 1 用户 soren 已运行 17天13小时 程序 /usr/libexec/pboard\nPID 662 父进程 1 用户 soren 已运行 17天13小时 程序 /usr/libexec/sharingd\nPID 702 父进程 1 用户 soren 已运行 22小时3分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 720 父进程 702 用户 soren 已运行 58分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 749 父进程 702 用户 soren 已运行 1小时46分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libobjc.A.dylib\nPID 766 父进程 702 用户 soren 已运行 7分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libc++.1.dylib\nPID 781 父进程 1 用户 soren 已运行 20小时7分 程序 /Applications/Vextra.app/Contents/MacOS/Vextra\n 命令行:/Applications/Vextra.app/Contents/MacOS/Vextra\nPID 791 父进程 781 用户 soren 已运行 5小时16分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libobjc.A.dylib\nPID 803 父进程 1 用户 soren 已运行 18小时1分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 843 父进程 803 用户 soren 已运行 1小时18分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 861 父进程 803 用户 soren 已运行 5小时23分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 900 父进程 803 用户 soren 已运行 9小时54分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 936 父进程 803 用户 soren 已运行 27分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 950 父进程 1 用户 soren 已运行 22小时52分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 991 父进程 950 用户 soren 已运行 7小时3分 程序 /bin/zsh\n 命令行:-zsh\nPID 992 父进程 950 用户 soren 已运行 22小时52分 程序 /bin/zsh\n 命令行:-zsh\nPID 995 父进程 992 用户 soren 已运行 3小时39分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1004 父进程 991 用户 soren 已运行 2小时3分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1042 父进程 991 用户 soren 已运行 5分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1059 父进程 992 用户 soren 已运行 3小时52分 程序 /Users/soren/.local/bin/lintfinch\n 环境变量:DYLD_LIBRARY_PATH=/opt/homebrew/lib\n 环境变量:DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Frameworks\nPID 1083 父进程 1 用户 root 已运行 17天13小时 程序 /opt/harborline/bin/gatewayd 【程序文件已经不在盘上】\n 命令行:gatewayd --config /opt/harborline/etc/gateway.toml\nPID 1093 父进程 991 用户 soren 已运行 1小时41分 程序 /usr/bin/ssh\n 命令行:ssh -p2222 deploy@build.internal.example\n\nlaunchd 管着的任务(launchctl list 里有的进程号):544、558、599、604、630、640、652、662\n", "answer": [], "planted": [], "near": [ "other-dyld-variable", "other-user-gone", "port-not-password" ], "boundary": [ "other-user-gone" ] }, { "id": "process-019", "group": "near", "facts": "这台 Mac 现在登录的用户是 soren。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 9天13小时 程序 /sbin/launchd\nPID 424 父进程 1 用户 root 已运行 9天12小时 程序 /usr/libexec/UserEventAgent\nPID 457 父进程 1 用户 root 已运行 9天12小时 程序 /usr/sbin/KernelEventAgent\nPID 490 父进程 1 用户 root 已运行 9天12小时 程序 /usr/sbin/syslogd\nPID 523 父进程 1 用户 _mdnsresponder 已运行 9天12小时 程序 /usr/sbin/mDNSResponder\nPID 542 父进程 1 用户 root 已运行 9天12小时 程序 /usr/libexec/configd\nPID 576 父进程 1 用户 root 已运行 9天12小时 程序 /usr/libexec/securityd\nPID 598 父进程 1 用户 root 已运行 9天12小时 程序 /usr/libexec/diskarbitrationd\nPID 625 父进程 1 用户 _coreaudiod 已运行 9天12小时 程序 /usr/sbin/coreaudiod\nPID 635 父进程 1 用户 root 已运行 9天12小时 程序 /usr/libexec/watchdogd\nPID 651 父进程 1 用户 root 已运行 9天12小时 程序 /usr/sbin/bluetoothd\nPID 677 父进程 1 用户 root 已运行 9天12小时 程序 /usr/libexec/thermalmonitord\nPID 678 父进程 1 用户 soren 已运行 9天12小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 717 父进程 1 用户 soren 已运行 9天12小时 程序 /usr/libexec/pboard\nPID 720 父进程 1 用户 soren 已运行 9天12小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 723 父进程 1 用户 soren 已运行 9天12小时 程序 /usr/libexec/rapportd\nPID 747 父进程 1 用户 soren 已运行 9天12小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 788 父进程 1 用户 soren 已运行 9天12小时 程序 /usr/sbin/distnoted\nPID 825 父进程 1 用户 soren 已运行 9天12小时 程序 /usr/libexec/trustd\nPID 836 父进程 1 用户 soren 已运行 9天12小时 程序 /usr/libexec/sharingd\nPID 851 父进程 1 用户 soren 已运行 9天12小时 程序 /usr/libexec/nsurlsessiond\nPID 873 父进程 1 用户 soren 已运行 14小时54分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 902 父进程 873 用户 soren 已运行 3小时46分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libz.1.dylib\nPID 942 父进程 873 用户 soren 已运行 1小时56分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Plugin).app/Contents/MacOS/Ondolo Helper (Plugin)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libc++.1.dylib\nPID 956 父进程 873 用户 soren 已运行 5小时5分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libobjc.A.dylib\nPID 980 父进程 873 用户 soren 已运行 4小时15分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (GPU).app/Contents/MacOS/Ondolo Helper (GPU)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libSystem.B.dylib\nPID 987 父进程 1 用户 soren 已运行 1天3小时 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 1015 父进程 987 用户 soren 已运行 8小时35分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 1023 父进程 987 用户 soren 已运行 5小时11分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 1034 父进程 1 用户 soren 已运行 1天1小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 1043 父进程 1034 用户 soren 已运行 1天1小时 程序 /bin/zsh\n 命令行:-zsh\nPID 1080 父进程 1034 用户 soren 已运行 16小时11分 程序 /bin/zsh\n 命令行:-zsh\nPID 1091 父进程 1034 用户 soren 已运行 1天1小时 程序 /bin/zsh\n 命令行:-zsh\nPID 1107 父进程 1043 用户 soren 已运行 2小时26分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1132 父进程 1091 用户 soren 已运行 8分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1159 父进程 1091 用户 soren 已运行 2小时22分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1165 父进程 1080 用户 soren 已运行 4小时59分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/soren/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1166 父进程 1 用户 soren 已运行 9天12小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\n 监听:0.0.0.0:5000\nPID 1206 父进程 1 用户 root 已运行 9天12小时 程序 /opt/harborline/bin/gatewayd 【程序文件已经不在盘上】\n 命令行:gatewayd --config /opt/harborline/etc/gateway.toml\nPID 1210 父进程 1043 用户 soren 已运行 18分 程序 /usr/bin/curl\n 命令行:curl -sO https://deploy@files.internal.example/sk-learn-notes/data.tar.gz\n\nlaunchd 管着的任务(launchctl list 里有的进程号):678、717、720、723、747、788、825、836、851、1166\n", "answer": [], "planted": [], "near": [ "system-listening-everywhere", "other-user-gone", "url-without-password" ], "boundary": [ "other-user-gone" ] }, { "id": "process-020", "group": "single", "facts": "这台 Mac 现在登录的用户是 tomas。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 11天13小时 程序 /sbin/launchd\nPID 368 父进程 1 用户 root 已运行 11天13小时 程序 /usr/libexec/diskarbitrationd\nPID 406 父进程 1 用户 _windowserver 已运行 11天13小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 422 父进程 1 用户 root 已运行 11天13小时 程序 /usr/libexec/logd\nPID 446 父进程 1 用户 root 已运行 11天13小时 程序 /usr/libexec/configd\nPID 465 父进程 1 用户 root 已运行 11天13小时 程序 /usr/libexec/UserEventAgent\nPID 472 父进程 1 用户 root 已运行 11天13小时 程序 /usr/sbin/cupsd\nPID 506 父进程 1 用户 root 已运行 11天13小时 程序 /usr/libexec/opendirectoryd\nPID 525 父进程 1 用户 root 已运行 11天13小时 程序 /usr/libexec/watchdogd\nPID 535 父进程 1 用户 root 已运行 11天13小时 程序 /usr/sbin/syslogd\nPID 544 父进程 1 用户 _mdnsresponder 已运行 11天13小时 程序 /usr/sbin/mDNSResponder\nPID 558 父进程 1 用户 root 已运行 11天13小时 程序 /usr/sbin/bluetoothd\nPID 583 父进程 1 用户 tomas 已运行 11天13小时 程序 /usr/libexec/secd\nPID 606 父进程 1 用户 tomas 已运行 11天13小时 程序 /usr/libexec/UserEventAgent\nPID 634 父进程 1 用户 tomas 已运行 11天13小时 程序 /usr/sbin/usernoted\nPID 643 父进程 1 用户 tomas 已运行 11天13小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 648 父进程 1 用户 tomas 已运行 11天13小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 687 父进程 1 用户 tomas 已运行 11天13小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 725 父进程 1 用户 tomas 已运行 7小时33分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 763 父进程 725 用户 tomas 已运行 4小时25分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 800 父进程 725 用户 tomas 已运行 7小时33分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libobjc.A.dylib\nPID 824 父进程 1 用户 tomas 已运行 6小时29分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 856 父进程 824 用户 tomas 已运行 3小时30分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libc++.1.dylib\nPID 859 父进程 824 用户 tomas 已运行 4小时35分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 890 父进程 824 用户 tomas 已运行 6小时29分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libobjc.A.dylib\nPID 902 父进程 824 用户 tomas 已运行 4小时6分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 920 父进程 1 用户 tomas 已运行 23小时20分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 959 父进程 920 用户 tomas 已运行 9小时3分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 975 父进程 920 用户 tomas 已运行 6小时21分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libc++.1.dylib\nPID 994 父进程 920 用户 tomas 已运行 6小时13分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 1007 父进程 1 用户 tomas 已运行 13小时27分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 1008 父进程 1007 用户 tomas 已运行 8小时53分 程序 /bin/zsh\n 命令行:-zsh\nPID 1024 父进程 1007 用户 tomas 已运行 13小时26分 程序 /bin/zsh\n 命令行:-zsh\nPID 1049 父进程 1008 用户 tomas 已运行 4小时52分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1078 父进程 1008 用户 tomas 已运行 4小时3分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/tomas/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1108 父进程 1024 用户 tomas 已运行 3小时26分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1125 父进程 1024 用户 tomas 已运行 13小时26分 程序 /Users/tomas/.local/bin/lintfinch\n 载入的库:/System/Library/PrivateFrameworks/OldSupport.framework/Versions/A/OldSupport(文件已经被删掉);/usr/lib/libz.1.dylib\nPID 1138 父进程 1008 用户 tomas 已运行 1小时42分 程序 /Users/tomas/.local/bin/portloom\n 命令行:portloom serve --listen [::ffff:127.0.0.1]:3000\n 监听:[::ffff:127.0.0.1]:3000\n\nlaunchd 管着的任务(launchctl list):没有答复,这一次没读到。\n", "answer": [ { "rule": "process.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "launchctl 没答复,这一轮没查孤儿进程" } ], "planted": [ "no-launchctl" ], "near": [ "system-library-deleted", "listening-loopback" ] }, { "id": "process-021", "group": "single", "facts": "这台 Mac 现在登录的用户是 meilin。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 13天4小时 程序 /sbin/launchd\nPID 338 父进程 1 用户 root 已运行 13天4小时 程序 /usr/sbin/syslogd\nPID 370 父进程 1 用户 root 已运行 13天4小时 程序 /usr/sbin/KernelEventAgent\nPID 385 父进程 1 用户 root 已运行 13天4小时 程序 /usr/sbin/cupsd\nPID 404 父进程 1 用户 _locationd 已运行 13天4小时 程序 /usr/libexec/locationd\nPID 416 父进程 1 用户 _mdnsresponder 已运行 13天4小时 程序 /usr/sbin/mDNSResponder\nPID 427 父进程 1 用户 root 已运行 13天4小时 程序 /usr/libexec/configd\nPID 452 父进程 1 用户 root 已运行 13天4小时 程序 /usr/libexec/securityd\nPID 473 父进程 1 用户 meilin 已运行 13天4小时 程序 /usr/libexec/trustd\nPID 480 父进程 1 用户 meilin 已运行 13天3小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 483 父进程 1 用户 meilin 已运行 13天3小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 498 父进程 1 用户 meilin 已运行 13天3小时 程序 /usr/sbin/cfprefsd\nPID 530 父进程 1 用户 meilin 已运行 13天4小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 557 父进程 1 用户 meilin 已运行 13天3小时 程序 /usr/libexec/nsurlsessiond\nPID 575 父进程 1 用户 meilin 已运行 15小时20分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 597 父进程 575 用户 meilin 已运行 5小时48分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 601 父进程 575 用户 meilin 已运行 2小时50分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 604 父进程 575 用户 meilin 已运行 6小时37分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libobjc.A.dylib\nPID 609 父进程 575 用户 meilin 已运行 7小时33分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libSystem.B.dylib\nPID 640 父进程 1 用户 meilin 已运行 8小时51分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 645 父进程 640 用户 meilin 已运行 8小时48分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 665 父进程 640 用户 meilin 已运行 4小时43分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (GPU).app/Contents/MacOS/Saltmarsh Helper (GPU)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 683 父进程 1 用户 meilin 已运行 10小时5分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 713 父进程 683 用户 meilin 已运行 6小时13分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libSystem.B.dylib\nPID 745 父进程 1 用户 meilin 已运行 1天5小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 749 父进程 745 用户 meilin 已运行 3小时51分 程序 /bin/zsh\n 命令行:-zsh\nPID 775 父进程 745 用户 meilin 已运行 18小时51分 程序 /bin/zsh\n 命令行:-zsh\nPID 794 父进程 775 用户 meilin 已运行 2小时24分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 830 父进程 749 用户 meilin 已运行 21分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 838 父进程 775 用户 meilin 已运行 42分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 859 父进程 775 用户 meilin 已运行 1小时49分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/meilin/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 876 父进程 775 用户 meilin 已运行 10小时43分 程序 /Users/meilin/.local/bin/cachewren\n 命令行:cachewren watch\n 载入的库:/private/var/folders/2b/rvjbst_bvpdsbcfkb8m8kkn7hn_hnh/T/io.example.unpack-lFufgW/libpayload.dylib(签名:没有签名);/System/Library/Frameworks/Security.framework/Versions/A/Security;/Users/meilin/.local/lib/libcommon.1.dylib\n\nlaunchd 管着的任务(launchctl list 里有的进程号):473、480、483、498、530、557\n", "answer": [ { "rule": "process.library-temp", "kind": "library-temp", "severity": "medium", "verdict": "info", "targets": [ "876" ], "title": "进程 876(cachewren)载入了临时文件夹里的库 libpayload.dylib" } ], "planted": [ "library-temp" ], "near": [] }, { "id": "process-022", "group": "near", "facts": "这台 Mac 现在登录的用户是 ruben。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 11天19小时 程序 /sbin/launchd\nPID 434 父进程 1 用户 root 已运行 11天19小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 449 父进程 1 用户 root 已运行 11天19小时 程序 /usr/libexec/thermalmonitord\nPID 481 父进程 1 用户 root 已运行 11天19小时 程序 /usr/sbin/KernelEventAgent\nPID 486 父进程 1 用户 root 已运行 11天19小时 程序 /usr/libexec/configd\nPID 519 父进程 1 用户 _windowserver 已运行 11天19小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 535 父进程 1 用户 root 已运行 11天19小时 程序 /usr/libexec/opendirectoryd\nPID 565 父进程 1 用户 root 已运行 11天19小时 程序 /usr/sbin/notifyd\nPID 586 父进程 1 用户 _mdnsresponder 已运行 11天19小时 程序 /usr/sbin/mDNSResponder\nPID 615 父进程 1 用户 root 已运行 11天19小时 程序 /usr/libexec/airportd\nPID 624 父进程 1 用户 _coreaudiod 已运行 11天19小时 程序 /usr/sbin/coreaudiod\nPID 652 父进程 1 用户 ruben 已运行 11天19小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 669 父进程 1 用户 ruben 已运行 11天19小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 676 父进程 1 用户 ruben 已运行 11天19小时 程序 /usr/libexec/secd\nPID 704 父进程 1 用户 ruben 已运行 11天19小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 709 父进程 1 用户 ruben 已运行 11天19小时 程序 /usr/sbin/distnoted\nPID 720 父进程 1 用户 ruben 已运行 11天19小时 程序 /usr/libexec/nsurlsessiond\nPID 758 父进程 1 用户 ruben 已运行 11天19小时 程序 /usr/libexec/sharingd\nPID 793 父进程 1 用户 ruben 已运行 11天19小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 802 父进程 1 用户 ruben 已运行 11天19小时 程序 /usr/libexec/trustd\nPID 807 父进程 1 用户 ruben 已运行 21小时37分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 842 父进程 807 用户 ruben 已运行 3小时13分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libobjc.A.dylib\nPID 851 父进程 1 用户 ruben 已运行 10小时36分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 866 父进程 851 用户 ruben 已运行 6小时40分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libc++.1.dylib\nPID 905 父进程 851 用户 ruben 已运行 6小时24分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libSystem.B.dylib\nPID 914 父进程 851 用户 ruben 已运行 9小时31分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libSystem.B.dylib\nPID 932 父进程 1 用户 ruben 已运行 6小时37分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 935 父进程 932 用户 ruben 已运行 6小时36分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 950 父进程 1 用户 ruben 已运行 19小时22分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 983 父进程 950 用户 ruben 已运行 1小时37分 程序 /bin/zsh\n 命令行:-zsh\nPID 1010 父进程 950 用户 ruben 已运行 9小时24分 程序 /bin/zsh\n 命令行:-zsh\nPID 1015 父进程 950 用户 ruben 已运行 10小时16分 程序 /bin/zsh\n 命令行:-zsh\nPID 1036 父进程 1010 用户 ruben 已运行 1小时11分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1040 父进程 983 用户 ruben 已运行 1小时37分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/ruben/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1047 父进程 983 用户 ruben 已运行 1小时37分 程序 /usr/bin/tail\n 命令行:tail -f /Users/ruben/Projects/harbor-site/logs/dev.log\nPID 1053 父进程 1015 用户 ruben 已运行 2小时20分 程序 /Users/ruben/.local/bin/portloom\n 环境变量:DYLD_LIBRARY_PATH=/opt/homebrew/lib\n 环境变量:DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Frameworks\nPID 1061 父进程 1010 用户 ruben 已运行 3小时41分 程序 /Users/ruben/.local/bin/tidewatch\n 载入的库:/private/var/folders/pp/hqsvx3ndvqwz7bw11zf3_yspr7r5vv/T/com.apple.dt.cache-zwynbr/libPreview.dylib(签名:Apple 签名)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):652、669、676、704、709、720、758、793、802\n", "answer": [], "planted": [], "near": [ "other-dyld-variable", "apple-library-in-temp" ] }, { "id": "process-023", "group": "near", "facts": "这台 Mac 现在登录的用户是 meilin。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 13天14小时 程序 /sbin/launchd\nPID 383 父进程 1 用户 root 已运行 13天14小时 程序 /usr/libexec/securityd\nPID 409 父进程 1 用户 root 已运行 13天14小时 程序 /usr/libexec/logd\nPID 427 父进程 1 用户 root 已运行 13天14小时 程序 /usr/libexec/UserEventAgent\nPID 433 父进程 1 用户 _locationd 已运行 13天14小时 程序 /usr/libexec/locationd\nPID 443 父进程 1 用户 root 已运行 13天14小时 程序 /usr/libexec/diskarbitrationd\nPID 444 父进程 1 用户 _coreaudiod 已运行 13天14小时 程序 /usr/sbin/coreaudiod\nPID 447 父进程 1 用户 root 已运行 13天14小时 程序 /usr/sbin/bluetoothd\nPID 487 父进程 1 用户 root 已运行 13天14小时 程序 /usr/sbin/notifyd\nPID 497 父进程 1 用户 root 已运行 13天14小时 程序 /usr/libexec/thermalmonitord\nPID 526 父进程 1 用户 meilin 已运行 13天14小时 程序 /usr/libexec/trustd\nPID 563 父进程 1 用户 meilin 已运行 13天14小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 603 父进程 1 用户 meilin 已运行 13天14小时 程序 /usr/libexec/nsurlsessiond\nPID 628 父进程 1 用户 meilin 已运行 13天13小时 程序 /usr/libexec/lsd\nPID 651 父进程 1 用户 meilin 已运行 13天14小时 程序 /usr/libexec/secd\nPID 660 父进程 1 用户 meilin 已运行 13天14小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 675 父进程 1 用户 meilin 已运行 1天1小时 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 713 父进程 675 用户 meilin 已运行 1小时11分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 723 父进程 675 用户 meilin 已运行 8小时3分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 730 父进程 675 用户 meilin 已运行 2小时18分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Plugin).app/Contents/MacOS/Brackenmail Helper (Plugin)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libobjc.A.dylib\nPID 748 父进程 675 用户 meilin 已运行 6小时34分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libc++.1.dylib\nPID 764 父进程 1 用户 meilin 已运行 17小时15分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 796 父进程 764 用户 meilin 已运行 8小时51分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 825 父进程 764 用户 meilin 已运行 1小时0分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 851 父进程 764 用户 meilin 已运行 9小时48分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 879 父进程 1 用户 meilin 已运行 22小时0分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 917 父进程 879 用户 meilin 已运行 12分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 931 父进程 879 用户 meilin 已运行 2小时35分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Plugin).app/Contents/MacOS/Saltmarsh Helper (Plugin)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 955 父进程 1 用户 meilin 已运行 1天2小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 989 父进程 955 用户 meilin 已运行 16小时44分 程序 /bin/zsh\n 命令行:-zsh\nPID 1002 父进程 955 用户 meilin 已运行 10小时33分 程序 /bin/zsh\n 命令行:-zsh\nPID 1019 父进程 955 用户 meilin 已运行 1天1小时 程序 /bin/zsh\n 命令行:-zsh\nPID 1043 父进程 989 用户 meilin 已运行 37分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1072 父进程 1002 用户 meilin 已运行 3小时29分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1078 父进程 1 用户 meilin 已运行 13天13小时 程序 /usr/libexec/rapportd\n 监听:0.0.0.0:7000\nPID 1104 父进程 989 用户 meilin 已运行 2小时7分 程序 /usr/bin/ssh\n 命令行:ssh -p2222 deploy@build.internal.example\n\nlaunchd 管着的任务(launchctl list 里有的进程号):526、563、603、628、651、660、1078\n", "answer": [], "planted": [], "near": [ "system-listening-everywhere", "port-not-password" ] }, { "id": "process-024", "group": "multi", "facts": "这台 Mac 现在登录的用户是 meilin。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 6天20小时 程序 /sbin/launchd\nPID 458 父进程 1 用户 root 已运行 6天20小时 程序 /usr/sbin/syslogd\nPID 488 父进程 1 用户 root 已运行 6天20小时 程序 /usr/sbin/bluetoothd\nPID 521 父进程 1 用户 root 已运行 6天20小时 程序 /usr/libexec/configd\nPID 546 父进程 1 用户 root 已运行 6天20小时 程序 /usr/sbin/notifyd\nPID 576 父进程 1 用户 root 已运行 6天20小时 程序 /usr/sbin/KernelEventAgent\nPID 598 父进程 1 用户 _coreaudiod 已运行 6天20小时 程序 /usr/sbin/coreaudiod\nPID 638 父进程 1 用户 _windowserver 已运行 6天20小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 669 父进程 1 用户 root 已运行 6天20小时 程序 /usr/libexec/logd\nPID 699 父进程 1 用户 root 已运行 6天20小时 程序 /usr/libexec/UserEventAgent\nPID 705 父进程 1 用户 meilin 已运行 6天20小时 程序 /usr/sbin/usernoted\nPID 731 父进程 1 用户 meilin 已运行 6天20小时 程序 /usr/libexec/secd\nPID 770 父进程 1 用户 meilin 已运行 6天20小时 程序 /usr/libexec/nsurlsessiond\nPID 791 父进程 1 用户 meilin 已运行 6天20小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 820 父进程 1 用户 meilin 已运行 6天20小时 程序 /usr/sbin/cfprefsd\nPID 829 父进程 1 用户 meilin 已运行 6天20小时 程序 /usr/libexec/UserEventAgent\nPID 833 父进程 1 用户 meilin 已运行 6天20小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 874 父进程 1 用户 meilin 已运行 16小时54分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 881 父进程 874 用户 meilin 已运行 2小时54分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (GPU).app/Contents/MacOS/Quillbay Helper (GPU)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libc++.1.dylib\nPID 894 父进程 874 用户 meilin 已运行 9小时14分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libSystem.B.dylib\nPID 906 父进程 874 用户 meilin 已运行 7小时37分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libz.1.dylib\nPID 936 父进程 1 用户 meilin 已运行 1小时13分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 956 父进程 936 用户 meilin 已运行 1小时13分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 995 父进程 936 用户 meilin 已运行 1小时12分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 1004 父进程 1 用户 meilin 已运行 12小时9分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 1030 父进程 1004 用户 meilin 已运行 12小时8分 程序 /bin/zsh\n 命令行:-zsh\nPID 1033 父进程 1004 用户 meilin 已运行 49分 程序 /bin/zsh\n 命令行:-zsh\nPID 1059 父进程 1004 用户 meilin 已运行 8小时19分 程序 /bin/zsh\n 命令行:-zsh\nPID 1085 父进程 1059 用户 meilin 已运行 10分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1114 父进程 1030 用户 meilin 已运行 1小时13分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/meilin/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1123 父进程 1033 用户 meilin 已运行 33分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1164 父进程 1059 用户 meilin 已运行 4小时41分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1185 父进程 1059 用户 meilin 已运行 19分 程序 /usr/bin/curl\n 命令行:curl -s -u deploy:oXS2QCyEcQCw https://builds.internal.example/api/artifacts\nPID 1223 父进程 1030 用户 meilin 已运行 12小时0分 程序 /Users/meilin/.local/bin/tidewatch\n 命令行:tidewatch watch\n 载入的库:/private/var/folders/6_/54fkf6wkl61sk0pq_5wrzt18p056ln/T/.aUivQF54/libhelper.dylib(签名:签名对不上:签名以后文件被改过);/usr/lib/libobjc.A.dylib;/Users/meilin/.local/lib/libcommon.1.dylib\nPID 1248 父进程 1 用户 meilin 已运行 4天18小时 程序 /Applications/Pinecrest.app/Contents/XPCServices/PinecrestSync.xpc/Contents/MacOS/PinecrestSync\nPID 1279 父进程 1 用户 meilin 已运行 5小时48分 程序 /Users/meilin/.local/bin/logharbor\n 命令行:logharbor daemon\n\nlaunchd 管着的任务(launchctl list 里有的进程号):705、731、770、791、820、829、833\n", "answer": [ { "rule": "process.library-temp", "kind": "library-temp", "severity": "high", "verdict": "info", "targets": [ "1223" ], "title": "进程 1223(tidewatch)载入了临时文件夹里的库 libhelper.dylib" }, { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1185" ], "title": "正在运行的 curl 命令行里带着参数 -u(用户名:密码)" } ], "planted": [ "secret-curl", "library-temp-broken-signature" ], "near": [ "app-service-under-launchd", "orphan-5-hours-50" ] }, { "id": "process-025", "group": "multi", "facts": "这台 Mac 现在登录的用户是 meilin。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 10天3小时 程序 /sbin/launchd\nPID 338 父进程 1 用户 _coreaudiod 已运行 10天2小时 程序 /usr/sbin/coreaudiod\nPID 361 父进程 1 用户 root 已运行 10天2小时 程序 /usr/sbin/notifyd\nPID 381 父进程 1 用户 root 已运行 10天2小时 程序 /usr/libexec/opendirectoryd\nPID 402 父进程 1 用户 root 已运行 10天2小时 程序 /usr/sbin/KernelEventAgent\nPID 418 父进程 1 用户 root 已运行 10天2小时 程序 /usr/sbin/syslogd\nPID 442 父进程 1 用户 _locationd 已运行 10天2小时 程序 /usr/libexec/locationd\nPID 465 父进程 1 用户 root 已运行 10天2小时 程序 /usr/libexec/airportd\nPID 484 父进程 1 用户 root 已运行 10天2小时 程序 /usr/libexec/configd\nPID 506 父进程 1 用户 root 已运行 10天2小时 程序 /usr/libexec/securityd\nPID 546 父进程 1 用户 root 已运行 10天2小时 程序 /usr/libexec/UserEventAgent\nPID 564 父进程 1 用户 _windowserver 已运行 10天2小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 603 父进程 1 用户 meilin 已运行 10天2小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 616 父进程 1 用户 meilin 已运行 10天2小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 654 父进程 1 用户 meilin 已运行 10天2小时 程序 /usr/libexec/rapportd\nPID 676 父进程 1 用户 meilin 已运行 10天2小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 707 父进程 1 用户 meilin 已运行 10天2小时 程序 /usr/sbin/cfprefsd\nPID 715 父进程 1 用户 meilin 已运行 10天2小时 程序 /usr/sbin/usernoted\nPID 751 父进程 1 用户 meilin 已运行 10天2小时 程序 /usr/libexec/trustd\nPID 775 父进程 1 用户 meilin 已运行 10天2小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 811 父进程 1 用户 meilin 已运行 10天2小时 程序 /usr/libexec/nsurlsessiond\nPID 823 父进程 1 用户 meilin 已运行 19小时52分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 848 父进程 823 用户 meilin 已运行 6小时22分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 888 父进程 1 用户 meilin 已运行 1天1小时 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 895 父进程 888 用户 meilin 已运行 6小时25分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 911 父进程 888 用户 meilin 已运行 51分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (GPU).app/Contents/MacOS/Saltmarsh Helper (GPU)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libz.1.dylib\nPID 913 父进程 888 用户 meilin 已运行 6小时49分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libobjc.A.dylib\nPID 926 父进程 1 用户 meilin 已运行 8小时10分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 936 父进程 926 用户 meilin 已运行 8小时10分 程序 /bin/zsh\n 命令行:-zsh\nPID 949 父进程 926 用户 meilin 已运行 8小时10分 程序 /bin/zsh\n 命令行:-zsh\nPID 955 父进程 926 用户 meilin 已运行 8小时10分 程序 /bin/zsh\n 命令行:-zsh\nPID 965 父进程 955 用户 meilin 已运行 3小时12分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/meilin/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 976 父进程 955 用户 meilin 已运行 2小时9分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 985 父进程 949 用户 meilin 已运行 5小时38分 程序 /Users/meilin/.local/bin/syncferry\n 命令行:syncferry serve --listen [::]:3000\n 监听:[::]:3000\nPID 1003 父进程 936 用户 meilin 已运行 8小时9分 程序 /Users/meilin/.local/bin/tidewatch\n 命令行:tidewatch poll --every 5s\nPID 1035 父进程 1003 用户 meilin 已运行 56分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1049 父进程 1003 用户 meilin 已运行 8分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1078 父进程 1003 用户 meilin 已运行 6分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1100 父进程 1003 用户 meilin 已运行 19分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1132 父进程 1003 用户 meilin 已运行 38分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1163 父进程 1003 用户 meilin 已运行 54分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1166 父进程 1003 用户 meilin 已运行 36分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1183 父进程 1003 用户 meilin 已运行 48分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1223 父进程 1003 用户 meilin 已运行 48分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1256 父进程 1003 用户 meilin 已运行 28分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1266 父进程 1003 用户 meilin 已运行 23分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1278 父进程 1003 用户 meilin 已运行 54分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1313 父进程 1003 用户 meilin 已运行 25分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1350 父进程 1003 用户 meilin 已运行 14分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1354 父进程 1003 用户 meilin 已运行 49分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1371 父进程 1003 用户 meilin 已运行 11分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1378 父进程 1003 用户 meilin 已运行 21分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1412 父进程 1003 用户 meilin 已运行 45分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1434 父进程 1003 用户 meilin 已运行 33分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1460 父进程 1003 用户 meilin 已运行 48分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1480 父进程 949 用户 meilin 已运行 2小时3分 程序 /Users/meilin/.local/bin/cachewren\n 命令行:cachewren test --guard-malloc\n 环境变量:DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib\nPID 1519 父进程 1 用户 root 已运行 10天2小时 程序 /usr/local/sbin/metricsd\n 命令行:metricsd\n 监听:0.0.0.0:9100\n\nlaunchd 管着的任务(launchctl list 里有的进程号):603、616、654、676、707、715、751、775、811\n", "answer": [ { "rule": "process.pile-up", "kind": "pile-up", "severity": "medium", "verdict": "info", "targets": [ "1003", "1035", "1049", "1078", "1100", "1132", "1163", "1166", "1183", "1223", "1256", "1266", "1278", "1313", "1350", "1354", "1371", "1378", "1412", "1434", "1460" ], "title": "lsof 在同一个父进程下堆了 20 个" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "985" ], "title": "syncferry 在所有网络上监听 3000 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-everywhere-v6", "pile-up-20" ], "near": [ "dyld-insert-system-library", "other-user-listening" ], "boundary": [ "other-user-listening" ] }, { "id": "process-026", "group": "multi", "facts": "这台 Mac 现在登录的用户是 dalia。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 18天17小时 程序 /sbin/launchd\nPID 386 父进程 1 用户 root 已运行 18天16小时 程序 /usr/sbin/bluetoothd\nPID 402 父进程 1 用户 root 已运行 18天16小时 程序 /usr/sbin/syslogd\nPID 416 父进程 1 用户 root 已运行 18天16小时 程序 /usr/libexec/airportd\nPID 445 父进程 1 用户 _windowserver 已运行 18天16小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 458 父进程 1 用户 root 已运行 18天16小时 程序 /usr/libexec/UserEventAgent\nPID 470 父进程 1 用户 _coreaudiod 已运行 18天16小时 程序 /usr/sbin/coreaudiod\nPID 495 父进程 1 用户 _locationd 已运行 18天16小时 程序 /usr/libexec/locationd\nPID 535 父进程 1 用户 _mdnsresponder 已运行 18天16小时 程序 /usr/sbin/mDNSResponder\nPID 570 父进程 1 用户 root 已运行 18天16小时 程序 /usr/libexec/thermalmonitord\nPID 602 父进程 1 用户 root 已运行 18天16小时 程序 /usr/libexec/logd\nPID 636 父进程 1 用户 dalia 已运行 18天16小时 程序 /usr/libexec/UserEventAgent\nPID 643 父进程 1 用户 dalia 已运行 18天16小时 程序 /usr/sbin/distnoted\nPID 664 父进程 1 用户 dalia 已运行 18天16小时 程序 /usr/libexec/trustd\nPID 700 父进程 1 用户 dalia 已运行 18天16小时 程序 /usr/libexec/sharingd\nPID 735 父进程 1 用户 dalia 已运行 18天16小时 程序 /usr/libexec/pboard\nPID 769 父进程 1 用户 dalia 已运行 18天16小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 785 父进程 1 用户 dalia 已运行 18天16小时 程序 /usr/libexec/nsurlsessiond\nPID 809 父进程 1 用户 dalia 已运行 18天16小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 842 父进程 1 用户 dalia 已运行 18天16小时 程序 /usr/libexec/secd\nPID 872 父进程 1 用户 dalia 已运行 9小时8分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 907 父进程 872 用户 dalia 已运行 4小时10分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libz.1.dylib\nPID 929 父进程 1 用户 dalia 已运行 13小时29分 程序 /Applications/Vextra.app/Contents/MacOS/Vextra\n 命令行:/Applications/Vextra.app/Contents/MacOS/Vextra\nPID 951 父进程 929 用户 dalia 已运行 6小时4分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 984 父进程 929 用户 dalia 已运行 4小时39分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Plugin).app/Contents/MacOS/Vextra Helper (Plugin)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libSystem.B.dylib\nPID 995 父进程 929 用户 dalia 已运行 7小时38分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libz.1.dylib\nPID 999 父进程 1 用户 dalia 已运行 47分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 1024 父进程 999 用户 dalia 已运行 47分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libc++.1.dylib\nPID 1027 父进程 999 用户 dalia 已运行 47分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libSystem.B.dylib\nPID 1068 父进程 999 用户 dalia 已运行 47分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 1082 父进程 999 用户 dalia 已运行 47分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 1087 父进程 1 用户 dalia 已运行 1天2小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 1115 父进程 1087 用户 dalia 已运行 17小时46分 程序 /bin/zsh\n 命令行:-zsh\nPID 1149 父进程 1087 用户 dalia 已运行 5小时47分 程序 /bin/zsh\n 命令行:-zsh\nPID 1182 父进程 1115 用户 dalia 已运行 4小时8分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1204 父进程 1115 用户 dalia 已运行 1小时4分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1243 父进程 1149 用户 dalia 已运行 1小时40分 程序 /usr/bin/tail\n 命令行:tail -f /Users/dalia/Projects/harbor-site/logs/dev.log\nPID 1284 父进程 1115 用户 dalia 已运行 3小时21分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1321 父进程 1149 用户 dalia 已运行 5小时17分 程序 /opt/homebrew/bin/node\n 命令行:node server.js --host :: --port 3000\n 监听:[::]:3000\nPID 1359 父进程 1115 用户 dalia 已运行 6小时27分 程序 /Users/dalia/.local/bin/mapquill\n 命令行:mapquill watch\n 载入的库:/private/var/folders/1c/8f0d_1vb2lfrt_r3fbtbwrgpvklf5_/T/io.example.unpack-j1B6Tr/libpayload.dylib(签名:没有签名);/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation;/Users/dalia/.local/lib/libcommon.1.dylib\nPID 1382 父进程 1115 用户 dalia 已运行 6分 程序 /opt/homebrew/bin/node\n 命令行:node server.js --host ::1 --port 8888\n 监听:[::1]:8888\n\nlaunchd 管着的任务(launchctl list 里有的进程号):636、643、664、700、735、769、785、809、842\n", "answer": [ { "rule": "process.library-temp", "kind": "library-temp", "severity": "medium", "verdict": "info", "targets": [ "1359" ], "title": "进程 1359(mapquill)载入了临时文件夹里的库 libpayload.dylib" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "1321" ], "title": "node 在所有网络上监听 3000 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-everywhere-v6", "library-temp" ], "near": [ "listening-loopback" ] }, { "id": "process-027", "group": "multi", "facts": "这台 Mac 现在登录的用户是 ines。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 12天3小时 程序 /sbin/launchd\nPID 315 父进程 1 用户 root 已运行 12天3小时 程序 /usr/libexec/watchdogd\nPID 344 父进程 1 用户 root 已运行 12天3小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 381 父进程 1 用户 root 已运行 12天3小时 程序 /usr/libexec/airportd\nPID 396 父进程 1 用户 root 已运行 12天3小时 程序 /usr/libexec/opendirectoryd\nPID 436 父进程 1 用户 root 已运行 12天3小时 程序 /usr/libexec/UserEventAgent\nPID 473 父进程 1 用户 _coreaudiod 已运行 12天3小时 程序 /usr/sbin/coreaudiod\nPID 478 父进程 1 用户 root 已运行 12天3小时 程序 /usr/sbin/cupsd\nPID 519 父进程 1 用户 _mdnsresponder 已运行 12天3小时 程序 /usr/sbin/mDNSResponder\nPID 544 父进程 1 用户 root 已运行 12天3小时 程序 /usr/libexec/thermalmonitord\nPID 548 父进程 1 用户 ines 已运行 12天2小时 程序 /usr/libexec/nsurlsessiond\nPID 582 父进程 1 用户 ines 已运行 12天2小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 585 父进程 1 用户 ines 已运行 12天3小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 606 父进程 1 用户 ines 已运行 12天2小时 程序 /usr/libexec/rapportd\nPID 619 父进程 1 用户 ines 已运行 12天2小时 程序 /usr/sbin/usernoted\nPID 658 父进程 1 用户 ines 已运行 12天2小时 程序 /usr/libexec/secd\nPID 665 父进程 1 用户 ines 已运行 12天2小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 674 父进程 1 用户 ines 已运行 12天2小时 程序 /usr/libexec/sharingd\nPID 678 父进程 1 用户 ines 已运行 1天4小时 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 699 父进程 678 用户 ines 已运行 3小时39分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (GPU).app/Contents/MacOS/Brackenmail Helper (GPU)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libSystem.B.dylib\nPID 740 父进程 678 用户 ines 已运行 16分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 745 父进程 678 用户 ines 已运行 3小时26分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libc++.1.dylib\nPID 751 父进程 678 用户 ines 已运行 8小时58分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Plugin).app/Contents/MacOS/Brackenmail Helper (Plugin)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 790 父进程 1 用户 ines 已运行 6小时10分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 818 父进程 790 用户 ines 已运行 6小时9分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 853 父进程 790 用户 ines 已运行 4小时28分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libobjc.A.dylib\nPID 870 父进程 790 用户 ines 已运行 5小时22分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libc++.1.dylib\nPID 904 父进程 790 用户 ines 已运行 6小时9分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 926 父进程 1 用户 ines 已运行 1天15小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 943 父进程 926 用户 ines 已运行 1天5小时 程序 /bin/zsh\n 命令行:-zsh\nPID 973 父进程 926 用户 ines 已运行 14小时59分 程序 /bin/zsh\n 命令行:-zsh\nPID 986 父进程 926 用户 ines 已运行 13小时36分 程序 /bin/zsh\n 命令行:-zsh\nPID 1002 父进程 973 用户 ines 已运行 1小时37分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/ines/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1024 父进程 973 用户 ines 已运行 3小时49分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1034 父进程 973 用户 ines 已运行 35分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy file-server --listen 0.0.0.0:5173\n 监听:0.0.0.0:5173\nPID 1039 父进程 986 用户 ines 已运行 13小时36分 程序 /Users/ines/.local/bin/mapquill\n 命令行:mapquill poll --every 5s\nPID 1064 父进程 1039 用户 ines 已运行 55分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1092 父进程 1039 用户 ines 已运行 30分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1112 父进程 1039 用户 ines 已运行 51分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1125 父进程 1039 用户 ines 已运行 11分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1135 父进程 1039 用户 ines 已运行 54分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1156 父进程 1039 用户 ines 已运行 45分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1171 父进程 1039 用户 ines 已运行 31分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1174 父进程 1039 用户 ines 已运行 19分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1190 父进程 1039 用户 ines 已运行 2分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1209 父进程 1039 用户 ines 已运行 53分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1215 父进程 1039 用户 ines 已运行 42分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1217 父进程 1039 用户 ines 已运行 1分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1255 父进程 1039 用户 ines 已运行 29分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1263 父进程 1039 用户 ines 已运行 35分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1294 父进程 1039 用户 ines 已运行 56分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1316 父进程 1039 用户 ines 已运行 44分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1318 父进程 1039 用户 ines 已运行 34分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1353 父进程 1039 用户 ines 已运行 56分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1380 父进程 1039 用户 ines 已运行 55分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1385 父进程 1039 用户 ines 已运行 24分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1411 父进程 973 用户 ines 已运行 9分 程序 /Users/ines/.local/bin/portloom\n 命令行:portloom watch\n 载入的库:/private/var/folders/5k/zbxbj78ffx9n1zc1l032798f5p5067/T/io.example.unpack-93Rnyw/libpayload.dylib(签名:临时签名,没有开发者担保);/usr/lib/libz.1.dylib;/Users/ines/.local/lib/libcommon.1.dylib\nPID 1433 父进程 1 用户 ines 已运行 3天20小时 程序 /Users/ines/.local/bin/buildkiln\n 命令行:buildkiln agent --launchd\n\nlaunchd 管着的任务(launchctl list 里有的进程号):548、582、585、606、619、658、665、674、1433\n", "answer": [ { "rule": "process.library-temp", "kind": "library-temp", "severity": "medium", "verdict": "info", "targets": [ "1411" ], "title": "进程 1411(portloom)载入了临时文件夹里的库 libpayload.dylib" }, { "rule": "process.pile-up", "kind": "pile-up", "severity": "medium", "verdict": "info", "targets": [ "1039", "1064", "1092", "1112", "1125", "1135", "1156", "1171", "1174", "1190", "1209", "1215", "1217", "1255", "1263", "1294", "1316", "1318", "1353", "1380", "1385" ], "title": "lsof 在同一个父进程下堆了 20 个" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "1034" ], "title": "caddy 在所有网络上监听 5173 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-everywhere", "pile-up-20", "library-temp" ], "near": [ "launchd-job" ] }, { "id": "process-028", "group": "multi", "facts": "这台 Mac 现在登录的用户是 haoran。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 13天16小时 程序 /sbin/launchd\nPID 331 父进程 1 用户 root 已运行 13天16小时 程序 /usr/sbin/KernelEventAgent\nPID 352 父进程 1 用户 _windowserver 已运行 13天16小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 353 父进程 1 用户 _coreaudiod 已运行 13天16小时 程序 /usr/sbin/coreaudiod\nPID 357 父进程 1 用户 _mdnsresponder 已运行 13天16小时 程序 /usr/sbin/mDNSResponder\nPID 377 父进程 1 用户 root 已运行 13天16小时 程序 /usr/sbin/bluetoothd\nPID 393 父进程 1 用户 root 已运行 13天16小时 程序 /usr/sbin/cupsd\nPID 412 父进程 1 用户 root 已运行 13天16小时 程序 /usr/sbin/syslogd\nPID 416 父进程 1 用户 root 已运行 13天16小时 程序 /usr/libexec/securityd\nPID 449 父进程 1 用户 _locationd 已运行 13天16小时 程序 /usr/libexec/locationd\nPID 457 父进程 1 用户 root 已运行 13天16小时 程序 /usr/libexec/watchdogd\nPID 465 父进程 1 用户 haoran 已运行 13天16小时 程序 /usr/sbin/cfprefsd\nPID 498 父进程 1 用户 haoran 已运行 13天16小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 503 父进程 1 用户 haoran 已运行 13天16小时 程序 /usr/libexec/nsurlsessiond\nPID 524 父进程 1 用户 haoran 已运行 13天16小时 程序 /usr/libexec/UserEventAgent\nPID 557 父进程 1 用户 haoran 已运行 13天16小时 程序 /usr/libexec/rapportd\nPID 597 父进程 1 用户 haoran 已运行 13天16小时 程序 /usr/sbin/distnoted\nPID 628 父进程 1 用户 haoran 已运行 1天0小时 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 665 父进程 628 用户 haoran 已运行 7小时16分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 686 父进程 628 用户 haoran 已运行 5小时49分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libc++.1.dylib\nPID 721 父进程 628 用户 haoran 已运行 8小时2分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 736 父进程 628 用户 haoran 已运行 5小时8分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Plugin).app/Contents/MacOS/Tarnwell Helper (Plugin)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 774 父进程 1 用户 haoran 已运行 17小时1分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 815 父进程 774 用户 haoran 已运行 3小时9分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Plugin).app/Contents/MacOS/Saltmarsh Helper (Plugin)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 820 父进程 774 用户 haoran 已运行 1小时28分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 851 父进程 774 用户 haoran 已运行 9小时7分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 890 父进程 774 用户 haoran 已运行 3小时8分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libc++.1.dylib\nPID 909 父进程 1 用户 haoran 已运行 2小时18分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 948 父进程 909 用户 haoran 已运行 2小时18分 程序 /bin/zsh\n 命令行:-zsh\nPID 954 父进程 909 用户 haoran 已运行 2小时18分 程序 /bin/zsh\n 命令行:-zsh\nPID 956 父进程 909 用户 haoran 已运行 2小时18分 程序 /bin/zsh\n 命令行:-zsh\nPID 959 父进程 956 用户 haoran 已运行 31分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 967 父进程 954 用户 haoran 已运行 1小时51分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 985 父进程 948 用户 haoran 已运行 2小时18分 程序 /Users/haoran/.local/bin/lintfinch\n 命令行:lintfinch poll --every 5s\nPID 991 父进程 985 用户 haoran 已运行 21分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1014 父进程 985 用户 haoran 已运行 12分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1047 父进程 985 用户 haoran 已运行 55分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1075 父进程 985 用户 haoran 已运行 11分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1115 父进程 985 用户 haoran 已运行 20分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1147 父进程 985 用户 haoran 已运行 37分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1158 父进程 985 用户 haoran 已运行 3分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1181 父进程 985 用户 haoran 已运行 44分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1200 父进程 985 用户 haoran 已运行 16分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1220 父进程 985 用户 haoran 已运行 7分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1252 父进程 985 用户 haoran 已运行 40分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1259 父进程 985 用户 haoran 已运行 6分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1290 父进程 985 用户 haoran 已运行 6分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1315 父进程 985 用户 haoran 已运行 25分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1318 父进程 985 用户 haoran 已运行 40分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1355 父进程 985 用户 haoran 已运行 24分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1376 父进程 985 用户 haoran 已运行 57分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1410 父进程 985 用户 haoran 已运行 23分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1422 父进程 985 用户 haoran 已运行 16分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1424 父进程 985 用户 haoran 已运行 46分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1452 父进程 985 用户 haoran 已运行 19分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1477 父进程 985 用户 haoran 已运行 26分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1495 父进程 985 用户 haoran 已运行 58分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1502 父进程 985 用户 haoran 已运行 15分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1506 父进程 985 用户 haoran 已运行 25分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\n\nlaunchd 管着的任务(launchctl list):没有答复,这一次没读到。\n", "answer": [ { "rule": "process.pile-up", "kind": "pile-up", "severity": "medium", "verdict": "info", "targets": [ "985", "991", "1014", "1047", "1075", "1115", "1147", "1158", "1181", "1200", "1220", "1252", "1259", "1290", "1315", "1318", "1355", "1376", "1410", "1422", "1424", "1452", "1477", "1495", "1502", "1506" ], "title": "git 在同一个父进程下堆了 25 个" }, { "rule": "process.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "launchctl 没答复,这一轮没查孤儿进程" } ], "planted": [ "no-launchctl", "pile-up-many" ], "near": [] }, { "id": "process-029", "group": "multi", "facts": "这台 Mac 现在登录的用户是 anika。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 15天11小时 程序 /sbin/launchd\nPID 464 父进程 1 用户 root 已运行 15天11小时 程序 /usr/sbin/syslogd\nPID 484 父进程 1 用户 root 已运行 15天11小时 程序 /usr/libexec/thermalmonitord\nPID 492 父进程 1 用户 root 已运行 15天11小时 程序 /usr/sbin/bluetoothd\nPID 524 父进程 1 用户 root 已运行 15天11小时 程序 /usr/libexec/configd\nPID 555 父进程 1 用户 root 已运行 15天11小时 程序 /usr/sbin/notifyd\nPID 572 父进程 1 用户 _coreaudiod 已运行 15天11小时 程序 /usr/sbin/coreaudiod\nPID 597 父进程 1 用户 _locationd 已运行 15天11小时 程序 /usr/libexec/locationd\nPID 638 父进程 1 用户 anika 已运行 15天11小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 646 父进程 1 用户 anika 已运行 15天11小时 程序 /usr/sbin/cfprefsd\nPID 664 父进程 1 用户 anika 已运行 15天11小时 程序 /usr/libexec/secd\nPID 701 父进程 1 用户 anika 已运行 15天11小时 程序 /usr/libexec/lsd\nPID 724 父进程 1 用户 anika 已运行 15天11小时 程序 /usr/sbin/usernoted\nPID 762 父进程 1 用户 anika 已运行 15天11小时 程序 /usr/libexec/trustd\nPID 795 父进程 1 用户 anika 已运行 15天11小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 836 父进程 1 用户 anika 已运行 15天11小时 程序 /usr/libexec/nsurlsessiond\nPID 868 父进程 1 用户 anika 已运行 15天11小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 886 父进程 1 用户 anika 已运行 20小时46分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 917 父进程 886 用户 anika 已运行 3小时15分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 926 父进程 1 用户 anika 已运行 7小时49分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 957 父进程 926 用户 anika 已运行 5小时35分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libc++.1.dylib\nPID 966 父进程 1 用户 anika 已运行 1天1小时 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 990 父进程 966 用户 anika 已运行 8小时42分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 1004 父进程 966 用户 anika 已运行 10分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 1038 父进程 1 用户 anika 已运行 14小时52分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 1059 父进程 1038 用户 anika 已运行 10小时44分 程序 /bin/zsh\n 命令行:-zsh\nPID 1098 父进程 1038 用户 anika 已运行 14小时52分 程序 /bin/zsh\n 命令行:-zsh\nPID 1118 父进程 1038 用户 anika 已运行 14小时52分 程序 /bin/zsh\n 命令行:-zsh\nPID 1154 父进程 1059 用户 anika 已运行 2小时41分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1187 父进程 1118 用户 anika 已运行 1小时18分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1199 父进程 1118 用户 anika 已运行 1小时34分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1235 父进程 1118 用户 anika 已运行 8分 程序 /usr/bin/curl\n 命令行:curl -s -u deploy:qe8k7t4OGgQt https://builds.internal.example/api/artifacts\nPID 1258 父进程 1 用户 anika 已运行 5天17小时 程序 /Users/anika/Applications/Emberline.app/Contents/MacOS/Emberline Agent 【程序文件已经不在盘上】\nPID 1284 父进程 1 用户 anika 已运行 5天17小时 程序 /Users/anika/Applications/Emberline.app/Contents/MacOS/Emberline Agent 【程序文件已经不在盘上】\nPID 1287 父进程 1 用户 anika 已运行 5天17小时 程序 /Users/anika/Applications/Emberline.app/Contents/MacOS/Emberline Agent 【程序文件已经不在盘上】\nPID 1297 父进程 1 用户 anika 已运行 5小时54分 程序 /opt/homebrew/bin/deno\n 命令行:deno run -A dev.ts\n\nlaunchd 管着的任务(launchctl list):没有答复,这一次没读到。\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "1258", "1284", "1287" ], "title": "3 个 Emberline Agent 进程的程序已经被删掉了,还在跑" }, { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1235" ], "title": "正在运行的 curl 命令行里带着参数 -u(用户名:密码)" }, { "rule": "process.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "launchctl 没答复,这一轮没查孤儿进程" } ], "planted": [ "no-launchctl", "secret-curl", "deleted-app" ], "near": [ "orphan-5-hours-50" ] }, { "id": "process-030", "group": "single", "facts": "这台 Mac 现在登录的用户是 ines。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 4天18小时 程序 /sbin/launchd\nPID 382 父进程 1 用户 root 已运行 4天18小时 程序 /usr/sbin/KernelEventAgent\nPID 406 父进程 1 用户 root 已运行 4天18小时 程序 /usr/libexec/thermalmonitord\nPID 446 父进程 1 用户 _mdnsresponder 已运行 4天18小时 程序 /usr/sbin/mDNSResponder\nPID 452 父进程 1 用户 _coreaudiod 已运行 4天18小时 程序 /usr/sbin/coreaudiod\nPID 455 父进程 1 用户 root 已运行 4天18小时 程序 /usr/libexec/securityd\nPID 475 父进程 1 用户 root 已运行 4天18小时 程序 /usr/libexec/airportd\nPID 516 父进程 1 用户 root 已运行 4天18小时 程序 /usr/libexec/watchdogd\nPID 540 父进程 1 用户 root 已运行 4天18小时 程序 /usr/sbin/bluetoothd\nPID 568 父进程 1 用户 root 已运行 4天18小时 程序 /usr/libexec/configd\nPID 595 父进程 1 用户 ines 已运行 4天18小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 601 父进程 1 用户 ines 已运行 4天18小时 程序 /usr/libexec/trustd\nPID 636 父进程 1 用户 ines 已运行 4天18小时 程序 /usr/sbin/cfprefsd\nPID 676 父进程 1 用户 ines 已运行 4天18小时 程序 /usr/libexec/secd\nPID 681 父进程 1 用户 ines 已运行 4天18小时 程序 /usr/libexec/UserEventAgent\nPID 694 父进程 1 用户 ines 已运行 4天18小时 程序 /usr/libexec/lsd\nPID 729 父进程 1 用户 ines 已运行 4天18小时 程序 /usr/libexec/pboard\nPID 749 父进程 1 用户 ines 已运行 4小时59分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 754 父进程 749 用户 ines 已运行 3小时22分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 793 父进程 749 用户 ines 已运行 4小时59分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 831 父进程 749 用户 ines 已运行 1小时59分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Plugin).app/Contents/MacOS/Tarnwell Helper (Plugin)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libc++.1.dylib\nPID 833 父进程 749 用户 ines 已运行 4小时59分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 836 父进程 1 用户 ines 已运行 18小时31分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 866 父进程 836 用户 ines 已运行 6小时5分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (GPU).app/Contents/MacOS/Brackenmail Helper (GPU)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libz.1.dylib\nPID 890 父进程 836 用户 ines 已运行 8小时4分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Plugin).app/Contents/MacOS/Brackenmail Helper (Plugin)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libc++.1.dylib\nPID 916 父进程 836 用户 ines 已运行 39分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libc++.1.dylib\nPID 937 父进程 836 用户 ines 已运行 9小时21分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libc++.1.dylib\nPID 946 父进程 1 用户 ines 已运行 1天2小时 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 978 父进程 946 用户 ines 已运行 5小时19分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 992 父进程 946 用户 ines 已运行 12分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 1012 父进程 1 用户 ines 已运行 1天2小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 1036 父进程 1012 用户 ines 已运行 14小时54分 程序 /bin/zsh\n 命令行:-zsh\nPID 1037 父进程 1012 用户 ines 已运行 17小时25分 程序 /bin/zsh\n 命令行:-zsh\nPID 1072 父进程 1036 用户 ines 已运行 1小时38分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1074 父进程 1037 用户 ines 已运行 14分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1110 父进程 1037 用户 ines 已运行 2小时22分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1144 父进程 1036 用户 ines 已运行 7小时59分 程序 /opt/homebrew/bin/node\n 命令行:node server.js --host 0.0.0.0 --port 4000\n 监听:0.0.0.0:4000\nPID 1155 父进程 1037 用户 ines 已运行 1小时55分 程序 /Users/ines/.local/bin/tidewatch\n 命令行:tidewatch --debug\n 环境变量:DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib(签名:Apple 签名)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):595、601、636、676、681、694、729\n", "answer": [ { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "1144" ], "title": "node 在所有网络上监听 4000 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-everywhere" ], "near": [ "dyld-insert-apple-signed" ] }, { "id": "process-031", "group": "single", "facts": "这台 Mac 现在登录的用户是 anika。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 14天20小时 程序 /sbin/launchd\nPID 400 父进程 1 用户 root 已运行 14天20小时 程序 /usr/sbin/syslogd\nPID 407 父进程 1 用户 root 已运行 14天20小时 程序 /usr/libexec/airportd\nPID 427 父进程 1 用户 root 已运行 14天20小时 程序 /usr/sbin/cupsd\nPID 457 父进程 1 用户 root 已运行 14天20小时 程序 /usr/libexec/watchdogd\nPID 460 父进程 1 用户 root 已运行 14天20小时 程序 /usr/sbin/bluetoothd\nPID 498 父进程 1 用户 _coreaudiod 已运行 14天20小时 程序 /usr/sbin/coreaudiod\nPID 520 父进程 1 用户 root 已运行 14天20小时 程序 /usr/libexec/securityd\nPID 556 父进程 1 用户 root 已运行 14天20小时 程序 /usr/libexec/diskarbitrationd\nPID 564 父进程 1 用户 _locationd 已运行 14天20小时 程序 /usr/libexec/locationd\nPID 602 父进程 1 用户 root 已运行 14天20小时 程序 /usr/libexec/opendirectoryd\nPID 604 父进程 1 用户 _mdnsresponder 已运行 14天20小时 程序 /usr/sbin/mDNSResponder\nPID 605 父进程 1 用户 anika 已运行 14天19小时 程序 /usr/sbin/cfprefsd\nPID 624 父进程 1 用户 anika 已运行 14天20小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 661 父进程 1 用户 anika 已运行 14天20小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 668 父进程 1 用户 anika 已运行 14天19小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 705 父进程 1 用户 anika 已运行 14天20小时 程序 /usr/libexec/nsurlsessiond\nPID 715 父进程 1 用户 anika 已运行 14天20小时 程序 /usr/libexec/lsd\nPID 744 父进程 1 用户 anika 已运行 2小时27分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 749 父进程 744 用户 anika 已运行 2小时27分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libobjc.A.dylib\nPID 764 父进程 1 用户 anika 已运行 11小时50分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 798 父进程 764 用户 anika 已运行 5小时55分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 825 父进程 764 用户 anika 已运行 3小时53分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libobjc.A.dylib\nPID 857 父进程 764 用户 anika 已运行 6小时40分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libSystem.B.dylib\nPID 894 父进程 764 用户 anika 已运行 2小时49分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 897 父进程 1 用户 anika 已运行 1天6小时 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 926 父进程 897 用户 anika 已运行 6小时13分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 943 父进程 897 用户 anika 已运行 2小时13分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 972 父进程 897 用户 anika 已运行 29分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libobjc.A.dylib\nPID 976 父进程 897 用户 anika 已运行 4小时48分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libc++.1.dylib\nPID 1014 父进程 1 用户 anika 已运行 1小时46分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 1023 父进程 1014 用户 anika 已运行 1小时45分 程序 /bin/zsh\n 命令行:-zsh\nPID 1036 父进程 1014 用户 anika 已运行 1小时45分 程序 /bin/zsh\n 命令行:-zsh\nPID 1057 父进程 1014 用户 anika 已运行 1小时45分 程序 /bin/zsh\n 命令行:-zsh\nPID 1073 父进程 1036 用户 anika 已运行 1小时45分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1083 父进程 1057 用户 anika 已运行 40分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1094 父进程 1023 用户 anika 已运行 30分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1128 父进程 1036 用户 anika 已运行 1小时45分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/anika/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1147 父进程 1057 用户 anika 已运行 1小时45分 程序 /Users/anika/.local/bin/syncferry\n 命令行:syncferry poll --every 5s\nPID 1185 父进程 1147 用户 anika 已运行 39分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1219 父进程 1147 用户 anika 已运行 29分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1235 父进程 1147 用户 anika 已运行 23分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1253 父进程 1147 用户 anika 已运行 15分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1281 父进程 1147 用户 anika 已运行 29分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1313 父进程 1147 用户 anika 已运行 51分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1337 父进程 1147 用户 anika 已运行 35分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1359 父进程 1147 用户 anika 已运行 26分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1396 父进程 1147 用户 anika 已运行 11分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1398 父进程 1147 用户 anika 已运行 10分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1437 父进程 1147 用户 anika 已运行 43分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1443 父进程 1147 用户 anika 已运行 8分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1466 父进程 1147 用户 anika 已运行 26分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1489 父进程 1147 用户 anika 已运行 14分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1522 父进程 1147 用户 anika 已运行 42分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1552 父进程 1147 用户 anika 已运行 22分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1556 父进程 1147 用户 anika 已运行 7分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1587 父进程 1147 用户 anika 已运行 36分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1613 父进程 1147 用户 anika 已运行 51分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1650 父进程 1147 用户 anika 已运行 45分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1651 父进程 1023 用户 anika 已运行 32分 程序 /Users/anika/.local/bin/logharbor\n 载入的库:/private/var/folders/lk/_y6wm43ppzwpf0bhj1c61x9s302ptc/T/com.apple.dt.cache-ehVrUq/libPreview.dylib(签名:Apple 签名)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):605、624、661、668、705、715\n", "answer": [ { "rule": "process.pile-up", "kind": "pile-up", "severity": "medium", "verdict": "info", "targets": [ "1147", "1185", "1219", "1235", "1253", "1281", "1313", "1337", "1359", "1396", "1398", "1437", "1443", "1466", "1489", "1522", "1552", "1556", "1587", "1613", "1650" ], "title": "git 在同一个父进程下堆了 20 个" } ], "planted": [ "pile-up-20" ], "near": [ "apple-library-in-temp" ] }, { "id": "process-032", "group": "near", "facts": "这台 Mac 现在登录的用户是 meilin。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 5天17小时 程序 /sbin/launchd\nPID 371 父进程 1 用户 root 已运行 5天17小时 程序 /usr/libexec/diskarbitrationd\nPID 392 父进程 1 用户 _mdnsresponder 已运行 5天17小时 程序 /usr/sbin/mDNSResponder\nPID 408 父进程 1 用户 root 已运行 5天17小时 程序 /usr/sbin/notifyd\nPID 433 父进程 1 用户 root 已运行 5天17小时 程序 /usr/sbin/KernelEventAgent\nPID 448 父进程 1 用户 root 已运行 5天17小时 程序 /usr/libexec/watchdogd\nPID 452 父进程 1 用户 root 已运行 5天17小时 程序 /usr/libexec/configd\nPID 483 父进程 1 用户 root 已运行 5天17小时 程序 /usr/libexec/securityd\nPID 497 父进程 1 用户 root 已运行 5天17小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 507 父进程 1 用户 _coreaudiod 已运行 5天17小时 程序 /usr/sbin/coreaudiod\nPID 533 父进程 1 用户 root 已运行 5天17小时 程序 /usr/sbin/syslogd\nPID 541 父进程 1 用户 _locationd 已运行 5天17小时 程序 /usr/libexec/locationd\nPID 576 父进程 1 用户 meilin 已运行 5天16小时 程序 /usr/libexec/trustd\nPID 591 父进程 1 用户 meilin 已运行 5天17小时 程序 /usr/libexec/secd\nPID 618 父进程 1 用户 meilin 已运行 5天17小时 程序 /usr/libexec/rapportd\nPID 630 父进程 1 用户 meilin 已运行 5天17小时 程序 /usr/sbin/usernoted\nPID 655 父进程 1 用户 meilin 已运行 5天17小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 659 父进程 1 用户 meilin 已运行 5天17小时 程序 /usr/libexec/pboard\nPID 690 父进程 1 用户 meilin 已运行 5天17小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 692 父进程 1 用户 meilin 已运行 5天17小时 程序 /usr/libexec/sharingd\nPID 724 父进程 1 用户 meilin 已运行 8小时49分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 754 父进程 724 用户 meilin 已运行 6小时24分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libz.1.dylib\nPID 791 父进程 1 用户 meilin 已运行 10小时24分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 804 父进程 791 用户 meilin 已运行 9小时6分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libobjc.A.dylib\nPID 834 父进程 791 用户 meilin 已运行 3小时38分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libSystem.B.dylib\nPID 873 父进程 1 用户 meilin 已运行 1天3小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 905 父进程 873 用户 meilin 已运行 1天0小时 程序 /bin/zsh\n 命令行:-zsh\nPID 934 父进程 873 用户 meilin 已运行 21小时10分 程序 /bin/zsh\n 命令行:-zsh\nPID 962 父进程 873 用户 meilin 已运行 16小时54分 程序 /bin/zsh\n 命令行:-zsh\nPID 972 父进程 962 用户 meilin 已运行 3小时16分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 998 父进程 962 用户 meilin 已运行 4小时6分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/meilin/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1026 父进程 934 用户 meilin 已运行 2小时38分 程序 /usr/bin/tail\n 命令行:tail -f /Users/meilin/Projects/harbor-site/logs/dev.log\nPID 1040 父进程 962 用户 meilin 已运行 2小时50分 程序 /Users/meilin/.local/bin/buildkiln\n 命令行:buildkiln sync --token $SYNC_TOKEN\nPID 1078 父进程 1 用户 meilin 已运行 5天17小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\n 监听:0.0.0.0:7000\n\nlaunchd 管着的任务(launchctl list 里有的进程号):576、591、618、630、655、659、690、692、1078\n", "answer": [], "planted": [], "near": [ "secret-kept-elsewhere", "system-listening-everywhere" ] }, { "id": "process-033", "group": "single", "facts": "这台 Mac 现在登录的用户是 ruben。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 15天20小时 程序 /sbin/launchd\nPID 429 父进程 1 用户 _mdnsresponder 已运行 15天20小时 程序 /usr/sbin/mDNSResponder\nPID 467 父进程 1 用户 root 已运行 15天20小时 程序 /usr/sbin/cupsd\nPID 488 父进程 1 用户 root 已运行 15天20小时 程序 /usr/libexec/airportd\nPID 518 父进程 1 用户 _locationd 已运行 15天20小时 程序 /usr/libexec/locationd\nPID 537 父进程 1 用户 _coreaudiod 已运行 15天20小时 程序 /usr/sbin/coreaudiod\nPID 556 父进程 1 用户 root 已运行 15天20小时 程序 /usr/libexec/logd\nPID 582 父进程 1 用户 root 已运行 15天20小时 程序 /usr/libexec/UserEventAgent\nPID 618 父进程 1 用户 root 已运行 15天20小时 程序 /usr/sbin/bluetoothd\nPID 654 父进程 1 用户 root 已运行 15天20小时 程序 /usr/sbin/syslogd\nPID 675 父进程 1 用户 root 已运行 15天20小时 程序 /usr/sbin/KernelEventAgent\nPID 714 父进程 1 用户 ruben 已运行 15天20小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 731 父进程 1 用户 ruben 已运行 15天20小时 程序 /usr/sbin/cfprefsd\nPID 734 父进程 1 用户 ruben 已运行 15天20小时 程序 /usr/libexec/secd\nPID 772 父进程 1 用户 ruben 已运行 15天20小时 程序 /usr/sbin/distnoted\nPID 811 父进程 1 用户 ruben 已运行 15天20小时 程序 /usr/libexec/sharingd\nPID 845 父进程 1 用户 ruben 已运行 15天20小时 程序 /usr/libexec/lsd\nPID 856 父进程 1 用户 ruben 已运行 15天20小时 程序 /usr/libexec/UserEventAgent\nPID 862 父进程 1 用户 ruben 已运行 1天4小时 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 900 父进程 862 用户 ruben 已运行 1小时38分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 913 父进程 862 用户 ruben 已运行 9小时11分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libc++.1.dylib\nPID 923 父进程 862 用户 ruben 已运行 2小时46分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 939 父进程 862 用户 ruben 已运行 2小时34分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libz.1.dylib\nPID 942 父进程 1 用户 ruben 已运行 3小时57分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 957 父进程 942 用户 ruben 已运行 3小时57分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 993 父进程 942 用户 ruben 已运行 3小时57分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 1016 父进程 942 用户 ruben 已运行 3小时57分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Plugin).app/Contents/MacOS/Tarnwell Helper (Plugin)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 1021 父进程 1 用户 ruben 已运行 3小时43分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 1048 父进程 1021 用户 ruben 已运行 3小时42分 程序 /bin/zsh\n 命令行:-zsh\nPID 1062 父进程 1021 用户 ruben 已运行 3小时42分 程序 /bin/zsh\n 命令行:-zsh\nPID 1089 父进程 1062 用户 ruben 已运行 3小时2分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1094 父进程 1048 用户 ruben 已运行 1小时49分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1118 父进程 1062 用户 ruben 已运行 1小时21分 程序 /usr/bin/tail\n 命令行:tail -f /Users/ruben/Projects/harbor-site/logs/dev.log\nPID 1129 父进程 1048 用户 ruben 已运行 2小时17分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1162 父进程 1 用户 ruben 已运行 6小时0分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy run --config /Users/ruben/Caddyfile\nPID 1177 父进程 1 用户 ruben 已运行 6天18小时 程序 /Users/ruben/.local/bin/logharbor\n 命令行:logharbor agent --launchd\n\nlaunchd 管着的任务(launchctl list 里有的进程号):714、731、734、772、811、845、856、1177\n", "answer": [ { "rule": "process.orphan", "kind": "orphan", "severity": "low", "verdict": "info", "targets": [ "1162" ], "title": "1 个后台进程的父进程已经退出,还在跑" } ], "planted": [ "orphan-exactly-6-hours" ], "near": [ "launchd-job" ] }, { "id": "process-034", "group": "multi", "facts": "这台 Mac 现在登录的用户是 yuki。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 18天23小时 程序 /sbin/launchd\nPID 365 父进程 1 用户 _coreaudiod 已运行 18天23小时 程序 /usr/sbin/coreaudiod\nPID 399 父进程 1 用户 root 已运行 18天23小时 程序 /usr/libexec/securityd\nPID 425 父进程 1 用户 root 已运行 18天23小时 程序 /usr/libexec/diskarbitrationd\nPID 433 父进程 1 用户 root 已运行 18天23小时 程序 /usr/libexec/configd\nPID 434 父进程 1 用户 root 已运行 18天23小时 程序 /usr/libexec/UserEventAgent\nPID 455 父进程 1 用户 root 已运行 18天23小时 程序 /usr/sbin/KernelEventAgent\nPID 475 父进程 1 用户 root 已运行 18天23小时 程序 /usr/libexec/airportd\nPID 510 父进程 1 用户 root 已运行 18天23小时 程序 /usr/libexec/logd\nPID 524 父进程 1 用户 root 已运行 18天23小时 程序 /usr/libexec/watchdogd\nPID 556 父进程 1 用户 _windowserver 已运行 18天23小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 573 父进程 1 用户 _locationd 已运行 18天23小时 程序 /usr/libexec/locationd\nPID 606 父进程 1 用户 yuki 已运行 18天22小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 646 父进程 1 用户 yuki 已运行 18天22小时 程序 /usr/sbin/distnoted\nPID 656 父进程 1 用户 yuki 已运行 18天22小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 686 父进程 1 用户 yuki 已运行 18天22小时 程序 /usr/libexec/sharingd\nPID 714 父进程 1 用户 yuki 已运行 18天22小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 735 父进程 1 用户 yuki 已运行 18天22小时 程序 /usr/sbin/cfprefsd\nPID 769 父进程 1 用户 yuki 已运行 18天22小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 786 父进程 1 用户 yuki 已运行 1天0小时 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 810 父进程 786 用户 yuki 已运行 5小时49分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libSystem.B.dylib\nPID 819 父进程 786 用户 yuki 已运行 9小时42分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 822 父进程 786 用户 yuki 已运行 4小时6分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (GPU).app/Contents/MacOS/Lumora Helper (GPU)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 841 父进程 786 用户 yuki 已运行 4小时59分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libc++.1.dylib\nPID 877 父进程 1 用户 yuki 已运行 8小时53分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 908 父进程 877 用户 yuki 已运行 1小时23分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libobjc.A.dylib\nPID 940 父进程 877 用户 yuki 已运行 31分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libSystem.B.dylib\nPID 971 父进程 877 用户 yuki 已运行 16分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libobjc.A.dylib\nPID 979 父进程 877 用户 yuki 已运行 8小时53分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 1016 父进程 1 用户 yuki 已运行 1天2小时 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 1021 父进程 1016 用户 yuki 已运行 5小时2分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 1043 父进程 1 用户 yuki 已运行 1天7小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 1064 父进程 1043 用户 yuki 已运行 12小时7分 程序 /bin/zsh\n 命令行:-zsh\nPID 1094 父进程 1043 用户 yuki 已运行 9小时43分 程序 /bin/zsh\n 命令行:-zsh\nPID 1099 父进程 1064 用户 yuki 已运行 12分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1106 父进程 1094 用户 yuki 已运行 35分 程序 /usr/bin/tail\n 命令行:tail -f /Users/yuki/Projects/harbor-site/logs/dev.log\nPID 1145 父进程 1094 用户 yuki 已运行 7小时29分 程序 /opt/homebrew/bin/node\n 命令行:node server.js --host :: --port 3000\n 监听:[::]:3000\nPID 1166 父进程 1094 用户 yuki 已运行 9小时42分 程序 /Users/yuki/.local/bin/syncferry\n 命令行:syncferry poll --every 5s\nPID 1186 父进程 1166 用户 yuki 已运行 4分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1206 父进程 1166 用户 yuki 已运行 1分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1213 父进程 1166 用户 yuki 已运行 18分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1235 父进程 1166 用户 yuki 已运行 26分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1264 父进程 1166 用户 yuki 已运行 9分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1289 父进程 1166 用户 yuki 已运行 55分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1329 父进程 1166 用户 yuki 已运行 56分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1360 父进程 1166 用户 yuki 已运行 31分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1366 父进程 1166 用户 yuki 已运行 20分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1374 父进程 1166 用户 yuki 已运行 11分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1410 父进程 1166 用户 yuki 已运行 45分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1429 父进程 1166 用户 yuki 已运行 35分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1432 父进程 1166 用户 yuki 已运行 58分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1453 父进程 1166 用户 yuki 已运行 41分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1489 父进程 1166 用户 yuki 已运行 27分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1528 父进程 1166 用户 yuki 已运行 7分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1535 父进程 1166 用户 yuki 已运行 0分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1545 父进程 1166 用户 yuki 已运行 55分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1565 父进程 1166 用户 yuki 已运行 27分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1606 父进程 1166 用户 yuki 已运行 19分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1629 父进程 1094 用户 yuki 已运行 9小时43分 程序 /Users/yuki/.local/bin/tidewatch\n 命令行:tidewatch watch\n 载入的库:/Users/yuki/Downloads/plugin-pack/libplugin.dylib(签名:临时签名,没有开发者担保);/usr/lib/libz.1.dylib;/Users/yuki/.local/lib/libcommon.1.dylib\nPID 1668 父进程 1094 用户 yuki 已运行 16分 程序 /usr/bin/curl\n 命令行:curl -sO https://deploy@files.internal.example/sk-learn-notes/data.tar.gz\nPID 1678 父进程 1 用户 yuki 已运行 18天22小时 程序 /usr/libexec/rapportd\n 监听:0.0.0.0:49152\n\nlaunchd 管着的任务(launchctl list 里有的进程号):606、646、656、686、714、735、769、1678\n", "answer": [ { "rule": "process.library-temp", "kind": "library-temp", "severity": "medium", "verdict": "info", "targets": [ "1629" ], "title": "进程 1629(tidewatch)载入了下载文件夹里的库 libplugin.dylib" }, { "rule": "process.pile-up", "kind": "pile-up", "severity": "medium", "verdict": "info", "targets": [ "1166", "1186", "1206", "1213", "1235", "1264", "1289", "1329", "1360", "1366", "1374", "1410", "1429", "1432", "1453", "1489", "1528", "1535", "1545", "1565", "1606" ], "title": "sleep 在同一个父进程下堆了 20 个" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "1145" ], "title": "node 在所有网络上监听 3000 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-everywhere-v6", "pile-up-20", "library-downloads" ], "near": [ "url-without-password", "system-listening-everywhere" ] }, { "id": "process-035", "group": "single", "facts": "这台 Mac 现在登录的用户是 linwei。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 12天18小时 程序 /sbin/launchd\nPID 413 父进程 1 用户 root 已运行 12天18小时 程序 /usr/libexec/airportd\nPID 418 父进程 1 用户 root 已运行 12天18小时 程序 /usr/libexec/UserEventAgent\nPID 425 父进程 1 用户 root 已运行 12天18小时 程序 /usr/libexec/opendirectoryd\nPID 454 父进程 1 用户 root 已运行 12天18小时 程序 /usr/sbin/bluetoothd\nPID 472 父进程 1 用户 root 已运行 12天18小时 程序 /usr/libexec/securityd\nPID 508 父进程 1 用户 root 已运行 12天18小时 程序 /usr/libexec/diskarbitrationd\nPID 520 父进程 1 用户 _mdnsresponder 已运行 12天18小时 程序 /usr/sbin/mDNSResponder\nPID 557 父进程 1 用户 linwei 已运行 12天17小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 586 父进程 1 用户 linwei 已运行 12天18小时 程序 /usr/libexec/lsd\nPID 590 父进程 1 用户 linwei 已运行 12天18小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 608 父进程 1 用户 linwei 已运行 12天18小时 程序 /usr/libexec/pboard\nPID 647 父进程 1 用户 linwei 已运行 12天18小时 程序 /usr/sbin/usernoted\nPID 684 父进程 1 用户 linwei 已运行 12天18小时 程序 /usr/libexec/UserEventAgent\nPID 707 父进程 1 用户 linwei 已运行 12天18小时 程序 /usr/sbin/cfprefsd\nPID 727 父进程 1 用户 linwei 已运行 12天18小时 程序 /usr/libexec/nsurlsessiond\nPID 737 父进程 1 用户 linwei 已运行 12天17小时 程序 /usr/libexec/rapportd\nPID 773 父进程 1 用户 linwei 已运行 9小时29分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 800 父进程 773 用户 linwei 已运行 5小时10分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libSystem.B.dylib\nPID 834 父进程 1 用户 linwei 已运行 20小时19分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 866 父进程 834 用户 linwei 已运行 40分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 878 父进程 1 用户 linwei 已运行 1天4小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 908 父进程 878 用户 linwei 已运行 14小时16分 程序 /bin/zsh\n 命令行:-zsh\nPID 917 父进程 878 用户 linwei 已运行 17小时7分 程序 /bin/zsh\n 命令行:-zsh\nPID 927 父进程 878 用户 linwei 已运行 1天0小时 程序 /bin/zsh\n 命令行:-zsh\nPID 948 父进程 908 用户 linwei 已运行 1小时54分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 961 父进程 917 用户 linwei 已运行 4小时42分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/linwei/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 988 父进程 908 用户 linwei 已运行 4小时49分 程序 /Users/linwei/.local/bin/portloom\n 命令行:portloom poll --every 5s\nPID 991 父进程 988 用户 linwei 已运行 5分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1032 父进程 988 用户 linwei 已运行 30分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1064 父进程 988 用户 linwei 已运行 15分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1068 父进程 988 用户 linwei 已运行 37分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1070 父进程 988 用户 linwei 已运行 26分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1084 父进程 988 用户 linwei 已运行 51分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1102 父进程 988 用户 linwei 已运行 54分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1105 父进程 988 用户 linwei 已运行 42分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1140 父进程 988 用户 linwei 已运行 45分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1151 父进程 988 用户 linwei 已运行 57分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1156 父进程 988 用户 linwei 已运行 18分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1172 父进程 988 用户 linwei 已运行 23分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1191 父进程 988 用户 linwei 已运行 18分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1213 父进程 988 用户 linwei 已运行 23分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1234 父进程 988 用户 linwei 已运行 31分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1242 父进程 988 用户 linwei 已运行 6分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1261 父进程 988 用户 linwei 已运行 16分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1267 父进程 988 用户 linwei 已运行 29分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1273 父进程 988 用户 linwei 已运行 25分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1282 父进程 988 用户 linwei 已运行 41分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1287 父进程 1 用户 linwei 已运行 3天1小时 程序 /Applications/Emberline.app/Contents/XPCServices/EmberlineSync.xpc/Contents/MacOS/EmberlineSync\n\nlaunchd 管着的任务(launchctl list 里有的进程号):557、586、590、608、647、684、707、727、737\n", "answer": [ { "rule": "process.pile-up", "kind": "pile-up", "severity": "medium", "verdict": "info", "targets": [ "988", "991", "1032", "1064", "1068", "1070", "1084", "1102", "1105", "1140", "1151", "1156", "1172", "1191", "1213", "1234", "1242", "1261", "1267", "1273", "1282" ], "title": "git 在同一个父进程下堆了 20 个" } ], "planted": [ "pile-up-20" ], "near": [ "app-service-under-launchd" ] }, { "id": "process-036", "group": "single", "facts": "这台 Mac 现在登录的用户是 dalia。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 2天15小时 程序 /sbin/launchd\nPID 384 父进程 1 用户 root 已运行 2天15小时 程序 /usr/libexec/opendirectoryd\nPID 418 父进程 1 用户 root 已运行 2天15小时 程序 /usr/libexec/UserEventAgent\nPID 448 父进程 1 用户 root 已运行 2天15小时 程序 /usr/libexec/airportd\nPID 486 父进程 1 用户 root 已运行 2天15小时 程序 /usr/sbin/notifyd\nPID 487 父进程 1 用户 _windowserver 已运行 2天15小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 500 父进程 1 用户 root 已运行 2天15小时 程序 /usr/libexec/thermalmonitord\nPID 509 父进程 1 用户 _coreaudiod 已运行 2天15小时 程序 /usr/sbin/coreaudiod\nPID 541 父进程 1 用户 root 已运行 2天15小时 程序 /usr/libexec/watchdogd\nPID 543 父进程 1 用户 _mdnsresponder 已运行 2天15小时 程序 /usr/sbin/mDNSResponder\nPID 569 父进程 1 用户 dalia 已运行 2天15小时 程序 /usr/libexec/lsd\nPID 597 父进程 1 用户 dalia 已运行 2天15小时 程序 /usr/libexec/UserEventAgent\nPID 634 父进程 1 用户 dalia 已运行 2天15小时 程序 /usr/libexec/pboard\nPID 673 父进程 1 用户 dalia 已运行 2天15小时 程序 /usr/sbin/usernoted\nPID 693 父进程 1 用户 dalia 已运行 2天15小时 程序 /usr/sbin/cfprefsd\nPID 708 父进程 1 用户 dalia 已运行 2天15小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 709 父进程 1 用户 dalia 已运行 2天15小时 程序 /usr/libexec/rapportd\nPID 748 父进程 1 用户 dalia 已运行 6小时13分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 762 父进程 748 用户 dalia 已运行 21分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 786 父进程 748 用户 dalia 已运行 6小时13分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 794 父进程 748 用户 dalia 已运行 6小时12分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 820 父进程 748 用户 dalia 已运行 6小时12分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 836 父进程 1 用户 dalia 已运行 2小时56分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 875 父进程 836 用户 dalia 已运行 2小时56分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Plugin).app/Contents/MacOS/Ondolo Helper (Plugin)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libc++.1.dylib\nPID 893 父进程 1 用户 dalia 已运行 1小时1分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 904 父进程 893 用户 dalia 已运行 1小时0分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libSystem.B.dylib\nPID 934 父进程 893 用户 dalia 已运行 1小时0分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (GPU).app/Contents/MacOS/Quillbay Helper (GPU)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 969 父进程 893 用户 dalia 已运行 1小时0分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 970 父进程 893 用户 dalia 已运行 1小时0分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libc++.1.dylib\nPID 983 父进程 1 用户 dalia 已运行 3小时40分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 998 父进程 983 用户 dalia 已运行 3小时40分 程序 /bin/zsh\n 命令行:-zsh\nPID 1026 父进程 983 用户 dalia 已运行 3小时39分 程序 /bin/zsh\n 命令行:-zsh\nPID 1043 父进程 983 用户 dalia 已运行 3小时39分 程序 /bin/zsh\n 命令行:-zsh\nPID 1058 父进程 998 用户 dalia 已运行 3小时39分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1079 父进程 1043 用户 dalia 已运行 53分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1119 父进程 1026 用户 dalia 已运行 3小时39分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1155 父进程 998 用户 dalia 已运行 2小时58分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/dalia/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1158 父进程 998 用户 dalia 已运行 3小时39分 程序 /Users/dalia/.local/bin/tidewatch\n 命令行:tidewatch sync --auth-token XUyw0MVWpCZAwkQlsd --verbose\nPID 1189 父进程 998 用户 dalia 已运行 1小时36分 程序 /Users/dalia/.local/bin/mapquill\n 命令行:mapquill sync --api-key @/run/secrets/api_key\nPID 1194 父进程 1 用户 root 已运行 2天15小时 程序 /opt/harborline/bin/gatewayd 【程序文件已经不在盘上】\n 命令行:gatewayd --config /opt/harborline/etc/gateway.toml\n\nlaunchd 管着的任务(launchctl list 里有的进程号):569、597、634、673、693、708、709\n", "answer": [ { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1158" ], "title": "正在运行的 tidewatch 命令行里带着参数 --auth-token" } ], "planted": [ "secret-flag" ], "near": [ "secret-kept-elsewhere", "other-user-gone" ], "boundary": [ "other-user-gone" ] }, { "id": "process-037", "group": "single", "facts": "这台 Mac 现在登录的用户是 yuki。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 4天4小时 程序 /sbin/launchd\nPID 342 父进程 1 用户 root 已运行 4天4小时 程序 /usr/sbin/KernelEventAgent\nPID 349 父进程 1 用户 root 已运行 4天4小时 程序 /usr/libexec/logd\nPID 368 父进程 1 用户 root 已运行 4天4小时 程序 /usr/sbin/syslogd\nPID 372 父进程 1 用户 root 已运行 4天4小时 程序 /usr/libexec/opendirectoryd\nPID 378 父进程 1 用户 root 已运行 4天4小时 程序 /usr/libexec/UserEventAgent\nPID 414 父进程 1 用户 root 已运行 4天4小时 程序 /usr/libexec/airportd\nPID 445 父进程 1 用户 _windowserver 已运行 4天4小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 446 父进程 1 用户 root 已运行 4天4小时 程序 /usr/sbin/notifyd\nPID 471 父进程 1 用户 _mdnsresponder 已运行 4天4小时 程序 /usr/sbin/mDNSResponder\nPID 502 父进程 1 用户 yuki 已运行 4天3小时 程序 /usr/libexec/nsurlsessiond\nPID 538 父进程 1 用户 yuki 已运行 4天3小时 程序 /usr/libexec/lsd\nPID 573 父进程 1 用户 yuki 已运行 4天3小时 程序 /usr/sbin/usernoted\nPID 613 父进程 1 用户 yuki 已运行 4天4小时 程序 /usr/libexec/pboard\nPID 633 父进程 1 用户 yuki 已运行 4天3小时 程序 /usr/libexec/rapportd\nPID 663 父进程 1 用户 yuki 已运行 4天3小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 666 父进程 1 用户 yuki 已运行 23小时1分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 698 父进程 666 用户 yuki 已运行 2小时6分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 737 父进程 666 用户 yuki 已运行 7小时48分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libobjc.A.dylib\nPID 743 父进程 666 用户 yuki 已运行 5小时26分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 780 父进程 1 用户 yuki 已运行 19小时58分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 809 父进程 780 用户 yuki 已运行 3小时50分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 817 父进程 1 用户 yuki 已运行 1天4小时 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 824 父进程 817 用户 yuki 已运行 1小时27分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 832 父进程 817 用户 yuki 已运行 5小时31分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libobjc.A.dylib\nPID 851 父进程 817 用户 yuki 已运行 5小时31分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libobjc.A.dylib\nPID 875 父进程 817 用户 yuki 已运行 4小时41分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 911 父进程 1 用户 yuki 已运行 1天15小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 949 父进程 911 用户 yuki 已运行 19小时14分 程序 /bin/zsh\n 命令行:-zsh\nPID 963 父进程 911 用户 yuki 已运行 1天3小时 程序 /bin/zsh\n 命令行:-zsh\nPID 984 父进程 911 用户 yuki 已运行 11小时43分 程序 /bin/zsh\n 命令行:-zsh\nPID 1025 父进程 984 用户 yuki 已运行 3小时13分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1047 父进程 984 用户 yuki 已运行 5分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1058 父进程 949 用户 yuki 已运行 3小时54分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1065 父进程 984 用户 yuki 已运行 2小时40分 程序 /usr/bin/tail\n 命令行:tail -f /Users/yuki/Projects/harbor-site/logs/dev.log\nPID 1089 父进程 963 用户 yuki 已运行 5小时35分 程序 /bin/zsh\n 命令行:zsh\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/yuki/.cache/io.example.overlay/hook.dylib(这个库的文件不在盘上)\nPID 1116 父进程 1089 用户 yuki 已运行 11分 程序 /Users/yuki/.local/bin/logharbor\n 命令行:logharbor run\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/yuki/.cache/io.example.overlay/hook.dylib(这个库的文件不在盘上)\nPID 1140 父进程 1 用户 root 已运行 4天4小时 程序 /opt/harborline/bin/gatewayd 【程序文件已经不在盘上】\n 命令行:gatewayd --config /opt/harborline/etc/gateway.toml\n\nlaunchd 管着的任务(launchctl list 里有的进程号):502、538、573、613、633、663\n", "answer": [ { "rule": "process.dyld-insert", "kind": "dyld-insert", "severity": "high", "verdict": "info", "targets": [ "1089", "1116" ], "title": "2 个进程启动时带着 DYLD_INSERT_LIBRARIES,要先载入 hook.dylib" } ], "planted": [ "dyld-insert-missing" ], "near": [ "other-user-gone" ], "boundary": [ "other-user-gone" ] }, { "id": "process-038", "group": "multi", "facts": "这台 Mac 现在登录的用户是 soren。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 11天14小时 程序 /sbin/launchd\nPID 453 父进程 1 用户 _windowserver 已运行 11天14小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 461 父进程 1 用户 root 已运行 11天14小时 程序 /usr/libexec/thermalmonitord\nPID 502 父进程 1 用户 root 已运行 11天14小时 程序 /usr/libexec/logd\nPID 523 父进程 1 用户 _locationd 已运行 11天14小时 程序 /usr/libexec/locationd\nPID 525 父进程 1 用户 root 已运行 11天14小时 程序 /usr/sbin/notifyd\nPID 532 父进程 1 用户 root 已运行 11天14小时 程序 /usr/libexec/watchdogd\nPID 539 父进程 1 用户 root 已运行 11天14小时 程序 /usr/libexec/airportd\nPID 560 父进程 1 用户 root 已运行 11天14小时 程序 /usr/libexec/opendirectoryd\nPID 567 父进程 1 用户 root 已运行 11天14小时 程序 /usr/sbin/syslogd\nPID 595 父进程 1 用户 _coreaudiod 已运行 11天14小时 程序 /usr/sbin/coreaudiod\nPID 608 父进程 1 用户 soren 已运行 11天14小时 程序 /usr/sbin/distnoted\nPID 643 父进程 1 用户 soren 已运行 11天14小时 程序 /usr/libexec/pboard\nPID 666 父进程 1 用户 soren 已运行 11天14小时 程序 /usr/sbin/usernoted\nPID 673 父进程 1 用户 soren 已运行 11天14小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 698 父进程 1 用户 soren 已运行 11天14小时 程序 /usr/libexec/trustd\nPID 729 父进程 1 用户 soren 已运行 11天13小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 761 父进程 1 用户 soren 已运行 13小时38分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 767 父进程 761 用户 soren 已运行 32分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Plugin).app/Contents/MacOS/Brackenmail Helper (Plugin)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libc++.1.dylib\nPID 796 父进程 761 用户 soren 已运行 4小时29分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 837 父进程 761 用户 soren 已运行 7小时3分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (GPU).app/Contents/MacOS/Brackenmail Helper (GPU)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libz.1.dylib\nPID 863 父进程 761 用户 soren 已运行 9小时11分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libobjc.A.dylib\nPID 897 父进程 1 用户 soren 已运行 1天0小时 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 929 父进程 897 用户 soren 已运行 6小时14分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libobjc.A.dylib\nPID 931 父进程 897 用户 soren 已运行 9小时7分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 945 父进程 897 用户 soren 已运行 4小时27分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 986 父进程 897 用户 soren 已运行 4小时52分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 989 父进程 1 用户 soren 已运行 17小时0分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 995 父进程 989 用户 soren 已运行 13分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 1026 父进程 989 用户 soren 已运行 6小时10分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 1054 父进程 989 用户 soren 已运行 2小时34分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libc++.1.dylib\nPID 1061 父进程 1 用户 soren 已运行 20小时17分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 1099 父进程 1061 用户 soren 已运行 15小时34分 程序 /bin/zsh\n 命令行:-zsh\nPID 1139 父进程 1061 用户 soren 已运行 46分 程序 /bin/zsh\n 命令行:-zsh\nPID 1151 父进程 1061 用户 soren 已运行 3小时24分 程序 /bin/zsh\n 命令行:-zsh\nPID 1155 父进程 1151 用户 soren 已运行 3小时5分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1173 父进程 1151 用户 soren 已运行 3小时14分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1192 父进程 1099 用户 soren 已运行 2小时31分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1196 父进程 1099 用户 soren 已运行 2小时17分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/soren/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1205 父进程 1 用户 soren 已运行 9小时14分 程序 /Users/soren/.local/bin/logharbor\n 命令行:logharbor daemon\nPID 1227 父进程 1 用户 soren 已运行 4天8小时 程序 /opt/homebrew/bin/caddy\n 命令行:caddy run --config /Users/soren/Caddyfile\nPID 1253 父进程 1099 用户 soren 已运行 2小时44分 程序 /Users/soren/.local/bin/tidewatch\n 命令行:tidewatch migrate --database-url postgres://app:rql3qnAkcrDq@db.internal.example:5432/app\n\nlaunchd 管着的任务(launchctl list 里有的进程号):608、643、666、673、698、729\n", "answer": [ { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1253" ], "title": "正在运行的 tidewatch 命令行里带着网址里的密码" }, { "rule": "process.orphan", "kind": "orphan", "severity": "low", "verdict": "info", "targets": [ "1205", "1227" ], "title": "2 个后台进程的父进程已经退出,还在跑" } ], "planted": [ "orphans", "secret-url" ], "near": [] }, { "id": "process-039", "group": "single", "facts": "这台 Mac 现在登录的用户是 haoran。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 15天2小时 程序 /sbin/launchd\nPID 389 父进程 1 用户 _windowserver 已运行 15天2小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 402 父进程 1 用户 root 已运行 15天2小时 程序 /usr/libexec/UserEventAgent\nPID 405 父进程 1 用户 root 已运行 15天2小时 程序 /usr/sbin/notifyd\nPID 406 父进程 1 用户 root 已运行 15天2小时 程序 /usr/libexec/airportd\nPID 430 父进程 1 用户 _mdnsresponder 已运行 15天2小时 程序 /usr/sbin/mDNSResponder\nPID 464 父进程 1 用户 root 已运行 15天2小时 程序 /usr/libexec/configd\nPID 476 父进程 1 用户 root 已运行 15天2小时 程序 /usr/sbin/cupsd\nPID 491 父进程 1 用户 root 已运行 15天2小时 程序 /usr/sbin/bluetoothd\nPID 502 父进程 1 用户 root 已运行 15天2小时 程序 /usr/libexec/opendirectoryd\nPID 524 父进程 1 用户 root 已运行 15天2小时 程序 /usr/libexec/diskarbitrationd\nPID 564 父进程 1 用户 _coreaudiod 已运行 15天2小时 程序 /usr/sbin/coreaudiod\nPID 578 父进程 1 用户 haoran 已运行 15天2小时 程序 /usr/libexec/nsurlsessiond\nPID 596 父进程 1 用户 haoran 已运行 15天2小时 程序 /usr/libexec/pboard\nPID 598 父进程 1 用户 haoran 已运行 15天2小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 605 父进程 1 用户 haoran 已运行 15天2小时 程序 /usr/sbin/distnoted\nPID 615 父进程 1 用户 haoran 已运行 15天2小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 640 父进程 1 用户 haoran 已运行 15天2小时 程序 /usr/libexec/sharingd\nPID 657 父进程 1 用户 haoran 已运行 21分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 675 父进程 657 用户 haoran 已运行 20分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libc++.1.dylib\nPID 681 父进程 1 用户 haoran 已运行 1天1小时 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 685 父进程 681 用户 haoran 已运行 8小时31分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libc++.1.dylib\nPID 704 父进程 681 用户 haoran 已运行 5小时35分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 735 父进程 681 用户 haoran 已运行 9小时4分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 770 父进程 681 用户 haoran 已运行 57分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libSystem.B.dylib\nPID 778 父进程 1 用户 haoran 已运行 1天3小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 816 父进程 778 用户 haoran 已运行 1天2小时 程序 /bin/zsh\n 命令行:-zsh\nPID 830 父进程 778 用户 haoran 已运行 50分 程序 /bin/zsh\n 命令行:-zsh\nPID 866 父进程 778 用户 haoran 已运行 11小时55分 程序 /bin/zsh\n 命令行:-zsh\nPID 895 父进程 816 用户 haoran 已运行 1小时28分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 925 父进程 866 用户 haoran 已运行 37分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 930 父进程 866 用户 haoran 已运行 2小时4分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 967 父进程 816 用户 haoran 已运行 3小时18分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 997 父进程 830 用户 haoran 已运行 49分 程序 /bin/zsh\n 命令行:zsh\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/haoran/.cache/io.example.overlay/hook.dylib(这个库的文件不在盘上)\nPID 1018 父进程 997 用户 haoran 已运行 5分 程序 /Users/haoran/.local/bin/mapquill\n 命令行:mapquill run\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/haoran/.cache/io.example.overlay/hook.dylib(这个库的文件不在盘上)\nPID 1034 父进程 1 用户 haoran 已运行 15天2小时 程序 /usr/libexec/rapportd\n 监听:0.0.0.0:7000\nPID 1035 父进程 866 用户 haoran 已运行 2小时21分 程序 /Users/haoran/.local/bin/cachewren\n 命令行:cachewren test --guard-malloc\n 环境变量:DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib\n\nlaunchd 管着的任务(launchctl list 里有的进程号):578、596、598、605、615、640、1034\n", "answer": [ { "rule": "process.dyld-insert", "kind": "dyld-insert", "severity": "high", "verdict": "info", "targets": [ "997", "1018" ], "title": "2 个进程启动时带着 DYLD_INSERT_LIBRARIES,要先载入 hook.dylib" } ], "planted": [ "dyld-insert-missing" ], "near": [ "system-listening-everywhere", "dyld-insert-system-library" ] }, { "id": "process-040", "group": "multi", "facts": "这台 Mac 现在登录的用户是 anika。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 7天14小时 程序 /sbin/launchd\nPID 333 父进程 1 用户 root 已运行 7天14小时 程序 /usr/sbin/syslogd\nPID 361 父进程 1 用户 _locationd 已运行 7天14小时 程序 /usr/libexec/locationd\nPID 388 父进程 1 用户 root 已运行 7天14小时 程序 /usr/libexec/diskarbitrationd\nPID 429 父进程 1 用户 root 已运行 7天14小时 程序 /usr/libexec/securityd\nPID 448 父进程 1 用户 _coreaudiod 已运行 7天14小时 程序 /usr/sbin/coreaudiod\nPID 462 父进程 1 用户 root 已运行 7天14小时 程序 /usr/libexec/thermalmonitord\nPID 463 父进程 1 用户 root 已运行 7天14小时 程序 /usr/libexec/configd\nPID 486 父进程 1 用户 root 已运行 7天14小时 程序 /usr/libexec/logd\nPID 526 父进程 1 用户 root 已运行 7天14小时 程序 /usr/sbin/cupsd\nPID 539 父进程 1 用户 root 已运行 7天14小时 程序 /usr/libexec/opendirectoryd\nPID 542 父进程 1 用户 anika 已运行 7天14小时 程序 /usr/libexec/UserEventAgent\nPID 569 父进程 1 用户 anika 已运行 7天14小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 575 父进程 1 用户 anika 已运行 7天14小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 600 父进程 1 用户 anika 已运行 7天14小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 623 父进程 1 用户 anika 已运行 7天14小时 程序 /usr/libexec/lsd\nPID 635 父进程 1 用户 anika 已运行 7天14小时 程序 /usr/sbin/usernoted\nPID 643 父进程 1 用户 anika 已运行 15小时0分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 672 父进程 643 用户 anika 已运行 6小时40分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libc++.1.dylib\nPID 702 父进程 643 用户 anika 已运行 7小时21分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 734 父进程 643 用户 anika 已运行 3小时22分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 755 父进程 643 用户 anika 已运行 8小时42分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libSystem.B.dylib\nPID 781 父进程 1 用户 anika 已运行 1天5小时 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 818 父进程 781 用户 anika 已运行 55分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libz.1.dylib\nPID 849 父进程 781 用户 anika 已运行 6小时33分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libz.1.dylib\nPID 885 父进程 1 用户 anika 已运行 7小时44分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 894 父进程 885 用户 anika 已运行 7小时44分 程序 /bin/zsh\n 命令行:-zsh\nPID 900 父进程 885 用户 anika 已运行 6小时21分 程序 /bin/zsh\n 命令行:-zsh\nPID 922 父进程 885 用户 anika 已运行 2小时46分 程序 /bin/zsh\n 命令行:-zsh\nPID 948 父进程 894 用户 anika 已运行 3小时31分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 962 父进程 922 用户 anika 已运行 2小时46分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/anika/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 973 父进程 894 用户 anika 已运行 3小时7分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1004 父进程 1 用户 anika 已运行 7天14小时 程序 /opt/homebrew/bin/caddy\n 命令行:caddy run --config /Users/anika/Caddyfile\nPID 1043 父进程 1 用户 anika 已运行 7天14小时 程序 /Users/anika/.local/bin/logharbor\n 命令行:logharbor daemon\nPID 1062 父进程 894 用户 anika 已运行 3小时58分 程序 /Users/anika/.local/bin/syncferry\n 命令行:syncferry migrate --database-url postgres://app:1pdkPMOpEIJT@db.internal.example:5432/app\nPID 1098 父进程 1 用户 anika 已运行 7天14小时 程序 /usr/libexec/rapportd\n 监听:0.0.0.0:5000\nPID 1127 父进程 1 用户 root 已运行 7天14小时 程序 /opt/harborline/bin/gatewayd 【程序文件已经不在盘上】\n 命令行:gatewayd --config /opt/harborline/etc/gateway.toml\n\nlaunchd 管着的任务(launchctl list 里有的进程号):542、569、575、600、623、635、1098\n", "answer": [ { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1062" ], "title": "正在运行的 syncferry 命令行里带着网址里的密码" }, { "rule": "process.orphan", "kind": "orphan", "severity": "low", "verdict": "info", "targets": [ "1004", "1043" ], "title": "2 个后台进程的父进程已经退出,还在跑" } ], "planted": [ "orphans", "secret-url" ], "near": [ "system-listening-everywhere", "other-user-gone" ], "boundary": [ "other-user-gone" ] }, { "id": "process-041", "group": "multi", "facts": "这台 Mac 现在登录的用户是 yuki。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 14天8小时 程序 /sbin/launchd\nPID 360 父进程 1 用户 _mdnsresponder 已运行 14天8小时 程序 /usr/sbin/mDNSResponder\nPID 399 父进程 1 用户 root 已运行 14天8小时 程序 /usr/libexec/thermalmonitord\nPID 425 父进程 1 用户 root 已运行 14天8小时 程序 /usr/sbin/KernelEventAgent\nPID 441 父进程 1 用户 root 已运行 14天8小时 程序 /usr/libexec/watchdogd\nPID 450 父进程 1 用户 root 已运行 14天8小时 程序 /usr/libexec/opendirectoryd\nPID 485 父进程 1 用户 root 已运行 14天8小时 程序 /usr/libexec/UserEventAgent\nPID 500 父进程 1 用户 root 已运行 14天8小时 程序 /usr/sbin/bluetoothd\nPID 536 父进程 1 用户 _locationd 已运行 14天8小时 程序 /usr/libexec/locationd\nPID 577 父进程 1 用户 root 已运行 14天8小时 程序 /usr/libexec/configd\nPID 611 父进程 1 用户 _windowserver 已运行 14天8小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 646 父进程 1 用户 _coreaudiod 已运行 14天8小时 程序 /usr/sbin/coreaudiod\nPID 687 父进程 1 用户 yuki 已运行 14天8小时 程序 /usr/sbin/cfprefsd\nPID 727 父进程 1 用户 yuki 已运行 14天7小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 743 父进程 1 用户 yuki 已运行 14天8小时 程序 /usr/libexec/trustd\nPID 755 父进程 1 用户 yuki 已运行 14天7小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 767 父进程 1 用户 yuki 已运行 14天8小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 781 父进程 1 用户 yuki 已运行 14天7小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 801 父进程 1 用户 yuki 已运行 1天3小时 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 835 父进程 801 用户 yuki 已运行 3小时40分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libz.1.dylib\nPID 844 父进程 1 用户 yuki 已运行 15小时14分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 861 父进程 844 用户 yuki 已运行 3小时58分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 888 父进程 844 用户 yuki 已运行 21分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 917 父进程 844 用户 yuki 已运行 2小时53分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 941 父进程 844 用户 yuki 已运行 9小时45分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libc++.1.dylib\nPID 977 父进程 1 用户 yuki 已运行 16小时54分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 989 父进程 977 用户 yuki 已运行 2小时0分 程序 /bin/zsh\n 命令行:-zsh\nPID 1012 父进程 977 用户 yuki 已运行 9小时33分 程序 /bin/zsh\n 命令行:-zsh\nPID 1030 父进程 1012 用户 yuki 已运行 1小时42分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1032 父进程 1012 用户 yuki 已运行 2小时23分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/yuki/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1073 父进程 1 用户 yuki 已运行 2天18小时 程序 /Users/yuki/Applications/Brackenmail.app/Contents/MacOS/Brackenmail Agent 【程序文件已经不在盘上】\nPID 1089 父进程 1 用户 yuki 已运行 2天18小时 程序 /Users/yuki/Applications/Brackenmail.app/Contents/MacOS/Brackenmail Agent 【程序文件已经不在盘上】\nPID 1095 父进程 989 用户 yuki 已运行 1小时59分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy file-server --listen 0.0.0.0:8888\n 监听:0.0.0.0:8888\nPID 1096 父进程 1 用户 yuki 已运行 5天7小时 程序 /Users/yuki/.local/bin/buildkiln\n 命令行:buildkiln agent --launchd\nPID 1121 父进程 989 用户 yuki 已运行 2小时0分 程序 /Users/yuki/.local/bin/lintfinch\n 命令行:lintfinch sync --password-file /Users/yuki/.config/syncferry/pass\n\nlaunchd 管着的任务(launchctl list 里有的进程号):687、727、743、755、767、781、1096\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "1073", "1089" ], "title": "2 个 Brackenmail Agent 进程的程序已经被删掉了,还在跑" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "1095" ], "title": "caddy 在所有网络上监听 8888 端口:同一个网络里的人能连进来" } ], "planted": [ "deleted-app", "listening-everywhere" ], "near": [ "launchd-job", "secret-kept-elsewhere" ] }, { "id": "process-042", "group": "single", "facts": "这台 Mac 现在登录的用户是 haoran。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 17天19小时 程序 /sbin/launchd\nPID 431 父进程 1 用户 root 已运行 17天19小时 程序 /usr/libexec/configd\nPID 438 父进程 1 用户 _locationd 已运行 17天19小时 程序 /usr/libexec/locationd\nPID 443 父进程 1 用户 root 已运行 17天19小时 程序 /usr/sbin/notifyd\nPID 453 父进程 1 用户 _coreaudiod 已运行 17天19小时 程序 /usr/sbin/coreaudiod\nPID 469 父进程 1 用户 root 已运行 17天19小时 程序 /usr/libexec/diskarbitrationd\nPID 507 父进程 1 用户 root 已运行 17天19小时 程序 /usr/sbin/KernelEventAgent\nPID 515 父进程 1 用户 root 已运行 17天19小时 程序 /usr/libexec/watchdogd\nPID 546 父进程 1 用户 haoran 已运行 17天19小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 583 父进程 1 用户 haoran 已运行 17天19小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 603 父进程 1 用户 haoran 已运行 17天19小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 614 父进程 1 用户 haoran 已运行 17天19小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 638 父进程 1 用户 haoran 已运行 17天19小时 程序 /usr/libexec/lsd\nPID 667 父进程 1 用户 haoran 已运行 17天19小时 程序 /usr/sbin/distnoted\nPID 671 父进程 1 用户 haoran 已运行 17天19小时 程序 /usr/libexec/UserEventAgent\nPID 674 父进程 1 用户 haoran 已运行 17天19小时 程序 /usr/sbin/cfprefsd\nPID 675 父进程 1 用户 haoran 已运行 9小时23分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 687 父进程 675 用户 haoran 已运行 9小时17分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 692 父进程 675 用户 haoran 已运行 55分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libc++.1.dylib\nPID 703 父进程 1 用户 haoran 已运行 10小时3分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 707 父进程 703 用户 haoran 已运行 2小时16分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 709 父进程 1 用户 haoran 已运行 1天2小时 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 726 父进程 709 用户 haoran 已运行 2小时34分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libz.1.dylib\nPID 752 父进程 709 用户 haoran 已运行 2分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Plugin).app/Contents/MacOS/Ondolo Helper (Plugin)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libz.1.dylib\nPID 765 父进程 1 用户 haoran 已运行 15小时38分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 778 父进程 765 用户 haoran 已运行 15小时37分 程序 /bin/zsh\n 命令行:-zsh\nPID 819 父进程 765 用户 haoran 已运行 8小时36分 程序 /bin/zsh\n 命令行:-zsh\nPID 858 父进程 778 用户 haoran 已运行 3小时33分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 889 父进程 778 用户 haoran 已运行 3小时36分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 910 父进程 819 用户 haoran 已运行 14分 程序 /usr/bin/tail\n 命令行:tail -f /Users/haoran/Projects/harbor-site/logs/dev.log\nPID 923 父进程 819 用户 haoran 已运行 2小时45分 程序 /Users/haoran/.local/bin/syncferry 【程序文件已经不在盘上】\n 命令行:syncferry serve --config dev.toml\nPID 948 父进程 778 用户 haoran 已运行 16分 程序 /Users/haoran/.local/bin/lintfinch\n 命令行:lintfinch sync --password-file /Users/haoran/.config/syncferry/pass\n\nlaunchd 管着的任务(launchctl list 里有的进程号):546、583、603、614、638、667、671、674\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "923" ], "title": "进程 923(syncferry)的程序已经被删掉了,它还在跑" } ], "planted": [ "deleted-tool" ], "near": [ "secret-kept-elsewhere" ] }, { "id": "process-043", "group": "multi", "facts": "这台 Mac 现在登录的用户是 haoran。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 11天2小时 程序 /sbin/launchd\nPID 359 父进程 1 用户 root 已运行 11天2小时 程序 /usr/libexec/airportd\nPID 380 父进程 1 用户 _mdnsresponder 已运行 11天2小时 程序 /usr/sbin/mDNSResponder\nPID 384 父进程 1 用户 root 已运行 11天2小时 程序 /usr/libexec/diskarbitrationd\nPID 422 父进程 1 用户 _windowserver 已运行 11天2小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 431 父进程 1 用户 root 已运行 11天2小时 程序 /usr/sbin/cupsd\nPID 443 父进程 1 用户 root 已运行 11天2小时 程序 /usr/libexec/UserEventAgent\nPID 464 父进程 1 用户 root 已运行 11天2小时 程序 /usr/libexec/opendirectoryd\nPID 466 父进程 1 用户 root 已运行 11天2小时 程序 /usr/libexec/thermalmonitord\nPID 473 父进程 1 用户 _coreaudiod 已运行 11天2小时 程序 /usr/sbin/coreaudiod\nPID 481 父进程 1 用户 root 已运行 11天2小时 程序 /usr/sbin/notifyd\nPID 492 父进程 1 用户 haoran 已运行 11天2小时 程序 /usr/libexec/nsurlsessiond\nPID 505 父进程 1 用户 haoran 已运行 11天2小时 程序 /usr/libexec/trustd\nPID 514 父进程 1 用户 haoran 已运行 11天2小时 程序 /usr/libexec/sharingd\nPID 519 父进程 1 用户 haoran 已运行 11天2小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 558 父进程 1 用户 haoran 已运行 11天2小时 程序 /usr/libexec/secd\nPID 572 父进程 1 用户 haoran 已运行 11天2小时 程序 /usr/libexec/lsd\nPID 606 父进程 1 用户 haoran 已运行 11天2小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 610 父进程 1 用户 haoran 已运行 11天2小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 651 父进程 1 用户 haoran 已运行 11天2小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 687 父进程 1 用户 haoran 已运行 16小时30分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 719 父进程 687 用户 haoran 已运行 56分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libc++.1.dylib\nPID 753 父进程 687 用户 haoran 已运行 5小时42分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Plugin).app/Contents/MacOS/Saltmarsh Helper (Plugin)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libz.1.dylib\nPID 770 父进程 1 用户 haoran 已运行 17小时35分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 787 父进程 770 用户 haoran 已运行 23分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 791 父进程 770 用户 haoran 已运行 2小时39分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 809 父进程 1 用户 haoran 已运行 15小时21分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 848 父进程 809 用户 haoran 已运行 1小时18分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 889 父进程 809 用户 haoran 已运行 6小时43分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libSystem.B.dylib\nPID 891 父进程 809 用户 haoran 已运行 4小时33分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libSystem.B.dylib\nPID 931 父进程 1 用户 haoran 已运行 1天5小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 934 父进程 931 用户 haoran 已运行 1天0小时 程序 /bin/zsh\n 命令行:-zsh\nPID 961 父进程 931 用户 haoran 已运行 16小时47分 程序 /bin/zsh\n 命令行:-zsh\nPID 973 父进程 961 用户 haoran 已运行 2小时33分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1005 父进程 961 用户 haoran 已运行 43分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1035 父进程 961 用户 haoran 已运行 3小时5分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1061 父进程 961 用户 haoran 已运行 4小时53分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1078 父进程 961 用户 haoran 已运行 6小时56分 程序 /opt/homebrew/bin/node\n 命令行:node server.js --host :: --port 8000\n 监听:[::]:8000\nPID 1094 父进程 961 用户 haoran 已运行 4小时51分 程序 /bin/zsh\n 命令行:zsh\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/haoran/.local/lib/libtrace-shim.dylib(这个库的文件不在盘上)\nPID 1101 父进程 1094 用户 haoran 已运行 37分 程序 /Users/haoran/.local/bin/portloom\n 命令行:portloom run\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/haoran/.local/lib/libtrace-shim.dylib(这个库的文件不在盘上)\nPID 1131 父进程 934 用户 haoran 已运行 19小时21分 程序 /Users/haoran/.local/bin/syncferry\n 命令行:syncferry poll --every 5s\nPID 1140 父进程 1131 用户 haoran 已运行 54分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1151 父进程 1131 用户 haoran 已运行 41分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1179 父进程 1131 用户 haoran 已运行 56分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1201 父进程 1131 用户 haoran 已运行 52分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1232 父进程 1131 用户 haoran 已运行 39分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1251 父进程 1131 用户 haoran 已运行 30分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1263 父进程 1131 用户 haoran 已运行 50分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1295 父进程 1131 用户 haoran 已运行 1分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1309 父进程 1131 用户 haoran 已运行 14分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1328 父进程 1131 用户 haoran 已运行 22分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1368 父进程 1131 用户 haoran 已运行 13分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1392 父进程 1131 用户 haoran 已运行 25分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1397 父进程 1131 用户 haoran 已运行 2分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1433 父进程 1131 用户 haoran 已运行 4分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1441 父进程 1131 用户 haoran 已运行 2分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1477 父进程 1131 用户 haoran 已运行 25分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1478 父进程 1131 用户 haoran 已运行 55分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1498 父进程 1131 用户 haoran 已运行 24分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1532 父进程 1131 用户 haoran 已运行 57分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1560 父进程 1131 用户 haoran 已运行 15分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1583 父进程 1 用户 haoran 已运行 4天6小时 程序 /Applications/Quillbay.app/Contents/XPCServices/QuillbaySync.xpc/Contents/MacOS/QuillbaySync\n\nlaunchd 管着的任务(launchctl list 里有的进程号):492、505、514、519、558、572、606、610、651\n", "answer": [ { "rule": "process.dyld-insert", "kind": "dyld-insert", "severity": "high", "verdict": "info", "targets": [ "1094", "1101" ], "title": "2 个进程启动时带着 DYLD_INSERT_LIBRARIES,要先载入 libtrace-shim.dylib" }, { "rule": "process.pile-up", "kind": "pile-up", "severity": "medium", "verdict": "info", "targets": [ "1131", "1140", "1151", "1179", "1201", "1232", "1251", "1263", "1295", "1309", "1328", "1368", "1392", "1397", "1433", "1441", "1477", "1478", "1498", "1532", "1560" ], "title": "git 在同一个父进程下堆了 20 个" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "1078" ], "title": "node 在所有网络上监听 8000 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-everywhere-v6", "dyld-insert-missing", "pile-up-20" ], "near": [ "app-service-under-launchd" ] }, { "id": "process-044", "group": "near", "facts": "这台 Mac 现在登录的用户是 tomas。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 13天0小时 程序 /sbin/launchd\nPID 326 父进程 1 用户 root 已运行 13天0小时 程序 /usr/libexec/thermalmonitord\nPID 367 父进程 1 用户 root 已运行 13天0小时 程序 /usr/sbin/KernelEventAgent\nPID 371 父进程 1 用户 root 已运行 13天0小时 程序 /usr/libexec/airportd\nPID 411 父进程 1 用户 _mdnsresponder 已运行 13天0小时 程序 /usr/sbin/mDNSResponder\nPID 412 父进程 1 用户 root 已运行 13天0小时 程序 /usr/libexec/diskarbitrationd\nPID 426 父进程 1 用户 root 已运行 13天0小时 程序 /usr/libexec/UserEventAgent\nPID 427 父进程 1 用户 root 已运行 13天0小时 程序 /usr/sbin/bluetoothd\nPID 447 父进程 1 用户 root 已运行 13天0小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 457 父进程 1 用户 root 已运行 13天0小时 程序 /usr/libexec/configd\nPID 493 父进程 1 用户 tomas 已运行 12天23小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 507 父进程 1 用户 tomas 已运行 12天23小时 程序 /usr/libexec/UserEventAgent\nPID 545 父进程 1 用户 tomas 已运行 12天23小时 程序 /usr/sbin/distnoted\nPID 549 父进程 1 用户 tomas 已运行 12天23小时 程序 /usr/libexec/lsd\nPID 563 父进程 1 用户 tomas 已运行 12天23小时 程序 /usr/sbin/cfprefsd\nPID 599 父进程 1 用户 tomas 已运行 12天23小时 程序 /usr/libexec/rapportd\nPID 606 父进程 1 用户 tomas 已运行 12天23小时 程序 /usr/libexec/secd\nPID 642 父进程 1 用户 tomas 已运行 12天23小时 程序 /usr/libexec/sharingd\nPID 657 父进程 1 用户 tomas 已运行 18小时12分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 697 父进程 657 用户 tomas 已运行 54分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libc++.1.dylib\nPID 727 父进程 657 用户 tomas 已运行 2小时26分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 761 父进程 657 用户 tomas 已运行 7小时2分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libz.1.dylib\nPID 772 父进程 657 用户 tomas 已运行 3小时26分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 794 父进程 1 用户 tomas 已运行 9小时0分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 815 父进程 794 用户 tomas 已运行 8小时59分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 833 父进程 794 用户 tomas 已运行 3小时44分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (GPU).app/Contents/MacOS/Quillbay Helper (GPU)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libobjc.A.dylib\nPID 870 父进程 794 用户 tomas 已运行 7小时21分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libSystem.B.dylib\nPID 882 父进程 1 用户 tomas 已运行 19小时53分 程序 /Applications/Vextra.app/Contents/MacOS/Vextra\n 命令行:/Applications/Vextra.app/Contents/MacOS/Vextra\nPID 923 父进程 882 用户 tomas 已运行 2小时32分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 935 父进程 882 用户 tomas 已运行 8小时45分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libSystem.B.dylib\nPID 944 父进程 1 用户 tomas 已运行 9小时46分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 969 父进程 944 用户 tomas 已运行 9小时46分 程序 /bin/zsh\n 命令行:-zsh\nPID 1004 父进程 944 用户 tomas 已运行 9小时46分 程序 /bin/zsh\n 命令行:-zsh\nPID 1038 父进程 944 用户 tomas 已运行 9小时46分 程序 /bin/zsh\n 命令行:-zsh\nPID 1071 父进程 969 用户 tomas 已运行 2小时11分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1093 父进程 1004 用户 tomas 已运行 2小时23分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1125 父进程 1004 用户 tomas 已运行 9小时45分 程序 /Users/tomas/.local/bin/tidewatch\n 命令行:tidewatch poll --every 5s\nPID 1131 父进程 1125 用户 tomas 已运行 55分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1132 父进程 1125 用户 tomas 已运行 37分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1163 父进程 1125 用户 tomas 已运行 24分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1178 父进程 1125 用户 tomas 已运行 40分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1208 父进程 1125 用户 tomas 已运行 16分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1242 父进程 1125 用户 tomas 已运行 40分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1270 父进程 1125 用户 tomas 已运行 14分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1290 父进程 1125 用户 tomas 已运行 7分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1327 父进程 1125 用户 tomas 已运行 56分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1337 父进程 1125 用户 tomas 已运行 47分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1361 父进程 1125 用户 tomas 已运行 57分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1383 父进程 1125 用户 tomas 已运行 34分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1401 父进程 1125 用户 tomas 已运行 11分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1429 父进程 1125 用户 tomas 已运行 57分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1442 父进程 1125 用户 tomas 已运行 43分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1458 父进程 1125 用户 tomas 已运行 24分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1489 父进程 1125 用户 tomas 已运行 25分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1498 父进程 1125 用户 tomas 已运行 42分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1536 父进程 1125 用户 tomas 已运行 37分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1537 父进程 1 用户 tomas 已运行 21小时29分 程序 /Applications/Brackenmail.app/Contents/XPCServices/BrackenmailSync.xpc/Contents/MacOS/BrackenmailSync\n\nlaunchd 管着的任务(launchctl list 里有的进程号):493、507、545、549、563、599、606、642\n", "answer": [], "planted": [], "near": [ "pile-19", "app-service-under-launchd" ] }, { "id": "process-045", "group": "single", "facts": "这台 Mac 现在登录的用户是 tomas。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 14天22小时 程序 /sbin/launchd\nPID 396 父进程 1 用户 _mdnsresponder 已运行 14天22小时 程序 /usr/sbin/mDNSResponder\nPID 435 父进程 1 用户 root 已运行 14天22小时 程序 /usr/sbin/KernelEventAgent\nPID 445 父进程 1 用户 root 已运行 14天22小时 程序 /usr/libexec/logd\nPID 464 父进程 1 用户 root 已运行 14天22小时 程序 /usr/libexec/diskarbitrationd\nPID 476 父进程 1 用户 _locationd 已运行 14天22小时 程序 /usr/libexec/locationd\nPID 494 父进程 1 用户 root 已运行 14天22小时 程序 /usr/sbin/syslogd\nPID 530 父进程 1 用户 root 已运行 14天22小时 程序 /usr/libexec/airportd\nPID 539 父进程 1 用户 _coreaudiod 已运行 14天22小时 程序 /usr/sbin/coreaudiod\nPID 575 父进程 1 用户 tomas 已运行 14天22小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 611 父进程 1 用户 tomas 已运行 14天21小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 625 父进程 1 用户 tomas 已运行 14天21小时 程序 /usr/libexec/secd\nPID 655 父进程 1 用户 tomas 已运行 14天22小时 程序 /usr/libexec/trustd\nPID 673 父进程 1 用户 tomas 已运行 14天22小时 程序 /usr/libexec/sharingd\nPID 697 父进程 1 用户 tomas 已运行 14天22小时 程序 /usr/sbin/usernoted\nPID 737 父进程 1 用户 tomas 已运行 14天21小时 程序 /usr/sbin/cfprefsd\nPID 757 父进程 1 用户 tomas 已运行 1天5小时 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 775 父进程 757 用户 tomas 已运行 9小时45分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Plugin).app/Contents/MacOS/Saltmarsh Helper (Plugin)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libc++.1.dylib\nPID 791 父进程 757 用户 tomas 已运行 36分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 797 父进程 1 用户 tomas 已运行 1小时34分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 814 父进程 797 用户 tomas 已运行 1小时34分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 836 父进程 797 用户 tomas 已运行 1小时20分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libc++.1.dylib\nPID 840 父进程 1 用户 tomas 已运行 1小时45分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 842 父进程 840 用户 tomas 已运行 1小时45分 程序 /bin/zsh\n 命令行:-zsh\nPID 857 父进程 840 用户 tomas 已运行 1小时45分 程序 /bin/zsh\n 命令行:-zsh\nPID 869 父进程 842 用户 tomas 已运行 5分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 887 父进程 857 用户 tomas 已运行 22分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/tomas/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 900 父进程 857 用户 tomas 已运行 1小时24分 程序 /usr/bin/tail\n 命令行:tail -f /Users/tomas/Projects/harbor-site/logs/dev.log\nPID 903 父进程 857 用户 tomas 已运行 1小时44分 程序 /Users/tomas/.local/bin/lintfinch\n 载入的库:/Users/tomas/.local/lib/libferry.2.dylib(文件已经被删掉);/usr/lib/libz.1.dylib\nPID 923 父进程 757 用户 tomas 已运行 7小时3分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):575、611、625、655、673、697、737\n", "answer": [ { "rule": "process.library-deleted", "kind": "library-deleted", "severity": "medium", "verdict": "info", "targets": [ "903" ], "title": "进程 903(lintfinch)载入的库 libferry.2.dylib 已经被删掉了,还在用" } ], "planted": [ "library-deleted" ], "near": [] }, { "id": "process-046", "group": "single", "facts": "这台 Mac 现在登录的用户是 meilin。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 4天7小时 程序 /sbin/launchd\nPID 440 父进程 1 用户 root 已运行 4天7小时 程序 /usr/sbin/cupsd\nPID 448 父进程 1 用户 root 已运行 4天7小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 483 父进程 1 用户 root 已运行 4天7小时 程序 /usr/sbin/syslogd\nPID 518 父进程 1 用户 root 已运行 4天7小时 程序 /usr/libexec/configd\nPID 529 父进程 1 用户 _locationd 已运行 4天7小时 程序 /usr/libexec/locationd\nPID 570 父进程 1 用户 root 已运行 4天7小时 程序 /usr/sbin/notifyd\nPID 606 父进程 1 用户 root 已运行 4天7小时 程序 /usr/sbin/KernelEventAgent\nPID 641 父进程 1 用户 root 已运行 4天7小时 程序 /usr/libexec/watchdogd\nPID 654 父进程 1 用户 _coreaudiod 已运行 4天7小时 程序 /usr/sbin/coreaudiod\nPID 686 父进程 1 用户 root 已运行 4天7小时 程序 /usr/libexec/logd\nPID 698 父进程 1 用户 root 已运行 4天7小时 程序 /usr/libexec/securityd\nPID 710 父进程 1 用户 meilin 已运行 4天7小时 程序 /usr/sbin/usernoted\nPID 732 父进程 1 用户 meilin 已运行 4天7小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 759 父进程 1 用户 meilin 已运行 4天7小时 程序 /usr/libexec/secd\nPID 800 父进程 1 用户 meilin 已运行 4天7小时 程序 /usr/libexec/pboard\nPID 833 父进程 1 用户 meilin 已运行 4天7小时 程序 /usr/libexec/nsurlsessiond\nPID 849 父进程 1 用户 meilin 已运行 4天7小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 874 父进程 1 用户 meilin 已运行 4天7小时 程序 /usr/libexec/lsd\nPID 901 父进程 1 用户 meilin 已运行 4天7小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 939 父进程 1 用户 meilin 已运行 16小时18分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 950 父进程 939 用户 meilin 已运行 7小时29分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 977 父进程 939 用户 meilin 已运行 9小时34分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (GPU).app/Contents/MacOS/Quillbay Helper (GPU)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 1018 父进程 939 用户 meilin 已运行 6小时18分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libc++.1.dylib\nPID 1053 父进程 1 用户 meilin 已运行 18小时17分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 1088 父进程 1053 用户 meilin 已运行 34分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (GPU).app/Contents/MacOS/Ondolo Helper (GPU)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libSystem.B.dylib\nPID 1102 父进程 1 用户 meilin 已运行 15小时29分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 1120 父进程 1102 用户 meilin 已运行 8小时34分 程序 /bin/zsh\n 命令行:-zsh\nPID 1151 父进程 1102 用户 meilin 已运行 15小时29分 程序 /bin/zsh\n 命令行:-zsh\nPID 1166 父进程 1102 用户 meilin 已运行 9小时28分 程序 /bin/zsh\n 命令行:-zsh\nPID 1191 父进程 1151 用户 meilin 已运行 3小时8分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/meilin/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1213 父进程 1166 用户 meilin 已运行 2小时52分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1234 父进程 1 用户 meilin 已运行 3天0小时 程序 /Users/meilin/.local/bin/mapquill\n 命令行:mapquill agent --launchd\n\nlaunchd 管着的任务(launchctl list):没有答复,这一次没读到。\n", "answer": [ { "rule": "process.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "launchctl 没答复,这一轮没查孤儿进程" } ], "planted": [ "no-launchctl" ], "near": [ "launchd-job" ] }, { "id": "process-047", "group": "single", "facts": "这台 Mac 现在登录的用户是 ines。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 1天6小时 程序 /sbin/launchd\nPID 397 父进程 1 用户 root 已运行 1天6小时 程序 /usr/sbin/cupsd\nPID 412 父进程 1 用户 root 已运行 1天6小时 程序 /usr/libexec/watchdogd\nPID 443 父进程 1 用户 root 已运行 1天6小时 程序 /usr/sbin/notifyd\nPID 483 父进程 1 用户 _locationd 已运行 1天6小时 程序 /usr/libexec/locationd\nPID 492 父进程 1 用户 root 已运行 1天6小时 程序 /usr/libexec/opendirectoryd\nPID 510 父进程 1 用户 root 已运行 1天6小时 程序 /usr/libexec/logd\nPID 516 父进程 1 用户 root 已运行 1天6小时 程序 /usr/libexec/UserEventAgent\nPID 543 父进程 1 用户 root 已运行 1天6小时 程序 /usr/libexec/diskarbitrationd\nPID 577 父进程 1 用户 ines 已运行 1天6小时 程序 /usr/sbin/distnoted\nPID 594 父进程 1 用户 ines 已运行 1天6小时 程序 /usr/libexec/secd\nPID 595 父进程 1 用户 ines 已运行 1天6小时 程序 /usr/libexec/trustd\nPID 626 父进程 1 用户 ines 已运行 1天6小时 程序 /usr/libexec/sharingd\nPID 639 父进程 1 用户 ines 已运行 1天6小时 程序 /usr/libexec/nsurlsessiond\nPID 644 父进程 1 用户 ines 已运行 1天6小时 程序 /usr/libexec/lsd\nPID 664 父进程 1 用户 ines 已运行 1天6小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 703 父进程 1 用户 ines 已运行 1天6小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 731 父进程 1 用户 ines 已运行 1天6小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 735 父进程 1 用户 ines 已运行 1天5小时 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 765 父进程 735 用户 ines 已运行 2小时50分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libobjc.A.dylib\nPID 798 父进程 735 用户 ines 已运行 7小时26分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (GPU).app/Contents/MacOS/Lumora Helper (GPU)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libobjc.A.dylib\nPID 839 父进程 1 用户 ines 已运行 4小时51分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 845 父进程 839 用户 ines 已运行 5分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libc++.1.dylib\nPID 870 父进程 839 用户 ines 已运行 5分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 894 父进程 839 用户 ines 已运行 4小时51分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libz.1.dylib\nPID 919 父进程 839 用户 ines 已运行 2小时15分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 951 父进程 1 用户 ines 已运行 18小时36分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 979 父进程 951 用户 ines 已运行 9小时44分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libobjc.A.dylib\nPID 981 父进程 951 用户 ines 已运行 6小时40分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libSystem.B.dylib\nPID 1007 父进程 1 用户 ines 已运行 13小时43分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 1023 父进程 1007 用户 ines 已运行 13小时42分 程序 /bin/zsh\n 命令行:-zsh\nPID 1042 父进程 1007 用户 ines 已运行 10小时12分 程序 /bin/zsh\n 命令行:-zsh\nPID 1070 父进程 1007 用户 ines 已运行 13小时42分 程序 /bin/zsh\n 命令行:-zsh\nPID 1094 父进程 1070 用户 ines 已运行 2小时6分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/ines/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1102 父进程 1070 用户 ines 已运行 4小时23分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1114 父进程 1023 用户 ines 已运行 1小时58分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1126 父进程 1 用户 ines 已运行 1天6小时 程序 /Users/ines/Applications/Quillbay.app/Contents/MacOS/Quillbay Agent 【程序文件已经不在盘上】\nPID 1158 父进程 1 用户 ines 已运行 1天6小时 程序 /Users/ines/Applications/Quillbay.app/Contents/MacOS/Quillbay Agent 【程序文件已经不在盘上】\nPID 1193 父进程 1 用户 ines 已运行 1天6小时 程序 /Users/ines/Applications/Quillbay.app/Contents/MacOS/Quillbay Agent 【程序文件已经不在盘上】\nPID 1206 父进程 1 用户 ines 已运行 1天6小时 程序 /Applications/Ondolo.app/Contents/XPCServices/OndoloSync.xpc/Contents/MacOS/OndoloSync\n\nlaunchd 管着的任务(launchctl list 里有的进程号):577、594、595、626、639、644、664、703、731\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "1126", "1158", "1193" ], "title": "3 个 Quillbay Agent 进程的程序已经被删掉了,还在跑" } ], "planted": [ "deleted-app" ], "near": [ "app-service-under-launchd" ] }, { "id": "process-048", "group": "single", "facts": "这台 Mac 现在登录的用户是 haoran。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 10天8小时 程序 /sbin/launchd\nPID 359 父进程 1 用户 root 已运行 10天8小时 程序 /usr/libexec/logd\nPID 361 父进程 1 用户 root 已运行 10天8小时 程序 /usr/libexec/watchdogd\nPID 373 父进程 1 用户 root 已运行 10天8小时 程序 /usr/libexec/airportd\nPID 390 父进程 1 用户 root 已运行 10天8小时 程序 /usr/libexec/opendirectoryd\nPID 421 父进程 1 用户 root 已运行 10天8小时 程序 /usr/libexec/securityd\nPID 435 父进程 1 用户 root 已运行 10天8小时 程序 /usr/libexec/diskarbitrationd\nPID 451 父进程 1 用户 _windowserver 已运行 10天8小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 472 父进程 1 用户 _coreaudiod 已运行 10天8小时 程序 /usr/sbin/coreaudiod\nPID 499 父进程 1 用户 root 已运行 10天8小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 538 父进程 1 用户 root 已运行 10天8小时 程序 /usr/sbin/syslogd\nPID 577 父进程 1 用户 haoran 已运行 10天7小时 程序 /usr/libexec/rapportd\nPID 580 父进程 1 用户 haoran 已运行 10天7小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 591 父进程 1 用户 haoran 已运行 10天7小时 程序 /usr/sbin/cfprefsd\nPID 622 父进程 1 用户 haoran 已运行 10天8小时 程序 /usr/libexec/secd\nPID 642 父进程 1 用户 haoran 已运行 10天7小时 程序 /usr/libexec/trustd\nPID 645 父进程 1 用户 haoran 已运行 10天7小时 程序 /usr/libexec/pboard\nPID 669 父进程 1 用户 haoran 已运行 9小时31分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 689 父进程 669 用户 haoran 已运行 2小时4分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libobjc.A.dylib\nPID 693 父进程 669 用户 haoran 已运行 8小时31分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libobjc.A.dylib\nPID 708 父进程 1 用户 haoran 已运行 21小时35分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 714 父进程 708 用户 haoran 已运行 4小时13分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libz.1.dylib\nPID 748 父进程 708 用户 haoran 已运行 5小时53分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 756 父进程 708 用户 haoran 已运行 4小时6分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libc++.1.dylib\nPID 786 父进程 708 用户 haoran 已运行 8小时23分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (GPU).app/Contents/MacOS/Quillbay Helper (GPU)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libobjc.A.dylib\nPID 813 父进程 1 用户 haoran 已运行 45分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 845 父进程 813 用户 haoran 已运行 45分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libc++.1.dylib\nPID 875 父进程 813 用户 haoran 已运行 45分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 909 父进程 1 用户 haoran 已运行 1天13小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 924 父进程 909 用户 haoran 已运行 15小时39分 程序 /bin/zsh\n 命令行:-zsh\nPID 939 父进程 909 用户 haoran 已运行 1天0小时 程序 /bin/zsh\n 命令行:-zsh\nPID 977 父进程 909 用户 haoran 已运行 1天0小时 程序 /bin/zsh\n 命令行:-zsh\nPID 1005 父进程 977 用户 haoran 已运行 4小时53分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1027 父进程 924 用户 haoran 已运行 39分 程序 /usr/bin/tail\n 命令行:tail -f /Users/haoran/Projects/harbor-site/logs/dev.log\nPID 1065 父进程 977 用户 haoran 已运行 4小时31分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1091 父进程 1 用户 haoran 已运行 6小时0分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/haoran/Projects/old-demo/watch.js\nPID 1102 父进程 939 用户 haoran 已运行 1小时13分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind ::ffff:127.0.0.1 4000\n 监听:[::ffff:127.0.0.1]:4000\nPID 1106 父进程 924 用户 haoran 已运行 15小时38分 程序 /Users/haoran/.local/bin/logharbor\n 载入的库:/System/Library/PrivateFrameworks/OldSupport.framework/Versions/A/OldSupport(文件已经被删掉);/usr/lib/libz.1.dylib\n\nlaunchd 管着的任务(launchctl list 里有的进程号):577、580、591、622、642、645\n", "answer": [ { "rule": "process.orphan", "kind": "orphan", "severity": "low", "verdict": "info", "targets": [ "1091" ], "title": "1 个后台进程的父进程已经退出,还在跑" } ], "planted": [ "orphan-exactly-6-hours" ], "near": [ "listening-loopback", "system-library-deleted" ] }, { "id": "process-049", "group": "single", "facts": "这台 Mac 现在登录的用户是 meilin。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 1天16小时 程序 /sbin/launchd\nPID 415 父进程 1 用户 root 已运行 1天16小时 程序 /usr/libexec/diskarbitrationd\nPID 420 父进程 1 用户 root 已运行 1天16小时 程序 /usr/sbin/syslogd\nPID 450 父进程 1 用户 root 已运行 1天16小时 程序 /usr/sbin/bluetoothd\nPID 488 父进程 1 用户 _windowserver 已运行 1天16小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 491 父进程 1 用户 root 已运行 1天16小时 程序 /usr/libexec/securityd\nPID 506 父进程 1 用户 root 已运行 1天16小时 程序 /usr/sbin/cupsd\nPID 537 父进程 1 用户 root 已运行 1天16小时 程序 /usr/libexec/UserEventAgent\nPID 539 父进程 1 用户 root 已运行 1天16小时 程序 /usr/libexec/watchdogd\nPID 565 父进程 1 用户 meilin 已运行 1天16小时 程序 /usr/libexec/nsurlsessiond\nPID 577 父进程 1 用户 meilin 已运行 1天16小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 602 父进程 1 用户 meilin 已运行 1天16小时 程序 /usr/sbin/distnoted\nPID 616 父进程 1 用户 meilin 已运行 1天16小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 643 父进程 1 用户 meilin 已运行 1天16小时 程序 /usr/libexec/secd\nPID 653 父进程 1 用户 meilin 已运行 1天16小时 程序 /usr/sbin/cfprefsd\nPID 683 父进程 1 用户 meilin 已运行 1天16小时 程序 /usr/libexec/trustd\nPID 700 父进程 1 用户 meilin 已运行 1天16小时 程序 /usr/sbin/usernoted\nPID 724 父进程 1 用户 meilin 已运行 1天16小时 程序 /usr/libexec/UserEventAgent\nPID 743 父进程 1 用户 meilin 已运行 22小时5分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 761 父进程 743 用户 meilin 已运行 8小时6分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 778 父进程 743 用户 meilin 已运行 9小时7分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libSystem.B.dylib\nPID 809 父进程 743 用户 meilin 已运行 6小时44分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libSystem.B.dylib\nPID 813 父进程 1 用户 meilin 已运行 23小时0分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 814 父进程 813 用户 meilin 已运行 2小时9分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 823 父进程 1 用户 meilin 已运行 1天1小时 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 845 父进程 823 用户 meilin 已运行 7小时18分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (GPU).app/Contents/MacOS/Quillbay Helper (GPU)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libSystem.B.dylib\nPID 864 父进程 823 用户 meilin 已运行 5小时16分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libSystem.B.dylib\nPID 897 父进程 823 用户 meilin 已运行 5小时20分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libc++.1.dylib\nPID 899 父进程 1 用户 meilin 已运行 1天9小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 924 父进程 899 用户 meilin 已运行 15小时40分 程序 /bin/zsh\n 命令行:-zsh\nPID 925 父进程 899 用户 meilin 已运行 4小时42分 程序 /bin/zsh\n 命令行:-zsh\nPID 952 父进程 899 用户 meilin 已运行 9小时54分 程序 /bin/zsh\n 命令行:-zsh\nPID 982 父进程 924 用户 meilin 已运行 4小时54分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 999 父进程 924 用户 meilin 已运行 3小时42分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1026 父进程 925 用户 meilin 已运行 2小时47分 程序 /usr/bin/tail\n 命令行:tail -f /Users/meilin/Projects/harbor-site/logs/dev.log\nPID 1041 父进程 925 用户 meilin 已运行 3小时47分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1081 父进程 952 用户 meilin 已运行 1小时5分 程序 /Users/meilin/.local/bin/lintfinch\n 命令行:lintfinch sync --client-secret=9sQKp3xw3x0cyaUzkP\nPID 1114 父进程 1 用户 meilin 已运行 12小时31分 程序 /Applications/Vextra.app/Contents/MacOS/Vextra\nPID 1148 父进程 1114 用户 meilin 已运行 5小时15分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1159 父进程 1114 用户 meilin 已运行 2小时28分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1197 父进程 1114 用户 meilin 已运行 6小时11分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1209 父进程 1114 用户 meilin 已运行 1小时46分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1224 父进程 1114 用户 meilin 已运行 31分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1244 父进程 1114 用户 meilin 已运行 1小时25分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1256 父进程 1114 用户 meilin 已运行 6小时32分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1257 父进程 1114 用户 meilin 已运行 7小时20分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1266 父进程 1114 用户 meilin 已运行 37分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1268 父进程 1114 用户 meilin 已运行 5小时20分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1306 父进程 1114 用户 meilin 已运行 8小时47分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1314 父进程 1114 用户 meilin 已运行 58分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1354 父进程 1114 用户 meilin 已运行 5小时13分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1380 父进程 1114 用户 meilin 已运行 5小时43分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1396 父进程 1114 用户 meilin 已运行 4小时25分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1435 父进程 1114 用户 meilin 已运行 3小时45分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1440 父进程 1114 用户 meilin 已运行 1小时11分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1456 父进程 1114 用户 meilin 已运行 1小时21分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1490 父进程 1114 用户 meilin 已运行 1小时1分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1514 父进程 1114 用户 meilin 已运行 9小时9分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1544 父进程 1114 用户 meilin 已运行 5小时59分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1555 父进程 1114 用户 meilin 已运行 3小时41分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1586 父进程 1114 用户 meilin 已运行 2小时42分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1624 父进程 1114 用户 meilin 已运行 4小时17分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1632 父进程 1114 用户 meilin 已运行 2小时42分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1654 父进程 1114 用户 meilin 已运行 3小时49分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\nPID 1664 父进程 1114 用户 meilin 已运行 5小时36分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):565、577、602、616、643、653、683、700、724\n", "answer": [ { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1081" ], "title": "正在运行的 lintfinch 命令行里带着参数 --client-secret" } ], "planted": [ "secret-flag" ], "near": [ "app-helpers-25" ] }, { "id": "process-050", "group": "single", "facts": "这台 Mac 现在登录的用户是 dalia。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 15天14小时 程序 /sbin/launchd\nPID 362 父进程 1 用户 root 已运行 15天14小时 程序 /usr/sbin/KernelEventAgent\nPID 374 父进程 1 用户 root 已运行 15天14小时 程序 /usr/libexec/airportd\nPID 383 父进程 1 用户 root 已运行 15天14小时 程序 /usr/libexec/thermalmonitord\nPID 403 父进程 1 用户 root 已运行 15天14小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 415 父进程 1 用户 root 已运行 15天14小时 程序 /usr/sbin/syslogd\nPID 428 父进程 1 用户 root 已运行 15天14小时 程序 /usr/libexec/UserEventAgent\nPID 447 父进程 1 用户 _mdnsresponder 已运行 15天14小时 程序 /usr/sbin/mDNSResponder\nPID 455 父进程 1 用户 dalia 已运行 15天14小时 程序 /usr/sbin/usernoted\nPID 460 父进程 1 用户 dalia 已运行 15天14小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 476 父进程 1 用户 dalia 已运行 15天14小时 程序 /usr/sbin/distnoted\nPID 487 父进程 1 用户 dalia 已运行 15天14小时 程序 /usr/libexec/trustd\nPID 516 父进程 1 用户 dalia 已运行 15天14小时 程序 /usr/libexec/UserEventAgent\nPID 525 父进程 1 用户 dalia 已运行 15天14小时 程序 /usr/libexec/secd\nPID 554 父进程 1 用户 dalia 已运行 15天14小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 558 父进程 1 用户 dalia 已运行 5小时2分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 592 父进程 558 用户 dalia 已运行 5小时2分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libc++.1.dylib\nPID 614 父进程 558 用户 dalia 已运行 5小时2分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (GPU).app/Contents/MacOS/Saltmarsh Helper (GPU)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 632 父进程 558 用户 dalia 已运行 4小时20分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libSystem.B.dylib\nPID 658 父进程 558 用户 dalia 已运行 3小时46分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libc++.1.dylib\nPID 669 父进程 1 用户 dalia 已运行 20小时14分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 671 父进程 669 用户 dalia 已运行 7小时26分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libobjc.A.dylib\nPID 710 父进程 1 用户 dalia 已运行 9小时49分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 730 父进程 710 用户 dalia 已运行 6小时55分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 753 父进程 710 用户 dalia 已运行 3小时52分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (GPU).app/Contents/MacOS/Quillbay Helper (GPU)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libz.1.dylib\nPID 764 父进程 1 用户 dalia 已运行 22小时20分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 805 父进程 764 用户 dalia 已运行 14小时37分 程序 /bin/zsh\n 命令行:-zsh\nPID 830 父进程 764 用户 dalia 已运行 10小时9分 程序 /bin/zsh\n 命令行:-zsh\nPID 836 父进程 764 用户 dalia 已运行 22小时20分 程序 /bin/zsh\n 命令行:-zsh\nPID 857 父进程 830 用户 dalia 已运行 59分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 858 父进程 830 用户 dalia 已运行 2小时26分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/dalia/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 872 父进程 805 用户 dalia 已运行 1小时2分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 884 父进程 830 用户 dalia 已运行 1小时54分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 915 父进程 830 用户 dalia 已运行 56分 程序 /opt/homebrew/bin/mysql\n 命令行:mysql -h db.internal.example -u report -prDpiNXqJxLPg sales\nPID 938 父进程 830 用户 dalia 已运行 3小时53分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy file-server --listen [::1]:8080\n 监听:[::1]:8080\nPID 941 父进程 805 用户 dalia 已运行 8分 程序 /usr/bin/curl\n 命令行:curl -sO https://deploy@files.internal.example/sk-learn-notes/data.tar.gz\n\nlaunchd 管着的任务(launchctl list 里有的进程号):455、460、476、487、516、525、554\n", "answer": [ { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "915" ], "title": "正在运行的 mysql 命令行里带着参数 -p(数据库密码)" } ], "planted": [ "secret-mysql" ], "near": [ "listening-loopback", "url-without-password" ] }, { "id": "process-051", "group": "near", "facts": "这台 Mac 现在登录的用户是 linwei。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 11天10小时 程序 /sbin/launchd\nPID 423 父进程 1 用户 root 已运行 11天9小时 程序 /usr/libexec/thermalmonitord\nPID 464 父进程 1 用户 root 已运行 11天9小时 程序 /usr/sbin/notifyd\nPID 496 父进程 1 用户 root 已运行 11天9小时 程序 /usr/sbin/syslogd\nPID 518 父进程 1 用户 root 已运行 11天9小时 程序 /usr/libexec/opendirectoryd\nPID 546 父进程 1 用户 root 已运行 11天9小时 程序 /usr/libexec/logd\nPID 553 父进程 1 用户 root 已运行 11天9小时 程序 /usr/sbin/cupsd\nPID 572 父进程 1 用户 root 已运行 11天9小时 程序 /usr/libexec/UserEventAgent\nPID 608 父进程 1 用户 _mdnsresponder 已运行 11天9小时 程序 /usr/sbin/mDNSResponder\nPID 613 父进程 1 用户 root 已运行 11天9小时 程序 /usr/sbin/KernelEventAgent\nPID 637 父进程 1 用户 root 已运行 11天9小时 程序 /usr/libexec/diskarbitrationd\nPID 655 父进程 1 用户 linwei 已运行 11天9小时 程序 /usr/libexec/secd\nPID 678 父进程 1 用户 linwei 已运行 11天9小时 程序 /usr/libexec/pboard\nPID 681 父进程 1 用户 linwei 已运行 11天9小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 698 父进程 1 用户 linwei 已运行 11天9小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 734 父进程 1 用户 linwei 已运行 11天9小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 750 父进程 1 用户 linwei 已运行 11天9小时 程序 /usr/libexec/lsd\nPID 754 父进程 1 用户 linwei 已运行 11天9小时 程序 /usr/libexec/trustd\nPID 791 父进程 1 用户 linwei 已运行 11天9小时 程序 /usr/sbin/cfprefsd\nPID 826 父进程 1 用户 linwei 已运行 37分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 848 父进程 826 用户 linwei 已运行 36分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (GPU).app/Contents/MacOS/Brackenmail Helper (GPU)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libobjc.A.dylib\nPID 857 父进程 1 用户 linwei 已运行 12小时19分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 880 父进程 857 用户 linwei 已运行 3小时39分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libobjc.A.dylib\nPID 915 父进程 857 用户 linwei 已运行 1小时27分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Plugin).app/Contents/MacOS/Ondolo Helper (Plugin)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libSystem.B.dylib\nPID 927 父进程 857 用户 linwei 已运行 7小时42分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (GPU).app/Contents/MacOS/Ondolo Helper (GPU)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libz.1.dylib\nPID 963 父进程 1 用户 linwei 已运行 8小时38分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 967 父进程 963 用户 linwei 已运行 8小时38分 程序 /bin/zsh\n 命令行:-zsh\nPID 992 父进程 963 用户 linwei 已运行 8小时38分 程序 /bin/zsh\n 命令行:-zsh\nPID 1015 父进程 963 用户 linwei 已运行 8小时38分 程序 /bin/zsh\n 命令行:-zsh\nPID 1019 父进程 992 用户 linwei 已运行 3小时7分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1048 父进程 1015 用户 linwei 已运行 2小时39分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1053 父进程 992 用户 linwei 已运行 3小时31分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1073 父进程 1 用户 linwei 已运行 5小时45分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/linwei/Projects/old-demo/watch.js\nPID 1111 父进程 1015 用户 linwei 已运行 12分 程序 /usr/bin/curl\n 命令行:curl -sO https://deploy@files.internal.example/sk-learn-notes/data.tar.gz\nPID 1112 父进程 967 用户 linwei 已运行 2小时13分 程序 /opt/homebrew/bin/mysql\n 命令行:mysql -h db.internal.example -u report -p sales\n\nlaunchd 管着的任务(launchctl list 里有的进程号):655、678、681、698、734、750、754、791\n", "answer": [], "planted": [], "near": [ "orphan-5-hours-50", "url-without-password", "mysql-asks-for-password" ] }, { "id": "process-052", "group": "multi", "facts": "这台 Mac 现在登录的用户是 anika。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 8天6小时 程序 /sbin/launchd\nPID 408 父进程 1 用户 _coreaudiod 已运行 8天6小时 程序 /usr/sbin/coreaudiod\nPID 411 父进程 1 用户 root 已运行 8天6小时 程序 /usr/sbin/cupsd\nPID 448 父进程 1 用户 root 已运行 8天6小时 程序 /usr/sbin/syslogd\nPID 478 父进程 1 用户 root 已运行 8天6小时 程序 /usr/libexec/configd\nPID 485 父进程 1 用户 root 已运行 8天6小时 程序 /usr/libexec/securityd\nPID 521 父进程 1 用户 _mdnsresponder 已运行 8天6小时 程序 /usr/sbin/mDNSResponder\nPID 532 父进程 1 用户 root 已运行 8天6小时 程序 /usr/libexec/thermalmonitord\nPID 557 父进程 1 用户 root 已运行 8天6小时 程序 /usr/libexec/diskarbitrationd\nPID 575 父进程 1 用户 _windowserver 已运行 8天6小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 609 父进程 1 用户 root 已运行 8天6小时 程序 /usr/sbin/notifyd\nPID 615 父进程 1 用户 root 已运行 8天6小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 623 父进程 1 用户 anika 已运行 8天5小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 640 父进程 1 用户 anika 已运行 8天6小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 648 父进程 1 用户 anika 已运行 8天5小时 程序 /usr/libexec/UserEventAgent\nPID 668 父进程 1 用户 anika 已运行 8天5小时 程序 /usr/libexec/trustd\nPID 688 父进程 1 用户 anika 已运行 8天6小时 程序 /usr/sbin/cfprefsd\nPID 690 父进程 1 用户 anika 已运行 8天5小时 程序 /usr/libexec/secd\nPID 707 父进程 1 用户 anika 已运行 8天6小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 741 父进程 1 用户 anika 已运行 8天5小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 752 父进程 1 用户 anika 已运行 8天6小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 792 父进程 1 用户 anika 已运行 4小时25分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 833 父进程 792 用户 anika 已运行 1小时51分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Plugin).app/Contents/MacOS/Saltmarsh Helper (Plugin)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libSystem.B.dylib\nPID 834 父进程 792 用户 anika 已运行 3小时43分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libSystem.B.dylib\nPID 864 父进程 792 用户 anika 已运行 4小时25分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 866 父进程 792 用户 anika 已运行 49分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 900 父进程 1 用户 anika 已运行 1天0小时 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 931 父进程 900 用户 anika 已运行 3小时2分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libSystem.B.dylib\nPID 960 父进程 900 用户 anika 已运行 2小时54分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libobjc.A.dylib\nPID 961 父进程 900 用户 anika 已运行 1小时3分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 998 父进程 900 用户 anika 已运行 3小时18分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libc++.1.dylib\nPID 1019 父进程 1 用户 anika 已运行 49分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 1022 父进程 1019 用户 anika 已运行 49分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (GPU).app/Contents/MacOS/Brackenmail Helper (GPU)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libc++.1.dylib\nPID 1052 父进程 1019 用户 anika 已运行 48分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 1089 父进程 1 用户 anika 已运行 14小时8分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 1094 父进程 1089 用户 anika 已运行 3小时34分 程序 /bin/zsh\n 命令行:-zsh\nPID 1103 父进程 1089 用户 anika 已运行 14小时2分 程序 /bin/zsh\n 命令行:-zsh\nPID 1121 父进程 1103 用户 anika 已运行 4小时56分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1132 父进程 1094 用户 anika 已运行 1小时18分 程序 /usr/bin/tail\n 命令行:tail -f /Users/anika/Projects/harbor-site/logs/dev.log\nPID 1133 父进程 1094 用户 anika 已运行 1小时18分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1153 父进程 1103 用户 anika 已运行 3小时34分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1158 父进程 1 用户 anika 已运行 4天19小时 程序 /Users/anika/Applications/Pinecrest.app/Contents/MacOS/Pinecrest Agent 【程序文件已经不在盘上】\nPID 1170 父进程 1 用户 anika 已运行 4天19小时 程序 /Users/anika/Applications/Pinecrest.app/Contents/MacOS/Pinecrest Agent 【程序文件已经不在盘上】\nPID 1206 父进程 1 用户 anika 已运行 4天19小时 程序 /Users/anika/Applications/Pinecrest.app/Contents/MacOS/Pinecrest Agent 【程序文件已经不在盘上】\nPID 1223 父进程 1 用户 anika 已运行 4小时31分 程序 /private/var/folders/hy/0_h23vxb7yn53c1xwqf1q1fl4vmlxc/T/AppTranslocation/0A1B2C3D-0000-4000-8000-737885168649/d/Lumora.app/Contents/MacOS/Lumora\n 载入的库:/private/var/folders/hy/0_h23vxb7yn53c1xwqf1q1fl4vmlxc/T/AppTranslocation/0A1B2C3D-0000-4000-8000-737885168649/d/Lumora.app/Contents/Frameworks/LumoraKit.framework/LumoraKit\nPID 1226 父进程 1 用户 root 已运行 8天6小时 程序 /usr/local/sbin/metricsd\n 命令行:metricsd\n 监听:0.0.0.0:9100\n\nlaunchd 管着的任务(launchctl list):没有答复,这一次没读到。\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "1158", "1170", "1206" ], "title": "3 个 Pinecrest Agent 进程的程序已经被删掉了,还在跑" }, { "rule": "process.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "launchctl 没答复,这一轮没查孤儿进程" } ], "planted": [ "no-launchctl", "deleted-app" ], "near": [ "library-in-own-bundle", "other-user-listening" ], "boundary": [ "other-user-listening" ] }, { "id": "process-053", "group": "near", "facts": "这台 Mac 现在登录的用户是 ruben。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 16天20小时 程序 /sbin/launchd\nPID 319 父进程 1 用户 root 已运行 16天20小时 程序 /usr/libexec/securityd\nPID 337 父进程 1 用户 root 已运行 16天20小时 程序 /usr/sbin/cupsd\nPID 375 父进程 1 用户 root 已运行 16天20小时 程序 /usr/sbin/KernelEventAgent\nPID 379 父进程 1 用户 root 已运行 16天20小时 程序 /usr/libexec/diskarbitrationd\nPID 395 父进程 1 用户 _coreaudiod 已运行 16天20小时 程序 /usr/sbin/coreaudiod\nPID 417 父进程 1 用户 root 已运行 16天20小时 程序 /usr/libexec/configd\nPID 452 父进程 1 用户 _mdnsresponder 已运行 16天20小时 程序 /usr/sbin/mDNSResponder\nPID 482 父进程 1 用户 root 已运行 16天20小时 程序 /usr/sbin/bluetoothd\nPID 520 父进程 1 用户 ruben 已运行 16天20小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 554 父进程 1 用户 ruben 已运行 16天20小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 589 父进程 1 用户 ruben 已运行 16天20小时 程序 /usr/libexec/sharingd\nPID 614 父进程 1 用户 ruben 已运行 16天20小时 程序 /usr/libexec/lsd\nPID 624 父进程 1 用户 ruben 已运行 16天20小时 程序 /usr/libexec/rapportd\nPID 641 父进程 1 用户 ruben 已运行 16天20小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 669 父进程 1 用户 ruben 已运行 7小时35分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 677 父进程 669 用户 ruben 已运行 7小时35分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libSystem.B.dylib\nPID 706 父进程 669 用户 ruben 已运行 2小时24分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 707 父进程 669 用户 ruben 已运行 2小时33分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libc++.1.dylib\nPID 726 父进程 1 用户 ruben 已运行 3小时40分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 747 父进程 726 用户 ruben 已运行 3小时40分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 772 父进程 726 用户 ruben 已运行 3小时19分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libSystem.B.dylib\nPID 782 父进程 726 用户 ruben 已运行 3小时39分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libc++.1.dylib\nPID 798 父进程 726 用户 ruben 已运行 3小时39分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 820 父进程 1 用户 ruben 已运行 1小时7分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 826 父进程 820 用户 ruben 已运行 1小时6分 程序 /bin/zsh\n 命令行:-zsh\nPID 867 父进程 820 用户 ruben 已运行 1小时7分 程序 /bin/zsh\n 命令行:-zsh\nPID 894 父进程 820 用户 ruben 已运行 1小时6分 程序 /bin/zsh\n 命令行:-zsh\nPID 906 父进程 826 用户 ruben 已运行 1小时6分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 912 父进程 894 用户 ruben 已运行 52分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 920 父进程 867 用户 ruben 已运行 4分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 935 父进程 894 用户 ruben 已运行 1小时6分 程序 /usr/bin/tail\n 命令行:tail -f /Users/ruben/Projects/harbor-site/logs/dev.log\nPID 942 父进程 867 用户 ruben 已运行 1小时6分 程序 /Users/ruben/.local/bin/logharbor\n 命令行:logharbor test --guard-malloc\n 环境变量:DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib\nPID 946 父进程 826 用户 ruben 已运行 1小时6分 程序 /Users/ruben/.local/bin/lintfinch\n 环境变量:DYLD_LIBRARY_PATH=/opt/homebrew/lib\n 环境变量:DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Frameworks\n\nlaunchd 管着的任务(launchctl list 里有的进程号):520、554、589、614、624、641\n", "answer": [], "planted": [], "near": [ "dyld-insert-system-library", "other-dyld-variable" ] }, { "id": "process-054", "group": "single", "facts": "这台 Mac 现在登录的用户是 haoran。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 7天3小时 程序 /sbin/launchd\nPID 346 父进程 1 用户 root 已运行 7天3小时 程序 /usr/sbin/notifyd\nPID 357 父进程 1 用户 root 已运行 7天3小时 程序 /usr/libexec/configd\nPID 365 父进程 1 用户 _windowserver 已运行 7天3小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 381 父进程 1 用户 _coreaudiod 已运行 7天3小时 程序 /usr/sbin/coreaudiod\nPID 413 父进程 1 用户 root 已运行 7天3小时 程序 /usr/sbin/syslogd\nPID 425 父进程 1 用户 root 已运行 7天3小时 程序 /usr/libexec/diskarbitrationd\nPID 441 父进程 1 用户 root 已运行 7天3小时 程序 /usr/libexec/logd\nPID 449 父进程 1 用户 haoran 已运行 7天3小时 程序 /usr/libexec/trustd\nPID 479 父进程 1 用户 haoran 已运行 7天3小时 程序 /usr/libexec/pboard\nPID 485 父进程 1 用户 haoran 已运行 7天3小时 程序 /usr/libexec/sharingd\nPID 518 父进程 1 用户 haoran 已运行 7天3小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 525 父进程 1 用户 haoran 已运行 7天3小时 程序 /usr/libexec/rapportd\nPID 528 父进程 1 用户 haoran 已运行 7天3小时 程序 /usr/libexec/nsurlsessiond\nPID 548 父进程 1 用户 haoran 已运行 7天3小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 563 父进程 1 用户 haoran 已运行 7天3小时 程序 /usr/libexec/lsd\nPID 591 父进程 1 用户 haoran 已运行 7天3小时 程序 /usr/libexec/UserEventAgent\nPID 620 父进程 1 用户 haoran 已运行 6小时38分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 648 父进程 620 用户 haoran 已运行 6小时38分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 671 父进程 620 用户 haoran 已运行 3小时2分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libSystem.B.dylib\nPID 678 父进程 620 用户 haoran 已运行 2小时44分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 713 父进程 620 用户 haoran 已运行 2小时45分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (GPU).app/Contents/MacOS/Lumora Helper (GPU)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libobjc.A.dylib\nPID 741 父进程 1 用户 haoran 已运行 1天2小时 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 769 父进程 741 用户 haoran 已运行 8小时51分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Plugin).app/Contents/MacOS/Tarnwell Helper (Plugin)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 801 父进程 741 用户 haoran 已运行 5小时11分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 810 父进程 741 用户 haoran 已运行 3小时38分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 822 父进程 1 用户 haoran 已运行 1天13小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 847 父进程 822 用户 haoran 已运行 14小时57分 程序 /bin/zsh\n 命令行:-zsh\nPID 871 父进程 822 用户 haoran 已运行 23小时22分 程序 /bin/zsh\n 命令行:-zsh\nPID 879 父进程 822 用户 haoran 已运行 3小时38分 程序 /bin/zsh\n 命令行:-zsh\nPID 880 父进程 847 用户 haoran 已运行 4小时0分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 895 父进程 879 用户 haoran 已运行 3小时37分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 929 父进程 871 用户 haoran 已运行 3小时42分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 946 父进程 871 用户 haoran 已运行 33分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 984 父进程 847 用户 haoran 已运行 4小时17分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy file-server --listen 0.0.0.0:9000\n 监听:0.0.0.0:9000\n\nlaunchd 管着的任务(launchctl list 里有的进程号):449、479、485、518、525、528、548、563、591\n", "answer": [ { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "984" ], "title": "caddy 在所有网络上监听 9000 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-everywhere" ], "near": [] }, { "id": "process-055", "group": "single", "facts": "这台 Mac 现在登录的用户是 yuki。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 13天19小时 程序 /sbin/launchd\nPID 448 父进程 1 用户 root 已运行 13天19小时 程序 /usr/libexec/configd\nPID 472 父进程 1 用户 root 已运行 13天19小时 程序 /usr/sbin/syslogd\nPID 497 父进程 1 用户 _coreaudiod 已运行 13天19小时 程序 /usr/sbin/coreaudiod\nPID 521 父进程 1 用户 root 已运行 13天19小时 程序 /usr/libexec/airportd\nPID 556 父进程 1 用户 root 已运行 13天19小时 程序 /usr/sbin/KernelEventAgent\nPID 564 父进程 1 用户 root 已运行 13天19小时 程序 /usr/sbin/notifyd\nPID 574 父进程 1 用户 _locationd 已运行 13天19小时 程序 /usr/libexec/locationd\nPID 578 父进程 1 用户 _mdnsresponder 已运行 13天19小时 程序 /usr/sbin/mDNSResponder\nPID 604 父进程 1 用户 root 已运行 13天19小时 程序 /usr/libexec/watchdogd\nPID 624 父进程 1 用户 root 已运行 13天19小时 程序 /usr/libexec/opendirectoryd\nPID 633 父进程 1 用户 yuki 已运行 13天18小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 650 父进程 1 用户 yuki 已运行 13天18小时 程序 /usr/sbin/usernoted\nPID 676 父进程 1 用户 yuki 已运行 13天18小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 714 父进程 1 用户 yuki 已运行 13天18小时 程序 /usr/sbin/cfprefsd\nPID 729 父进程 1 用户 yuki 已运行 13天19小时 程序 /usr/libexec/UserEventAgent\nPID 738 父进程 1 用户 yuki 已运行 13天18小时 程序 /usr/libexec/sharingd\nPID 759 父进程 1 用户 yuki 已运行 13天18小时 程序 /usr/libexec/rapportd\nPID 779 父进程 1 用户 yuki 已运行 13天19小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 813 父进程 1 用户 yuki 已运行 10小时9分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 814 父进程 813 用户 yuki 已运行 5小时26分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libSystem.B.dylib\nPID 827 父进程 813 用户 yuki 已运行 7小时18分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libz.1.dylib\nPID 865 父进程 813 用户 yuki 已运行 4小时55分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 906 父进程 813 用户 yuki 已运行 4小时15分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libc++.1.dylib\nPID 922 父进程 1 用户 yuki 已运行 11小时57分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 930 父进程 922 用户 yuki 已运行 1小时59分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 952 父进程 922 用户 yuki 已运行 5小时13分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 981 父进程 922 用户 yuki 已运行 5小时33分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libobjc.A.dylib\nPID 1005 父进程 922 用户 yuki 已运行 2小时34分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (GPU).app/Contents/MacOS/Lumora Helper (GPU)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libc++.1.dylib\nPID 1014 父进程 1 用户 yuki 已运行 23小时9分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 1021 父进程 1014 用户 yuki 已运行 23小时8分 程序 /bin/zsh\n 命令行:-zsh\nPID 1035 父进程 1014 用户 yuki 已运行 7小时3分 程序 /bin/zsh\n 命令行:-zsh\nPID 1062 父进程 1035 用户 yuki 已运行 1小时56分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/yuki/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1079 父进程 1035 用户 yuki 已运行 4小时10分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1114 父进程 1035 用户 yuki 已运行 7小时3分 程序 /Users/yuki/.local/bin/portloom\n 命令行:portloom watch\n 载入的库:/Users/yuki/Downloads/plugin-pack/libplugin.dylib(签名:临时签名,没有开发者担保);/usr/lib/libc++.1.dylib;/Users/yuki/.local/lib/libcommon.1.dylib\nPID 1135 父进程 1021 用户 yuki 已运行 42分 程序 /Users/yuki/.local/bin/tidewatch\n 环境变量:DYLD_LIBRARY_PATH=/opt/homebrew/lib\n 环境变量:DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Frameworks\n\nlaunchd 管着的任务(launchctl list 里有的进程号):633、650、676、714、729、738、759、779\n", "answer": [ { "rule": "process.library-temp", "kind": "library-temp", "severity": "medium", "verdict": "info", "targets": [ "1114" ], "title": "进程 1114(portloom)载入了下载文件夹里的库 libplugin.dylib" } ], "planted": [ "library-downloads" ], "near": [ "other-dyld-variable" ] }, { "id": "process-056", "group": "single", "facts": "这台 Mac 现在登录的用户是 haoran。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 15天5小时 程序 /sbin/launchd\nPID 397 父进程 1 用户 root 已运行 15天5小时 程序 /usr/sbin/cupsd\nPID 411 父进程 1 用户 root 已运行 15天5小时 程序 /usr/libexec/watchdogd\nPID 452 父进程 1 用户 _locationd 已运行 15天5小时 程序 /usr/libexec/locationd\nPID 458 父进程 1 用户 root 已运行 15天5小时 程序 /usr/libexec/configd\nPID 484 父进程 1 用户 root 已运行 15天5小时 程序 /usr/sbin/syslogd\nPID 520 父进程 1 用户 root 已运行 15天5小时 程序 /usr/sbin/bluetoothd\nPID 536 父进程 1 用户 _mdnsresponder 已运行 15天5小时 程序 /usr/sbin/mDNSResponder\nPID 537 父进程 1 用户 _windowserver 已运行 15天5小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 574 父进程 1 用户 root 已运行 15天5小时 程序 /usr/libexec/opendirectoryd\nPID 591 父进程 1 用户 root 已运行 15天5小时 程序 /usr/libexec/UserEventAgent\nPID 602 父进程 1 用户 root 已运行 15天5小时 程序 /usr/libexec/airportd\nPID 609 父进程 1 用户 haoran 已运行 15天4小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 630 父进程 1 用户 haoran 已运行 15天4小时 程序 /usr/libexec/pboard\nPID 641 父进程 1 用户 haoran 已运行 15天4小时 程序 /usr/libexec/UserEventAgent\nPID 668 父进程 1 用户 haoran 已运行 15天4小时 程序 /usr/libexec/sharingd\nPID 694 父进程 1 用户 haoran 已运行 15天4小时 程序 /usr/libexec/lsd\nPID 698 父进程 1 用户 haoran 已运行 15天4小时 程序 /usr/libexec/nsurlsessiond\nPID 723 父进程 1 用户 haoran 已运行 15天4小时 程序 /usr/libexec/rapportd\nPID 729 父进程 1 用户 haoran 已运行 15天4小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 740 父进程 1 用户 haoran 已运行 15天4小时 程序 /usr/libexec/trustd\nPID 765 父进程 1 用户 haoran 已运行 3小时23分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 789 父进程 765 用户 haoran 已运行 3小时23分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 827 父进程 765 用户 haoran 已运行 1小时11分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Plugin).app/Contents/MacOS/Brackenmail Helper (Plugin)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libz.1.dylib\nPID 837 父进程 1 用户 haoran 已运行 1天1小时 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 859 父进程 837 用户 haoran 已运行 8小时9分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 869 父进程 837 用户 haoran 已运行 6小时13分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libc++.1.dylib\nPID 883 父进程 837 用户 haoran 已运行 1小时37分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libc++.1.dylib\nPID 898 父进程 837 用户 haoran 已运行 1小时6分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (GPU).app/Contents/MacOS/Lumora Helper (GPU)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libobjc.A.dylib\nPID 914 父进程 1 用户 haoran 已运行 10小时54分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 948 父进程 914 用户 haoran 已运行 10小时54分 程序 /bin/zsh\n 命令行:-zsh\nPID 971 父进程 914 用户 haoran 已运行 10小时54分 程序 /bin/zsh\n 命令行:-zsh\nPID 1000 父进程 948 用户 haoran 已运行 3小时37分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1021 父进程 948 用户 haoran 已运行 2小时18分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1039 父进程 948 用户 haoran 已运行 4小时10分 程序 /usr/bin/tail\n 命令行:tail -f /Users/haoran/Projects/harbor-site/logs/dev.log\nPID 1044 父进程 948 用户 haoran 已运行 10小时54分 程序 /Users/haoran/.local/bin/lintfinch 【程序文件已经不在盘上】\n 载入的库:/Users/haoran/.local/lib/libferry.2.dylib(文件已经被删掉)\nPID 1048 父进程 1 用户 root 已运行 15天5小时 程序 /opt/harborline/bin/gatewayd 【程序文件已经不在盘上】\n 命令行:gatewayd --config /opt/harborline/etc/gateway.toml\nPID 1065 父进程 971 用户 haoran 已运行 40分 程序 /usr/bin/ssh\n 命令行:ssh -p2222 deploy@build.internal.example\n\nlaunchd 管着的任务(launchctl list 里有的进程号):609、630、641、668、694、698、723、729、740\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "1044" ], "title": "进程 1044(lintfinch)的程序已经被删掉了,它还在跑" } ], "planted": [ "deleted-with-deleted-library" ], "near": [ "other-user-gone", "port-not-password" ], "boundary": [ "other-user-gone" ] }, { "id": "process-057", "group": "single", "facts": "这台 Mac 现在登录的用户是 linwei。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 14天21小时 程序 /sbin/launchd\nPID 446 父进程 1 用户 root 已运行 14天21小时 程序 /usr/libexec/securityd\nPID 487 父进程 1 用户 root 已运行 14天21小时 程序 /usr/sbin/bluetoothd\nPID 513 父进程 1 用户 root 已运行 14天21小时 程序 /usr/libexec/diskarbitrationd\nPID 552 父进程 1 用户 _mdnsresponder 已运行 14天21小时 程序 /usr/sbin/mDNSResponder\nPID 562 父进程 1 用户 root 已运行 14天21小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 589 父进程 1 用户 _locationd 已运行 14天21小时 程序 /usr/libexec/locationd\nPID 615 父进程 1 用户 root 已运行 14天21小时 程序 /usr/sbin/notifyd\nPID 619 父进程 1 用户 root 已运行 14天21小时 程序 /usr/libexec/thermalmonitord\nPID 630 父进程 1 用户 linwei 已运行 14天20小时 程序 /usr/libexec/lsd\nPID 652 父进程 1 用户 linwei 已运行 14天20小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 658 父进程 1 用户 linwei 已运行 14天20小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 676 父进程 1 用户 linwei 已运行 14天21小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 696 父进程 1 用户 linwei 已运行 14天20小时 程序 /usr/libexec/nsurlsessiond\nPID 730 父进程 1 用户 linwei 已运行 14天20小时 程序 /usr/libexec/UserEventAgent\nPID 752 父进程 1 用户 linwei 已运行 14天20小时 程序 /usr/libexec/rapportd\nPID 767 父进程 1 用户 linwei 已运行 14天21小时 程序 /usr/sbin/distnoted\nPID 772 父进程 1 用户 linwei 已运行 14天20小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 785 父进程 1 用户 linwei 已运行 7小时36分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 788 父进程 785 用户 linwei 已运行 7小时35分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 795 父进程 785 用户 linwei 已运行 7小时36分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 825 父进程 1 用户 linwei 已运行 18小时15分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 853 父进程 825 用户 linwei 已运行 3小时58分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 863 父进程 825 用户 linwei 已运行 5小时52分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Plugin).app/Contents/MacOS/Tarnwell Helper (Plugin)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 867 父进程 825 用户 linwei 已运行 6小时5分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 905 父进程 825 用户 linwei 已运行 8小时9分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 924 父进程 1 用户 linwei 已运行 5小时29分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 950 父进程 924 用户 linwei 已运行 5小时29分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libz.1.dylib\nPID 962 父进程 1 用户 linwei 已运行 13小时59分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 963 父进程 962 用户 linwei 已运行 13小时59分 程序 /bin/zsh\n 命令行:-zsh\nPID 973 父进程 962 用户 linwei 已运行 4小时8分 程序 /bin/zsh\n 命令行:-zsh\nPID 987 父进程 962 用户 linwei 已运行 13小时58分 程序 /bin/zsh\n 命令行:-zsh\nPID 1003 父进程 987 用户 linwei 已运行 3小时32分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1037 父进程 987 用户 linwei 已运行 2小时0分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1064 父进程 963 用户 linwei 已运行 7小时58分 程序 /Users/linwei/.local/bin/portloom\n 命令行:portloom poll --every 5s\nPID 1065 父进程 1064 用户 linwei 已运行 7分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1106 父进程 1064 用户 linwei 已运行 10分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1137 父进程 1064 用户 linwei 已运行 29分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1161 父进程 1064 用户 linwei 已运行 35分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1174 父进程 1064 用户 linwei 已运行 16分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1199 父进程 1064 用户 linwei 已运行 17分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1220 父进程 1064 用户 linwei 已运行 29分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1242 父进程 1064 用户 linwei 已运行 48分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1269 父进程 1064 用户 linwei 已运行 41分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1292 父进程 1064 用户 linwei 已运行 14分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1330 父进程 1064 用户 linwei 已运行 9分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1358 父进程 1064 用户 linwei 已运行 8分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1362 父进程 1064 用户 linwei 已运行 43分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1377 父进程 1064 用户 linwei 已运行 41分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1394 父进程 1064 用户 linwei 已运行 36分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1420 父进程 1064 用户 linwei 已运行 10分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1430 父进程 1064 用户 linwei 已运行 40分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1434 父进程 1064 用户 linwei 已运行 27分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1463 父进程 1064 用户 linwei 已运行 48分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1474 父进程 1064 用户 linwei 已运行 49分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1493 父进程 1064 用户 linwei 已运行 7分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1516 父进程 1064 用户 linwei 已运行 19分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1542 父进程 1064 用户 linwei 已运行 29分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1555 父进程 1064 用户 linwei 已运行 25分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1584 父进程 1064 用户 linwei 已运行 17分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1606 父进程 1064 用户 linwei 已运行 21分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1626 父进程 1064 用户 linwei 已运行 9分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1643 父进程 1064 用户 linwei 已运行 8分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1645 父进程 1064 用户 linwei 已运行 58分 程序 /bin/sleep\n 命令行:sleep 86400\n\nlaunchd 管着的任务(launchctl list 里有的进程号):630、652、658、676、696、730、752、767、772\n", "answer": [ { "rule": "process.pile-up", "kind": "pile-up", "severity": "medium", "verdict": "info", "targets": [ "1064", "1065", "1106", "1137", "1161", "1174", "1199", "1220", "1242", "1269", "1292", "1330", "1358", "1362", "1377", "1394", "1420", "1430", "1434", "1463", "1474", "1493", "1516", "1542", "1555", "1584", "1606", "1626", "1643", "1645" ], "title": "sleep 在同一个父进程下堆了 29 个" } ], "planted": [ "pile-up-many" ], "near": [] }, { "id": "process-058", "group": "single", "facts": "这台 Mac 现在登录的用户是 anika。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 7天19小时 程序 /sbin/launchd\nPID 342 父进程 1 用户 root 已运行 7天19小时 程序 /usr/libexec/thermalmonitord\nPID 374 父进程 1 用户 root 已运行 7天19小时 程序 /usr/libexec/airportd\nPID 407 父进程 1 用户 root 已运行 7天19小时 程序 /usr/libexec/opendirectoryd\nPID 422 父进程 1 用户 root 已运行 7天19小时 程序 /usr/sbin/cupsd\nPID 434 父进程 1 用户 root 已运行 7天19小时 程序 /usr/sbin/bluetoothd\nPID 455 父进程 1 用户 root 已运行 7天19小时 程序 /usr/sbin/notifyd\nPID 495 父进程 1 用户 _windowserver 已运行 7天19小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 515 父进程 1 用户 root 已运行 7天19小时 程序 /usr/libexec/configd\nPID 539 父进程 1 用户 root 已运行 7天19小时 程序 /usr/libexec/UserEventAgent\nPID 569 父进程 1 用户 root 已运行 7天19小时 程序 /usr/libexec/logd\nPID 584 父进程 1 用户 anika 已运行 7天18小时 程序 /usr/sbin/distnoted\nPID 601 父进程 1 用户 anika 已运行 7天19小时 程序 /usr/libexec/sharingd\nPID 612 父进程 1 用户 anika 已运行 7天19小时 程序 /usr/libexec/secd\nPID 649 父进程 1 用户 anika 已运行 7天18小时 程序 /usr/libexec/pboard\nPID 655 父进程 1 用户 anika 已运行 7天18小时 程序 /usr/sbin/cfprefsd\nPID 684 父进程 1 用户 anika 已运行 7天18小时 程序 /usr/libexec/trustd\nPID 689 父进程 1 用户 anika 已运行 7天18小时 程序 /usr/libexec/lsd\nPID 697 父进程 1 用户 anika 已运行 12小时14分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 716 父进程 697 用户 anika 已运行 8小时27分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libSystem.B.dylib\nPID 735 父进程 697 用户 anika 已运行 4小时56分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libSystem.B.dylib\nPID 737 父进程 697 用户 anika 已运行 2小时31分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libz.1.dylib\nPID 772 父进程 1 用户 anika 已运行 9小时0分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 793 父进程 772 用户 anika 已运行 6小时58分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 833 父进程 772 用户 anika 已运行 7小时31分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 844 父进程 772 用户 anika 已运行 53分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libz.1.dylib\nPID 871 父进程 772 用户 anika 已运行 3小时16分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Plugin).app/Contents/MacOS/Tarnwell Helper (Plugin)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 887 父进程 1 用户 anika 已运行 5小时42分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 924 父进程 887 用户 anika 已运行 3小时35分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 932 父进程 887 用户 anika 已运行 1小时29分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libobjc.A.dylib\nPID 938 父进程 887 用户 anika 已运行 5小时42分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libc++.1.dylib\nPID 960 父进程 887 用户 anika 已运行 1小时51分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (GPU).app/Contents/MacOS/Brackenmail Helper (GPU)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 986 父进程 1 用户 anika 已运行 1天6小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 1026 父进程 986 用户 anika 已运行 14小时13分 程序 /bin/zsh\n 命令行:-zsh\nPID 1055 父进程 986 用户 anika 已运行 20小时2分 程序 /bin/zsh\n 命令行:-zsh\nPID 1085 父进程 1026 用户 anika 已运行 1小时53分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1109 父进程 1055 用户 anika 已运行 22分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1117 父进程 1055 用户 anika 已运行 58分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1135 父进程 1055 用户 anika 已运行 20小时1分 程序 /Users/anika/.local/bin/syncferry\n 载入的库:/Users/anika/.local/lib/libferry.2.dylib(文件已经被删掉);/usr/lib/libSystem.B.dylib\nPID 1176 父进程 1055 用户 anika 已运行 5小时59分 程序 /Users/anika/.local/bin/cachewren\n 命令行:cachewren build --jobs 24\nPID 1188 父进程 1176 用户 anika 已运行 33分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1198 父进程 1176 用户 anika 已运行 12分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1211 父进程 1176 用户 anika 已运行 35分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1244 父进程 1176 用户 anika 已运行 49分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1251 父进程 1176 用户 anika 已运行 10分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1262 父进程 1176 用户 anika 已运行 45分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1274 父进程 1176 用户 anika 已运行 26分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1278 父进程 1176 用户 anika 已运行 25分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1300 父进程 1176 用户 anika 已运行 3分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1313 父进程 1176 用户 anika 已运行 8分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1335 父进程 1176 用户 anika 已运行 20分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1341 父进程 1176 用户 anika 已运行 33分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1370 父进程 1176 用户 anika 已运行 8分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1388 父进程 1176 用户 anika 已运行 23分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1390 父进程 1176 用户 anika 已运行 42分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1412 父进程 1176 用户 anika 已运行 14分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1442 父进程 1176 用户 anika 已运行 36分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1456 父进程 1176 用户 anika 已运行 49分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1493 父进程 1176 用户 anika 已运行 14分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1525 父进程 1176 用户 anika 已运行 2分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1538 父进程 1176 用户 anika 已运行 0分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1568 父进程 1176 用户 anika 已运行 11分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1587 父进程 1176 用户 anika 已运行 19分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1601 父进程 1176 用户 anika 已运行 32分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\n\nlaunchd 管着的任务(launchctl list 里有的进程号):584、601、612、649、655、684、689\n", "answer": [ { "rule": "process.library-deleted", "kind": "library-deleted", "severity": "medium", "verdict": "info", "targets": [ "1135" ], "title": "进程 1135(syncferry)载入的库 libferry.2.dylib 已经被删掉了,还在用" } ], "planted": [ "library-deleted" ], "near": [ "two-programs-12-each" ] }, { "id": "process-059", "group": "multi", "facts": "这台 Mac 现在登录的用户是 dalia。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 16天1小时 程序 /sbin/launchd\nPID 376 父进程 1 用户 root 已运行 16天1小时 程序 /usr/libexec/opendirectoryd\nPID 399 父进程 1 用户 root 已运行 16天1小时 程序 /usr/libexec/thermalmonitord\nPID 414 父进程 1 用户 root 已运行 16天1小时 程序 /usr/sbin/syslogd\nPID 446 父进程 1 用户 root 已运行 16天1小时 程序 /usr/libexec/UserEventAgent\nPID 449 父进程 1 用户 root 已运行 16天1小时 程序 /usr/libexec/securityd\nPID 456 父进程 1 用户 root 已运行 16天1小时 程序 /usr/sbin/cupsd\nPID 475 父进程 1 用户 root 已运行 16天1小时 程序 /usr/sbin/KernelEventAgent\nPID 499 父进程 1 用户 root 已运行 16天1小时 程序 /usr/libexec/diskarbitrationd\nPID 503 父进程 1 用户 root 已运行 16天1小时 程序 /usr/sbin/notifyd\nPID 539 父进程 1 用户 root 已运行 16天1小时 程序 /usr/libexec/logd\nPID 580 父进程 1 用户 root 已运行 16天1小时 程序 /usr/sbin/bluetoothd\nPID 610 父进程 1 用户 dalia 已运行 16天1小时 程序 /usr/sbin/distnoted\nPID 647 父进程 1 用户 dalia 已运行 16天1小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 683 父进程 1 用户 dalia 已运行 16天1小时 程序 /usr/libexec/pboard\nPID 707 父进程 1 用户 dalia 已运行 16天1小时 程序 /usr/libexec/rapportd\nPID 745 父进程 1 用户 dalia 已运行 16天1小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 749 父进程 1 用户 dalia 已运行 16天1小时 程序 /usr/libexec/sharingd\nPID 760 父进程 1 用户 dalia 已运行 16天1小时 程序 /usr/libexec/trustd\nPID 787 父进程 1 用户 dalia 已运行 16天1小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 814 父进程 1 用户 dalia 已运行 1天1小时 程序 /Applications/Vextra.app/Contents/MacOS/Vextra\n 命令行:/Applications/Vextra.app/Contents/MacOS/Vextra\nPID 831 父进程 814 用户 dalia 已运行 8小时9分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Plugin).app/Contents/MacOS/Vextra Helper (Plugin)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 859 父进程 814 用户 dalia 已运行 5小时15分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 868 父进程 1 用户 dalia 已运行 14小时35分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 888 父进程 868 用户 dalia 已运行 3小时29分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 902 父进程 868 用户 dalia 已运行 7小时21分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libz.1.dylib\nPID 908 父进程 1 用户 dalia 已运行 1天5小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 928 父进程 908 用户 dalia 已运行 1小时31分 程序 /bin/zsh\n 命令行:-zsh\nPID 963 父进程 908 用户 dalia 已运行 1天0小时 程序 /bin/zsh\n 命令行:-zsh\nPID 982 父进程 908 用户 dalia 已运行 2小时50分 程序 /bin/zsh\n 命令行:-zsh\nPID 992 父进程 982 用户 dalia 已运行 2小时50分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 993 父进程 982 用户 dalia 已运行 3分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1007 父进程 982 用户 dalia 已运行 1小时1分 程序 /bin/zsh\n 命令行:zsh\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/dalia/.cache/io.example.overlay/hook.dylib(签名:开发者签名,团队 Q9B6NH2YKC)\nPID 1035 父进程 1007 用户 dalia 已运行 6分 程序 /Users/dalia/.local/bin/buildkiln\n 命令行:buildkiln run\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/dalia/.cache/io.example.overlay/hook.dylib(签名:开发者签名,团队 Q9B6NH2YKC)\nPID 1046 父进程 928 用户 dalia 已运行 1小时30分 程序 /Users/dalia/.local/bin/syncferry\n 命令行:syncferry poll --every 5s\nPID 1073 父进程 1046 用户 dalia 已运行 41分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1092 父进程 1046 用户 dalia 已运行 49分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1125 父进程 1046 用户 dalia 已运行 46分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1159 父进程 1046 用户 dalia 已运行 12分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1190 父进程 1046 用户 dalia 已运行 19分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1221 父进程 1046 用户 dalia 已运行 43分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1244 父进程 1046 用户 dalia 已运行 1分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1284 父进程 1046 用户 dalia 已运行 13分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1296 父进程 1046 用户 dalia 已运行 46分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1317 父进程 1046 用户 dalia 已运行 11分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1318 父进程 1046 用户 dalia 已运行 53分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1345 父进程 1046 用户 dalia 已运行 3分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1373 父进程 1046 用户 dalia 已运行 29分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1376 父进程 1046 用户 dalia 已运行 37分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1406 父进程 1046 用户 dalia 已运行 7分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1424 父进程 1046 用户 dalia 已运行 27分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1430 父进程 1046 用户 dalia 已运行 48分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1444 父进程 1046 用户 dalia 已运行 49分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1479 父进程 1046 用户 dalia 已运行 34分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1494 父进程 1046 用户 dalia 已运行 33分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1507 父进程 928 用户 dalia 已运行 1小时31分 程序 /Users/dalia/.local/bin/tidewatch 【程序文件已经不在盘上】\n 命令行:tidewatch serve --config dev.toml\n\nlaunchd 管着的任务(launchctl list 里有的进程号):610、647、683、707、745、749、760、787\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "1507" ], "title": "进程 1507(tidewatch)的程序已经被删掉了,它还在跑" }, { "rule": "process.dyld-insert", "kind": "dyld-insert", "severity": "medium", "verdict": "info", "targets": [ "1007", "1035" ], "title": "2 个进程启动时带着 DYLD_INSERT_LIBRARIES,要先载入 hook.dylib" }, { "rule": "process.pile-up", "kind": "pile-up", "severity": "medium", "verdict": "info", "targets": [ "1046", "1073", "1092", "1125", "1159", "1190", "1221", "1244", "1284", "1296", "1317", "1318", "1345", "1373", "1376", "1406", "1424", "1430", "1444", "1479", "1494" ], "title": "sleep 在同一个父进程下堆了 20 个" } ], "planted": [ "dyld-insert-developer", "pile-up-20", "deleted-tool" ], "near": [] }, { "id": "process-060", "group": "single", "facts": "这台 Mac 现在登录的用户是 anika。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 7天13小时 程序 /sbin/launchd\nPID 429 父进程 1 用户 root 已运行 7天13小时 程序 /usr/sbin/KernelEventAgent\nPID 440 父进程 1 用户 root 已运行 7天13小时 程序 /usr/libexec/UserEventAgent\nPID 456 父进程 1 用户 root 已运行 7天13小时 程序 /usr/libexec/opendirectoryd\nPID 465 父进程 1 用户 root 已运行 7天13小时 程序 /usr/libexec/diskarbitrationd\nPID 488 父进程 1 用户 root 已运行 7天13小时 程序 /usr/sbin/notifyd\nPID 517 父进程 1 用户 root 已运行 7天13小时 程序 /usr/libexec/airportd\nPID 523 父进程 1 用户 root 已运行 7天13小时 程序 /usr/libexec/watchdogd\nPID 554 父进程 1 用户 root 已运行 7天13小时 程序 /usr/libexec/securityd\nPID 585 父进程 1 用户 _locationd 已运行 7天13小时 程序 /usr/libexec/locationd\nPID 610 父进程 1 用户 _coreaudiod 已运行 7天13小时 程序 /usr/sbin/coreaudiod\nPID 636 父进程 1 用户 anika 已运行 7天13小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 654 父进程 1 用户 anika 已运行 7天13小时 程序 /usr/sbin/usernoted\nPID 678 父进程 1 用户 anika 已运行 7天13小时 程序 /usr/libexec/trustd\nPID 709 父进程 1 用户 anika 已运行 7天13小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 721 父进程 1 用户 anika 已运行 7天13小时 程序 /usr/sbin/distnoted\nPID 748 父进程 1 用户 anika 已运行 7天13小时 程序 /usr/libexec/secd\nPID 751 父进程 1 用户 anika 已运行 7天13小时 程序 /usr/libexec/pboard\nPID 781 父进程 1 用户 anika 已运行 17小时18分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 797 父进程 781 用户 anika 已运行 14分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libSystem.B.dylib\nPID 799 父进程 1 用户 anika 已运行 19小时59分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 811 父进程 799 用户 anika 已运行 1小时9分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libobjc.A.dylib\nPID 824 父进程 1 用户 anika 已运行 19小时31分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 838 父进程 824 用户 anika 已运行 8小时11分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libz.1.dylib\nPID 839 父进程 824 用户 anika 已运行 3小时52分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 853 父进程 824 用户 anika 已运行 9小时55分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 886 父进程 824 用户 anika 已运行 7小时40分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libSystem.B.dylib\nPID 925 父进程 1 用户 anika 已运行 1天9小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 949 父进程 925 用户 anika 已运行 16小时26分 程序 /bin/zsh\n 命令行:-zsh\nPID 970 父进程 925 用户 anika 已运行 13小时59分 程序 /bin/zsh\n 命令行:-zsh\nPID 974 父进程 925 用户 anika 已运行 1天4小时 程序 /bin/zsh\n 命令行:-zsh\nPID 1004 父进程 970 用户 anika 已运行 2小时32分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1019 父进程 949 用户 anika 已运行 3小时6分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1056 父进程 1 用户 anika 已运行 7天13小时 程序 /opt/homebrew/bin/caddy\n 命令行:caddy run --config /Users/anika/Caddyfile\nPID 1095 父进程 1 用户 anika 已运行 19分 程序 /private/var/folders/x2/_w677ks59sdgc_4_k4nd9h0t2vt4xn/T/AppTranslocation/0A1B2C3D-0000-4000-8000-657818285066/d/Tarnwell.app/Contents/MacOS/Tarnwell\n 载入的库:/private/var/folders/x2/_w677ks59sdgc_4_k4nd9h0t2vt4xn/T/AppTranslocation/0A1B2C3D-0000-4000-8000-657818285066/d/Tarnwell.app/Contents/Frameworks/TarnwellKit.framework/TarnwellKit\nPID 1109 父进程 1 用户 anika 已运行 7天13小时 程序 /usr/libexec/rapportd\n 监听:0.0.0.0:7000\n\nlaunchd 管着的任务(launchctl list 里有的进程号):636、654、678、709、721、748、751、1109\n", "answer": [ { "rule": "process.orphan", "kind": "orphan", "severity": "low", "verdict": "info", "targets": [ "1056" ], "title": "1 个后台进程的父进程已经退出,还在跑" } ], "planted": [ "orphan" ], "near": [ "library-in-own-bundle", "system-listening-everywhere" ] }, { "id": "process-061", "group": "multi", "facts": "这台 Mac 现在登录的用户是 soren。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 16天16小时 程序 /sbin/launchd\nPID 415 父进程 1 用户 root 已运行 16天16小时 程序 /usr/libexec/thermalmonitord\nPID 423 父进程 1 用户 root 已运行 16天16小时 程序 /usr/libexec/diskarbitrationd\nPID 430 父进程 1 用户 root 已运行 16天16小时 程序 /usr/libexec/opendirectoryd\nPID 466 父进程 1 用户 _coreaudiod 已运行 16天16小时 程序 /usr/sbin/coreaudiod\nPID 481 父进程 1 用户 root 已运行 16天16小时 程序 /usr/libexec/watchdogd\nPID 522 父进程 1 用户 root 已运行 16天16小时 程序 /usr/sbin/cupsd\nPID 563 父进程 1 用户 root 已运行 16天16小时 程序 /usr/sbin/notifyd\nPID 570 父进程 1 用户 _mdnsresponder 已运行 16天16小时 程序 /usr/sbin/mDNSResponder\nPID 582 父进程 1 用户 root 已运行 16天16小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 607 父进程 1 用户 soren 已运行 16天15小时 程序 /usr/libexec/UserEventAgent\nPID 635 父进程 1 用户 soren 已运行 16天15小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 665 父进程 1 用户 soren 已运行 16天15小时 程序 /usr/libexec/secd\nPID 682 父进程 1 用户 soren 已运行 16天15小时 程序 /usr/sbin/cfprefsd\nPID 705 父进程 1 用户 soren 已运行 16天15小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 736 父进程 1 用户 soren 已运行 16天15小时 程序 /usr/libexec/pboard\nPID 767 父进程 1 用户 soren 已运行 16天15小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 808 父进程 1 用户 soren 已运行 18小时5分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 845 父进程 808 用户 soren 已运行 8小时58分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 864 父进程 808 用户 soren 已运行 8小时54分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Plugin).app/Contents/MacOS/Saltmarsh Helper (Plugin)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libz.1.dylib\nPID 875 父进程 1 用户 soren 已运行 16小时42分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 895 父进程 875 用户 soren 已运行 9小时48分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Plugin).app/Contents/MacOS/Ondolo Helper (Plugin)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 931 父进程 875 用户 soren 已运行 9小时42分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libobjc.A.dylib\nPID 972 父进程 1 用户 soren 已运行 15小时41分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 981 父进程 972 用户 soren 已运行 8小时49分 程序 /bin/zsh\n 命令行:-zsh\nPID 1016 父进程 972 用户 soren 已运行 15小时40分 程序 /bin/zsh\n 命令行:-zsh\nPID 1022 父进程 972 用户 soren 已运行 12小时38分 程序 /bin/zsh\n 命令行:-zsh\nPID 1052 父进程 1022 用户 soren 已运行 4小时6分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/soren/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1058 父进程 981 用户 soren 已运行 3小时3分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1088 父进程 1022 用户 soren 已运行 2小时14分 程序 /Users/soren/.local/bin/logharbor\n 命令行:logharbor sync --token=NvB9lLVyY4uHFhGxSF\nPID 1103 父进程 1 用户 soren 已运行 2天6小时 程序 /Users/soren/Applications/Quillbay.app/Contents/MacOS/Quillbay Agent 【程序文件已经不在盘上】\nPID 1144 父进程 1 用户 soren 已运行 2天6小时 程序 /Users/soren/Applications/Quillbay.app/Contents/MacOS/Quillbay Agent 【程序文件已经不在盘上】\nPID 1163 父进程 1 用户 soren 已运行 16天15小时 程序 /usr/libexec/rapportd\n 监听:0.0.0.0:49152\n\nlaunchd 管着的任务(launchctl list 里有的进程号):607、635、665、682、705、736、767、1163\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "1103", "1144" ], "title": "2 个 Quillbay Agent 进程的程序已经被删掉了,还在跑" }, { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1088" ], "title": "正在运行的 logharbor 命令行里带着参数 --token" } ], "planted": [ "secret-flag", "deleted-app" ], "near": [ "system-listening-everywhere" ] }, { "id": "process-062", "group": "multi", "facts": "这台 Mac 现在登录的用户是 anika。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 6天8小时 程序 /sbin/launchd\nPID 375 父进程 1 用户 root 已运行 6天8小时 程序 /usr/sbin/notifyd\nPID 383 父进程 1 用户 root 已运行 6天8小时 程序 /usr/libexec/opendirectoryd\nPID 418 父进程 1 用户 root 已运行 6天8小时 程序 /usr/sbin/bluetoothd\nPID 429 父进程 1 用户 root 已运行 6天8小时 程序 /usr/libexec/airportd\nPID 469 父进程 1 用户 root 已运行 6天8小时 程序 /usr/libexec/configd\nPID 497 父进程 1 用户 root 已运行 6天8小时 程序 /usr/libexec/thermalmonitord\nPID 533 父进程 1 用户 root 已运行 6天8小时 程序 /usr/libexec/securityd\nPID 574 父进程 1 用户 anika 已运行 6天8小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 605 父进程 1 用户 anika 已运行 6天8小时 程序 /usr/sbin/usernoted\nPID 618 父进程 1 用户 anika 已运行 6天8小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 624 父进程 1 用户 anika 已运行 6天8小时 程序 /usr/libexec/rapportd\nPID 643 父进程 1 用户 anika 已运行 6天7小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 649 父进程 1 用户 anika 已运行 6天8小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 674 父进程 1 用户 anika 已运行 6小时47分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 698 父进程 674 用户 anika 已运行 6小时43分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libobjc.A.dylib\nPID 718 父进程 674 用户 anika 已运行 33分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 726 父进程 1 用户 anika 已运行 20小时34分 程序 /Applications/Vextra.app/Contents/MacOS/Vextra\n 命令行:/Applications/Vextra.app/Contents/MacOS/Vextra\nPID 748 父进程 726 用户 anika 已运行 15分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libc++.1.dylib\nPID 783 父进程 726 用户 anika 已运行 9小时9分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (GPU).app/Contents/MacOS/Vextra Helper (GPU)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libSystem.B.dylib\nPID 791 父进程 726 用户 anika 已运行 2小时35分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 797 父进程 726 用户 anika 已运行 24分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libz.1.dylib\nPID 812 父进程 1 用户 anika 已运行 1天10小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 822 父进程 812 用户 anika 已运行 5小时57分 程序 /bin/zsh\n 命令行:-zsh\nPID 843 父进程 812 用户 anika 已运行 9小时6分 程序 /bin/zsh\n 命令行:-zsh\nPID 882 父进程 822 用户 anika 已运行 2小时29分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 905 父进程 843 用户 anika 已运行 1小时23分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 921 父进程 822 用户 anika 已运行 40分 程序 /usr/bin/tail\n 命令行:tail -f /Users/anika/Projects/harbor-site/logs/dev.log\nPID 945 父进程 843 用户 anika 已运行 5小时8分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 192.168.17.120 9000\n 监听:192.168.17.120:9000\nPID 974 父进程 1 用户 anika 已运行 9小时18分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy run --config /Users/anika/Caddyfile\nPID 1001 父进程 1 用户 anika 已运行 5天19小时 程序 /Users/anika/Applications/Ondolo.app/Contents/MacOS/Ondolo Agent 【程序文件已经不在盘上】\nPID 1022 父进程 1 用户 anika 已运行 5天19小时 程序 /Users/anika/Applications/Ondolo.app/Contents/MacOS/Ondolo Agent 【程序文件已经不在盘上】\nPID 1038 父进程 1 用户 anika 已运行 5天19小时 程序 /Users/anika/Applications/Ondolo.app/Contents/MacOS/Ondolo Agent 【程序文件已经不在盘上】\nPID 1077 父进程 1 用户 anika 已运行 5天19小时 程序 /Users/anika/Applications/Ondolo.app/Contents/MacOS/Ondolo Agent 【程序文件已经不在盘上】\nPID 1112 父进程 1 用户 root 已运行 6天8小时 程序 /opt/harborline/bin/gatewayd 【程序文件已经不在盘上】\n 命令行:gatewayd --config /opt/harborline/etc/gateway.toml\n\nlaunchd 管着的任务(launchctl list 里有的进程号):574、605、618、624、643、649\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "1001", "1022", "1038", "1077" ], "title": "4 个 Ondolo Agent 进程的程序已经被删掉了,还在跑" }, { "rule": "process.orphan", "kind": "orphan", "severity": "low", "verdict": "info", "targets": [ "974" ], "title": "1 个后台进程的父进程已经退出,还在跑" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "945" ], "title": "python3.13 在局域网地址上监听 9000 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-lan", "orphan", "deleted-app" ], "near": [ "other-user-gone" ], "boundary": [ "other-user-gone" ] }, { "id": "process-063", "group": "near", "facts": "这台 Mac 现在登录的用户是 linwei。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 11天0小时 程序 /sbin/launchd\nPID 468 父进程 1 用户 root 已运行 11天0小时 程序 /usr/libexec/configd\nPID 499 父进程 1 用户 root 已运行 11天0小时 程序 /usr/sbin/bluetoothd\nPID 509 父进程 1 用户 _mdnsresponder 已运行 11天0小时 程序 /usr/sbin/mDNSResponder\nPID 544 父进程 1 用户 root 已运行 11天0小时 程序 /usr/libexec/opendirectoryd\nPID 552 父进程 1 用户 _windowserver 已运行 11天0小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 591 父进程 1 用户 _locationd 已运行 11天0小时 程序 /usr/libexec/locationd\nPID 595 父进程 1 用户 root 已运行 11天0小时 程序 /usr/libexec/diskarbitrationd\nPID 627 父进程 1 用户 root 已运行 11天0小时 程序 /usr/sbin/syslogd\nPID 640 父进程 1 用户 root 已运行 11天0小时 程序 /usr/libexec/logd\nPID 658 父进程 1 用户 linwei 已运行 10天23小时 程序 /usr/libexec/pboard\nPID 672 父进程 1 用户 linwei 已运行 10天23小时 程序 /usr/sbin/cfprefsd\nPID 706 父进程 1 用户 linwei 已运行 10天23小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 746 父进程 1 用户 linwei 已运行 10天23小时 程序 /usr/sbin/distnoted\nPID 783 父进程 1 用户 linwei 已运行 10天23小时 程序 /usr/libexec/trustd\nPID 819 父进程 1 用户 linwei 已运行 10天23小时 程序 /usr/libexec/sharingd\nPID 852 父进程 1 用户 linwei 已运行 10天23小时 程序 /usr/libexec/nsurlsessiond\nPID 881 父进程 1 用户 linwei 已运行 14小时38分 程序 /Applications/Vextra.app/Contents/MacOS/Vextra\n 命令行:/Applications/Vextra.app/Contents/MacOS/Vextra\nPID 894 父进程 881 用户 linwei 已运行 3小时26分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libSystem.B.dylib\nPID 916 父进程 881 用户 linwei 已运行 7小时36分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Plugin).app/Contents/MacOS/Vextra Helper (Plugin)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 920 父进程 1 用户 linwei 已运行 1天3小时 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 924 父进程 920 用户 linwei 已运行 6小时23分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 952 父进程 1 用户 linwei 已运行 12小时51分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 954 父进程 952 用户 linwei 已运行 12小时4分 程序 /bin/zsh\n 命令行:-zsh\nPID 992 父进程 952 用户 linwei 已运行 12小时51分 程序 /bin/zsh\n 命令行:-zsh\nPID 1017 父进程 952 用户 linwei 已运行 12小时50分 程序 /bin/zsh\n 命令行:-zsh\nPID 1026 父进程 992 用户 linwei 已运行 1小时40分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1062 父进程 1017 用户 linwei 已运行 4小时16分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1098 父进程 1017 用户 linwei 已运行 12小时50分 程序 /Users/linwei/.local/bin/logharbor\n 命令行:logharbor build --jobs 24\nPID 1099 父进程 1098 用户 linwei 已运行 19分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1129 父进程 1098 用户 linwei 已运行 43分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1149 父进程 1098 用户 linwei 已运行 42分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1161 父进程 1098 用户 linwei 已运行 27分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1202 父进程 1098 用户 linwei 已运行 31分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1222 父进程 1098 用户 linwei 已运行 15分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1237 父进程 1098 用户 linwei 已运行 23分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1246 父进程 1098 用户 linwei 已运行 20分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1282 父进程 1098 用户 linwei 已运行 49分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1298 父进程 1098 用户 linwei 已运行 29分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1309 父进程 1098 用户 linwei 已运行 31分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1323 父进程 1098 用户 linwei 已运行 40分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1344 父进程 1098 用户 linwei 已运行 21分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1379 父进程 1098 用户 linwei 已运行 6分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1385 父进程 1098 用户 linwei 已运行 40分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1393 父进程 1098 用户 linwei 已运行 1分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1399 父进程 1098 用户 linwei 已运行 45分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1400 父进程 1098 用户 linwei 已运行 24分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1402 父进程 1098 用户 linwei 已运行 31分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1418 父进程 1098 用户 linwei 已运行 22分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1433 父进程 1098 用户 linwei 已运行 14分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1463 父进程 1098 用户 linwei 已运行 32分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1496 父进程 1098 用户 linwei 已运行 47分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1537 父进程 1098 用户 linwei 已运行 2分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1551 父进程 1 用户 linwei 已运行 8天4小时 程序 /Users/linwei/.local/bin/syncferry\n 命令行:syncferry agent --launchd\n\nlaunchd 管着的任务(launchctl list 里有的进程号):658、672、706、746、783、819、852、1551\n", "answer": [], "planted": [], "near": [ "two-programs-12-each", "launchd-job" ] }, { "id": "process-064", "group": "multi", "facts": "这台 Mac 现在登录的用户是 linwei。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 8天16小时 程序 /sbin/launchd\nPID 316 父进程 1 用户 root 已运行 8天16小时 程序 /usr/sbin/bluetoothd\nPID 354 父进程 1 用户 root 已运行 8天16小时 程序 /usr/libexec/UserEventAgent\nPID 357 父进程 1 用户 _windowserver 已运行 8天16小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 361 父进程 1 用户 root 已运行 8天16小时 程序 /usr/sbin/KernelEventAgent\nPID 365 父进程 1 用户 root 已运行 8天16小时 程序 /usr/libexec/thermalmonitord\nPID 384 父进程 1 用户 _coreaudiod 已运行 8天16小时 程序 /usr/sbin/coreaudiod\nPID 388 父进程 1 用户 root 已运行 8天16小时 程序 /usr/libexec/configd\nPID 402 父进程 1 用户 root 已运行 8天16小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 412 父进程 1 用户 root 已运行 8天16小时 程序 /usr/sbin/notifyd\nPID 445 父进程 1 用户 root 已运行 8天16小时 程序 /usr/sbin/syslogd\nPID 450 父进程 1 用户 linwei 已运行 8天15小时 程序 /usr/libexec/secd\nPID 485 父进程 1 用户 linwei 已运行 8天15小时 程序 /usr/sbin/distnoted\nPID 494 父进程 1 用户 linwei 已运行 8天15小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 528 父进程 1 用户 linwei 已运行 8天15小时 程序 /usr/libexec/sharingd\nPID 542 父进程 1 用户 linwei 已运行 8天15小时 程序 /usr/libexec/trustd\nPID 583 父进程 1 用户 linwei 已运行 8天16小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 591 父进程 1 用户 linwei 已运行 8天15小时 程序 /usr/sbin/cfprefsd\nPID 624 父进程 1 用户 linwei 已运行 8天16小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 649 父进程 1 用户 linwei 已运行 8天15小时 程序 /usr/libexec/lsd\nPID 679 父进程 1 用户 linwei 已运行 1小时32分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 686 父进程 679 用户 linwei 已运行 1小时32分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 694 父进程 679 用户 linwei 已运行 1小时31分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Plugin).app/Contents/MacOS/Saltmarsh Helper (Plugin)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libc++.1.dylib\nPID 696 父进程 679 用户 linwei 已运行 1小时32分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 722 父进程 1 用户 linwei 已运行 4小时15分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 749 父进程 722 用户 linwei 已运行 4小时15分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libobjc.A.dylib\nPID 789 父进程 1 用户 linwei 已运行 18小时41分 程序 /Applications/Vextra.app/Contents/MacOS/Vextra\n 命令行:/Applications/Vextra.app/Contents/MacOS/Vextra\nPID 819 父进程 789 用户 linwei 已运行 1小时34分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 840 父进程 789 用户 linwei 已运行 5小时42分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libobjc.A.dylib\nPID 861 父进程 789 用户 linwei 已运行 3小时59分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Plugin).app/Contents/MacOS/Vextra Helper (Plugin)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libc++.1.dylib\nPID 899 父进程 1 用户 linwei 已运行 12小时50分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 926 父进程 899 用户 linwei 已运行 12小时50分 程序 /bin/zsh\n 命令行:-zsh\nPID 933 父进程 899 用户 linwei 已运行 12小时50分 程序 /bin/zsh\n 命令行:-zsh\nPID 973 父进程 899 用户 linwei 已运行 12小时50分 程序 /bin/zsh\n 命令行:-zsh\nPID 1012 父进程 933 用户 linwei 已运行 47分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1050 父进程 926 用户 linwei 已运行 45分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1061 父进程 926 用户 linwei 已运行 7分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1081 父进程 973 用户 linwei 已运行 12小时49分 程序 /Users/linwei/.local/bin/portloom\n 命令行:portloom watch\n 载入的库:/Users/linwei/Downloads/plugin-pack/libplugin.dylib(签名:临时签名,没有开发者担保);/usr/lib/libz.1.dylib;/Users/linwei/.local/lib/libcommon.1.dylib\nPID 1114 父进程 933 用户 linwei 已运行 7分 程序 /Users/linwei/.local/bin/tidewatch\n 载入的库:/private/var/folders/pt/l9d59lyh7417x76hg51f8lkpp0zqw1/T/com.apple.dt.cache-fR6vIV/libPreview.dylib(签名:Apple 签名)\nPID 1151 父进程 973 用户 linwei 已运行 59分 程序 /Users/linwei/.local/bin/mapquill\n 命令行:mapquill serve --listen 127.0.0.1:3000\n 监听:127.0.0.1:3000\n\nlaunchd 管着的任务(launchctl list):没有答复,这一次没读到。\n", "answer": [ { "rule": "process.library-temp", "kind": "library-temp", "severity": "medium", "verdict": "info", "targets": [ "1081" ], "title": "进程 1081(portloom)载入了下载文件夹里的库 libplugin.dylib" }, { "rule": "process.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "launchctl 没答复,这一轮没查孤儿进程" } ], "planted": [ "no-launchctl", "library-downloads" ], "near": [ "apple-library-in-temp", "listening-loopback" ] }, { "id": "process-065", "group": "single", "facts": "这台 Mac 现在登录的用户是 meilin。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 16天15小时 程序 /sbin/launchd\nPID 390 父进程 1 用户 _coreaudiod 已运行 16天15小时 程序 /usr/sbin/coreaudiod\nPID 407 父进程 1 用户 root 已运行 16天15小时 程序 /usr/libexec/thermalmonitord\nPID 424 父进程 1 用户 _mdnsresponder 已运行 16天15小时 程序 /usr/sbin/mDNSResponder\nPID 451 父进程 1 用户 root 已运行 16天15小时 程序 /usr/libexec/UserEventAgent\nPID 474 父进程 1 用户 root 已运行 16天15小时 程序 /usr/libexec/configd\nPID 505 父进程 1 用户 root 已运行 16天15小时 程序 /usr/sbin/cupsd\nPID 532 父进程 1 用户 root 已运行 16天15小时 程序 /usr/libexec/opendirectoryd\nPID 540 父进程 1 用户 root 已运行 16天15小时 程序 /usr/libexec/airportd\nPID 572 父进程 1 用户 meilin 已运行 16天15小时 程序 /usr/sbin/distnoted\nPID 588 父进程 1 用户 meilin 已运行 16天15小时 程序 /usr/libexec/sharingd\nPID 610 父进程 1 用户 meilin 已运行 16天15小时 程序 /usr/libexec/UserEventAgent\nPID 635 父进程 1 用户 meilin 已运行 16天14小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 637 父进程 1 用户 meilin 已运行 16天15小时 程序 /usr/libexec/trustd\nPID 654 父进程 1 用户 meilin 已运行 16天14小时 程序 /usr/sbin/usernoted\nPID 665 父进程 1 用户 meilin 已运行 16天15小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 677 父进程 1 用户 meilin 已运行 16天14小时 程序 /usr/libexec/lsd\nPID 697 父进程 1 用户 meilin 已运行 16天15小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 705 父进程 1 用户 meilin 已运行 1天0小时 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 718 父进程 705 用户 meilin 已运行 8小时6分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 724 父进程 705 用户 meilin 已运行 5小时6分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (GPU).app/Contents/MacOS/Quillbay Helper (GPU)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libc++.1.dylib\nPID 759 父进程 705 用户 meilin 已运行 7小时8分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libc++.1.dylib\nPID 768 父进程 705 用户 meilin 已运行 3小时4分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 776 父进程 1 用户 meilin 已运行 1天3小时 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 814 父进程 776 用户 meilin 已运行 8小时1分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Plugin).app/Contents/MacOS/Brackenmail Helper (Plugin)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libSystem.B.dylib\nPID 855 父进程 776 用户 meilin 已运行 5小时16分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libSystem.B.dylib\nPID 856 父进程 1 用户 meilin 已运行 1天3小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 872 父进程 856 用户 meilin 已运行 1天3小时 程序 /bin/zsh\n 命令行:-zsh\nPID 876 父进程 856 用户 meilin 已运行 7小时39分 程序 /bin/zsh\n 命令行:-zsh\nPID 884 父进程 856 用户 meilin 已运行 1天2小时 程序 /bin/zsh\n 命令行:-zsh\nPID 904 父进程 884 用户 meilin 已运行 49分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/meilin/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 914 父进程 884 用户 meilin 已运行 2小时36分 程序 /usr/bin/tail\n 命令行:tail -f /Users/meilin/Projects/harbor-site/logs/dev.log\nPID 945 父进程 884 用户 meilin 已运行 24分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 981 父进程 876 用户 meilin 已运行 4小时25分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1013 父进程 876 用户 meilin 已运行 4小时14分 程序 /Users/meilin/.local/bin/portloom\n 命令行:portloom migrate --database-url postgres://app:27VfHq1gKRvY@db.internal.example:5432/app\nPID 1032 父进程 876 用户 meilin 已运行 7小时38分 程序 /Users/meilin/.local/bin/tidewatch\n 命令行:tidewatch build --jobs 24\nPID 1064 父进程 1032 用户 meilin 已运行 48分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1087 父进程 1032 用户 meilin 已运行 15分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1117 父进程 1032 用户 meilin 已运行 44分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1150 父进程 1032 用户 meilin 已运行 33分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1166 父进程 1032 用户 meilin 已运行 30分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1194 父进程 1032 用户 meilin 已运行 5分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1230 父进程 1032 用户 meilin 已运行 16分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1270 父进程 1032 用户 meilin 已运行 36分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1274 父进程 1032 用户 meilin 已运行 2分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1298 父进程 1032 用户 meilin 已运行 40分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1334 父进程 1032 用户 meilin 已运行 18分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1361 父进程 1032 用户 meilin 已运行 18分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1384 父进程 1032 用户 meilin 已运行 39分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1389 父进程 1032 用户 meilin 已运行 21分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1396 父进程 1032 用户 meilin 已运行 49分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1415 父进程 1032 用户 meilin 已运行 9分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1454 父进程 1032 用户 meilin 已运行 8分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1461 父进程 1032 用户 meilin 已运行 22分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1482 父进程 1032 用户 meilin 已运行 6分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1496 父进程 1032 用户 meilin 已运行 19分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1506 父进程 1032 用户 meilin 已运行 31分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1540 父进程 1032 用户 meilin 已运行 41分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1556 父进程 1032 用户 meilin 已运行 16分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1566 父进程 1032 用户 meilin 已运行 47分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1573 父进程 872 用户 meilin 已运行 36分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy file-server --listen [::1]:8080\n 监听:[::1]:8080\n\nlaunchd 管着的任务(launchctl list 里有的进程号):572、588、610、635、637、654、665、677、697\n", "answer": [ { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1013" ], "title": "正在运行的 portloom 命令行里带着网址里的密码" } ], "planted": [ "secret-url" ], "near": [ "two-programs-12-each", "listening-loopback" ] }, { "id": "process-066", "group": "multi", "facts": "这台 Mac 现在登录的用户是 dalia。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 2天19小时 程序 /sbin/launchd\nPID 437 父进程 1 用户 root 已运行 2天19小时 程序 /usr/sbin/bluetoothd\nPID 451 父进程 1 用户 root 已运行 2天19小时 程序 /usr/sbin/syslogd\nPID 492 父进程 1 用户 root 已运行 2天19小时 程序 /usr/libexec/configd\nPID 495 父进程 1 用户 _mdnsresponder 已运行 2天19小时 程序 /usr/sbin/mDNSResponder\nPID 518 父进程 1 用户 root 已运行 2天19小时 程序 /usr/libexec/securityd\nPID 529 父进程 1 用户 root 已运行 2天19小时 程序 /usr/libexec/thermalmonitord\nPID 535 父进程 1 用户 root 已运行 2天19小时 程序 /usr/libexec/watchdogd\nPID 566 父进程 1 用户 dalia 已运行 2天18小时 程序 /usr/libexec/trustd\nPID 571 父进程 1 用户 dalia 已运行 2天19小时 程序 /usr/sbin/cfprefsd\nPID 574 父进程 1 用户 dalia 已运行 2天19小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 592 父进程 1 用户 dalia 已运行 2天18小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 613 父进程 1 用户 dalia 已运行 2天19小时 程序 /usr/libexec/rapportd\nPID 652 父进程 1 用户 dalia 已运行 2天19小时 程序 /usr/libexec/lsd\nPID 681 父进程 1 用户 dalia 已运行 1天2小时 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 717 父进程 681 用户 dalia 已运行 7小时11分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 738 父进程 681 用户 dalia 已运行 2小时23分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libc++.1.dylib\nPID 745 父进程 681 用户 dalia 已运行 3小时9分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libobjc.A.dylib\nPID 746 父进程 1 用户 dalia 已运行 1天4小时 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 753 父进程 746 用户 dalia 已运行 7小时17分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libobjc.A.dylib\nPID 775 父进程 746 用户 dalia 已运行 4小时33分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libSystem.B.dylib\nPID 797 父进程 1 用户 dalia 已运行 7小时46分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 824 父进程 797 用户 dalia 已运行 6小时17分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libz.1.dylib\nPID 849 父进程 797 用户 dalia 已运行 7小时39分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Plugin).app/Contents/MacOS/Tarnwell Helper (Plugin)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libc++.1.dylib\nPID 859 父进程 797 用户 dalia 已运行 1小时24分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libc++.1.dylib\nPID 898 父进程 1 用户 dalia 已运行 20小时0分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 925 父进程 898 用户 dalia 已运行 19小时59分 程序 /bin/zsh\n 命令行:-zsh\nPID 929 父进程 898 用户 dalia 已运行 9小时57分 程序 /bin/zsh\n 命令行:-zsh\nPID 937 父进程 898 用户 dalia 已运行 20小时0分 程序 /bin/zsh\n 命令行:-zsh\nPID 946 父进程 929 用户 dalia 已运行 2小时10分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 962 父进程 925 用户 dalia 已运行 2小时8分 程序 /usr/bin/tail\n 命令行:tail -f /Users/dalia/Projects/harbor-site/logs/dev.log\nPID 997 父进程 937 用户 dalia 已运行 5小时54分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 192.168.18.179 9000\n 监听:192.168.18.179:9000\nPID 1003 父进程 929 用户 dalia 已运行 6小时34分 程序 /bin/zsh\n 命令行:zsh\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/dalia/.local/lib/libtrace-shim.dylib(这个库的文件不在盘上)\nPID 1038 父进程 1003 用户 dalia 已运行 27分 程序 /Users/dalia/.local/bin/syncferry\n 命令行:syncferry run\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/dalia/.local/lib/libtrace-shim.dylib(这个库的文件不在盘上)\nPID 1044 父进程 929 用户 dalia 已运行 8小时0分 程序 /Users/dalia/.local/bin/portloom\n 命令行:portloom watch\n 载入的库:/Users/dalia/Downloads/plugin-pack/libplugin.dylib(签名:开发者签名,团队 7KQ2XW9LHV);/System/Library/Frameworks/Security.framework/Versions/A/Security;/Users/dalia/.local/lib/libcommon.1.dylib\nPID 1067 父进程 1 用户 dalia 已运行 5小时50分 程序 /Users/dalia/.local/bin/logharbor\n 命令行:logharbor daemon\n\nlaunchd 管着的任务(launchctl list 里有的进程号):566、571、574、592、613、652\n", "answer": [ { "rule": "process.dyld-insert", "kind": "dyld-insert", "severity": "high", "verdict": "info", "targets": [ "1003", "1038" ], "title": "2 个进程启动时带着 DYLD_INSERT_LIBRARIES,要先载入 libtrace-shim.dylib" }, { "rule": "process.library-temp", "kind": "library-temp", "severity": "medium", "verdict": "info", "targets": [ "1044" ], "title": "进程 1044(portloom)载入了下载文件夹里的库 libplugin.dylib" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "997" ], "title": "python3.13 在局域网地址上监听 9000 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-lan", "dyld-insert-missing", "library-downloads" ], "near": [ "orphan-5-hours-50" ] }, { "id": "process-067", "group": "multi", "facts": "这台 Mac 现在登录的用户是 tomas。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 7天4小时 程序 /sbin/launchd\nPID 322 父进程 1 用户 root 已运行 7天4小时 程序 /usr/libexec/watchdogd\nPID 355 父进程 1 用户 root 已运行 7天4小时 程序 /usr/sbin/bluetoothd\nPID 357 父进程 1 用户 root 已运行 7天4小时 程序 /usr/sbin/notifyd\nPID 397 父进程 1 用户 _coreaudiod 已运行 7天4小时 程序 /usr/sbin/coreaudiod\nPID 437 父进程 1 用户 root 已运行 7天4小时 程序 /usr/sbin/KernelEventAgent\nPID 469 父进程 1 用户 _mdnsresponder 已运行 7天4小时 程序 /usr/sbin/mDNSResponder\nPID 481 父进程 1 用户 root 已运行 7天4小时 程序 /usr/libexec/logd\nPID 502 父进程 1 用户 root 已运行 7天4小时 程序 /usr/sbin/cupsd\nPID 530 父进程 1 用户 root 已运行 7天4小时 程序 /usr/sbin/syslogd\nPID 549 父进程 1 用户 tomas 已运行 7天4小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 577 父进程 1 用户 tomas 已运行 7天4小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 604 父进程 1 用户 tomas 已运行 7天4小时 程序 /usr/libexec/nsurlsessiond\nPID 633 父进程 1 用户 tomas 已运行 7天4小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 651 父进程 1 用户 tomas 已运行 7天4小时 程序 /usr/libexec/trustd\nPID 674 父进程 1 用户 tomas 已运行 7天4小时 程序 /usr/libexec/UserEventAgent\nPID 696 父进程 1 用户 tomas 已运行 7天4小时 程序 /usr/libexec/rapportd\nPID 736 父进程 1 用户 tomas 已运行 1天1小时 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 757 父进程 736 用户 tomas 已运行 2小时28分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libz.1.dylib\nPID 772 父进程 736 用户 tomas 已运行 6小时20分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 778 父进程 736 用户 tomas 已运行 2小时9分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libc++.1.dylib\nPID 796 父进程 736 用户 tomas 已运行 6小时38分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (GPU).app/Contents/MacOS/Brackenmail Helper (GPU)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libz.1.dylib\nPID 824 父进程 1 用户 tomas 已运行 21小时53分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 860 父进程 824 用户 tomas 已运行 34分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 876 父进程 824 用户 tomas 已运行 6小时58分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Plugin).app/Contents/MacOS/Saltmarsh Helper (Plugin)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 908 父进程 824 用户 tomas 已运行 2小时9分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libc++.1.dylib\nPID 915 父进程 824 用户 tomas 已运行 6小时57分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (GPU).app/Contents/MacOS/Saltmarsh Helper (GPU)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 928 父进程 1 用户 tomas 已运行 1天2小时 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 953 父进程 928 用户 tomas 已运行 8小时1分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libz.1.dylib\nPID 955 父进程 1 用户 tomas 已运行 21小时5分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 960 父进程 955 用户 tomas 已运行 16小时42分 程序 /bin/zsh\n 命令行:-zsh\nPID 981 父进程 955 用户 tomas 已运行 16小时34分 程序 /bin/zsh\n 命令行:-zsh\nPID 1015 父进程 955 用户 tomas 已运行 3小时35分 程序 /bin/zsh\n 命令行:-zsh\nPID 1018 父进程 981 用户 tomas 已运行 3小时42分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1019 父进程 1015 用户 tomas 已运行 2小时1分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1051 父进程 960 用户 tomas 已运行 12小时8分 程序 /Users/tomas/.local/bin/syncferry\n 命令行:syncferry watch\n 载入的库:/private/var/folders/yj/q3ystsxpny5bmc55mcnsmwrl9gzd2r/T/.zAr5FyQy/libhelper.dylib(签名:签名对不上:签名以后文件被改过);/usr/lib/libobjc.A.dylib;/Users/tomas/.local/lib/libcommon.1.dylib\nPID 1085 父进程 1 用户 tomas 已运行 2天9小时 程序 /opt/homebrew/bin/node\n 命令行:node /Users/tomas/Projects/old-demo/watch.js\nPID 1108 父进程 981 用户 tomas 已运行 9小时9分 程序 /Users/tomas/.local/bin/tidewatch\n 命令行:tidewatch poll --every 5s\nPID 1127 父进程 1108 用户 tomas 已运行 50分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1136 父进程 1108 用户 tomas 已运行 21分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1160 父进程 1108 用户 tomas 已运行 33分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1179 父进程 1108 用户 tomas 已运行 34分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1214 父进程 1108 用户 tomas 已运行 4分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1232 父进程 1108 用户 tomas 已运行 14分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1241 父进程 1108 用户 tomas 已运行 54分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1262 父进程 1108 用户 tomas 已运行 35分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1280 父进程 1108 用户 tomas 已运行 58分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1287 父进程 1108 用户 tomas 已运行 42分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1291 父进程 1108 用户 tomas 已运行 42分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1331 父进程 1108 用户 tomas 已运行 4分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1370 父进程 1108 用户 tomas 已运行 37分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1390 父进程 1108 用户 tomas 已运行 22分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1397 父进程 1108 用户 tomas 已运行 53分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1432 父进程 1108 用户 tomas 已运行 9分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1434 父进程 1108 用户 tomas 已运行 56分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1448 父进程 1108 用户 tomas 已运行 3分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1464 父进程 1108 用户 tomas 已运行 43分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1486 父进程 981 用户 tomas 已运行 1小时48分 程序 /opt/homebrew/bin/mysql\n 命令行:mysql -h db.internal.example -u report -p sales\n\nlaunchd 管着的任务(launchctl list 里有的进程号):549、577、604、633、651、674、696\n", "answer": [ { "rule": "process.library-temp", "kind": "library-temp", "severity": "high", "verdict": "info", "targets": [ "1051" ], "title": "进程 1051(syncferry)载入了临时文件夹里的库 libhelper.dylib" }, { "rule": "process.orphan", "kind": "orphan", "severity": "low", "verdict": "info", "targets": [ "1085" ], "title": "1 个后台进程的父进程已经退出,还在跑" } ], "planted": [ "library-temp-broken-signature", "orphan" ], "near": [ "pile-19", "mysql-asks-for-password" ] }, { "id": "process-068", "group": "multi", "facts": "这台 Mac 现在登录的用户是 ines。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 18天1小时 程序 /sbin/launchd\nPID 303 父进程 1 用户 root 已运行 18天1小时 程序 /usr/libexec/opendirectoryd\nPID 316 父进程 1 用户 root 已运行 18天1小时 程序 /usr/libexec/configd\nPID 346 父进程 1 用户 root 已运行 18天1小时 程序 /usr/libexec/watchdogd\nPID 369 父进程 1 用户 root 已运行 18天1小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 378 父进程 1 用户 root 已运行 18天1小时 程序 /usr/libexec/UserEventAgent\nPID 388 父进程 1 用户 root 已运行 18天1小时 程序 /usr/sbin/cupsd\nPID 399 父进程 1 用户 root 已运行 18天1小时 程序 /usr/libexec/logd\nPID 417 父进程 1 用户 _coreaudiod 已运行 18天1小时 程序 /usr/sbin/coreaudiod\nPID 420 父进程 1 用户 ines 已运行 18天1小时 程序 /usr/libexec/pboard\nPID 454 父进程 1 用户 ines 已运行 18天1小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 491 父进程 1 用户 ines 已运行 18天1小时 程序 /usr/libexec/rapportd\nPID 527 父进程 1 用户 ines 已运行 18天1小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 529 父进程 1 用户 ines 已运行 18天1小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 533 父进程 1 用户 ines 已运行 18天1小时 程序 /usr/sbin/usernoted\nPID 572 父进程 1 用户 ines 已运行 18天1小时 程序 /usr/sbin/cfprefsd\nPID 608 父进程 1 用户 ines 已运行 18天1小时 程序 /usr/libexec/secd\nPID 643 父进程 1 用户 ines 已运行 3小时25分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 681 父进程 643 用户 ines 已运行 3小时25分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (GPU).app/Contents/MacOS/Ondolo Helper (GPU)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libc++.1.dylib\nPID 701 父进程 643 用户 ines 已运行 3小时24分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libc++.1.dylib\nPID 726 父进程 1 用户 ines 已运行 1天4小时 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 756 父进程 726 用户 ines 已运行 2小时44分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libobjc.A.dylib\nPID 779 父进程 726 用户 ines 已运行 9小时39分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 820 父进程 726 用户 ines 已运行 3小时14分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libSystem.B.dylib\nPID 839 父进程 726 用户 ines 已运行 9小时21分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libc++.1.dylib\nPID 850 父进程 1 用户 ines 已运行 6小时50分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 863 父进程 850 用户 ines 已运行 6小时3分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libSystem.B.dylib\nPID 874 父进程 850 用户 ines 已运行 6小时50分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libSystem.B.dylib\nPID 910 父进程 1 用户 ines 已运行 7小时11分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 947 父进程 910 用户 ines 已运行 7小时10分 程序 /bin/zsh\n 命令行:-zsh\nPID 977 父进程 910 用户 ines 已运行 7小时10分 程序 /bin/zsh\n 命令行:-zsh\nPID 1010 父进程 910 用户 ines 已运行 31分 程序 /bin/zsh\n 命令行:-zsh\nPID 1017 父进程 947 用户 ines 已运行 3小时14分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1049 父进程 1010 用户 ines 已运行 30分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1077 父进程 1 用户 ines 已运行 5天22小时 程序 /Users/ines/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh Agent 【程序文件已经不在盘上】\nPID 1097 父进程 1 用户 ines 已运行 5天22小时 程序 /Users/ines/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh Agent 【程序文件已经不在盘上】\nPID 1100 父进程 1 用户 ines 已运行 5天22小时 程序 /Users/ines/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh Agent 【程序文件已经不在盘上】\nPID 1119 父进程 1010 用户 ines 已运行 30分 程序 /Users/ines/.local/bin/cachewren\n 命令行:cachewren serve --listen 192.168.9.89:8888\n 监听:192.168.9.89:8888\nPID 1132 父进程 1 用户 ines 已运行 10小时32分 程序 /opt/homebrew/bin/tmux\n 命令行:tmux new-session -d -s work\nPID 1167 父进程 1 用户 root 已运行 18天1小时 程序 /usr/local/sbin/metricsd\n 命令行:metricsd\n 监听:0.0.0.0:9100\n\nlaunchd 管着的任务(launchctl list 里有的进程号):420、454、491、527、529、533、572、608\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "1077", "1097", "1100" ], "title": "3 个 Saltmarsh Agent 进程的程序已经被删掉了,还在跑" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "1119" ], "title": "cachewren 在局域网地址上监听 8888 端口:同一个网络里的人能连进来" } ], "planted": [ "deleted-app", "listening-lan" ], "near": [ "detached-on-purpose", "other-user-listening" ], "boundary": [ "other-user-listening" ] }, { "id": "process-069", "group": "single", "facts": "这台 Mac 现在登录的用户是 meilin。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 16天6小时 程序 /sbin/launchd\nPID 375 父进程 1 用户 root 已运行 16天5小时 程序 /usr/sbin/notifyd\nPID 387 父进程 1 用户 _windowserver 已运行 16天5小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 421 父进程 1 用户 root 已运行 16天5小时 程序 /usr/libexec/airportd\nPID 430 父进程 1 用户 root 已运行 16天5小时 程序 /usr/sbin/syslogd\nPID 433 父进程 1 用户 root 已运行 16天5小时 程序 /usr/libexec/diskarbitrationd\nPID 435 父进程 1 用户 root 已运行 16天5小时 程序 /usr/sbin/bluetoothd\nPID 469 父进程 1 用户 root 已运行 16天5小时 程序 /usr/libexec/UserEventAgent\nPID 470 父进程 1 用户 meilin 已运行 16天5小时 程序 /usr/libexec/rapportd\nPID 503 父进程 1 用户 meilin 已运行 16天5小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 542 父进程 1 用户 meilin 已运行 16天5小时 程序 /usr/libexec/secd\nPID 562 父进程 1 用户 meilin 已运行 16天5小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 566 父进程 1 用户 meilin 已运行 16天5小时 程序 /usr/libexec/nsurlsessiond\nPID 592 父进程 1 用户 meilin 已运行 16天5小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 630 父进程 1 用户 meilin 已运行 16天5小时 程序 /usr/libexec/pboard\nPID 632 父进程 1 用户 meilin 已运行 16天5小时 程序 /usr/libexec/trustd\nPID 667 父进程 1 用户 meilin 已运行 16小时58分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 678 父进程 667 用户 meilin 已运行 2小时34分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libz.1.dylib\nPID 709 父进程 1 用户 meilin 已运行 10小时17分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 729 父进程 709 用户 meilin 已运行 8小时40分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libz.1.dylib\nPID 732 父进程 709 用户 meilin 已运行 8小时16分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 753 父进程 709 用户 meilin 已运行 5小时15分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (GPU).app/Contents/MacOS/Saltmarsh Helper (GPU)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libz.1.dylib\nPID 790 父进程 709 用户 meilin 已运行 2小时51分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libSystem.B.dylib\nPID 796 父进程 1 用户 meilin 已运行 2小时58分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 820 父进程 796 用户 meilin 已运行 2小时58分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (GPU).app/Contents/MacOS/Quillbay Helper (GPU)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 861 父进程 1 用户 meilin 已运行 11小时0分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 876 父进程 861 用户 meilin 已运行 11小时0分 程序 /bin/zsh\n 命令行:-zsh\nPID 917 父进程 861 用户 meilin 已运行 10小时59分 程序 /bin/zsh\n 命令行:-zsh\nPID 919 父进程 876 用户 meilin 已运行 2小时7分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 952 父进程 876 用户 meilin 已运行 42分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/meilin/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 964 父进程 876 用户 meilin 已运行 16分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 980 父进程 876 用户 meilin 已运行 3小时19分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1021 父进程 876 用户 meilin 已运行 1小时3分 程序 /opt/homebrew/bin/node\n 命令行:node server.js --host 192.168.14.24 --port 8000\n 监听:192.168.14.24:8000\n\nlaunchd 管着的任务(launchctl list 里有的进程号):470、503、542、562、566、592、630、632\n", "answer": [ { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "1021" ], "title": "node 在局域网地址上监听 8000 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-lan" ], "near": [] }, { "id": "process-070", "group": "multi", "facts": "这台 Mac 现在登录的用户是 soren。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 14天0小时 程序 /sbin/launchd\nPID 362 父进程 1 用户 root 已运行 14天0小时 程序 /usr/libexec/watchdogd\nPID 367 父进程 1 用户 root 已运行 14天0小时 程序 /usr/libexec/diskarbitrationd\nPID 368 父进程 1 用户 _locationd 已运行 14天0小时 程序 /usr/libexec/locationd\nPID 387 父进程 1 用户 root 已运行 14天0小时 程序 /usr/libexec/thermalmonitord\nPID 412 父进程 1 用户 root 已运行 14天0小时 程序 /usr/libexec/UserEventAgent\nPID 444 父进程 1 用户 root 已运行 14天0小时 程序 /usr/sbin/bluetoothd\nPID 469 父进程 1 用户 root 已运行 14天0小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 483 父进程 1 用户 _coreaudiod 已运行 14天0小时 程序 /usr/sbin/coreaudiod\nPID 515 父进程 1 用户 _windowserver 已运行 14天0小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 539 父进程 1 用户 _mdnsresponder 已运行 14天0小时 程序 /usr/sbin/mDNSResponder\nPID 544 父进程 1 用户 root 已运行 14天0小时 程序 /usr/sbin/notifyd\nPID 547 父进程 1 用户 soren 已运行 14天0小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 586 父进程 1 用户 soren 已运行 14天0小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 591 父进程 1 用户 soren 已运行 14天0小时 程序 /usr/libexec/secd\nPID 630 父进程 1 用户 soren 已运行 14天0小时 程序 /usr/sbin/distnoted\nPID 658 父进程 1 用户 soren 已运行 14天0小时 程序 /usr/libexec/sharingd\nPID 674 父进程 1 用户 soren 已运行 14天0小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 706 父进程 1 用户 soren 已运行 12小时44分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 733 父进程 706 用户 soren 已运行 6小时58分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 750 父进程 706 用户 soren 已运行 1小时9分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 791 父进程 706 用户 soren 已运行 8小时13分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libc++.1.dylib\nPID 807 父进程 706 用户 soren 已运行 9小时49分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 847 父进程 1 用户 soren 已运行 17小时43分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 875 父进程 847 用户 soren 已运行 7小时13分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libobjc.A.dylib\nPID 895 父进程 847 用户 soren 已运行 1小时44分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (GPU).app/Contents/MacOS/Quillbay Helper (GPU)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 897 父进程 847 用户 soren 已运行 4小时58分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libz.1.dylib\nPID 909 父进程 1 用户 soren 已运行 17小时25分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 949 父进程 909 用户 soren 已运行 7小时7分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 974 父进程 1 用户 soren 已运行 1天10小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 993 父进程 974 用户 soren 已运行 5小时47分 程序 /bin/zsh\n 命令行:-zsh\nPID 1014 父进程 974 用户 soren 已运行 5小时30分 程序 /bin/zsh\n 命令行:-zsh\nPID 1033 父进程 974 用户 soren 已运行 22小时11分 程序 /bin/zsh\n 命令行:-zsh\nPID 1073 父进程 1033 用户 soren 已运行 1小时25分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1090 父进程 993 用户 soren 已运行 3小时22分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1101 父进程 1014 用户 soren 已运行 1小时4分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1142 父进程 1014 用户 soren 已运行 5分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1166 父进程 993 用户 soren 已运行 5小时46分 程序 /opt/homebrew/bin/ruby\n 载入的库:/opt/homebrew/lib/libssl.3.dylib(文件已经被删掉);/usr/lib/libz.1.dylib\nPID 1188 父进程 1033 用户 soren 已运行 1小时17分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy file-server --listen 127.0.0.1:5173\n 监听:127.0.0.1:5173\nPID 1227 父进程 993 用户 soren 已运行 2小时15分 程序 /opt/homebrew/bin/mysql\n 命令行:mysql -h db.internal.example -u report -p sales\n\nlaunchd 管着的任务(launchctl list):没有答复,这一次没读到。\n", "answer": [ { "rule": "process.library-deleted", "kind": "library-deleted", "severity": "medium", "verdict": "info", "targets": [ "1166" ], "title": "进程 1166(ruby)载入的库 libssl.3.dylib 已经被删掉了,还在用" }, { "rule": "process.partial", "kind": "partial", "severity": "low", "verdict": "info", "targets": [], "title": "launchctl 没答复,这一轮没查孤儿进程" } ], "planted": [ "no-launchctl", "library-deleted" ], "near": [ "listening-loopback", "mysql-asks-for-password" ] }, { "id": "process-071", "group": "near", "facts": "这台 Mac 现在登录的用户是 anika。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 1天13小时 程序 /sbin/launchd\nPID 371 父进程 1 用户 root 已运行 1天13小时 程序 /usr/libexec/watchdogd\nPID 382 父进程 1 用户 _coreaudiod 已运行 1天13小时 程序 /usr/sbin/coreaudiod\nPID 401 父进程 1 用户 _locationd 已运行 1天13小时 程序 /usr/libexec/locationd\nPID 435 父进程 1 用户 root 已运行 1天13小时 程序 /usr/libexec/thermalmonitord\nPID 467 父进程 1 用户 root 已运行 1天13小时 程序 /usr/libexec/configd\nPID 478 父进程 1 用户 root 已运行 1天13小时 程序 /usr/sbin/bluetoothd\nPID 487 父进程 1 用户 root 已运行 1天13小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 523 父进程 1 用户 root 已运行 1天13小时 程序 /usr/libexec/securityd\nPID 551 父进程 1 用户 root 已运行 1天13小时 程序 /usr/libexec/opendirectoryd\nPID 573 父进程 1 用户 anika 已运行 1天13小时 程序 /usr/libexec/rapportd\nPID 610 父进程 1 用户 anika 已运行 1天13小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 642 父进程 1 用户 anika 已运行 1天13小时 程序 /usr/sbin/cfprefsd\nPID 663 父进程 1 用户 anika 已运行 1天13小时 程序 /usr/libexec/nsurlsessiond\nPID 665 父进程 1 用户 anika 已运行 1天13小时 程序 /usr/libexec/UserEventAgent\nPID 667 父进程 1 用户 anika 已运行 1天13小时 程序 /usr/libexec/sharingd\nPID 707 父进程 1 用户 anika 已运行 1天13小时 程序 /usr/libexec/trustd\nPID 745 父进程 1 用户 anika 已运行 1天13小时 程序 /usr/libexec/lsd\nPID 758 父进程 1 用户 anika 已运行 1天0小时 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 792 父进程 758 用户 anika 已运行 8小时19分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Plugin).app/Contents/MacOS/Brackenmail Helper (Plugin)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libz.1.dylib\nPID 833 父进程 758 用户 anika 已运行 4小时15分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (GPU).app/Contents/MacOS/Brackenmail Helper (GPU)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 847 父进程 1 用户 anika 已运行 22小时8分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 884 父进程 847 用户 anika 已运行 2小时17分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 903 父进程 847 用户 anika 已运行 9小时0分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libSystem.B.dylib\nPID 933 父进程 847 用户 anika 已运行 7小时29分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 949 父进程 1 用户 anika 已运行 1天2小时 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 965 父进程 949 用户 anika 已运行 5小时10分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (GPU).app/Contents/MacOS/Ondolo Helper (GPU)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 998 父进程 949 用户 anika 已运行 6小时22分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libz.1.dylib\nPID 1003 父进程 949 用户 anika 已运行 2小时24分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Plugin).app/Contents/MacOS/Ondolo Helper (Plugin)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libobjc.A.dylib\nPID 1018 父进程 949 用户 anika 已运行 6小时9分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libSystem.B.dylib\nPID 1034 父进程 1 用户 anika 已运行 1小时1分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 1061 父进程 1034 用户 anika 已运行 1小时1分 程序 /bin/zsh\n 命令行:-zsh\nPID 1074 父进程 1034 用户 anika 已运行 1小时0分 程序 /bin/zsh\n 命令行:-zsh\nPID 1078 父进程 1061 用户 anika 已运行 1小时0分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1081 父进程 1061 用户 anika 已运行 16分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/anika/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1088 父进程 1061 用户 anika 已运行 1小时0分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1102 父进程 1074 用户 anika 已运行 1小时0分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1109 父进程 1 用户 anika 已运行 1天13小时 程序 /Applications/Lumora.app/Contents/XPCServices/LumoraSync.xpc/Contents/MacOS/LumoraSync\nPID 1113 父进程 1 用户 anika 已运行 12分 程序 /private/var/folders/yp/mv1xm39c1j34zv4937lbm2n4x1srbt/T/AppTranslocation/0A1B2C3D-0000-4000-8000-335421829271/d/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 载入的库:/private/var/folders/yp/mv1xm39c1j34zv4937lbm2n4x1srbt/T/AppTranslocation/0A1B2C3D-0000-4000-8000-335421829271/d/Saltmarsh.app/Contents/Frameworks/SaltmarshKit.framework/SaltmarshKit\nPID 1120 父进程 1061 用户 anika 已运行 1小时0分 程序 /Users/anika/.local/bin/logharbor\n 命令行:logharbor build --jobs 24\nPID 1137 父进程 1120 用户 anika 已运行 21分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1171 父进程 1120 用户 anika 已运行 27分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1173 父进程 1120 用户 anika 已运行 49分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1174 父进程 1120 用户 anika 已运行 19分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1210 父进程 1120 用户 anika 已运行 41分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1242 父进程 1120 用户 anika 已运行 5分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1263 父进程 1120 用户 anika 已运行 50分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1302 父进程 1120 用户 anika 已运行 9分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1318 父进程 1120 用户 anika 已运行 30分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1354 父进程 1120 用户 anika 已运行 38分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1395 父进程 1120 用户 anika 已运行 0分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1413 父进程 1120 用户 anika 已运行 13分 程序 /opt/homebrew/bin/node\n 命令行:node worker.js\nPID 1423 父进程 1120 用户 anika 已运行 34分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1459 父进程 1120 用户 anika 已运行 43分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1482 父进程 1120 用户 anika 已运行 1分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1519 父进程 1120 用户 anika 已运行 40分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1557 父进程 1120 用户 anika 已运行 13分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1564 父进程 1120 用户 anika 已运行 40分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1589 父进程 1120 用户 anika 已运行 19分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1605 父进程 1120 用户 anika 已运行 13分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1644 父进程 1120 用户 anika 已运行 40分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1685 父进程 1120 用户 anika 已运行 20分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1715 父进程 1120 用户 anika 已运行 50分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\nPID 1737 父进程 1120 用户 anika 已运行 26分 程序 /opt/homebrew/bin/git\n 命令行:git fetch --all\n\nlaunchd 管着的任务(launchctl list 里有的进程号):573、610、642、663、665、667、707、745\n", "answer": [], "planted": [], "near": [ "app-service-under-launchd", "library-in-own-bundle", "two-programs-12-each" ] }, { "id": "process-072", "group": "near", "facts": "这台 Mac 现在登录的用户是 soren。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 11天0小时 程序 /sbin/launchd\nPID 356 父进程 1 用户 root 已运行 11天0小时 程序 /usr/libexec/opendirectoryd\nPID 367 父进程 1 用户 root 已运行 11天0小时 程序 /usr/sbin/notifyd\nPID 391 父进程 1 用户 root 已运行 11天0小时 程序 /usr/libexec/diskarbitrationd\nPID 417 父进程 1 用户 root 已运行 11天0小时 程序 /usr/libexec/configd\nPID 438 父进程 1 用户 root 已运行 11天0小时 程序 /usr/libexec/watchdogd\nPID 443 父进程 1 用户 root 已运行 11天0小时 程序 /usr/libexec/logd\nPID 481 父进程 1 用户 _coreaudiod 已运行 11天0小时 程序 /usr/sbin/coreaudiod\nPID 503 父进程 1 用户 root 已运行 11天0小时 程序 /usr/libexec/airportd\nPID 515 父进程 1 用户 _mdnsresponder 已运行 11天0小时 程序 /usr/sbin/mDNSResponder\nPID 528 父进程 1 用户 root 已运行 11天0小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 565 父进程 1 用户 root 已运行 11天0小时 程序 /usr/libexec/securityd\nPID 576 父进程 1 用户 soren 已运行 11天0小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 608 父进程 1 用户 soren 已运行 11天0小时 程序 /usr/libexec/secd\nPID 619 父进程 1 用户 soren 已运行 11天0小时 程序 /usr/libexec/UserEventAgent\nPID 642 父进程 1 用户 soren 已运行 11天0小时 程序 /usr/libexec/rapportd\nPID 662 父进程 1 用户 soren 已运行 11天0小时 程序 /usr/sbin/distnoted\nPID 671 父进程 1 用户 soren 已运行 11天0小时 程序 /usr/libexec/sharingd\nPID 705 父进程 1 用户 soren 已运行 11天0小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 734 父进程 1 用户 soren 已运行 11天0小时 程序 /usr/libexec/nsurlsessiond\nPID 773 父进程 1 用户 soren 已运行 11天0小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 788 父进程 1 用户 soren 已运行 16小时40分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 800 父进程 788 用户 soren 已运行 2小时31分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 806 父进程 1 用户 soren 已运行 20小时12分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 818 父进程 806 用户 soren 已运行 3小时8分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 856 父进程 806 用户 soren 已运行 6小时23分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libobjc.A.dylib\nPID 873 父进程 806 用户 soren 已运行 7小时56分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libc++.1.dylib\nPID 892 父进程 1 用户 soren 已运行 3小时2分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 906 父进程 892 用户 soren 已运行 3小时1分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 912 父进程 892 用户 soren 已运行 3小时2分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 926 父进程 892 用户 soren 已运行 38分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libc++.1.dylib\nPID 949 父进程 892 用户 soren 已运行 3小时2分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 950 父进程 1 用户 soren 已运行 4小时31分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 980 父进程 950 用户 soren 已运行 4小时31分 程序 /bin/zsh\n 命令行:-zsh\nPID 985 父进程 950 用户 soren 已运行 4小时31分 程序 /bin/zsh\n 命令行:-zsh\nPID 1014 父进程 950 用户 soren 已运行 4小时31分 程序 /bin/zsh\n 命令行:-zsh\nPID 1053 父进程 985 用户 soren 已运行 15分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1056 父进程 980 用户 soren 已运行 3小时14分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1092 父进程 980 用户 soren 已运行 50分 程序 /opt/homebrew/bin/node\n 命令行:node server.js --host 127.0.0.1 --port 8000\n 监听:127.0.0.1:8000\nPID 1117 父进程 1 用户 root 已运行 11天0小时 程序 /opt/harborline/bin/gatewayd 【程序文件已经不在盘上】\n 命令行:gatewayd --config /opt/harborline/etc/gateway.toml\n\nlaunchd 管着的任务(launchctl list 里有的进程号):576、608、619、642、662、671、705、734、773\n", "answer": [], "planted": [], "near": [ "listening-loopback", "system-listening-everywhere", "other-user-gone" ], "boundary": [ "other-user-gone" ] }, { "id": "process-073", "group": "near", "facts": "这台 Mac 现在登录的用户是 dalia。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 13天9小时 程序 /sbin/launchd\nPID 415 父进程 1 用户 root 已运行 13天9小时 程序 /usr/sbin/notifyd\nPID 428 父进程 1 用户 root 已运行 13天9小时 程序 /usr/sbin/syslogd\nPID 446 父进程 1 用户 root 已运行 13天9小时 程序 /usr/libexec/logd\nPID 459 父进程 1 用户 root 已运行 13天9小时 程序 /usr/sbin/bluetoothd\nPID 496 父进程 1 用户 root 已运行 13天9小时 程序 /usr/libexec/UserEventAgent\nPID 532 父进程 1 用户 _mdnsresponder 已运行 13天9小时 程序 /usr/sbin/mDNSResponder\nPID 573 父进程 1 用户 _locationd 已运行 13天9小时 程序 /usr/libexec/locationd\nPID 583 父进程 1 用户 root 已运行 13天9小时 程序 /usr/libexec/airportd\nPID 595 父进程 1 用户 dalia 已运行 13天9小时 程序 /usr/libexec/rapportd\nPID 625 父进程 1 用户 dalia 已运行 13天9小时 程序 /usr/libexec/trustd\nPID 628 父进程 1 用户 dalia 已运行 13天9小时 程序 /usr/sbin/usernoted\nPID 648 父进程 1 用户 dalia 已运行 13天9小时 程序 /usr/libexec/nsurlsessiond\nPID 651 父进程 1 用户 dalia 已运行 13天9小时 程序 /usr/libexec/lsd\nPID 657 父进程 1 用户 dalia 已运行 13天8小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 694 父进程 1 用户 dalia 已运行 13天9小时 程序 /usr/libexec/UserEventAgent\nPID 716 父进程 1 用户 dalia 已运行 13天9小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 747 父进程 1 用户 dalia 已运行 8小时26分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 788 父进程 747 用户 dalia 已运行 8小时26分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 795 父进程 747 用户 dalia 已运行 5小时34分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libz.1.dylib\nPID 813 父进程 747 用户 dalia 已运行 12分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Plugin).app/Contents/MacOS/Tarnwell Helper (Plugin)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libc++.1.dylib\nPID 820 父进程 747 用户 dalia 已运行 32分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 844 父进程 1 用户 dalia 已运行 10小时11分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 866 父进程 844 用户 dalia 已运行 9小时38分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libc++.1.dylib\nPID 899 父进程 844 用户 dalia 已运行 8小时1分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libz.1.dylib\nPID 915 父进程 1 用户 dalia 已运行 2小时16分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 948 父进程 915 用户 dalia 已运行 2小时15分 程序 /bin/zsh\n 命令行:-zsh\nPID 952 父进程 915 用户 dalia 已运行 2小时15分 程序 /bin/zsh\n 命令行:-zsh\nPID 962 父进程 948 用户 dalia 已运行 2小时15分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1000 父进程 948 用户 dalia 已运行 2小时15分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1037 父进程 948 用户 dalia 已运行 2小时15分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1059 父进程 952 用户 dalia 已运行 1小时37分 程序 /usr/bin/tail\n 命令行:tail -f /Users/dalia/Projects/harbor-site/logs/dev.log\nPID 1092 父进程 948 用户 dalia 已运行 2小时15分 程序 /Users/dalia/.local/bin/buildkiln\n 命令行:buildkiln poll --every 5s\nPID 1126 父进程 1092 用户 dalia 已运行 3分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1152 父进程 1092 用户 dalia 已运行 42分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1191 父进程 1092 用户 dalia 已运行 16分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1209 父进程 1092 用户 dalia 已运行 30分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1242 父进程 1092 用户 dalia 已运行 22分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1273 父进程 1092 用户 dalia 已运行 42分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1296 父进程 1092 用户 dalia 已运行 56分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1334 父进程 1092 用户 dalia 已运行 54分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1362 父进程 1092 用户 dalia 已运行 47分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1398 父进程 1092 用户 dalia 已运行 35分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1421 父进程 1092 用户 dalia 已运行 36分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1457 父进程 1092 用户 dalia 已运行 15分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1481 父进程 1092 用户 dalia 已运行 9分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1510 父进程 1092 用户 dalia 已运行 9分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1541 父进程 1092 用户 dalia 已运行 51分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1567 父进程 1092 用户 dalia 已运行 52分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1608 父进程 1092 用户 dalia 已运行 40分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1612 父进程 1092 用户 dalia 已运行 54分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1626 父进程 1092 用户 dalia 已运行 16分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1650 父进程 1 用户 dalia 已运行 5小时52分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy run --config /Users/dalia/Caddyfile\nPID 1679 父进程 948 用户 dalia 已运行 53分 程序 /Users/dalia/.local/bin/logharbor\n 命令行:logharbor --debug\n 环境变量:DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib(签名:Apple 签名)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):595、625、628、648、651、657、694、716\n", "answer": [], "planted": [], "near": [ "pile-19", "orphan-5-hours-50", "dyld-insert-apple-signed" ] }, { "id": "process-074", "group": "multi", "facts": "这台 Mac 现在登录的用户是 linwei。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 5天20小时 程序 /sbin/launchd\nPID 365 父进程 1 用户 root 已运行 5天19小时 程序 /usr/libexec/airportd\nPID 387 父进程 1 用户 _windowserver 已运行 5天19小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 404 父进程 1 用户 root 已运行 5天19小时 程序 /usr/libexec/thermalmonitord\nPID 425 父进程 1 用户 root 已运行 5天19小时 程序 /usr/libexec/watchdogd\nPID 455 父进程 1 用户 root 已运行 5天19小时 程序 /usr/sbin/KernelEventAgent\nPID 465 父进程 1 用户 root 已运行 5天19小时 程序 /usr/libexec/UserEventAgent\nPID 500 父进程 1 用户 root 已运行 5天19小时 程序 /usr/libexec/diskarbitrationd\nPID 517 父进程 1 用户 root 已运行 5天19小时 程序 /usr/sbin/bluetoothd\nPID 553 父进程 1 用户 linwei 已运行 5天19小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 581 父进程 1 用户 linwei 已运行 5天19小时 程序 /usr/sbin/distnoted\nPID 582 父进程 1 用户 linwei 已运行 5天19小时 程序 /usr/libexec/secd\nPID 611 父进程 1 用户 linwei 已运行 5天19小时 程序 /usr/sbin/usernoted\nPID 649 父进程 1 用户 linwei 已运行 5天19小时 程序 /usr/libexec/pboard\nPID 690 父进程 1 用户 linwei 已运行 5天19小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 724 父进程 1 用户 linwei 已运行 5天19小时 程序 /usr/libexec/UserEventAgent\nPID 760 父进程 1 用户 linwei 已运行 13小时43分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 782 父进程 760 用户 linwei 已运行 1小时31分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 797 父进程 760 用户 linwei 已运行 3小时10分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 835 父进程 760 用户 linwei 已运行 8分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 852 父进程 1 用户 linwei 已运行 3小时19分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 883 父进程 852 用户 linwei 已运行 7分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 886 父进程 852 用户 linwei 已运行 3小时19分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Plugin).app/Contents/MacOS/Saltmarsh Helper (Plugin)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libobjc.A.dylib\nPID 893 父进程 1 用户 linwei 已运行 22小时25分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 934 父进程 893 用户 linwei 已运行 20小时3分 程序 /bin/zsh\n 命令行:-zsh\nPID 960 父进程 893 用户 linwei 已运行 21小时56分 程序 /bin/zsh\n 命令行:-zsh\nPID 998 父进程 934 用户 linwei 已运行 3小时36分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1012 父进程 934 用户 linwei 已运行 15分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1030 父进程 960 用户 linwei 已运行 1小时57分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1053 父进程 934 用户 linwei 已运行 2小时6分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 summarize.py --key sk-mCwENXU3nyHBrmMX4Kni7\nPID 1087 父进程 934 用户 linwei 已运行 15小时23分 程序 /Users/linwei/.local/bin/buildkiln\n 命令行:buildkiln poll --every 5s\nPID 1102 父进程 1087 用户 linwei 已运行 12分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1106 父进程 1087 用户 linwei 已运行 13分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1126 父进程 1087 用户 linwei 已运行 32分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1141 父进程 1087 用户 linwei 已运行 7分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1170 父进程 1087 用户 linwei 已运行 51分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1204 父进程 1087 用户 linwei 已运行 6分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1219 父进程 1087 用户 linwei 已运行 2分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1226 父进程 1087 用户 linwei 已运行 8分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1256 父进程 1087 用户 linwei 已运行 44分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1285 父进程 1087 用户 linwei 已运行 34分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1310 父进程 1087 用户 linwei 已运行 11分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1319 父进程 1087 用户 linwei 已运行 30分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1348 父进程 1087 用户 linwei 已运行 3分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1380 父进程 1087 用户 linwei 已运行 55分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1412 父进程 1087 用户 linwei 已运行 22分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1426 父进程 1087 用户 linwei 已运行 8分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1436 父进程 1087 用户 linwei 已运行 17分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1475 父进程 1087 用户 linwei 已运行 9分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1513 父进程 1087 用户 linwei 已运行 46分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1523 父进程 1087 用户 linwei 已运行 58分 程序 /opt/homebrew/bin/git\n 命令行:git status --porcelain\nPID 1561 父进程 934 用户 linwei 已运行 1小时1分 程序 /bin/zsh\n 命令行:zsh\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/linwei/.cache/io.example.overlay/hook.dylib(这个库的文件不在盘上)\nPID 1563 父进程 1561 用户 linwei 已运行 21分 程序 /Users/linwei/.local/bin/tidewatch\n 命令行:tidewatch run\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/linwei/.cache/io.example.overlay/hook.dylib(这个库的文件不在盘上)\nPID 1595 父进程 934 用户 linwei 已运行 1小时28分 程序 /Users/linwei/.local/bin/syncferry\n 命令行:syncferry test --guard-malloc\n 环境变量:DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib\n\nlaunchd 管着的任务(launchctl list 里有的进程号):553、581、582、611、649、690、724\n", "answer": [ { "rule": "process.dyld-insert", "kind": "dyld-insert", "severity": "high", "verdict": "info", "targets": [ "1561", "1563" ], "title": "2 个进程启动时带着 DYLD_INSERT_LIBRARIES,要先载入 hook.dylib" }, { "rule": "process.pile-up", "kind": "pile-up", "severity": "medium", "verdict": "info", "targets": [ "1087", "1102", "1106", "1126", "1141", "1170", "1204", "1219", "1226", "1256", "1285", "1310", "1319", "1348", "1380", "1412", "1426", "1436", "1475", "1513", "1523" ], "title": "git 在同一个父进程下堆了 20 个" }, { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1053" ], "title": "正在运行的 python3.13 命令行里带着API 密钥(sk-…)" } ], "planted": [ "secret-sk-key", "pile-up-20", "dyld-insert-missing" ], "near": [ "dyld-insert-system-library" ] }, { "id": "process-075", "group": "single", "facts": "这台 Mac 现在登录的用户是 haoran。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 18天11小时 程序 /sbin/launchd\nPID 416 父进程 1 用户 root 已运行 18天11小时 程序 /usr/libexec/airportd\nPID 426 父进程 1 用户 root 已运行 18天11小时 程序 /usr/libexec/configd\nPID 456 父进程 1 用户 root 已运行 18天11小时 程序 /usr/sbin/bluetoothd\nPID 482 父进程 1 用户 _mdnsresponder 已运行 18天11小时 程序 /usr/sbin/mDNSResponder\nPID 515 父进程 1 用户 root 已运行 18天11小时 程序 /usr/libexec/UserEventAgent\nPID 539 父进程 1 用户 root 已运行 18天11小时 程序 /usr/libexec/thermalmonitord\nPID 542 父进程 1 用户 _coreaudiod 已运行 18天11小时 程序 /usr/sbin/coreaudiod\nPID 558 父进程 1 用户 haoran 已运行 18天11小时 程序 /usr/libexec/rapportd\nPID 584 父进程 1 用户 haoran 已运行 18天11小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 597 父进程 1 用户 haoran 已运行 18天11小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 638 父进程 1 用户 haoran 已运行 18天11小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 668 父进程 1 用户 haoran 已运行 18天11小时 程序 /usr/sbin/distnoted\nPID 679 父进程 1 用户 haoran 已运行 18天11小时 程序 /usr/libexec/nsurlsessiond\nPID 702 父进程 1 用户 haoran 已运行 1天0小时 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 741 父进程 702 用户 haoran 已运行 6小时16分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libc++.1.dylib\nPID 761 父进程 1 用户 haoran 已运行 20小时28分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 770 父进程 761 用户 haoran 已运行 2小时58分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Plugin).app/Contents/MacOS/Brackenmail Helper (Plugin)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libz.1.dylib\nPID 786 父进程 1 用户 haoran 已运行 2小时56分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 815 父进程 786 用户 haoran 已运行 2小时56分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 841 父进程 786 用户 haoran 已运行 2小时56分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libz.1.dylib\nPID 858 父进程 786 用户 haoran 已运行 2小时56分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 863 父进程 1 用户 haoran 已运行 20小时37分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 893 父进程 863 用户 haoran 已运行 8小时41分 程序 /bin/zsh\n 命令行:-zsh\nPID 930 父进程 863 用户 haoran 已运行 17小时11分 程序 /bin/zsh\n 命令行:-zsh\nPID 943 父进程 930 用户 haoran 已运行 3小时55分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/haoran/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 967 父进程 893 用户 haoran 已运行 3小时2分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 969 父进程 893 用户 haoran 已运行 58分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1002 父进程 930 用户 haoran 已运行 4小时22分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1025 父进程 893 用户 haoran 已运行 8小时40分 程序 /Users/haoran/.local/bin/lintfinch\n 命令行:lintfinch watch\n 载入的库:/private/var/folders/9m/lsbk09x8_9c4zg_shs3c4c2z10j3zq/T/io.example.unpack-gonWkc/libpayload.dylib(签名:没有签名);/System/Library/Frameworks/Security.framework/Versions/A/Security;/Users/haoran/.local/lib/libcommon.1.dylib\nPID 1056 父进程 893 用户 haoran 已运行 2分 程序 /Users/haoran/.local/bin/buildkiln\n 命令行:buildkiln --debug\n 环境变量:DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib(签名:Apple 签名)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):558、584、597、638、668、679\n", "answer": [ { "rule": "process.library-temp", "kind": "library-temp", "severity": "medium", "verdict": "info", "targets": [ "1025" ], "title": "进程 1025(lintfinch)载入了临时文件夹里的库 libpayload.dylib" } ], "planted": [ "library-temp" ], "near": [ "dyld-insert-apple-signed" ] }, { "id": "process-076", "group": "single", "facts": "这台 Mac 现在登录的用户是 meilin。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 3天19小时 程序 /sbin/launchd\nPID 381 父进程 1 用户 root 已运行 3天19小时 程序 /usr/libexec/configd\nPID 411 父进程 1 用户 _mdnsresponder 已运行 3天19小时 程序 /usr/sbin/mDNSResponder\nPID 413 父进程 1 用户 root 已运行 3天19小时 程序 /usr/sbin/syslogd\nPID 427 父进程 1 用户 root 已运行 3天19小时 程序 /usr/libexec/opendirectoryd\nPID 431 父进程 1 用户 root 已运行 3天19小时 程序 /usr/libexec/UserEventAgent\nPID 451 父进程 1 用户 _coreaudiod 已运行 3天19小时 程序 /usr/sbin/coreaudiod\nPID 477 父进程 1 用户 root 已运行 3天19小时 程序 /usr/libexec/watchdogd\nPID 482 父进程 1 用户 meilin 已运行 3天19小时 程序 /usr/libexec/rapportd\nPID 488 父进程 1 用户 meilin 已运行 3天19小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 491 父进程 1 用户 meilin 已运行 3天19小时 程序 /usr/libexec/nsurlsessiond\nPID 522 父进程 1 用户 meilin 已运行 3天19小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 524 父进程 1 用户 meilin 已运行 3天19小时 程序 /usr/libexec/UserEventAgent\nPID 557 父进程 1 用户 meilin 已运行 3天19小时 程序 /usr/libexec/sharingd\nPID 563 父进程 1 用户 meilin 已运行 3天19小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 603 父进程 1 用户 meilin 已运行 3天19小时 程序 /usr/libexec/pboard\nPID 620 父进程 1 用户 meilin 已运行 2小时35分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 646 父进程 620 用户 meilin 已运行 2小时34分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (GPU).app/Contents/MacOS/Ondolo Helper (GPU)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libSystem.B.dylib\nPID 653 父进程 1 用户 meilin 已运行 1天3小时 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 675 父进程 653 用户 meilin 已运行 1小时3分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libz.1.dylib\nPID 684 父进程 653 用户 meilin 已运行 7小时40分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 699 父进程 1 用户 meilin 已运行 14小时15分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 738 父进程 699 用户 meilin 已运行 14小时14分 程序 /bin/zsh\n 命令行:-zsh\nPID 743 父进程 699 用户 meilin 已运行 13小时26分 程序 /bin/zsh\n 命令行:-zsh\nPID 779 父进程 699 用户 meilin 已运行 14小时14分 程序 /bin/zsh\n 命令行:-zsh\nPID 780 父进程 738 用户 meilin 已运行 4小时43分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 791 父进程 738 用户 meilin 已运行 3小时45分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 796 父进程 779 用户 meilin 已运行 3小时1分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 808 父进程 743 用户 meilin 已运行 57分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 848 父进程 743 用户 meilin 已运行 1小时17分 程序 /Users/meilin/.local/bin/buildkiln\n 命令行:buildkiln serve --listen [::]:9000\n 监听:[::]:9000\nPID 879 父进程 738 用户 meilin 已运行 1小时19分 程序 /Users/meilin/.local/bin/logharbor\n 命令行:logharbor --debug\n 环境变量:DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib(签名:Apple 签名)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):482、488、491、522、524、557、563、603\n", "answer": [ { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "848" ], "title": "buildkiln 在所有网络上监听 9000 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-everywhere-v6" ], "near": [ "dyld-insert-apple-signed" ] }, { "id": "process-077", "group": "multi", "facts": "这台 Mac 现在登录的用户是 anika。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 12天23小时 程序 /sbin/launchd\nPID 390 父进程 1 用户 _coreaudiod 已运行 12天23小时 程序 /usr/sbin/coreaudiod\nPID 411 父进程 1 用户 root 已运行 12天23小时 程序 /usr/sbin/syslogd\nPID 439 父进程 1 用户 root 已运行 12天23小时 程序 /usr/libexec/airportd\nPID 448 父进程 1 用户 root 已运行 12天23小时 程序 /usr/libexec/watchdogd\nPID 488 父进程 1 用户 root 已运行 12天23小时 程序 /usr/libexec/opendirectoryd\nPID 514 父进程 1 用户 _windowserver 已运行 12天23小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 521 父进程 1 用户 _locationd 已运行 12天23小时 程序 /usr/libexec/locationd\nPID 549 父进程 1 用户 root 已运行 12天23小时 程序 /usr/libexec/configd\nPID 587 父进程 1 用户 root 已运行 12天23小时 程序 /usr/libexec/UserEventAgent\nPID 621 父进程 1 用户 root 已运行 12天23小时 程序 /usr/libexec/diskarbitrationd\nPID 659 父进程 1 用户 anika 已运行 12天23小时 程序 /usr/libexec/lsd\nPID 672 父进程 1 用户 anika 已运行 12天23小时 程序 /usr/libexec/rapportd\nPID 678 父进程 1 用户 anika 已运行 12天23小时 程序 /usr/sbin/cfprefsd\nPID 686 父进程 1 用户 anika 已运行 12天23小时 程序 /usr/sbin/usernoted\nPID 689 父进程 1 用户 anika 已运行 12天23小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 695 父进程 1 用户 anika 已运行 12天23小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 720 父进程 1 用户 anika 已运行 19小时4分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 747 父进程 720 用户 anika 已运行 7小时36分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Plugin).app/Contents/MacOS/Brackenmail Helper (Plugin)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 772 父进程 1 用户 anika 已运行 8小时32分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 775 父进程 772 用户 anika 已运行 4小时55分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libc++.1.dylib\nPID 782 父进程 1 用户 anika 已运行 13小时33分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 790 父进程 782 用户 anika 已运行 12小时29分 程序 /bin/zsh\n 命令行:-zsh\nPID 798 父进程 782 用户 anika 已运行 9小时19分 程序 /bin/zsh\n 命令行:-zsh\nPID 802 父进程 782 用户 anika 已运行 13小时32分 程序 /bin/zsh\n 命令行:-zsh\nPID 829 父进程 798 用户 anika 已运行 3小时22分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 847 父进程 798 用户 anika 已运行 3小时36分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 874 父进程 790 用户 anika 已运行 4小时38分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 876 父进程 790 用户 anika 已运行 6分 程序 /usr/bin/curl\n 命令行:curl -s -u deploy:b73ArnMLAF8K https://builds.internal.example/api/artifacts\nPID 880 父进程 802 用户 anika 已运行 5小时58分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 192.168.7.135 8080\n 监听:192.168.7.135:8080\n\nlaunchd 管着的任务(launchctl list 里有的进程号):659、672、678、686、689、695\n", "answer": [ { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "876" ], "title": "正在运行的 curl 命令行里带着参数 -u(用户名:密码)" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "880" ], "title": "python3.13 在局域网地址上监听 8080 端口:同一个网络里的人能连进来" } ], "planted": [ "secret-curl", "listening-lan" ], "near": [] }, { "id": "process-078", "group": "multi", "facts": "这台 Mac 现在登录的用户是 anika。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 18天19小时 程序 /sbin/launchd\nPID 336 父进程 1 用户 root 已运行 18天18小时 程序 /usr/libexec/watchdogd\nPID 367 父进程 1 用户 root 已运行 18天18小时 程序 /usr/libexec/airportd\nPID 383 父进程 1 用户 root 已运行 18天18小时 程序 /usr/libexec/opendirectoryd\nPID 404 父进程 1 用户 root 已运行 18天18小时 程序 /usr/sbin/bluetoothd\nPID 436 父进程 1 用户 root 已运行 18天18小时 程序 /usr/sbin/syslogd\nPID 457 父进程 1 用户 root 已运行 18天18小时 程序 /usr/libexec/securityd\nPID 490 父进程 1 用户 root 已运行 18天18小时 程序 /usr/sbin/KernelEventAgent\nPID 525 父进程 1 用户 root 已运行 18天18小时 程序 /usr/libexec/configd\nPID 536 父进程 1 用户 root 已运行 18天18小时 程序 /usr/libexec/thermalmonitord\nPID 542 父进程 1 用户 _mdnsresponder 已运行 18天18小时 程序 /usr/sbin/mDNSResponder\nPID 571 父进程 1 用户 root 已运行 18天18小时 程序 /usr/libexec/UserEventAgent\nPID 599 父进程 1 用户 anika 已运行 18天18小时 程序 /usr/sbin/usernoted\nPID 624 父进程 1 用户 anika 已运行 18天18小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 628 父进程 1 用户 anika 已运行 18天18小时 程序 /usr/libexec/secd\nPID 632 父进程 1 用户 anika 已运行 18天18小时 程序 /usr/libexec/sharingd\nPID 660 父进程 1 用户 anika 已运行 18天18小时 程序 /usr/libexec/trustd\nPID 690 父进程 1 用户 anika 已运行 18天18小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 695 父进程 1 用户 anika 已运行 18天18小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 702 父进程 1 用户 anika 已运行 18天18小时 程序 /usr/libexec/nsurlsessiond\nPID 709 父进程 1 用户 anika 已运行 18天18小时 程序 /usr/libexec/rapportd\nPID 713 父进程 1 用户 anika 已运行 2小时50分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 752 父进程 713 用户 anika 已运行 2小时49分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 790 父进程 713 用户 anika 已运行 2小时50分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libSystem.B.dylib\nPID 825 父进程 713 用户 anika 已运行 2小时50分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libz.1.dylib\nPID 835 父进程 713 用户 anika 已运行 2小时50分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libz.1.dylib\nPID 837 父进程 1 用户 anika 已运行 10小时35分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 878 父进程 837 用户 anika 已运行 3小时16分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 899 父进程 837 用户 anika 已运行 9小时48分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Plugin).app/Contents/MacOS/Tarnwell Helper (Plugin)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 902 父进程 837 用户 anika 已运行 4小时32分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 933 父进程 1 用户 anika 已运行 1天4小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 954 父进程 933 用户 anika 已运行 14小时33分 程序 /bin/zsh\n 命令行:-zsh\nPID 968 父进程 933 用户 anika 已运行 6小时53分 程序 /bin/zsh\n 命令行:-zsh\nPID 988 父进程 954 用户 anika 已运行 4小时20分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1029 父进程 954 用户 anika 已运行 4小时25分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1051 父进程 968 用户 anika 已运行 6小时52分 程序 /Users/anika/.local/bin/lintfinch\n 命令行:lintfinch poll --every 5s\nPID 1085 父进程 1051 用户 anika 已运行 8分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1119 父进程 1051 用户 anika 已运行 28分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1134 父进程 1051 用户 anika 已运行 5分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1150 父进程 1051 用户 anika 已运行 45分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1183 父进程 1051 用户 anika 已运行 29分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1185 父进程 1051 用户 anika 已运行 17分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1208 父进程 1051 用户 anika 已运行 27分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1234 父进程 1051 用户 anika 已运行 22分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1250 父进程 1051 用户 anika 已运行 11分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1253 父进程 1051 用户 anika 已运行 29分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1256 父进程 1051 用户 anika 已运行 16分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1261 父进程 1051 用户 anika 已运行 31分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1277 父进程 1051 用户 anika 已运行 36分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1300 父进程 1051 用户 anika 已运行 44分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1332 父进程 1051 用户 anika 已运行 38分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1336 父进程 1051 用户 anika 已运行 35分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1377 父进程 1051 用户 anika 已运行 40分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1403 父进程 1051 用户 anika 已运行 45分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1428 父进程 1051 用户 anika 已运行 29分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1447 父进程 1051 用户 anika 已运行 35分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1488 父进程 1051 用户 anika 已运行 38分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1510 父进程 1051 用户 anika 已运行 33分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1536 父进程 1051 用户 anika 已运行 40分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1553 父进程 1051 用户 anika 已运行 13分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1557 父进程 968 用户 anika 已运行 5小时57分 程序 /Users/anika/.local/bin/syncferry\n 命令行:syncferry serve --listen 0.0.0.0:4000\n 监听:0.0.0.0:4000\n\nlaunchd 管着的任务(launchctl list 里有的进程号):599、624、628、632、660、690、695、702、709\n", "answer": [ { "rule": "process.pile-up", "kind": "pile-up", "severity": "medium", "verdict": "info", "targets": [ "1051", "1085", "1119", "1134", "1150", "1183", "1185", "1208", "1234", "1250", "1253", "1256", "1261", "1277", "1300", "1332", "1336", "1377", "1403", "1428", "1447", "1488", "1510", "1536", "1553" ], "title": "sleep 在同一个父进程下堆了 24 个" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "1557" ], "title": "syncferry 在所有网络上监听 4000 端口:同一个网络里的人能连进来" } ], "planted": [ "pile-up-many", "listening-everywhere" ], "near": [] }, { "id": "process-079", "group": "single", "facts": "这台 Mac 现在登录的用户是 haoran。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 4天23小时 程序 /sbin/launchd\nPID 359 父进程 1 用户 root 已运行 4天23小时 程序 /usr/sbin/syslogd\nPID 376 父进程 1 用户 root 已运行 4天23小时 程序 /usr/libexec/diskarbitrationd\nPID 391 父进程 1 用户 _coreaudiod 已运行 4天23小时 程序 /usr/sbin/coreaudiod\nPID 419 父进程 1 用户 root 已运行 4天23小时 程序 /usr/libexec/watchdogd\nPID 452 父进程 1 用户 root 已运行 4天23小时 程序 /usr/libexec/securityd\nPID 467 父进程 1 用户 root 已运行 4天23小时 程序 /usr/sbin/cupsd\nPID 500 父进程 1 用户 root 已运行 4天23小时 程序 /usr/sbin/bluetoothd\nPID 537 父进程 1 用户 root 已运行 4天23小时 程序 /usr/libexec/configd\nPID 563 父进程 1 用户 root 已运行 4天23小时 程序 /usr/libexec/airportd\nPID 569 父进程 1 用户 haoran 已运行 4天23小时 程序 /usr/sbin/distnoted\nPID 589 父进程 1 用户 haoran 已运行 4天23小时 程序 /usr/libexec/rapportd\nPID 620 父进程 1 用户 haoran 已运行 4天23小时 程序 /usr/sbin/usernoted\nPID 637 父进程 1 用户 haoran 已运行 4天23小时 程序 /usr/libexec/nsurlsessiond\nPID 678 父进程 1 用户 haoran 已运行 4天23小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 715 父进程 1 用户 haoran 已运行 4天23小时 程序 /usr/libexec/secd\nPID 716 父进程 1 用户 haoran 已运行 8小时44分 程序 /Applications/Vextra.app/Contents/MacOS/Vextra\n 命令行:/Applications/Vextra.app/Contents/MacOS/Vextra\nPID 722 父进程 716 用户 haoran 已运行 8小时44分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (GPU).app/Contents/MacOS/Vextra Helper (GPU)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libc++.1.dylib\nPID 756 父进程 716 用户 haoran 已运行 7小时57分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libc++.1.dylib\nPID 760 父进程 716 用户 haoran 已运行 8小时44分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 767 父进程 1 用户 haoran 已运行 8小时16分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 805 父进程 767 用户 haoran 已运行 3小时33分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libobjc.A.dylib\nPID 838 父进程 1 用户 haoran 已运行 14小时29分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 870 父进程 838 用户 haoran 已运行 5小时33分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (GPU).app/Contents/MacOS/Brackenmail Helper (GPU)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libc++.1.dylib\nPID 896 父进程 1 用户 haoran 已运行 1天15小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 917 父进程 896 用户 haoran 已运行 17小时35分 程序 /bin/zsh\n 命令行:-zsh\nPID 957 父进程 896 用户 haoran 已运行 4小时2分 程序 /bin/zsh\n 命令行:-zsh\nPID 996 父进程 896 用户 haoran 已运行 1天2小时 程序 /bin/zsh\n 命令行:-zsh\nPID 1032 父进程 957 用户 haoran 已运行 3小时52分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1070 父进程 957 用户 haoran 已运行 3小时47分 程序 /usr/bin/tail\n 命令行:tail -f /Users/haoran/Projects/harbor-site/logs/dev.log\nPID 1079 父进程 957 用户 haoran 已运行 4小时1分 程序 /bin/zsh\n 命令行:zsh\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/haoran/.cache/io.example.overlay/hook.dylib(签名:没有签名)\nPID 1102 父进程 1079 用户 haoran 已运行 28分 程序 /Users/haoran/.local/bin/tidewatch\n 命令行:tidewatch run\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/haoran/.cache/io.example.overlay/hook.dylib(签名:没有签名)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):569、589、620、637、678、715\n", "answer": [ { "rule": "process.dyld-insert", "kind": "dyld-insert", "severity": "high", "verdict": "info", "targets": [ "1079", "1102" ], "title": "2 个进程启动时带着 DYLD_INSERT_LIBRARIES,要先载入 hook.dylib" } ], "planted": [ "dyld-insert-adhoc" ], "near": [] }, { "id": "process-080", "group": "single", "facts": "这台 Mac 现在登录的用户是 meilin。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 3天9小时 程序 /sbin/launchd\nPID 397 父进程 1 用户 _mdnsresponder 已运行 3天9小时 程序 /usr/sbin/mDNSResponder\nPID 429 父进程 1 用户 root 已运行 3天9小时 程序 /usr/libexec/opendirectoryd\nPID 462 父进程 1 用户 root 已运行 3天9小时 程序 /usr/libexec/diskarbitrationd\nPID 501 父进程 1 用户 root 已运行 3天9小时 程序 /usr/sbin/cupsd\nPID 526 父进程 1 用户 root 已运行 3天9小时 程序 /usr/sbin/bluetoothd\nPID 550 父进程 1 用户 root 已运行 3天9小时 程序 /usr/sbin/notifyd\nPID 562 父进程 1 用户 root 已运行 3天9小时 程序 /usr/sbin/KernelEventAgent\nPID 584 父进程 1 用户 _locationd 已运行 3天9小时 程序 /usr/libexec/locationd\nPID 621 父进程 1 用户 root 已运行 3天9小时 程序 /usr/libexec/securityd\nPID 639 父进程 1 用户 _coreaudiod 已运行 3天9小时 程序 /usr/sbin/coreaudiod\nPID 669 父进程 1 用户 meilin 已运行 3天9小时 程序 /usr/libexec/sharingd\nPID 704 父进程 1 用户 meilin 已运行 3天9小时 程序 /usr/libexec/nsurlsessiond\nPID 744 父进程 1 用户 meilin 已运行 3天9小时 程序 /usr/libexec/rapportd\nPID 758 父进程 1 用户 meilin 已运行 3天9小时 程序 /usr/libexec/lsd\nPID 767 父进程 1 用户 meilin 已运行 3天9小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 805 父进程 1 用户 meilin 已运行 3天9小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 819 父进程 1 用户 meilin 已运行 3天9小时 程序 /usr/libexec/UserEventAgent\nPID 843 父进程 1 用户 meilin 已运行 3天9小时 程序 /usr/sbin/usernoted\nPID 851 父进程 1 用户 meilin 已运行 10小时41分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 854 父进程 851 用户 meilin 已运行 3小时31分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (GPU).app/Contents/MacOS/Saltmarsh Helper (GPU)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libc++.1.dylib\nPID 871 父进程 851 用户 meilin 已运行 7小时16分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libc++.1.dylib\nPID 878 父进程 851 用户 meilin 已运行 2小时40分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 888 父进程 851 用户 meilin 已运行 1小时28分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libobjc.A.dylib\nPID 907 父进程 1 用户 meilin 已运行 4小时29分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 945 父进程 907 用户 meilin 已运行 4小时28分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libSystem.B.dylib\nPID 968 父进程 1 用户 meilin 已运行 6小时44分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 978 父进程 968 用户 meilin 已运行 2小时54分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 1003 父进程 968 用户 meilin 已运行 6小时43分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libz.1.dylib\nPID 1022 父进程 968 用户 meilin 已运行 6小时43分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libz.1.dylib\nPID 1059 父进程 968 用户 meilin 已运行 6小时44分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libz.1.dylib\nPID 1099 父进程 1 用户 meilin 已运行 11小时52分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 1106 父进程 1099 用户 meilin 已运行 2小时35分 程序 /bin/zsh\n 命令行:-zsh\nPID 1108 父进程 1099 用户 meilin 已运行 6小时25分 程序 /bin/zsh\n 命令行:-zsh\nPID 1145 父进程 1099 用户 meilin 已运行 3小时32分 程序 /bin/zsh\n 命令行:-zsh\nPID 1186 父进程 1106 用户 meilin 已运行 1小时30分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1196 父进程 1108 用户 meilin 已运行 4小时16分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1204 父进程 1106 用户 meilin 已运行 2小时35分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1234 父进程 1106 用户 meilin 已运行 2小时35分 程序 /usr/bin/tail\n 命令行:tail -f /Users/meilin/Projects/harbor-site/logs/dev.log\nPID 1268 父进程 1106 用户 meilin 已运行 2小时35分 程序 /Users/meilin/.local/bin/buildkiln\n 命令行:buildkiln watch\n 载入的库:/private/var/folders/hs/r_cysfffyrc7l1x7cw7cwjlvpw3c23/T/.H7W3SqZ8/libhelper.dylib(签名:签名对不上:签名以后文件被改过);/usr/lib/libSystem.B.dylib;/Users/meilin/.local/lib/libcommon.1.dylib\nPID 1285 父进程 1145 用户 meilin 已运行 1小时39分 程序 /Users/meilin/.local/bin/portloom\n 载入的库:/private/var/folders/hs/r_cysfffyrc7l1x7cw7cwjlvpw3c23/T/com.apple.dt.cache-vQRPin/libPreview.dylib(签名:Apple 签名)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):669、704、744、758、767、805、819、843\n", "answer": [ { "rule": "process.library-temp", "kind": "library-temp", "severity": "high", "verdict": "info", "targets": [ "1268" ], "title": "进程 1268(buildkiln)载入了临时文件夹里的库 libhelper.dylib" } ], "planted": [ "library-temp-broken-signature" ], "near": [ "apple-library-in-temp" ] }, { "id": "process-081", "group": "single", "facts": "这台 Mac 现在登录的用户是 anika。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 7天18小时 程序 /sbin/launchd\nPID 422 父进程 1 用户 root 已运行 7天18小时 程序 /usr/libexec/configd\nPID 436 父进程 1 用户 _mdnsresponder 已运行 7天18小时 程序 /usr/sbin/mDNSResponder\nPID 439 父进程 1 用户 root 已运行 7天18小时 程序 /usr/libexec/diskarbitrationd\nPID 445 父进程 1 用户 root 已运行 7天18小时 程序 /usr/libexec/watchdogd\nPID 485 父进程 1 用户 root 已运行 7天18小时 程序 /usr/sbin/notifyd\nPID 513 父进程 1 用户 root 已运行 7天18小时 程序 /usr/sbin/syslogd\nPID 514 父进程 1 用户 root 已运行 7天18小时 程序 /usr/libexec/airportd\nPID 548 父进程 1 用户 _windowserver 已运行 7天18小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 570 父进程 1 用户 anika 已运行 7天18小时 程序 /usr/libexec/secd\nPID 592 父进程 1 用户 anika 已运行 7天18小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 621 父进程 1 用户 anika 已运行 7天18小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 646 父进程 1 用户 anika 已运行 7天18小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 669 父进程 1 用户 anika 已运行 7天18小时 程序 /usr/libexec/sharingd\nPID 682 父进程 1 用户 anika 已运行 7天18小时 程序 /usr/libexec/lsd\nPID 704 父进程 1 用户 anika 已运行 7天18小时 程序 /usr/sbin/cfprefsd\nPID 722 父进程 1 用户 anika 已运行 7天18小时 程序 /usr/sbin/usernoted\nPID 734 父进程 1 用户 anika 已运行 7天18小时 程序 /usr/libexec/rapportd\nPID 765 父进程 1 用户 anika 已运行 1天2小时 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 793 父进程 765 用户 anika 已运行 4小时9分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libz.1.dylib\nPID 811 父进程 1 用户 anika 已运行 9小时59分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 828 父进程 811 用户 anika 已运行 3小时21分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libSystem.B.dylib\nPID 831 父进程 811 用户 anika 已运行 2小时31分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libobjc.A.dylib\nPID 848 父进程 811 用户 anika 已运行 6小时45分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 867 父进程 811 用户 anika 已运行 6小时22分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libobjc.A.dylib\nPID 868 父进程 1 用户 anika 已运行 2小时22分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 870 父进程 868 用户 anika 已运行 2小时22分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 901 父进程 868 用户 anika 已运行 9分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libz.1.dylib\nPID 919 父进程 1 用户 anika 已运行 10小时15分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 946 父进程 919 用户 anika 已运行 10小时14分 程序 /bin/zsh\n 命令行:-zsh\nPID 968 父进程 919 用户 anika 已运行 10小时15分 程序 /bin/zsh\n 命令行:-zsh\nPID 974 父进程 946 用户 anika 已运行 3小时45分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/anika/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 975 父进程 946 用户 anika 已运行 4小时31分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 978 父进程 946 用户 anika 已运行 2小时29分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 994 父进程 946 用户 anika 已运行 10小时14分 程序 /Users/anika/.local/bin/portloom 【程序文件已经不在盘上】\n 命令行:portloom serve --config dev.toml\nPID 1030 父进程 1 用户 anika 已运行 7天18小时 程序 /usr/bin/ssh-agent\n 命令行:ssh-agent -s\n\nlaunchd 管着的任务(launchctl list 里有的进程号):570、592、621、646、669、682、704、722、734\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "994" ], "title": "进程 994(portloom)的程序已经被删掉了,它还在跑" } ], "planted": [ "deleted-tool" ], "near": [ "detached-on-purpose" ] }, { "id": "process-082", "group": "multi", "facts": "这台 Mac 现在登录的用户是 tomas。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 8天19小时 程序 /sbin/launchd\nPID 383 父进程 1 用户 root 已运行 8天19小时 程序 /usr/sbin/notifyd\nPID 405 父进程 1 用户 root 已运行 8天19小时 程序 /usr/libexec/UserEventAgent\nPID 419 父进程 1 用户 root 已运行 8天19小时 程序 /usr/libexec/watchdogd\nPID 436 父进程 1 用户 root 已运行 8天19小时 程序 /usr/sbin/bluetoothd\nPID 469 父进程 1 用户 root 已运行 8天19小时 程序 /usr/libexec/opendirectoryd\nPID 474 父进程 1 用户 _coreaudiod 已运行 8天19小时 程序 /usr/sbin/coreaudiod\nPID 498 父进程 1 用户 root 已运行 8天19小时 程序 /usr/libexec/diskarbitrationd\nPID 509 父进程 1 用户 tomas 已运行 8天19小时 程序 /usr/libexec/pboard\nPID 531 父进程 1 用户 tomas 已运行 8天19小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 540 父进程 1 用户 tomas 已运行 8天19小时 程序 /usr/sbin/usernoted\nPID 581 父进程 1 用户 tomas 已运行 8天19小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 585 父进程 1 用户 tomas 已运行 8天19小时 程序 /usr/libexec/UserEventAgent\nPID 589 父进程 1 用户 tomas 已运行 8天19小时 程序 /usr/sbin/distnoted\nPID 623 父进程 1 用户 tomas 已运行 8天19小时 程序 /usr/libexec/secd\nPID 637 父进程 1 用户 tomas 已运行 8天19小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 660 父进程 1 用户 tomas 已运行 8天19小时 程序 /usr/libexec/sharingd\nPID 691 父进程 1 用户 tomas 已运行 23小时21分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 705 父进程 691 用户 tomas 已运行 7小时3分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 746 父进程 691 用户 tomas 已运行 5小时0分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (GPU).app/Contents/MacOS/Lumora Helper (GPU)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libc++.1.dylib\nPID 762 父进程 691 用户 tomas 已运行 3小时18分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libobjc.A.dylib\nPID 780 父进程 1 用户 tomas 已运行 2小时21分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 818 父进程 780 用户 tomas 已运行 2小时21分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Plugin).app/Contents/MacOS/Ondolo Helper (Plugin)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libSystem.B.dylib\nPID 820 父进程 780 用户 tomas 已运行 2小时21分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 858 父进程 1 用户 tomas 已运行 23小时35分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 896 父进程 858 用户 tomas 已运行 6小时4分 程序 /bin/zsh\n 命令行:-zsh\nPID 931 父进程 858 用户 tomas 已运行 18小时2分 程序 /bin/zsh\n 命令行:-zsh\nPID 943 父进程 931 用户 tomas 已运行 48分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 944 父进程 931 用户 tomas 已运行 4小时52分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/tomas/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 965 父进程 896 用户 tomas 已运行 2小时18分 程序 /usr/bin/tail\n 命令行:tail -f /Users/tomas/Projects/harbor-site/logs/dev.log\nPID 989 父进程 896 用户 tomas 已运行 6小时4分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 192.168.1.116 8080\n 监听:192.168.1.116:8080\nPID 995 父进程 931 用户 tomas 已运行 8小时48分 程序 /bin/zsh\n 命令行:zsh\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/tomas/Library/Application Support/Overlayd/inject.dylib(签名:临时签名,没有开发者担保)\nPID 998 父进程 995 用户 tomas 已运行 22分 程序 /Users/tomas/.local/bin/lintfinch\n 命令行:lintfinch run\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/tomas/Library/Application Support/Overlayd/inject.dylib(签名:临时签名,没有开发者担保)\nPID 1037 父进程 1 用户 tomas 已运行 8天19小时 程序 /usr/libexec/rapportd\n 监听:0.0.0.0:7000\nPID 1074 父进程 1 用户 root 已运行 8天19小时 程序 /opt/harborline/bin/gatewayd 【程序文件已经不在盘上】\n 命令行:gatewayd --config /opt/harborline/etc/gateway.toml\n\nlaunchd 管着的任务(launchctl list 里有的进程号):509、531、540、581、585、589、623、637、660、1037\n", "answer": [ { "rule": "process.dyld-insert", "kind": "dyld-insert", "severity": "high", "verdict": "info", "targets": [ "995", "998" ], "title": "2 个进程启动时带着 DYLD_INSERT_LIBRARIES,要先载入 inject.dylib" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "989" ], "title": "python3.13 在局域网地址上监听 8080 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-lan", "dyld-insert-adhoc" ], "near": [ "system-listening-everywhere", "other-user-gone" ], "boundary": [ "other-user-gone" ] }, { "id": "process-083", "group": "single", "facts": "这台 Mac 现在登录的用户是 soren。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 12天16小时 程序 /sbin/launchd\nPID 424 父进程 1 用户 _locationd 已运行 12天16小时 程序 /usr/libexec/locationd\nPID 443 父进程 1 用户 root 已运行 12天16小时 程序 /usr/libexec/diskarbitrationd\nPID 460 父进程 1 用户 root 已运行 12天16小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 487 父进程 1 用户 _coreaudiod 已运行 12天16小时 程序 /usr/sbin/coreaudiod\nPID 492 父进程 1 用户 root 已运行 12天16小时 程序 /usr/libexec/airportd\nPID 503 父进程 1 用户 root 已运行 12天16小时 程序 /usr/sbin/syslogd\nPID 508 父进程 1 用户 root 已运行 12天16小时 程序 /usr/libexec/logd\nPID 520 父进程 1 用户 _windowserver 已运行 12天16小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 535 父进程 1 用户 root 已运行 12天16小时 程序 /usr/sbin/notifyd\nPID 563 父进程 1 用户 soren 已运行 12天15小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 586 父进程 1 用户 soren 已运行 12天16小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 614 父进程 1 用户 soren 已运行 12天16小时 程序 /usr/libexec/lsd\nPID 616 父进程 1 用户 soren 已运行 12天15小时 程序 /usr/libexec/rapportd\nPID 625 父进程 1 用户 soren 已运行 12天16小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 661 父进程 1 用户 soren 已运行 12天16小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 697 父进程 1 用户 soren 已运行 8小时5分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 733 父进程 697 用户 soren 已运行 7小时52分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libSystem.B.dylib\nPID 749 父进程 697 用户 soren 已运行 1小时57分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (GPU).app/Contents/MacOS/Saltmarsh Helper (GPU)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libSystem.B.dylib\nPID 764 父进程 697 用户 soren 已运行 53分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libobjc.A.dylib\nPID 790 父进程 1 用户 soren 已运行 4小时47分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 823 父进程 790 用户 soren 已运行 4小时46分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libSystem.B.dylib\nPID 850 父进程 1 用户 soren 已运行 14小时9分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 868 父进程 850 用户 soren 已运行 13小时56分 程序 /bin/zsh\n 命令行:-zsh\nPID 885 父进程 850 用户 soren 已运行 14小时8分 程序 /bin/zsh\n 命令行:-zsh\nPID 908 父进程 850 用户 soren 已运行 3小时52分 程序 /bin/zsh\n 命令行:-zsh\nPID 941 父进程 885 用户 soren 已运行 1小时36分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 958 父进程 908 用户 soren 已运行 3小时1分 程序 /usr/bin/tail\n 命令行:tail -f /Users/soren/Projects/harbor-site/logs/dev.log\nPID 965 父进程 868 用户 soren 已运行 7小时55分 程序 /bin/zsh\n 命令行:zsh\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/soren/Library/Application Support/Overlayd/inject.dylib(签名:没有签名)\nPID 975 父进程 965 用户 soren 已运行 4分 程序 /Users/soren/.local/bin/syncferry\n 命令行:syncferry run\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/soren/Library/Application Support/Overlayd/inject.dylib(签名:没有签名)\nPID 1004 父进程 1 用户 soren 已运行 5小时40分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy run --config /Users/soren/Caddyfile\n\nlaunchd 管着的任务(launchctl list 里有的进程号):563、586、614、616、625、661\n", "answer": [ { "rule": "process.dyld-insert", "kind": "dyld-insert", "severity": "high", "verdict": "info", "targets": [ "965", "975" ], "title": "2 个进程启动时带着 DYLD_INSERT_LIBRARIES,要先载入 inject.dylib" } ], "planted": [ "dyld-insert-adhoc" ], "near": [ "orphan-5-hours-50" ] }, { "id": "process-084", "group": "single", "facts": "这台 Mac 现在登录的用户是 ruben。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 1天22小时 程序 /sbin/launchd\nPID 366 父进程 1 用户 root 已运行 1天22小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 406 父进程 1 用户 _windowserver 已运行 1天22小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 435 父进程 1 用户 _mdnsresponder 已运行 1天22小时 程序 /usr/sbin/mDNSResponder\nPID 444 父进程 1 用户 root 已运行 1天22小时 程序 /usr/sbin/bluetoothd\nPID 472 父进程 1 用户 root 已运行 1天22小时 程序 /usr/libexec/configd\nPID 490 父进程 1 用户 root 已运行 1天22小时 程序 /usr/sbin/syslogd\nPID 513 父进程 1 用户 root 已运行 1天22小时 程序 /usr/libexec/securityd\nPID 538 父进程 1 用户 root 已运行 1天22小时 程序 /usr/sbin/notifyd\nPID 546 父进程 1 用户 _locationd 已运行 1天22小时 程序 /usr/libexec/locationd\nPID 554 父进程 1 用户 root 已运行 1天22小时 程序 /usr/libexec/diskarbitrationd\nPID 592 父进程 1 用户 root 已运行 1天22小时 程序 /usr/libexec/airportd\nPID 611 父进程 1 用户 ruben 已运行 1天21小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 646 父进程 1 用户 ruben 已运行 1天21小时 程序 /usr/libexec/secd\nPID 655 父进程 1 用户 ruben 已运行 1天22小时 程序 /usr/libexec/trustd\nPID 666 父进程 1 用户 ruben 已运行 1天22小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 693 父进程 1 用户 ruben 已运行 1天22小时 程序 /usr/sbin/distnoted\nPID 707 父进程 1 用户 ruben 已运行 1天21小时 程序 /usr/sbin/cfprefsd\nPID 747 父进程 1 用户 ruben 已运行 6小时55分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 762 父进程 747 用户 ruben 已运行 4小时26分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libSystem.B.dylib\nPID 771 父进程 1 用户 ruben 已运行 6小时58分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 791 父进程 771 用户 ruben 已运行 6小时58分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 797 父进程 1 用户 ruben 已运行 20小时55分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 818 父进程 797 用户 ruben 已运行 1小时16分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (GPU).app/Contents/MacOS/Lumora Helper (GPU)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 858 父进程 797 用户 ruben 已运行 3小时7分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 895 父进程 797 用户 ruben 已运行 2小时58分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libc++.1.dylib\nPID 910 父进程 797 用户 ruben 已运行 2小时9分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 933 父进程 1 用户 ruben 已运行 1天8小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 969 父进程 933 用户 ruben 已运行 12小时39分 程序 /bin/zsh\n 命令行:-zsh\nPID 1004 父进程 933 用户 ruben 已运行 21小时54分 程序 /bin/zsh\n 命令行:-zsh\nPID 1010 父进程 1004 用户 ruben 已运行 20分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1036 父进程 1004 用户 ruben 已运行 1小时16分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1040 父进程 1004 用户 ruben 已运行 3小时47分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1048 父进程 1 用户 ruben 已运行 1天22小时 程序 /Users/ruben/.local/bin/syncferry\n 命令行:syncferry daemon\nPID 1050 父进程 1 用户 ruben 已运行 1天22小时 程序 /opt/homebrew/bin/deno\n 命令行:deno run -A dev.ts\nPID 1057 父进程 969 用户 ruben 已运行 1小时38分 程序 /Users/ruben/.local/bin/cachewren\n 环境变量:DYLD_LIBRARY_PATH=/opt/homebrew/lib\n 环境变量:DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Frameworks\n\nlaunchd 管着的任务(launchctl list 里有的进程号):611、646、655、666、693、707\n", "answer": [ { "rule": "process.orphan", "kind": "orphan", "severity": "low", "verdict": "info", "targets": [ "1048", "1050" ], "title": "2 个后台进程的父进程已经退出,还在跑" } ], "planted": [ "orphans" ], "near": [ "other-dyld-variable" ] }, { "id": "process-085", "group": "near", "facts": "这台 Mac 现在登录的用户是 yuki。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 3天15小时 程序 /sbin/launchd\nPID 378 父进程 1 用户 root 已运行 3天15小时 程序 /usr/libexec/opendirectoryd\nPID 394 父进程 1 用户 root 已运行 3天15小时 程序 /usr/sbin/notifyd\nPID 422 父进程 1 用户 root 已运行 3天15小时 程序 /usr/libexec/airportd\nPID 450 父进程 1 用户 root 已运行 3天15小时 程序 /usr/sbin/KernelEventAgent\nPID 478 父进程 1 用户 _windowserver 已运行 3天15小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 486 父进程 1 用户 root 已运行 3天15小时 程序 /usr/libexec/diskarbitrationd\nPID 498 父进程 1 用户 _coreaudiod 已运行 3天15小时 程序 /usr/sbin/coreaudiod\nPID 523 父进程 1 用户 yuki 已运行 3天15小时 程序 /usr/sbin/cfprefsd\nPID 563 父进程 1 用户 yuki 已运行 3天15小时 程序 /usr/libexec/pboard\nPID 590 父进程 1 用户 yuki 已运行 3天15小时 程序 /usr/libexec/trustd\nPID 629 父进程 1 用户 yuki 已运行 3天15小时 程序 /usr/libexec/UserEventAgent\nPID 643 父进程 1 用户 yuki 已运行 3天15小时 程序 /usr/libexec/lsd\nPID 650 父进程 1 用户 yuki 已运行 3天15小时 程序 /usr/libexec/secd\nPID 665 父进程 1 用户 yuki 已运行 3天15小时 程序 /usr/sbin/distnoted\nPID 666 父进程 1 用户 yuki 已运行 3天15小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 671 父进程 1 用户 yuki 已运行 7小时21分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 694 父进程 671 用户 yuki 已运行 3小时32分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libc++.1.dylib\nPID 711 父进程 671 用户 yuki 已运行 7小时21分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 731 父进程 671 用户 yuki 已运行 7小时21分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 751 父进程 671 用户 yuki 已运行 5小时17分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 786 父进程 1 用户 yuki 已运行 15小时1分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 815 父进程 786 用户 yuki 已运行 1小时54分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 821 父进程 786 用户 yuki 已运行 7小时51分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libc++.1.dylib\nPID 832 父进程 786 用户 yuki 已运行 31分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 845 父进程 786 用户 yuki 已运行 7小时36分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 877 父进程 1 用户 yuki 已运行 4小时34分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 882 父进程 877 用户 yuki 已运行 4小时33分 程序 /bin/zsh\n 命令行:-zsh\nPID 905 父进程 877 用户 yuki 已运行 4小时33分 程序 /bin/zsh\n 命令行:-zsh\nPID 938 父进程 877 用户 yuki 已运行 4小时34分 程序 /bin/zsh\n 命令行:-zsh\nPID 977 父进程 905 用户 yuki 已运行 3小时53分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1018 父进程 882 用户 yuki 已运行 4小时23分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1054 父进程 905 用户 yuki 已运行 1小时36分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1081 父进程 882 用户 yuki 已运行 20分 程序 /usr/bin/curl\n 命令行:curl -sO https://deploy@files.internal.example/sk-learn-notes/data.tar.gz\nPID 1108 父进程 1 用户 yuki 已运行 2天6小时 程序 /Applications/Vextra.app/Contents/XPCServices/VextraSync.xpc/Contents/MacOS/VextraSync\nPID 1127 父进程 905 用户 yuki 已运行 3小时1分 程序 /Users/yuki/.local/bin/buildkiln\n 载入的库:/private/var/folders/6q/762vvrvb1krfftfrj3k6k3xywwc1mm/T/com.apple.dt.cache-9WcQk5/libPreview.dylib(签名:Apple 签名)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):523、563、590、629、643、650、665、666\n", "answer": [], "planted": [], "near": [ "url-without-password", "app-service-under-launchd", "apple-library-in-temp" ] }, { "id": "process-086", "group": "multi", "facts": "这台 Mac 现在登录的用户是 ines。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 4天13小时 程序 /sbin/launchd\nPID 305 父进程 1 用户 root 已运行 4天13小时 程序 /usr/sbin/KernelEventAgent\nPID 335 父进程 1 用户 root 已运行 4天13小时 程序 /usr/libexec/airportd\nPID 338 父进程 1 用户 root 已运行 4天13小时 程序 /usr/libexec/thermalmonitord\nPID 358 父进程 1 用户 root 已运行 4天13小时 程序 /usr/libexec/securityd\nPID 398 父进程 1 用户 root 已运行 4天13小时 程序 /usr/libexec/logd\nPID 407 父进程 1 用户 root 已运行 4天13小时 程序 /usr/sbin/bluetoothd\nPID 437 父进程 1 用户 root 已运行 4天13小时 程序 /usr/sbin/cupsd\nPID 443 父进程 1 用户 root 已运行 4天13小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 444 父进程 1 用户 _mdnsresponder 已运行 4天13小时 程序 /usr/sbin/mDNSResponder\nPID 465 父进程 1 用户 root 已运行 4天13小时 程序 /usr/libexec/diskarbitrationd\nPID 489 父进程 1 用户 root 已运行 4天13小时 程序 /usr/libexec/configd\nPID 490 父进程 1 用户 ines 已运行 4天13小时 程序 /usr/sbin/usernoted\nPID 507 父进程 1 用户 ines 已运行 4天13小时 程序 /usr/libexec/secd\nPID 514 父进程 1 用户 ines 已运行 4天13小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 535 父进程 1 用户 ines 已运行 4天13小时 程序 /usr/libexec/UserEventAgent\nPID 559 父进程 1 用户 ines 已运行 4天13小时 程序 /usr/libexec/rapportd\nPID 561 父进程 1 用户 ines 已运行 4天13小时 程序 /usr/libexec/trustd\nPID 571 父进程 1 用户 ines 已运行 14小时40分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 602 父进程 571 用户 ines 已运行 8小时50分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libSystem.B.dylib\nPID 620 父进程 571 用户 ines 已运行 53分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 658 父进程 571 用户 ines 已运行 4小时18分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 663 父进程 571 用户 ines 已运行 8小时18分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libobjc.A.dylib\nPID 687 父进程 1 用户 ines 已运行 1天5小时 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 718 父进程 687 用户 ines 已运行 4小时51分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 738 父进程 687 用户 ines 已运行 5小时5分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libSystem.B.dylib\nPID 739 父进程 687 用户 ines 已运行 3小时1分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libz.1.dylib\nPID 743 父进程 1 用户 ines 已运行 1天15小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 781 父进程 743 用户 ines 已运行 11小时39分 程序 /bin/zsh\n 命令行:-zsh\nPID 808 父进程 743 用户 ines 已运行 3小时41分 程序 /bin/zsh\n 命令行:-zsh\nPID 841 父进程 781 用户 ines 已运行 4小时47分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 870 父进程 808 用户 ines 已运行 2小时11分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 895 父进程 808 用户 ines 已运行 2小时38分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/ines/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 911 父进程 781 用户 ines 已运行 4小时52分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 938 父进程 781 用户 ines 已运行 6小时22分 程序 /opt/homebrew/bin/node\n 命令行:node server.js --host :: --port 8888\n 监听:[::]:8888\nPID 943 父进程 781 用户 ines 已运行 11小时38分 程序 /Users/ines/.local/bin/logharbor\n 命令行:logharbor poll --every 5s\nPID 949 父进程 943 用户 ines 已运行 49分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 951 父进程 943 用户 ines 已运行 10分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 975 父进程 943 用户 ines 已运行 30分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 985 父进程 943 用户 ines 已运行 40分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1016 父进程 943 用户 ines 已运行 39分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1027 父进程 943 用户 ines 已运行 47分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1032 父进程 943 用户 ines 已运行 32分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1050 父进程 943 用户 ines 已运行 38分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1081 父进程 943 用户 ines 已运行 42分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1110 父进程 943 用户 ines 已运行 57分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1120 父进程 943 用户 ines 已运行 35分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1144 父进程 943 用户 ines 已运行 30分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1162 父进程 943 用户 ines 已运行 42分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1163 父进程 943 用户 ines 已运行 12分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1185 父进程 943 用户 ines 已运行 37分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1220 父进程 943 用户 ines 已运行 7分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1250 父进程 943 用户 ines 已运行 1分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1266 父进程 943 用户 ines 已运行 22分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1275 父进程 943 用户 ines 已运行 48分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1287 父进程 943 用户 ines 已运行 48分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1319 父进程 943 用户 ines 已运行 13分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1335 父进程 943 用户 ines 已运行 30分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1362 父进程 943 用户 ines 已运行 7分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1389 父进程 943 用户 ines 已运行 22分 程序 /usr/sbin/lsof\n 命令行:lsof -nP -iTCP -sTCP:LISTEN\nPID 1425 父进程 781 用户 ines 已运行 1小时41分 程序 /opt/homebrew/bin/mysql\n 命令行:mysql -h db.internal.example -u report -p sales\nPID 1464 父进程 1 用户 ines 已运行 4天13小时 程序 /usr/libexec/sharingd\n 监听:0.0.0.0:7000\n\nlaunchd 管着的任务(launchctl list 里有的进程号):490、507、514、535、559、561、1464\n", "answer": [ { "rule": "process.pile-up", "kind": "pile-up", "severity": "medium", "verdict": "info", "targets": [ "943", "949", "951", "975", "985", "1016", "1027", "1032", "1050", "1081", "1110", "1120", "1144", "1162", "1163", "1185", "1220", "1250", "1266", "1275", "1287", "1319", "1335", "1362", "1389" ], "title": "lsof 在同一个父进程下堆了 24 个" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "938" ], "title": "node 在所有网络上监听 8888 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-everywhere-v6", "pile-up-many" ], "near": [ "mysql-asks-for-password", "system-listening-everywhere" ] }, { "id": "process-087", "group": "single", "facts": "这台 Mac 现在登录的用户是 dalia。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 13天11小时 程序 /sbin/launchd\nPID 458 父进程 1 用户 _locationd 已运行 13天11小时 程序 /usr/libexec/locationd\nPID 460 父进程 1 用户 root 已运行 13天11小时 程序 /usr/libexec/configd\nPID 466 父进程 1 用户 root 已运行 13天11小时 程序 /usr/libexec/airportd\nPID 497 父进程 1 用户 root 已运行 13天11小时 程序 /usr/sbin/bluetoothd\nPID 537 父进程 1 用户 root 已运行 13天11小时 程序 /usr/libexec/watchdogd\nPID 544 父进程 1 用户 _coreaudiod 已运行 13天11小时 程序 /usr/sbin/coreaudiod\nPID 585 父进程 1 用户 root 已运行 13天11小时 程序 /usr/libexec/logd\nPID 597 父进程 1 用户 root 已运行 13天11小时 程序 /usr/libexec/UserEventAgent\nPID 633 父进程 1 用户 root 已运行 13天11小时 程序 /usr/sbin/notifyd\nPID 664 父进程 1 用户 root 已运行 13天11小时 程序 /usr/sbin/KernelEventAgent\nPID 705 父进程 1 用户 dalia 已运行 13天11小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 726 父进程 1 用户 dalia 已运行 13天11小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 743 父进程 1 用户 dalia 已运行 13天11小时 程序 /usr/libexec/trustd\nPID 744 父进程 1 用户 dalia 已运行 13天11小时 程序 /usr/sbin/cfprefsd\nPID 778 父进程 1 用户 dalia 已运行 13天10小时 程序 /usr/sbin/usernoted\nPID 781 父进程 1 用户 dalia 已运行 13天11小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 816 父进程 1 用户 dalia 已运行 13天11小时 程序 /usr/libexec/sharingd\nPID 840 父进程 1 用户 dalia 已运行 13天11小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 874 父进程 1 用户 dalia 已运行 18小时12分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 911 父进程 874 用户 dalia 已运行 7小时24分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 927 父进程 874 用户 dalia 已运行 6小时51分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 935 父进程 874 用户 dalia 已运行 7小时25分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libobjc.A.dylib\nPID 961 父进程 874 用户 dalia 已运行 2小时42分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libSystem.B.dylib\nPID 984 父进程 1 用户 dalia 已运行 45分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 1004 父进程 984 用户 dalia 已运行 45分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libobjc.A.dylib\nPID 1041 父进程 1 用户 dalia 已运行 8小时29分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 1045 父进程 1041 用户 dalia 已运行 5小时57分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Plugin).app/Contents/MacOS/Tarnwell Helper (Plugin)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libc++.1.dylib\nPID 1063 父进程 1041 用户 dalia 已运行 8小时11分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 1076 父进程 1 用户 dalia 已运行 1天10小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 1086 父进程 1076 用户 dalia 已运行 1天5小时 程序 /bin/zsh\n 命令行:-zsh\nPID 1120 父进程 1076 用户 dalia 已运行 16小时49分 程序 /bin/zsh\n 命令行:-zsh\nPID 1141 父进程 1120 用户 dalia 已运行 4小时9分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/dalia/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1158 父进程 1086 用户 dalia 已运行 3小时45分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1177 父进程 1086 用户 dalia 已运行 4小时16分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1211 父进程 1120 用户 dalia 已运行 3小时15分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind :: 9000\n 监听:[::]:9000\nPID 1243 父进程 1 用户 dalia 已运行 5小时42分 程序 /opt/homebrew/bin/deno\n 命令行:deno run -A dev.ts\n\nlaunchd 管着的任务(launchctl list 里有的进程号):705、726、743、744、778、781、816、840\n", "answer": [ { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "1211" ], "title": "python3.13 在所有网络上监听 9000 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-everywhere-v6" ], "near": [ "orphan-5-hours-50" ] }, { "id": "process-088", "group": "single", "facts": "这台 Mac 现在登录的用户是 tomas。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 16天0小时 程序 /sbin/launchd\nPID 327 父进程 1 用户 root 已运行 16天0小时 程序 /usr/libexec/configd\nPID 363 父进程 1 用户 root 已运行 16天0小时 程序 /usr/libexec/opendirectoryd\nPID 382 父进程 1 用户 _windowserver 已运行 16天0小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 397 父进程 1 用户 root 已运行 16天0小时 程序 /usr/libexec/airportd\nPID 411 父进程 1 用户 root 已运行 16天0小时 程序 /usr/sbin/notifyd\nPID 435 父进程 1 用户 root 已运行 16天0小时 程序 /usr/sbin/KernelEventAgent\nPID 461 父进程 1 用户 root 已运行 16天0小时 程序 /usr/libexec/logd\nPID 496 父进程 1 用户 _coreaudiod 已运行 16天0小时 程序 /usr/sbin/coreaudiod\nPID 509 父进程 1 用户 root 已运行 16天0小时 程序 /usr/libexec/diskarbitrationd\nPID 538 父进程 1 用户 tomas 已运行 16天0小时 程序 /usr/sbin/usernoted\nPID 558 父进程 1 用户 tomas 已运行 16天0小时 程序 /usr/libexec/rapportd\nPID 579 父进程 1 用户 tomas 已运行 16天0小时 程序 /usr/libexec/pboard\nPID 580 父进程 1 用户 tomas 已运行 16天0小时 程序 /usr/sbin/cfprefsd\nPID 591 父进程 1 用户 tomas 已运行 16天0小时 程序 /usr/libexec/lsd\nPID 614 父进程 1 用户 tomas 已运行 16天0小时 程序 /usr/libexec/nsurlsessiond\nPID 649 父进程 1 用户 tomas 已运行 16天0小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 660 父进程 1 用户 tomas 已运行 16天0小时 程序 /usr/libexec/UserEventAgent\nPID 677 父进程 1 用户 tomas 已运行 11小时46分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 717 父进程 677 用户 tomas 已运行 15分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libobjc.A.dylib\nPID 756 父进程 677 用户 tomas 已运行 3小时19分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 766 父进程 677 用户 tomas 已运行 14分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libz.1.dylib\nPID 802 父进程 1 用户 tomas 已运行 1天0小时 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 836 父进程 802 用户 tomas 已运行 8小时2分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libSystem.B.dylib\nPID 855 父进程 1 用户 tomas 已运行 1天10小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 868 父进程 855 用户 tomas 已运行 1天2小时 程序 /bin/zsh\n 命令行:-zsh\nPID 872 父进程 855 用户 tomas 已运行 3小时12分 程序 /bin/zsh\n 命令行:-zsh\nPID 883 父进程 855 用户 tomas 已运行 21小时40分 程序 /bin/zsh\n 命令行:-zsh\nPID 900 父进程 883 用户 tomas 已运行 12分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 914 父进程 868 用户 tomas 已运行 4小时29分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/tomas/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 943 父进程 872 用户 tomas 已运行 3小时12分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 981 父进程 872 用户 tomas 已运行 25分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 990 父进程 883 用户 tomas 已运行 7小时41分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 192.168.7.172 8080\n 监听:192.168.7.172:8080\nPID 1010 父进程 1 用户 tomas 已运行 13天13小时 程序 /opt/homebrew/bin/tmux\n 命令行:tmux new-session -d -s work\n\nlaunchd 管着的任务(launchctl list 里有的进程号):538、558、579、580、591、614、649、660\n", "answer": [ { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "990" ], "title": "python3.13 在局域网地址上监听 8080 端口:同一个网络里的人能连进来" } ], "planted": [ "listening-lan" ], "near": [ "detached-on-purpose" ] }, { "id": "process-089", "group": "single", "facts": "这台 Mac 现在登录的用户是 soren。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 4天15小时 程序 /sbin/launchd\nPID 357 父进程 1 用户 _mdnsresponder 已运行 4天15小时 程序 /usr/sbin/mDNSResponder\nPID 379 父进程 1 用户 root 已运行 4天15小时 程序 /usr/libexec/configd\nPID 393 父进程 1 用户 _locationd 已运行 4天15小时 程序 /usr/libexec/locationd\nPID 397 父进程 1 用户 root 已运行 4天15小时 程序 /usr/libexec/logd\nPID 405 父进程 1 用户 _coreaudiod 已运行 4天15小时 程序 /usr/sbin/coreaudiod\nPID 440 父进程 1 用户 root 已运行 4天15小时 程序 /usr/libexec/securityd\nPID 465 父进程 1 用户 _windowserver 已运行 4天15小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 468 父进程 1 用户 root 已运行 4天15小时 程序 /usr/sbin/bluetoothd\nPID 506 父进程 1 用户 root 已运行 4天15小时 程序 /usr/libexec/airportd\nPID 512 父进程 1 用户 root 已运行 4天15小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 543 父进程 1 用户 root 已运行 4天15小时 程序 /usr/sbin/syslogd\nPID 548 父进程 1 用户 soren 已运行 4天15小时 程序 /usr/sbin/usernoted\nPID 569 父进程 1 用户 soren 已运行 4天15小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 590 父进程 1 用户 soren 已运行 4天15小时 程序 /usr/libexec/rapportd\nPID 626 父进程 1 用户 soren 已运行 4天15小时 程序 /usr/sbin/cfprefsd\nPID 659 父进程 1 用户 soren 已运行 4天15小时 程序 /usr/libexec/UserEventAgent\nPID 690 父进程 1 用户 soren 已运行 4天15小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 707 父进程 1 用户 soren 已运行 18小时50分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 716 父进程 707 用户 soren 已运行 4小时40分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (GPU).app/Contents/MacOS/Brackenmail Helper (GPU)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 753 父进程 707 用户 soren 已运行 7小时57分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 754 父进程 1 用户 soren 已运行 17小时45分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 756 父进程 754 用户 soren 已运行 5小时14分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Plugin).app/Contents/MacOS/Lumora Helper (Plugin)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libobjc.A.dylib\nPID 776 父进程 754 用户 soren 已运行 51分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libobjc.A.dylib\nPID 815 父进程 754 用户 soren 已运行 1小时42分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (GPU).app/Contents/MacOS/Lumora Helper (GPU)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libc++.1.dylib\nPID 828 父进程 754 用户 soren 已运行 2小时12分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 839 父进程 1 用户 soren 已运行 3小时51分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 846 父进程 839 用户 soren 已运行 2小时4分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libc++.1.dylib\nPID 847 父进程 839 用户 soren 已运行 3小时51分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 880 父进程 839 用户 soren 已运行 3小时51分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 913 父进程 1 用户 soren 已运行 14小时57分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 920 父进程 913 用户 soren 已运行 14小时57分 程序 /bin/zsh\n 命令行:-zsh\nPID 947 父进程 913 用户 soren 已运行 14小时57分 程序 /bin/zsh\n 命令行:-zsh\nPID 958 父进程 920 用户 soren 已运行 3小时25分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 974 父进程 920 用户 soren 已运行 3小时51分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 997 父进程 920 用户 soren 已运行 4小时10分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1015 父进程 920 用户 soren 已运行 2小时25分 程序 /bin/zsh\n 命令行:zsh\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/soren/.cache/io.example.overlay/hook.dylib(签名:开发者签名,团队 7KQ2XW9LHV)\nPID 1044 父进程 1015 用户 soren 已运行 27分 程序 /Users/soren/.local/bin/logharbor\n 命令行:logharbor run\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/soren/.cache/io.example.overlay/hook.dylib(签名:开发者签名,团队 7KQ2XW9LHV)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):548、569、590、626、659、690\n", "answer": [ { "rule": "process.dyld-insert", "kind": "dyld-insert", "severity": "medium", "verdict": "info", "targets": [ "1015", "1044" ], "title": "2 个进程启动时带着 DYLD_INSERT_LIBRARIES,要先载入 hook.dylib" } ], "planted": [ "dyld-insert-developer" ], "near": [] }, { "id": "process-090", "group": "near", "facts": "这台 Mac 现在登录的用户是 soren。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 3天15小时 程序 /sbin/launchd\nPID 427 父进程 1 用户 root 已运行 3天15小时 程序 /usr/sbin/bluetoothd\nPID 431 父进程 1 用户 root 已运行 3天15小时 程序 /usr/sbin/syslogd\nPID 460 父进程 1 用户 root 已运行 3天15小时 程序 /usr/libexec/securityd\nPID 479 父进程 1 用户 root 已运行 3天15小时 程序 /usr/libexec/UserEventAgent\nPID 511 父进程 1 用户 root 已运行 3天15小时 程序 /usr/libexec/opendirectoryd\nPID 516 父进程 1 用户 root 已运行 3天15小时 程序 /usr/libexec/logd\nPID 546 父进程 1 用户 root 已运行 3天15小时 程序 /usr/libexec/configd\nPID 568 父进程 1 用户 root 已运行 3天15小时 程序 /usr/sbin/KernelEventAgent\nPID 574 父进程 1 用户 root 已运行 3天15小时 程序 /usr/sbin/notifyd\nPID 610 父进程 1 用户 root 已运行 3天15小时 程序 /usr/libexec/watchdogd\nPID 634 父进程 1 用户 soren 已运行 3天15小时 程序 /usr/sbin/usernoted\nPID 650 父进程 1 用户 soren 已运行 3天15小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 677 父进程 1 用户 soren 已运行 3天15小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 697 父进程 1 用户 soren 已运行 3天15小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 704 父进程 1 用户 soren 已运行 3天15小时 程序 /usr/libexec/sharingd\nPID 716 父进程 1 用户 soren 已运行 3天14小时 程序 /usr/libexec/lsd\nPID 741 父进程 1 用户 soren 已运行 3天14小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 769 父进程 1 用户 soren 已运行 3天15小时 程序 /usr/libexec/secd\nPID 801 父进程 1 用户 soren 已运行 6小时6分 程序 /Applications/Vextra.app/Contents/MacOS/Vextra\n 命令行:/Applications/Vextra.app/Contents/MacOS/Vextra\nPID 802 父进程 801 用户 soren 已运行 1小时43分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 831 父进程 801 用户 soren 已运行 33分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 870 父进程 801 用户 soren 已运行 6小时5分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (GPU).app/Contents/MacOS/Vextra Helper (GPU)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libobjc.A.dylib\nPID 896 父进程 801 用户 soren 已运行 6小时6分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (Renderer).app/Contents/MacOS/Vextra Helper (Renderer)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/usr/lib/libobjc.A.dylib\nPID 928 父进程 1 用户 soren 已运行 1天0小时 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 943 父进程 928 用户 soren 已运行 1小时4分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libz.1.dylib\nPID 974 父进程 928 用户 soren 已运行 4小时21分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 976 父进程 928 用户 soren 已运行 3小时53分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 1016 父进程 928 用户 soren 已运行 2小时47分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Plugin).app/Contents/MacOS/Tarnwell Helper (Plugin)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libSystem.B.dylib\nPID 1035 父进程 1 用户 soren 已运行 10小时1分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 1072 父进程 1035 用户 soren 已运行 8小时36分 程序 /bin/zsh\n 命令行:-zsh\nPID 1108 父进程 1035 用户 soren 已运行 2小时48分 程序 /bin/zsh\n 命令行:-zsh\nPID 1117 父进程 1035 用户 soren 已运行 10小时1分 程序 /bin/zsh\n 命令行:-zsh\nPID 1137 父进程 1117 用户 soren 已运行 3小时46分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1143 父进程 1072 用户 soren 已运行 3小时12分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1161 父进程 1117 用户 soren 已运行 3小时44分 程序 /usr/bin/tail\n 命令行:tail -f /Users/soren/Projects/harbor-site/logs/dev.log\nPID 1163 父进程 1117 用户 soren 已运行 4小时5分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/soren/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1197 父进程 1 用户 soren 已运行 3天15小时 程序 /Users/soren/.local/bin/logharbor\n 命令行:logharbor agent --launchd\nPID 1216 父进程 1117 用户 soren 已运行 27分 程序 /Users/soren/.local/bin/tidewatch\n 命令行:tidewatch --debug\n 环境变量:DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/usr/lib/libMainThreadChecker.dylib(签名:Apple 签名)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):634、650、677、697、704、716、741、769、1197\n", "answer": [], "planted": [], "near": [ "launchd-job", "dyld-insert-apple-signed" ] }, { "id": "process-091", "group": "multi", "facts": "这台 Mac 现在登录的用户是 ines。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 18天2小时 程序 /sbin/launchd\nPID 404 父进程 1 用户 root 已运行 18天2小时 程序 /usr/libexec/logd\nPID 430 父进程 1 用户 root 已运行 18天2小时 程序 /usr/libexec/watchdogd\nPID 470 父进程 1 用户 _coreaudiod 已运行 18天2小时 程序 /usr/sbin/coreaudiod\nPID 484 父进程 1 用户 root 已运行 18天2小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 505 父进程 1 用户 root 已运行 18天2小时 程序 /usr/libexec/thermalmonitord\nPID 538 父进程 1 用户 root 已运行 18天2小时 程序 /usr/libexec/securityd\nPID 579 父进程 1 用户 root 已运行 18天2小时 程序 /usr/sbin/bluetoothd\nPID 592 父进程 1 用户 _locationd 已运行 18天2小时 程序 /usr/libexec/locationd\nPID 602 父进程 1 用户 ines 已运行 18天1小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 620 父进程 1 用户 ines 已运行 18天2小时 程序 /usr/libexec/trustd\nPID 633 父进程 1 用户 ines 已运行 18天1小时 程序 /usr/libexec/pboard\nPID 667 父进程 1 用户 ines 已运行 18天1小时 程序 /usr/libexec/lsd\nPID 685 父进程 1 用户 ines 已运行 18天1小时 程序 /usr/sbin/usernoted\nPID 718 父进程 1 用户 ines 已运行 18天2小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 753 父进程 1 用户 ines 已运行 18天2小时 程序 /usr/sbin/distnoted\nPID 765 父进程 1 用户 ines 已运行 5小时13分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 783 父进程 765 用户 ines 已运行 4小时25分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libz.1.dylib\nPID 786 父进程 765 用户 ines 已运行 5小时13分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Renderer).app/Contents/MacOS/Saltmarsh Helper (Renderer)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 802 父进程 1 用户 ines 已运行 10小时13分 程序 /Applications/Vextra.app/Contents/MacOS/Vextra\n 命令行:/Applications/Vextra.app/Contents/MacOS/Vextra\nPID 829 父进程 802 用户 ines 已运行 6小时9分 程序 /Applications/Vextra.app/Contents/Frameworks/Vextra Helper (GPU).app/Contents/MacOS/Vextra Helper (GPU)\n 载入的库:/Applications/Vextra.app/Contents/Frameworks/Vextra Framework.framework/Vextra Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 858 父进程 1 用户 ines 已运行 20小时25分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 872 父进程 858 用户 ines 已运行 4小时8分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libc++.1.dylib\nPID 903 父进程 858 用户 ines 已运行 2小时39分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libz.1.dylib\nPID 943 父进程 858 用户 ines 已运行 5小时54分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (GPU).app/Contents/MacOS/Lumora Helper (GPU)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libz.1.dylib\nPID 956 父进程 1 用户 ines 已运行 1天14小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 981 父进程 956 用户 ines 已运行 9小时13分 程序 /bin/zsh\n 命令行:-zsh\nPID 1003 父进程 956 用户 ines 已运行 4小时4分 程序 /bin/zsh\n 命令行:-zsh\nPID 1012 父进程 956 用户 ines 已运行 18小时16分 程序 /bin/zsh\n 命令行:-zsh\nPID 1032 父进程 981 用户 ines 已运行 3小时25分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1073 父进程 1012 用户 ines 已运行 2小时40分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1095 父进程 1003 用户 ines 已运行 3小时6分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1114 父进程 1012 用户 ines 已运行 18小时16分 程序 /Users/ines/.local/bin/buildkiln 【程序文件已经不在盘上】\n 命令行:buildkiln serve --config dev.toml\nPID 1137 父进程 1012 用户 ines 已运行 4小时33分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 192.168.14.218 9000\n 监听:192.168.14.218:9000\nPID 1141 父进程 1003 用户 ines 已运行 4小时3分 程序 /bin/zsh\n 命令行:zsh\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/ines/.cache/io.example.overlay/hook.dylib(签名:没有签名)\nPID 1145 父进程 1141 用户 ines 已运行 1分 程序 /Users/ines/.local/bin/logharbor\n 命令行:logharbor run\n 环境变量:DYLD_INSERT_LIBRARIES=/Users/ines/.cache/io.example.overlay/hook.dylib(签名:没有签名)\nPID 1175 父进程 1003 用户 ines 已运行 4小时3分 程序 /Users/ines/.local/bin/syncferry\n 环境变量:DYLD_LIBRARY_PATH=/opt/homebrew/lib\n 环境变量:DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Frameworks\n\nlaunchd 管着的任务(launchctl list 里有的进程号):602、620、633、667、685、718、753\n", "answer": [ { "rule": "process.dyld-insert", "kind": "dyld-insert", "severity": "high", "verdict": "info", "targets": [ "1141", "1145" ], "title": "2 个进程启动时带着 DYLD_INSERT_LIBRARIES,要先载入 hook.dylib" }, { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "1114" ], "title": "进程 1114(buildkiln)的程序已经被删掉了,它还在跑" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "1137" ], "title": "python3.13 在局域网地址上监听 9000 端口:同一个网络里的人能连进来" } ], "planted": [ "deleted-tool", "listening-lan", "dyld-insert-adhoc" ], "near": [ "other-dyld-variable" ] }, { "id": "process-092", "group": "near", "facts": "这台 Mac 现在登录的用户是 ruben。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 13天10小时 程序 /sbin/launchd\nPID 425 父进程 1 用户 _locationd 已运行 13天10小时 程序 /usr/libexec/locationd\nPID 460 父进程 1 用户 root 已运行 13天10小时 程序 /usr/libexec/UserEventAgent\nPID 479 父进程 1 用户 root 已运行 13天10小时 程序 /usr/libexec/logd\nPID 485 父进程 1 用户 _coreaudiod 已运行 13天10小时 程序 /usr/sbin/coreaudiod\nPID 509 父进程 1 用户 root 已运行 13天10小时 程序 /usr/libexec/diskarbitrationd\nPID 544 父进程 1 用户 root 已运行 13天10小时 程序 /usr/libexec/thermalmonitord\nPID 565 父进程 1 用户 root 已运行 13天10小时 程序 /usr/sbin/syslogd\nPID 606 父进程 1 用户 ruben 已运行 13天10小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 607 父进程 1 用户 ruben 已运行 13天10小时 程序 /usr/sbin/distnoted\nPID 609 父进程 1 用户 ruben 已运行 13天10小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 644 父进程 1 用户 ruben 已运行 13天10小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 677 父进程 1 用户 ruben 已运行 13天10小时 程序 /usr/libexec/pboard\nPID 693 父进程 1 用户 ruben 已运行 13天10小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 704 父进程 1 用户 ruben 已运行 13天10小时 程序 /usr/libexec/nsurlsessiond\nPID 745 父进程 1 用户 ruben 已运行 13天10小时 程序 /usr/sbin/cfprefsd\nPID 765 父进程 1 用户 ruben 已运行 6小时16分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 781 父进程 765 用户 ruben 已运行 42分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libSystem.B.dylib\nPID 791 父进程 765 用户 ruben 已运行 4小时20分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 814 父进程 1 用户 ruben 已运行 17小时4分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 826 父进程 814 用户 ruben 已运行 51分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Plugin).app/Contents/MacOS/Ondolo Helper (Plugin)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libz.1.dylib\nPID 847 父进程 1 用户 ruben 已运行 1天2小时 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 875 父进程 847 用户 ruben 已运行 6小时7分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (GPU).app/Contents/MacOS/Brackenmail Helper (GPU)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libc++.1.dylib\nPID 897 父进程 1 用户 ruben 已运行 1天15小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 928 父进程 897 用户 ruben 已运行 3小时16分 程序 /bin/zsh\n 命令行:-zsh\nPID 939 父进程 897 用户 ruben 已运行 1天5小时 程序 /bin/zsh\n 命令行:-zsh\nPID 957 父进程 897 用户 ruben 已运行 9小时38分 程序 /bin/zsh\n 命令行:-zsh\nPID 969 父进程 928 用户 ruben 已运行 10分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1010 父进程 928 用户 ruben 已运行 2小时43分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/ruben/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1022 父进程 957 用户 ruben 已运行 4小时21分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1058 父进程 1 用户 root 已运行 13天10小时 程序 /usr/local/sbin/metricsd\n 命令行:metricsd\n 监听:0.0.0.0:9100\nPID 1073 父进程 1 用户 ruben 已运行 3小时20分 程序 /private/var/folders/3c/q7zym3h0wmk6n08k5y82g6t_ycgfwj/T/AppTranslocation/0A1B2C3D-0000-4000-8000-114153453621/d/Pinecrest.app/Contents/MacOS/Pinecrest\n 载入的库:/private/var/folders/3c/q7zym3h0wmk6n08k5y82g6t_ycgfwj/T/AppTranslocation/0A1B2C3D-0000-4000-8000-114153453621/d/Pinecrest.app/Contents/Frameworks/PinecrestKit.framework/PinecrestKit\nPID 1110 父进程 1 用户 ruben 已运行 16小时53分 程序 /Applications/Pinecrest.app/Contents/XPCServices/PinecrestSync.xpc/Contents/MacOS/PinecrestSync\n\nlaunchd 管着的任务(launchctl list 里有的进程号):606、607、609、644、677、693、704、745\n", "answer": [], "planted": [], "near": [ "other-user-listening", "library-in-own-bundle", "app-service-under-launchd" ], "boundary": [ "other-user-listening" ] }, { "id": "process-093", "group": "near", "facts": "这台 Mac 现在登录的用户是 tomas。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 1天3小时 程序 /sbin/launchd\nPID 434 父进程 1 用户 root 已运行 1天3小时 程序 /usr/libexec/opendirectoryd\nPID 464 父进程 1 用户 root 已运行 1天3小时 程序 /usr/sbin/KernelEventAgent\nPID 494 父进程 1 用户 root 已运行 1天3小时 程序 /usr/sbin/syslogd\nPID 509 父进程 1 用户 root 已运行 1天3小时 程序 /usr/libexec/airportd\nPID 513 父进程 1 用户 root 已运行 1天3小时 程序 /usr/libexec/diskarbitrationd\nPID 516 父进程 1 用户 root 已运行 1天3小时 程序 /usr/sbin/bluetoothd\nPID 524 父进程 1 用户 root 已运行 1天3小时 程序 /usr/libexec/configd\nPID 549 父进程 1 用户 root 已运行 1天3小时 程序 /usr/sbin/notifyd\nPID 571 父进程 1 用户 root 已运行 1天3小时 程序 /usr/libexec/UserEventAgent\nPID 597 父进程 1 用户 _mdnsresponder 已运行 1天3小时 程序 /usr/sbin/mDNSResponder\nPID 637 父进程 1 用户 _windowserver 已运行 1天3小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 653 父进程 1 用户 tomas 已运行 1天2小时 程序 /usr/libexec/UserEventAgent\nPID 683 父进程 1 用户 tomas 已运行 1天3小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 704 父进程 1 用户 tomas 已运行 1天3小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 710 父进程 1 用户 tomas 已运行 1天2小时 程序 /usr/libexec/rapportd\nPID 751 父进程 1 用户 tomas 已运行 1天2小时 程序 /usr/libexec/secd\nPID 754 父进程 1 用户 tomas 已运行 1天3小时 程序 /usr/libexec/pboard\nPID 764 父进程 1 用户 tomas 已运行 1天3小时 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 793 父进程 764 用户 tomas 已运行 2小时28分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 804 父进程 764 用户 tomas 已运行 4小时2分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 817 父进程 764 用户 tomas 已运行 6小时21分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libobjc.A.dylib\nPID 828 父进程 764 用户 tomas 已运行 5小时44分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Plugin).app/Contents/MacOS/Mossgate Helper (Plugin)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 857 父进程 1 用户 tomas 已运行 22小时45分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 877 父进程 857 用户 tomas 已运行 5小时44分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libc++.1.dylib\nPID 905 父进程 857 用户 tomas 已运行 6小时17分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libobjc.A.dylib\nPID 908 父进程 857 用户 tomas 已运行 2小时22分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libSystem.B.dylib\nPID 926 父进程 1 用户 tomas 已运行 1天0小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 930 父进程 926 用户 tomas 已运行 1天0小时 程序 /bin/zsh\n 命令行:-zsh\nPID 941 父进程 926 用户 tomas 已运行 18小时15分 程序 /bin/zsh\n 命令行:-zsh\nPID 951 父进程 926 用户 tomas 已运行 8小时59分 程序 /bin/zsh\n 命令行:-zsh\nPID 963 父进程 930 用户 tomas 已运行 2小时45分 程序 /usr/bin/tail\n 命令行:tail -f /Users/tomas/Projects/harbor-site/logs/dev.log\nPID 972 父进程 951 用户 tomas 已运行 38分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1006 父进程 941 用户 tomas 已运行 1小时6分 程序 /Users/tomas/.local/bin/portloom\n 载入的库:/private/var/folders/th/psd9g9v70jjz_b9knl5gsg97g7z8kk/T/com.apple.dt.cache-v7VblO/libPreview.dylib(签名:Apple 签名)\nPID 1034 父进程 930 用户 tomas 已运行 58分 程序 /Users/tomas/.local/bin/mapquill\n 环境变量:DYLD_LIBRARY_PATH=/opt/homebrew/lib\n 环境变量:DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Frameworks\nPID 1055 父进程 1 用户 tomas 已运行 1天3小时 程序 /opt/homebrew/bin/gpg-agent\n 命令行:gpg-agent --homedir /Users/tomas/.gnupg --daemon\n\nlaunchd 管着的任务(launchctl list 里有的进程号):653、683、704、710、751、754\n", "answer": [], "planted": [], "near": [ "apple-library-in-temp", "other-dyld-variable", "detached-on-purpose" ] }, { "id": "process-094", "group": "multi", "facts": "这台 Mac 现在登录的用户是 tomas。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 10天13小时 程序 /sbin/launchd\nPID 422 父进程 1 用户 root 已运行 10天13小时 程序 /usr/libexec/logd\nPID 454 父进程 1 用户 _mdnsresponder 已运行 10天13小时 程序 /usr/sbin/mDNSResponder\nPID 464 父进程 1 用户 root 已运行 10天13小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 501 父进程 1 用户 root 已运行 10天13小时 程序 /usr/libexec/UserEventAgent\nPID 502 父进程 1 用户 _coreaudiod 已运行 10天13小时 程序 /usr/sbin/coreaudiod\nPID 522 父进程 1 用户 root 已运行 10天13小时 程序 /usr/sbin/notifyd\nPID 529 父进程 1 用户 root 已运行 10天13小时 程序 /usr/sbin/KernelEventAgent\nPID 555 父进程 1 用户 root 已运行 10天13小时 程序 /usr/libexec/watchdogd\nPID 577 父进程 1 用户 root 已运行 10天13小时 程序 /usr/libexec/configd\nPID 580 父进程 1 用户 root 已运行 10天13小时 程序 /usr/sbin/bluetoothd\nPID 589 父进程 1 用户 root 已运行 10天13小时 程序 /usr/libexec/diskarbitrationd\nPID 599 父进程 1 用户 tomas 已运行 10天12小时 程序 /usr/libexec/rapportd\nPID 631 父进程 1 用户 tomas 已运行 10天13小时 程序 /usr/libexec/sharingd\nPID 635 父进程 1 用户 tomas 已运行 10天13小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 641 父进程 1 用户 tomas 已运行 10天12小时 程序 /usr/libexec/lsd\nPID 672 父进程 1 用户 tomas 已运行 10天12小时 程序 /usr/libexec/pboard\nPID 706 父进程 1 用户 tomas 已运行 10天13小时 程序 /usr/libexec/trustd\nPID 715 父进程 1 用户 tomas 已运行 2小时9分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 718 父进程 715 用户 tomas 已运行 2小时9分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (GPU).app/Contents/MacOS/Brackenmail Helper (GPU)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libSystem.B.dylib\nPID 744 父进程 1 用户 tomas 已运行 7小时56分 程序 /Applications/Tarnwell.app/Contents/MacOS/Tarnwell\n 命令行:/Applications/Tarnwell.app/Contents/MacOS/Tarnwell\nPID 764 父进程 744 用户 tomas 已运行 4小时31分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libz.1.dylib\nPID 797 父进程 744 用户 tomas 已运行 6小时6分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Renderer).app/Contents/MacOS/Tarnwell Helper (Renderer)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libobjc.A.dylib\nPID 827 父进程 744 用户 tomas 已运行 6小时51分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (GPU).app/Contents/MacOS/Tarnwell Helper (GPU)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libc++.1.dylib\nPID 832 父进程 744 用户 tomas 已运行 7小时55分 程序 /Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Helper (Plugin).app/Contents/MacOS/Tarnwell Helper (Plugin)\n 载入的库:/Applications/Tarnwell.app/Contents/Frameworks/Tarnwell Framework.framework/Tarnwell Framework;/usr/lib/libz.1.dylib\nPID 871 父进程 1 用户 tomas 已运行 1天3小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 889 父进程 871 用户 tomas 已运行 4小时40分 程序 /bin/zsh\n 命令行:-zsh\nPID 891 父进程 871 用户 tomas 已运行 9小时23分 程序 /bin/zsh\n 命令行:-zsh\nPID 926 父进程 871 用户 tomas 已运行 10小时59分 程序 /bin/zsh\n 命令行:-zsh\nPID 964 父进程 926 用户 tomas 已运行 3小时30分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 966 父进程 891 用户 tomas 已运行 1小时55分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 972 父进程 889 用户 tomas 已运行 5分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 987 父进程 891 用户 tomas 已运行 2小时8分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 992 父进程 926 用户 tomas 已运行 3小时39分 程序 /Users/tomas/.local/bin/tidewatch\n 命令行:tidewatch poll --every 5s\nPID 1030 父进程 992 用户 tomas 已运行 9分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1066 父进程 992 用户 tomas 已运行 44分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1096 父进程 992 用户 tomas 已运行 25分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1125 父进程 992 用户 tomas 已运行 13分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1165 父进程 992 用户 tomas 已运行 45分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1172 父进程 992 用户 tomas 已运行 1分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1179 父进程 992 用户 tomas 已运行 27分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1218 父进程 992 用户 tomas 已运行 7分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1238 父进程 992 用户 tomas 已运行 34分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1264 父进程 992 用户 tomas 已运行 21分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1297 父进程 992 用户 tomas 已运行 41分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1300 父进程 992 用户 tomas 已运行 36分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1317 父进程 992 用户 tomas 已运行 27分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1355 父进程 992 用户 tomas 已运行 8分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1396 父进程 992 用户 tomas 已运行 24分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1421 父进程 992 用户 tomas 已运行 31分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1451 父进程 992 用户 tomas 已运行 14分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1461 父进程 992 用户 tomas 已运行 48分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1496 父进程 992 用户 tomas 已运行 53分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1519 父进程 992 用户 tomas 已运行 51分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1536 父进程 992 用户 tomas 已运行 10分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1560 父进程 992 用户 tomas 已运行 12分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1582 父进程 992 用户 tomas 已运行 3分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1612 父进程 992 用户 tomas 已运行 4分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1645 父进程 992 用户 tomas 已运行 39分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1674 父进程 992 用户 tomas 已运行 5分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1710 父进程 992 用户 tomas 已运行 51分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1749 父进程 992 用户 tomas 已运行 28分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1785 父进程 992 用户 tomas 已运行 44分 程序 /bin/sleep\n 命令行:sleep 86400\nPID 1801 父进程 889 用户 tomas 已运行 2小时26分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy file-server --listen 0.0.0.0:3000\n 监听:0.0.0.0:3000\nPID 1815 父进程 889 用户 tomas 已运行 1小时49分 程序 /Users/tomas/.local/bin/lintfinch\n 命令行:lintfinch sync --auth-token=US6GLcWlpKRRBV5rlN\nPID 1827 父进程 926 用户 tomas 已运行 7小时26分 程序 /opt/homebrew/bin/node\n 命令行:node server.js --host ::1 --port 8888\n 监听:[::1]:8888\n\nlaunchd 管着的任务(launchctl list 里有的进程号):599、631、635、641、672、706\n", "answer": [ { "rule": "process.pile-up", "kind": "pile-up", "severity": "medium", "verdict": "info", "targets": [ "992", "1030", "1066", "1096", "1125", "1165", "1172", "1179", "1218", "1238", "1264", "1297", "1300", "1317", "1355", "1396", "1421", "1451", "1461", "1496", "1519", "1536", "1560", "1582", "1612", "1645", "1674", "1710", "1749", "1785" ], "title": "sleep 在同一个父进程下堆了 29 个" }, { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1815" ], "title": "正在运行的 lintfinch 命令行里带着参数 --auth-token" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "1801" ], "title": "caddy 在所有网络上监听 3000 端口:同一个网络里的人能连进来" } ], "planted": [ "pile-up-many", "listening-everywhere", "secret-flag" ], "near": [ "listening-loopback" ] }, { "id": "process-095", "group": "near", "facts": "这台 Mac 现在登录的用户是 dalia。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 2天15小时 程序 /sbin/launchd\nPID 456 父进程 1 用户 root 已运行 2天15小时 程序 /usr/sbin/KernelEventAgent\nPID 493 父进程 1 用户 root 已运行 2天15小时 程序 /usr/sbin/cupsd\nPID 530 父进程 1 用户 root 已运行 2天15小时 程序 /usr/libexec/configd\nPID 537 父进程 1 用户 root 已运行 2天15小时 程序 /usr/libexec/logd\nPID 543 父进程 1 用户 root 已运行 2天15小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 560 父进程 1 用户 root 已运行 2天15小时 程序 /usr/libexec/opendirectoryd\nPID 601 父进程 1 用户 root 已运行 2天15小时 程序 /usr/libexec/UserEventAgent\nPID 634 父进程 1 用户 dalia 已运行 2天15小时 程序 /usr/sbin/cfprefsd\nPID 660 父进程 1 用户 dalia 已运行 2天15小时 程序 /usr/sbin/usernoted\nPID 700 父进程 1 用户 dalia 已运行 2天15小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 741 父进程 1 用户 dalia 已运行 2天15小时 程序 /usr/libexec/lsd\nPID 745 父进程 1 用户 dalia 已运行 2天15小时 程序 /usr/libexec/nsurlsessiond\nPID 767 父进程 1 用户 dalia 已运行 2天15小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 805 父进程 1 用户 dalia 已运行 2天15小时 程序 /usr/libexec/sharingd\nPID 807 父进程 1 用户 dalia 已运行 2天15小时 程序 /usr/sbin/distnoted\nPID 835 父进程 1 用户 dalia 已运行 2天15小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 868 父进程 1 用户 dalia 已运行 6小时13分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 871 父进程 868 用户 dalia 已运行 5小时59分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libc++.1.dylib\nPID 884 父进程 868 用户 dalia 已运行 4小时46分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 902 父进程 868 用户 dalia 已运行 3小时2分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (GPU).app/Contents/MacOS/Quillbay Helper (GPU)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libSystem.B.dylib\nPID 910 父进程 868 用户 dalia 已运行 5小时42分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libobjc.A.dylib\nPID 911 父进程 1 用户 dalia 已运行 13小时26分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 939 父进程 911 用户 dalia 已运行 2小时35分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libSystem.B.dylib\nPID 958 父进程 911 用户 dalia 已运行 9小时34分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 990 父进程 1 用户 dalia 已运行 7小时12分 程序 /Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\n 命令行:/Applications/Saltmarsh.app/Contents/MacOS/Saltmarsh\nPID 1024 父进程 990 用户 dalia 已运行 31分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (GPU).app/Contents/MacOS/Saltmarsh Helper (GPU)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/usr/lib/libc++.1.dylib\nPID 1063 父进程 990 用户 dalia 已运行 7小时12分 程序 /Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Helper (Plugin).app/Contents/MacOS/Saltmarsh Helper (Plugin)\n 载入的库:/Applications/Saltmarsh.app/Contents/Frameworks/Saltmarsh Framework.framework/Saltmarsh Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 1096 父进程 1 用户 dalia 已运行 12小时37分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 1117 父进程 1096 用户 dalia 已运行 12小时36分 程序 /bin/zsh\n 命令行:-zsh\nPID 1145 父进程 1096 用户 dalia 已运行 12小时37分 程序 /bin/zsh\n 命令行:-zsh\nPID 1184 父进程 1117 用户 dalia 已运行 4小时19分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1216 父进程 1145 用户 dalia 已运行 36分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1236 父进程 1117 用户 dalia 已运行 12小时36分 程序 /Users/dalia/.local/bin/lintfinch\n 载入的库:/System/Library/PrivateFrameworks/OldSupport.framework/Versions/A/OldSupport(文件已经被删掉);/usr/lib/libz.1.dylib\nPID 1237 父进程 1 用户 dalia 已运行 2天15小时 程序 /usr/libexec/rapportd\n 监听:0.0.0.0:7000\n\nlaunchd 管着的任务(launchctl list 里有的进程号):634、660、700、741、745、767、805、807、835、1237\n", "answer": [], "planted": [], "near": [ "system-library-deleted", "system-listening-everywhere" ] }, { "id": "process-096", "group": "single", "facts": "这台 Mac 现在登录的用户是 yuki。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 6天9小时 程序 /sbin/launchd\nPID 451 父进程 1 用户 root 已运行 6天9小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 457 父进程 1 用户 root 已运行 6天9小时 程序 /usr/libexec/thermalmonitord\nPID 461 父进程 1 用户 root 已运行 6天9小时 程序 /usr/libexec/opendirectoryd\nPID 500 父进程 1 用户 root 已运行 6天9小时 程序 /usr/sbin/KernelEventAgent\nPID 510 父进程 1 用户 root 已运行 6天9小时 程序 /usr/libexec/securityd\nPID 531 父进程 1 用户 root 已运行 6天9小时 程序 /usr/sbin/bluetoothd\nPID 550 父进程 1 用户 root 已运行 6天9小时 程序 /usr/libexec/airportd\nPID 570 父进程 1 用户 root 已运行 6天9小时 程序 /usr/libexec/watchdogd\nPID 574 父进程 1 用户 root 已运行 6天9小时 程序 /usr/libexec/configd\nPID 589 父进程 1 用户 yuki 已运行 6天8小时 程序 /usr/libexec/UserEventAgent\nPID 607 父进程 1 用户 yuki 已运行 6天8小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 626 父进程 1 用户 yuki 已运行 6天8小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 667 父进程 1 用户 yuki 已运行 6天8小时 程序 /usr/sbin/usernoted\nPID 671 父进程 1 用户 yuki 已运行 6天9小时 程序 /usr/libexec/trustd\nPID 689 父进程 1 用户 yuki 已运行 6天8小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 690 父进程 1 用户 yuki 已运行 6天8小时 程序 /usr/libexec/secd\nPID 703 父进程 1 用户 yuki 已运行 6天8小时 程序 /usr/sbin/distnoted\nPID 744 父进程 1 用户 yuki 已运行 10小时55分 程序 /Applications/Brackenmail.app/Contents/MacOS/Brackenmail\n 命令行:/Applications/Brackenmail.app/Contents/MacOS/Brackenmail\nPID 775 父进程 744 用户 yuki 已运行 9小时9分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (GPU).app/Contents/MacOS/Brackenmail Helper (GPU)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libc++.1.dylib\nPID 782 父进程 744 用户 yuki 已运行 3小时43分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/usr/lib/libc++.1.dylib\nPID 819 父进程 744 用户 yuki 已运行 7小时47分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Plugin).app/Contents/MacOS/Brackenmail Helper (Plugin)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 843 父进程 744 用户 yuki 已运行 7小时58分 程序 /Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Helper (Renderer).app/Contents/MacOS/Brackenmail Helper (Renderer)\n 载入的库:/Applications/Brackenmail.app/Contents/Frameworks/Brackenmail Framework.framework/Brackenmail Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 884 父进程 1 用户 yuki 已运行 1天4小时 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 897 父进程 884 用户 yuki 已运行 3小时55分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 915 父进程 884 用户 yuki 已运行 9小时31分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libz.1.dylib\nPID 920 父进程 1 用户 yuki 已运行 7小时35分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 954 父进程 920 用户 yuki 已运行 7小时35分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 995 父进程 1 用户 yuki 已运行 19小时11分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 1016 父进程 995 用户 yuki 已运行 10小时19分 程序 /bin/zsh\n 命令行:-zsh\nPID 1017 父进程 995 用户 yuki 已运行 6小时5分 程序 /bin/zsh\n 命令行:-zsh\nPID 1035 父进程 1016 用户 yuki 已运行 3小时20分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 1048 父进程 1016 用户 yuki 已运行 3小时56分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 1086 父进程 1016 用户 yuki 已运行 3小时47分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1096 父进程 1 用户 yuki 已运行 6天9小时 程序 /opt/homebrew/bin/caddy\n 命令行:caddy run --config /Users/yuki/Caddyfile\nPID 1104 父进程 1 用户 yuki 已运行 1天21小时 程序 /Applications/Tarnwell.app/Contents/XPCServices/TarnwellSync.xpc/Contents/MacOS/TarnwellSync\n\nlaunchd 管着的任务(launchctl list 里有的进程号):589、607、626、667、671、689、690、703\n", "answer": [ { "rule": "process.orphan", "kind": "orphan", "severity": "low", "verdict": "info", "targets": [ "1096" ], "title": "1 个后台进程的父进程已经退出,还在跑" } ], "planted": [ "orphan" ], "near": [ "app-service-under-launchd" ] }, { "id": "process-097", "group": "multi", "facts": "这台 Mac 现在登录的用户是 ruben。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 17天18小时 程序 /sbin/launchd\nPID 457 父进程 1 用户 _windowserver 已运行 17天18小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 483 父进程 1 用户 root 已运行 17天18小时 程序 /usr/libexec/thermalmonitord\nPID 501 父进程 1 用户 root 已运行 17天18小时 程序 /usr/sbin/cupsd\nPID 537 父进程 1 用户 root 已运行 17天18小时 程序 /usr/libexec/securityd\nPID 572 父进程 1 用户 root 已运行 17天18小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 609 父进程 1 用户 _coreaudiod 已运行 17天18小时 程序 /usr/sbin/coreaudiod\nPID 624 父进程 1 用户 root 已运行 17天18小时 程序 /usr/libexec/opendirectoryd\nPID 664 父进程 1 用户 ruben 已运行 17天17小时 程序 /usr/libexec/UserEventAgent\nPID 697 父进程 1 用户 ruben 已运行 17天18小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 727 父进程 1 用户 ruben 已运行 17天18小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 767 父进程 1 用户 ruben 已运行 17天18小时 程序 /usr/libexec/nsurlsessiond\nPID 794 父进程 1 用户 ruben 已运行 17天18小时 程序 /usr/libexec/secd\nPID 818 父进程 1 用户 ruben 已运行 17天17小时 程序 /usr/libexec/trustd\nPID 855 父进程 1 用户 ruben 已运行 15小时56分 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 882 父进程 855 用户 ruben 已运行 40分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (GPU).app/Contents/MacOS/Emberline Helper (GPU)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libz.1.dylib\nPID 922 父进程 855 用户 ruben 已运行 33分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 923 父进程 1 用户 ruben 已运行 1天5小时 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 950 父进程 923 用户 ruben 已运行 8小时24分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (GPU).app/Contents/MacOS/Pinecrest Helper (GPU)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 985 父进程 923 用户 ruben 已运行 8小时30分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 1013 父进程 923 用户 ruben 已运行 1小时22分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Renderer).app/Contents/MacOS/Pinecrest Helper (Renderer)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 1023 父进程 1 用户 ruben 已运行 3小时48分 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 1033 父进程 1023 用户 ruben 已运行 3小时48分 程序 /bin/zsh\n 命令行:-zsh\nPID 1035 父进程 1023 用户 ruben 已运行 3小时48分 程序 /bin/zsh\n 命令行:-zsh\nPID 1041 父进程 1023 用户 ruben 已运行 3小时48分 程序 /bin/zsh\n 命令行:-zsh\nPID 1065 父进程 1035 用户 ruben 已运行 40分 程序 /usr/bin/tail\n 命令行:tail -f /Users/ruben/Projects/harbor-site/logs/dev.log\nPID 1085 父进程 1035 用户 ruben 已运行 1小时19分 程序 /opt/homebrew/bin/node\n 命令行:node /Users/ruben/Projects/harbor-site/server.js\n 监听:127.0.0.1:3000\nPID 1093 父进程 1041 用户 ruben 已运行 2小时33分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1101 父进程 1041 用户 ruben 已运行 56分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1121 父进程 1035 用户 ruben 已运行 3小时47分 程序 /Users/ruben/.local/bin/buildkiln\n 命令行:buildkiln watch\n 载入的库:/Users/ruben/Downloads/plugin-pack/libplugin.dylib(签名:开发者签名,团队 M4T8ZD3RPA);/usr/lib/libobjc.A.dylib;/Users/ruben/.local/lib/libcommon.1.dylib\nPID 1122 父进程 1041 用户 ruben 已运行 3小时47分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind :: 8888\n 监听:[::]:8888\nPID 1159 父进程 1 用户 ruben 已运行 2天10小时 程序 /Users/ruben/.local/bin/portloom\n 命令行:portloom agent --launchd\nPID 1182 父进程 1035 用户 ruben 已运行 2小时28分 程序 /opt/homebrew/bin/mysql\n 命令行:mysql -h db.internal.example -u report -p sales\n\nlaunchd 管着的任务(launchctl list 里有的进程号):664、697、727、767、794、818、1159\n", "answer": [ { "rule": "process.library-temp", "kind": "library-temp", "severity": "medium", "verdict": "info", "targets": [ "1121" ], "title": "进程 1121(buildkiln)载入了下载文件夹里的库 libplugin.dylib" }, { "rule": "exposure.listening", "kind": "listening", "severity": "low", "verdict": "info", "targets": [ "1122" ], "title": "python3.13 在所有网络上监听 8888 端口:同一个网络里的人能连进来" } ], "planted": [ "library-downloads", "listening-everywhere-v6" ], "near": [ "launchd-job", "mysql-asks-for-password" ] }, { "id": "process-098", "group": "single", "facts": "这台 Mac 现在登录的用户是 haoran。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 10天18小时 程序 /sbin/launchd\nPID 388 父进程 1 用户 root 已运行 10天18小时 程序 /usr/libexec/diskarbitrationd\nPID 427 父进程 1 用户 root 已运行 10天18小时 程序 /usr/sbin/bluetoothd\nPID 436 父进程 1 用户 root 已运行 10天18小时 程序 /usr/libexec/watchdogd\nPID 477 父进程 1 用户 _locationd 已运行 10天18小时 程序 /usr/libexec/locationd\nPID 493 父进程 1 用户 root 已运行 10天18小时 程序 /usr/sbin/notifyd\nPID 518 父进程 1 用户 root 已运行 10天18小时 程序 /usr/sbin/KernelEventAgent\nPID 534 父进程 1 用户 _windowserver 已运行 10天18小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 570 父进程 1 用户 root 已运行 10天18小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 598 父进程 1 用户 root 已运行 10天18小时 程序 /usr/sbin/cupsd\nPID 625 父进程 1 用户 haoran 已运行 10天18小时 程序 /usr/libexec/sharingd\nPID 633 父进程 1 用户 haoran 已运行 10天18小时 程序 /usr/libexec/secd\nPID 663 父进程 1 用户 haoran 已运行 10天18小时 程序 /usr/sbin/distnoted\nPID 701 父进程 1 用户 haoran 已运行 10天18小时 程序 /usr/libexec/UserEventAgent\nPID 714 父进程 1 用户 haoran 已运行 10天18小时 程序 /usr/sbin/cfprefsd\nPID 745 父进程 1 用户 haoran 已运行 10天18小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 763 父进程 1 用户 haoran 已运行 6小时33分 程序 /Applications/Pinecrest.app/Contents/MacOS/Pinecrest\n 命令行:/Applications/Pinecrest.app/Contents/MacOS/Pinecrest\nPID 777 父进程 763 用户 haoran 已运行 2小时46分 程序 /Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Helper (Plugin).app/Contents/MacOS/Pinecrest Helper (Plugin)\n 载入的库:/Applications/Pinecrest.app/Contents/Frameworks/Pinecrest Framework.framework/Pinecrest Framework;/usr/lib/libc++.1.dylib\nPID 802 父进程 1 用户 haoran 已运行 1天3小时 程序 /Applications/Emberline.app/Contents/MacOS/Emberline\n 命令行:/Applications/Emberline.app/Contents/MacOS/Emberline\nPID 825 父进程 802 用户 haoran 已运行 5小时45分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Plugin).app/Contents/MacOS/Emberline Helper (Plugin)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 831 父进程 802 用户 haoran 已运行 1小时48分 程序 /Applications/Emberline.app/Contents/Frameworks/Emberline Helper (Renderer).app/Contents/MacOS/Emberline Helper (Renderer)\n 载入的库:/Applications/Emberline.app/Contents/Frameworks/Emberline Framework.framework/Emberline Framework;/usr/lib/libSystem.B.dylib\nPID 847 父进程 1 用户 haoran 已运行 22小时32分 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 867 父进程 847 用户 haoran 已运行 2小时50分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/usr/lib/libSystem.B.dylib\nPID 886 父进程 847 用户 haoran 已运行 2小时42分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (GPU).app/Contents/MacOS/Lumora Helper (GPU)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 921 父进程 1 用户 haoran 已运行 1天3小时 程序 /Applications/Glasshell.app/Contents/MacOS/Glasshell\nPID 927 父进程 921 用户 haoran 已运行 9小时32分 程序 /bin/zsh\n 命令行:-zsh\nPID 932 父进程 921 用户 haoran 已运行 15小时10分 程序 /bin/zsh\n 命令行:-zsh\nPID 948 父进程 927 用户 haoran 已运行 43分 程序 /usr/bin/ssh\n 命令行:ssh -N -L 15432:127.0.0.1:5432 deploy@bastion.internal.example\n 监听:127.0.0.1:15432\nPID 955 父进程 927 用户 haoran 已运行 1小时12分 程序 /opt/homebrew/bin/redis-server\n 命令行:redis-server 127.0.0.1:6379\n 监听:127.0.0.1:6379\nPID 985 父进程 932 用户 haoran 已运行 1小时29分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 summarize.py --key sk-nft0qvw2KjJufgyx5fVz7\n\nlaunchd 管着的任务(launchctl list 里有的进程号):625、633、663、701、714、745\n", "answer": [ { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "985" ], "title": "正在运行的 python3.13 命令行里带着API 密钥(sk-…)" } ], "planted": [ "secret-sk-key" ], "near": [] }, { "id": "process-099", "group": "multi", "facts": "这台 Mac 现在登录的用户是 tomas。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 9天21小时 程序 /sbin/launchd\nPID 330 父进程 1 用户 root 已运行 9天21小时 程序 /usr/libexec/airportd\nPID 358 父进程 1 用户 root 已运行 9天21小时 程序 /usr/sbin/syslogd\nPID 364 父进程 1 用户 _mdnsresponder 已运行 9天21小时 程序 /usr/sbin/mDNSResponder\nPID 392 父进程 1 用户 root 已运行 9天21小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 429 父进程 1 用户 _windowserver 已运行 9天21小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 440 父进程 1 用户 root 已运行 9天21小时 程序 /usr/libexec/opendirectoryd\nPID 481 父进程 1 用户 root 已运行 9天21小时 程序 /usr/libexec/securityd\nPID 483 父进程 1 用户 root 已运行 9天21小时 程序 /usr/sbin/KernelEventAgent\nPID 517 父进程 1 用户 root 已运行 9天21小时 程序 /usr/sbin/cupsd\nPID 541 父进程 1 用户 _locationd 已运行 9天21小时 程序 /usr/libexec/locationd\nPID 551 父进程 1 用户 root 已运行 9天21小时 程序 /usr/libexec/UserEventAgent\nPID 579 父进程 1 用户 tomas 已运行 9天21小时 程序 /usr/libexec/secd\nPID 586 父进程 1 用户 tomas 已运行 9天21小时 程序 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder\nPID 608 父进程 1 用户 tomas 已运行 9天21小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 646 父进程 1 用户 tomas 已运行 9天21小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 675 父进程 1 用户 tomas 已运行 9天21小时 程序 /usr/sbin/cfprefsd\nPID 689 父进程 1 用户 tomas 已运行 9天21小时 程序 /usr/libexec/nsurlsessiond\nPID 705 父进程 1 用户 tomas 已运行 9天21小时 程序 /usr/libexec/rapportd\nPID 726 父进程 1 用户 tomas 已运行 9天21小时 程序 /System/Library/CoreServices/ControlCenter.app/Contents/MacOS/ControlCenter\nPID 760 父进程 1 用户 tomas 已运行 9天21小时 程序 /System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter\nPID 794 父进程 1 用户 tomas 已运行 18小时40分 程序 /Applications/Mossgate.app/Contents/MacOS/Mossgate\n 命令行:/Applications/Mossgate.app/Contents/MacOS/Mossgate\nPID 806 父进程 794 用户 tomas 已运行 4小时45分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (GPU).app/Contents/MacOS/Mossgate Helper (GPU)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 843 父进程 794 用户 tomas 已运行 29分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 872 父进程 794 用户 tomas 已运行 6小时36分 程序 /Applications/Mossgate.app/Contents/Frameworks/Mossgate Helper (Renderer).app/Contents/MacOS/Mossgate Helper (Renderer)\n 载入的库:/Applications/Mossgate.app/Contents/Frameworks/Mossgate Framework.framework/Mossgate Framework;/usr/lib/libz.1.dylib\nPID 907 父进程 1 用户 tomas 已运行 11小时3分 程序 /Applications/Quillbay.app/Contents/MacOS/Quillbay\n 命令行:/Applications/Quillbay.app/Contents/MacOS/Quillbay\nPID 909 父进程 907 用户 tomas 已运行 32分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/System/Library/Frameworks/Security.framework/Versions/A/Security\nPID 939 父进程 907 用户 tomas 已运行 2小时50分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Renderer).app/Contents/MacOS/Quillbay Helper (Renderer)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libc++.1.dylib\nPID 946 父进程 907 用户 tomas 已运行 4小时12分 程序 /Applications/Quillbay.app/Contents/Frameworks/Quillbay Helper (Plugin).app/Contents/MacOS/Quillbay Helper (Plugin)\n 载入的库:/Applications/Quillbay.app/Contents/Frameworks/Quillbay Framework.framework/Quillbay Framework;/usr/lib/libSystem.B.dylib\nPID 971 父进程 1 用户 tomas 已运行 11小时50分 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 1012 父进程 971 用户 tomas 已运行 1小时0分 程序 /bin/zsh\n 命令行:-zsh\nPID 1023 父进程 971 用户 tomas 已运行 11小时50分 程序 /bin/zsh\n 命令行:-zsh\nPID 1051 父进程 971 用户 tomas 已运行 11小时50分 程序 /bin/zsh\n 命令行:-zsh\nPID 1076 父进程 1023 用户 tomas 已运行 4小时32分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 -m http.server --bind 127.0.0.1 8000\n 监听:127.0.0.1:8000\nPID 1101 父进程 1051 用户 tomas 已运行 1小时45分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 1139 父进程 1012 用户 tomas 已运行 59分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1179 父进程 1012 用户 tomas 已运行 59分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1213 父进程 1023 用户 tomas 已运行 3小时52分 程序 /opt/homebrew/bin/python3.13\n 命令行:python3.13 summarize.py --key sk-0RkoQU1XWyqmG0zbGzuu7\nPID 1246 父进程 1023 用户 tomas 已运行 9小时10分 程序 /Users/tomas/.local/bin/tidewatch 【程序文件已经不在盘上】\n 载入的库:/Users/tomas/.local/lib/libferry.2.dylib(文件已经被删掉)\n\nlaunchd 管着的任务(launchctl list 里有的进程号):579、586、608、646、675、689、705、726、760\n", "answer": [ { "rule": "process.deleted-binary", "kind": "deleted-binary", "severity": "medium", "verdict": "confirm", "targets": [ "1246" ], "title": "进程 1246(tidewatch)的程序已经被删掉了,它还在跑" }, { "rule": "exposure.argv-secret", "kind": "argv-secret", "severity": "medium", "verdict": "info", "targets": [ "1213" ], "title": "正在运行的 python3.13 命令行里带着API 密钥(sk-…)" } ], "planted": [ "secret-sk-key", "deleted-with-deleted-library" ], "near": [] }, { "id": "process-100", "group": "single", "facts": "这台 Mac 现在登录的用户是 dalia。下面是它此刻的进程表:进程号、父进程号、用户、已经运行多久、程序;读得到的还有命令行、DYLD_ 开头的环境变量、载入的库(程序自己和系统自带的大多略去)、监听的地址和端口。\n\nPID 1 父进程 0 用户 root 已运行 15天6小时 程序 /sbin/launchd\nPID 410 父进程 1 用户 _locationd 已运行 15天6小时 程序 /usr/libexec/locationd\nPID 428 父进程 1 用户 root 已运行 15天6小时 程序 /usr/libexec/securityd\nPID 434 父进程 1 用户 root 已运行 15天6小时 程序 /usr/libexec/watchdogd\nPID 439 父进程 1 用户 _windowserver 已运行 15天6小时 程序 /System/Library/PrivateFrameworks/SkyLight.framework/Resources/WindowServer\nPID 448 父进程 1 用户 root 已运行 15天6小时 程序 /usr/libexec/UserEventAgent\nPID 479 父进程 1 用户 root 已运行 15天6小时 程序 /usr/libexec/airportd\nPID 492 父进程 1 用户 root 已运行 15天6小时 程序 /usr/sbin/syslogd\nPID 515 父进程 1 用户 root 已运行 15天6小时 程序 /System/Library/CoreServices/powerd.bundle/powerd\nPID 518 父进程 1 用户 dalia 已运行 15天5小时 程序 /System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer\nPID 526 父进程 1 用户 dalia 已运行 15天5小时 程序 /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock\nPID 559 父进程 1 用户 dalia 已运行 15天5小时 程序 /usr/sbin/distnoted\nPID 600 父进程 1 用户 dalia 已运行 15天5小时 程序 /usr/sbin/usernoted\nPID 616 父进程 1 用户 dalia 已运行 15天5小时 程序 /usr/libexec/nsurlsessiond\nPID 640 父进程 1 用户 dalia 已运行 15天5小时 程序 /usr/libexec/secd\nPID 671 父进程 1 用户 dalia 已运行 15天5小时 程序 /usr/libexec/UserEventAgent\nPID 689 父进程 1 用户 dalia 已运行 1天0小时 程序 /Applications/Lumora.app/Contents/MacOS/Lumora\n 命令行:/Applications/Lumora.app/Contents/MacOS/Lumora\nPID 690 父进程 689 用户 dalia 已运行 1小时12分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 697 父进程 689 用户 dalia 已运行 16分 程序 /Applications/Lumora.app/Contents/Frameworks/Lumora Helper (Renderer).app/Contents/MacOS/Lumora Helper (Renderer)\n 载入的库:/Applications/Lumora.app/Contents/Frameworks/Lumora Framework.framework/Lumora Framework;/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\nPID 732 父进程 1 用户 dalia 已运行 23小时7分 程序 /Applications/Ondolo.app/Contents/MacOS/Ondolo\n 命令行:/Applications/Ondolo.app/Contents/MacOS/Ondolo\nPID 772 父进程 732 用户 dalia 已运行 8小时13分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libc++.1.dylib\nPID 809 父进程 732 用户 dalia 已运行 1小时44分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Plugin).app/Contents/MacOS/Ondolo Helper (Plugin)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libobjc.A.dylib\nPID 839 父进程 732 用户 dalia 已运行 3小时46分 程序 /Applications/Ondolo.app/Contents/Frameworks/Ondolo Helper (Renderer).app/Contents/MacOS/Ondolo Helper (Renderer)\n 载入的库:/Applications/Ondolo.app/Contents/Frameworks/Ondolo Framework.framework/Ondolo Framework;/usr/lib/libc++.1.dylib\nPID 875 父进程 1 用户 dalia 已运行 1天1小时 程序 /Applications/Harborterm.app/Contents/MacOS/Harborterm\nPID 900 父进程 875 用户 dalia 已运行 18小时0分 程序 /bin/zsh\n 命令行:-zsh\nPID 912 父进程 875 用户 dalia 已运行 1天1小时 程序 /bin/zsh\n 命令行:-zsh\nPID 948 父进程 875 用户 dalia 已运行 16小时15分 程序 /bin/zsh\n 命令行:-zsh\nPID 965 父进程 900 用户 dalia 已运行 3小时17分 程序 /opt/homebrew/bin/postgres\n 命令行:postgres -D /opt/homebrew/var/postgresql@17\n 监听:[::1]:5432\nPID 977 父进程 948 用户 dalia 已运行 4小时37分 程序 /usr/bin/vim\n 命令行:vim notes.md\nPID 1011 父进程 948 用户 dalia 已运行 42分 程序 /opt/homebrew/bin/git\n 命令行:git log --oneline -n 200\nPID 1033 父进程 912 用户 dalia 已运行 2分 程序 /usr/bin/tail\n 命令行:tail -f /Users/dalia/Projects/harbor-site/logs/dev.log\nPID 1043 父进程 912 用户 dalia 已运行 9小时41分 程序 /Users/dalia/.local/bin/lintfinch\n 命令行:lintfinch watch\n 载入的库:/Users/dalia/Downloads/plugin-pack/libplugin.dylib(签名:开发者签名,团队 7KQ2XW9LHV);/usr/lib/libz.1.dylib;/Users/dalia/.local/lib/libcommon.1.dylib\nPID 1080 父进程 1 用户 dalia 已运行 5小时41分 程序 /opt/homebrew/bin/caddy\n 命令行:caddy run --config /Users/dalia/Caddyfile\n\nlaunchd 管着的任务(launchctl list 里有的进程号):518、526、559、600、616、640、671\n", "answer": [ { "rule": "process.library-temp", "kind": "library-temp", "severity": "medium", "verdict": "info", "targets": [ "1043" ], "title": "进程 1043(lintfinch)载入了下载文件夹里的库 libplugin.dylib" } ], "planted": [ "library-downloads" ], "near": [ "orphan-5-hours-50" ] } ] }