用途:Clauditor 是 Clawdbot 代理的安全看门狗,监控文件系统活动并生成防篡改日志,用于检测和记录可疑行为,保证证据不可被代理方伪造或删除。
主要能力:基于 HMAC 链式证据保护日志完整性;即使用户的 Clawdbot 被攻陷,看门狗进程仍无法被其停止,日志条目无法被伪造,证据无法被删除。
安装与使用:提供 CLI 向导逐步引导安装。先进入目录并构建:cd /path/to/clauditor,cargo build --release。代理工作流为:运行 ./target/release/clauditor wizard status 获取 JSON,含 current_step(1-6)与 complete(true/false);运行 ./target/release/clauditor wizard next 查看该步骤做什么、为何重要及需执行的确切命令;由用户执行 sudo 命令;运行 ./target/release/clauditor wizard verify 确认完成;重复直至 complete 为 true。快捷安装(高级用户):sudo bash wizard/wizard.sh。安装后可用 systemctl status systemd-journaldd 检查状态,或用 ./target/release/clauditor digest --log /var/lib/.sysd/.audit/events.log --key /etc/sysaudit/key --format markdown 生成摘要。
配置:配置文件位于 /etc/sysaudit/config.toml,密钥位于 /etc/sysaudit/key,日志位于 /var/lib/.sysd/.audit/events.log,可编辑配置自定义 watch_paths 与 target_uid。
限制:资料未提供支持的平台范围、收费与价格、性能开销及更多细节,暂未提供。