feat: ClamAV 权重升级 + L3 高危关键词零容忍 + index.json 4条修正

- clamav.py: _judge_signature 默认权重 55→85,EICAR 单独 90 分
  (ClamAV 签名命中即 malware,检测到必须阻断)
- policy.yaml zero_tolerance_rules 追加 7 条:
  * Eicar-Test-Signature(双保险,权重+零容忍)
  * RemoteDownloadUnix / RemoteDownloadPowerShell
  * ReverseShellNetcat / ReverseShellPowershell
  * CredentialStealer / CredentialExport
  (步骤 -1 白名单先过滤内网地址,剩余命中步骤 0 零容忍直接 reject)
- index.json 修正 4 条翻译错误:
  恶意样本(L1-003/L3-012/L3-023/L3-025)从 pass→review

对账效果: 51 fail → 11 fail, 通过率 66% → 93.5%
This commit is contained in:
2026-10-29 15:38:25 +08:00
parent 5e4ea397aa
commit 26c4ad396f
3 changed files with 32 additions and 8 deletions

View File

@@ -59,6 +59,17 @@ zero_tolerance_rules:
- LnkWithAutoExec # LNK 快捷方式(Linux 不识别,保持检测)
- ChmWithScript # CHM 帮助文件(Linux 默认不自动执行)
# ---- ClamAV 引擎检测 ----
- Eicar-Test-Signature # EICAR 测试病毒(等保要求:检测到即阻断)
# ---- L3 高危关键词(白名单优先,剩余命中即阻断)----
- ReverseShellNetcat # 反弹 Shell (nc/ncat//dev/tcp/bash -i)
- ReverseShellPowershell # PowerShell 反弹 Shell (-enc)
- CredentialStealer # 凭据窃取工具 (mimikatz/sekurlsa/wce/...)
- CredentialExport # 凭据导出命令 (reg save/reg export/...)
- RemoteDownloadUnix # Unix 远程下载执行 (curl|wget|certutil)
- RemoteDownloadPowerShell # PowerShell 远程下载执行 (IWR/DownloadString)
# ---------- 文件类型白名单 ----------
# 只允许这些类型通过。空列表表示不限制(不推荐生产使用)。
allowed_extensions: