| 等级 | 问题 | 证据 | 影响 | 建议 |
|---|---|---|---|---|
| 高 | SSH 允许 root 密码登录 | passwordauthentication yespermitrootlogin yesmaxauthtries 6 | 公网 22 端口正在被爆破,若密码弱或泄露,风险极高。 | 改为仅密钥登录:PasswordAuthentication no、PermitRootLogin prohibit-password、MaxAuthTries 3,验证后 reload sshd。 |
| 高 | fail2ban 未安装/未运行 | fail2ban LoadState=not-found | 爆破 IP 不会被自动封禁,日志和 SSH 服务持续承压。 | 安装 fail2ban 并启用 sshd jail,建议 maxretry=3,递增封禁时间。 |
| 中 | rpcbind 公网监听 | *:111、:::111、UDP *:915/:::915;rpcbind active enabled | 如果没有 NFS/RPC 业务需求,这是不必要的公网攻击面。 | 确认无依赖后停止/禁用/mask rpcbind.socket 和 rpcbind.service。 |
| 中 | CentOS 7 版本老旧 | CentOS Linux 7 (Core),内核 3.10.0 | CentOS 7 已进入生命周期末期,安全补丁来源和兼容性需关注。 | 短期先加固 SSH/防火墙;中长期建议迁移到 Rocky/Alma/Ubuntu LTS。 |
| 低 | Komari 探针正常 | komari-agent active enabled;日志显示 WebSocket connected | 监控可用。日志中出现一次 1006 断开后已自动重连。 | 无需处理,继续观察。 |
| 端口 | 监听 | 进程 | 判断 |
|---|---|---|---|
| 22/tcp | * / ::: | sshd | 高风险 当前允许密码登录,且爆破严重。 |
| 80/tcp | * | python | 业务相关 伪装/HTTP 页面,需确认进程来源与自启动方式。 |
| 443/tcp | ::: | network-agent | 业务相关 HKA-like Docker local-edge Reality 入口。 |
| 8443/tcp | 127.0.0.1 | nginx | 仅本地 本地 TLS web camouflage。 |
| 111/tcp+udp | * / ::: | rpcbind | 建议关闭 无明确 NFS/RPC 需求时不应公网暴露。 |
| 25/tcp | 127.0.0.1 / ::1 | master | 仅本地 Postfix/master 本地监听,非公网。 |
87.251.64.149(2903 次)、38.134.255.52(1271 次)、45.156.87.147(1263 次)等。最近成功登录均为 root 公钥登录,来源为已知管理节点:
129.146.59.53 13.112.210.201
本轮未看到可疑成功密码登录;但由于密码登录仍开启,风险仍然需要尽快处理。
| 服务 | 状态 | 说明 |
|---|---|---|
| sshd | active enabled | 服务正常,但配置不安全。 |
| docker | active enabled | 运行 us-nginx-camouflage 与 edge-proxy 容器,无直接 Docker 端口映射。 |
| komari-agent | active enabled | 已连接探针服务。报告中已脱敏 token。 |
| xray | inactive wrapper | 当前是 Docker edge-proxy 架构的兼容 wrapper,未作为直接 xray 服务运行。 |
| firewalld/iptables | not-found/inactive | 主机层防火墙缺失或未启用;如果依赖云防火墙,需要另外确认云侧规则。 |
PasswordAuthentication no、PermitRootLogin prohibit-password、MaxAuthTries 3,先 sshd -t 验证,再 reload。rpcbind.socket/rpcbind.service,减少公网攻击面。US 186.241.84.19 OS=CentOS Linux 7 (Core) KERNEL=3.10.0-957.1.3.el7.x86_64 MEM=226/3789MB 6.0% ROOT_DISK=3.1G/30G 11% free=27G failed units=0 sshd -T: passwordauthentication yes permitrootlogin yes maxauthtries 6 pubkeyauthentication yes secure_failed_password_count=22885 fail2ban=not-found rpcbind=active enabled komari-agent=active enabled Docker containers: us-nginx-camouflage, edge-proxy