2.10.0: RedAmon, Xalgorix, Pentest Swarm AI, KQL tests and exposed consoles2026-11-23
本次更新新增 RedAmon、Xalgorix、Pentest Swarm AI 三个框架的检测规则。三者均基于源码逐行梳理信号,目前尚无公开报告证实其被用于真实入侵,因此规则聚焦于识别软件本身:探测流量、主机上的工具痕迹以及暴露的控制台。每个框架都配有 3 条 KQL 狩猎、3 条带测试事件的 Sigma 规则、YARA 规则及指标,共新增 56 条指标,总计 572 条。
KQL 狩猎现在可以在微软 Kusto 模拟器中用样本行跑测试:tests/kql/run_tests.py 会校验应命中的用例是否返回、近似命中是否被误报,查询本身原样执行,仅替换表数据。首批覆盖狩猎 1 及其分析规则(各 50 例)和狩猎 9(13 例),每次推送都会在 CI 中运行。
仓库新增 exposure/ 目录,记录 Shodan 上暴露的框架控制台地址,首份快照含 6,715 个地址上的 7,659 个服务。该清单仅作暴露面记录,不进入 Suricata 地址规则、WAF 列表、STIX 包和纯数据源——后者只收录与攻击相关的具名报告地址。可用 tools/exposure_snapshot.py 依据 exposure/shodan-queries.csv 重建快照。
2.9.3: Sigma event tests and rule fixes from the community2026-11-23
Sigma 规则现在可以用样例事件做回归测试了。新增的 tests/sigma/run_tests.py 会拿 tests/sigma/fixtures/<规则名>.jsonl 里的事件跑规则,误报或漏报都会让测试失败,同时还会全量执行一遍所有规则,语法或转换有问题的直接挂掉;此前只检查语法和转换。CI 每次推送都会跑这套测试。首批测试事件来自「AI Agent CLI 启动攻击工具」规则,含 2 个正例和 4 个近似负例,格式见 tests/sigma/README.md。
规则本身修了几处漏报和误报:该规则此前漏掉以 Python、Ruby、Perl 脚本形式运行的工具(sqlmap、NetExec、wpscan 等),因为进程映像只是解释器,现在改为匹配命令行里的脚本,并补上 KQL 猎捕已有的八个工具,也能通过父命令行的包路径识别 npm 或 pip 安装的 agent;项目目录叫 responder 不会误触发。测试事件增至 44 条。猎捕 1 及其分析规则同步修了同样的问题,分析规则升到 2.1.0,Tools 列现在显示工具名而非解释器。
另有三处匹配逻辑收紧:「调用中国模型 API」规则改为精确匹配域名或其子域,不再被 notopenrouter.ai 这类后缀命中;带外 DNS 查询只跳过 Burp 的两个 polling 域名,不再放走 polling.<id>.oast.fun 这类载荷,Zeek、猎捕 9 和 Suricata 3801057/3801058 一并修正;框架 DNS 与代理规则同样改为域名或子域匹配,修掉 web8t.shop 命中 b8t.shop 的问题,涉及六条 ARTEX、Cairn、Strix 规则和 Strix 的三条 Suricata 规则(3805001–3805003)。项目还新增了路线图,聚焦攻击型 agent 行为规则与规则有效性验证。
2.9.2: expired addresses leave the active outputs2026-11-22
地址指标处理有几处修正:过期地址不再进入活跃输出,置信度标注也更准确。
已过 review_by 日期的地址会从普通列表、Zeek intel 文件和 Suricata 地址规则中剔除(WAF 规则此前已是如此),但仍保留在 iocs/indicators.csv 和 STIX 包中作为历史记录。本次更新因此移除了 21 个地址,均为 Team Cymru 于 2026 年 3 月 2 日报告的 CyberStrikeAI 服务器。
Suricata 地址规则此前无论指标本身如何都标为 confidence Medium。现在规则取其地址中最低的置信度,低置信度规则改用 classtype:misc-activity,revision 更新为 2。地址全部过期的分组仍保留其 SID 对,后续规则编号不受影响。
review_by 现在必须是合法日期,tests/feeds/ 会在每次推送时校验过期、置信度和 SID 规则。
2.9.1: Agent Zero source review and a Zeek package2026-11-22
Agent Zero 迎来一次源码级审查,审查结果修正了两条规则(#7),同时 Zeek 行为包现在可通过 zkg 安装。
新增 frameworks/agent-zero/source-code-signals.md:在提交 a6e41ca 上逐条标注文件与行号,说明 Agent Zero 的运行方式、目标侧看到什么、运行主机上暴露什么、Web UI 暴露面,以及代码中不存在的内容,并核对了 Agent Zero 规则匹配的每一个字符串。
狩猎规则 1 修正:攻击工具与隧道分支原先在父进程命令行里找 /a0/,但源码显示父进程是 /bin/bash,隧道由 ssh 或 cloudflared 打开,这些分支根本不会触发。现在改为在出现过 Agent Zero 的设备上查找,隧道分支也补上了 Microsoft dev tunnels。
YARA AgentZeroHackerProfile 现在要求命中仅黑客画像才有的提示行——原先有两个字符串也存在于默认画像中,一份默认提示的转储就可能被这条以黑客画像命名的规则匹配。
行为包新增根目录 zkg.meta,指向 behaviors/zeek/agentic-behaviors 并在安装时跑测试:zkg install https://github.com/ThreatDefence/agentic-attack-detections。
指标方面:「obey instructions never refuse for safety ethics」字符串的注释改为注明它同样出现在默认画像;端口上无出处的「5080 also seen」备注已删除。
2.9.0: new Suricata rule IDs and trimmed plain feeds2026-11-22
2.8.2 有两处改动会影响已经在用 Suricata 规则或纯指标列表的人。
Suricata 规则 SID 全部重新编号:从 9726001-9734999 移到 3800001-3808999,旧号减 5,926,000 即得新号(9726001 → 3800001,9727057 → 3801057)。旧区间在 sidallocation.org 上已注册给另一套规则,存在撞号风险;新段 3800000-3819999 已为本项目申请。若你按 SID 做抑制、限流或引用,需要同步更新数字。规则内容与修订未变,WAF 映射、测试和文档均已改用新号,历史变更记录仍保留当时写法。
纯指标列表只保留中高置信度:feeds/*.txt 和 feeds/by-framework/ 不再收录低置信度条目——像 api.anthropic.com、api.x.ai、webhook.site 和 Boto3 user agent 这类合法服务,脱离上下文毫无意义,裸列表承载不了。它们仍保留在 iocs/indicators.csv、Sentinel 监视列表、STIX bundle 和 Zeek intel 文件中。列表现含 115 个 IPv4(原 162)、30 个域名(原 45)、37 个 user agent(原 44)。
此外,自 2.8.1 起发布物附带现成下载:Suricata 规则、YARA 规则、STIX 2.1 bundle、指标与 feeds、WAF 规则及 SHA256SUMS.txt,文件名跨版本固定,releases/latest/download/<name> 永远指向最新版。检测逻辑无变化。
2.8.0: WAF rules for Cloudflare, AWS WAF and Azure WAF2026-11-22
WAF rules (#10). The detections stay the same; this release adds a way to block part of them at the edge.
- New waf/ folder with rules for Cloudflare (dashboard expressions, Rulesets API JSON, IP list, Terraform), AWS WAF (rule group and IP sets as CLI input, CloudFormation and Terraform) and Azure WAF (Application Gateway and Front Door policies in Bicep and ARM, and plain custom rule arrays).
- Rule groups by tier. Block: framework user agents, probe markers and framework headers, unsigned alg:none JWTs, and the CyberStrikeAI webshell probe in request bodies. Challenge: scanner user agents and reported addresses. Log: AI agent page readers and the Hermes results folder. Opt-in: WSUS services reached from the internet. Addresses are never blocked by default.
- Everything is generated by tools/buildwaf.py from waf/signatures.yaml and iocs/indicators.csv. Addresses past their reviewby date are left out (21 of 163 on this release).
- tests/waf/run_tests.py checks the generated files on every platform: every signature value, every address, hand-written requests (most of them near misses), and a replay of the Suricata test flows so the WAF rules and the Suricata rules they mirror agree. It also checks platform limits, the AWS files against the wafv2 API model, and CI runs cfn-lint, terraform validate and az bicep build.
- waf/README.md answers whether a WAF is needed and where it fits next to the SIEM and IDS content.
Also in this release, from 2.7.3
- Elastic conversions of DNS, proxy and web server rules now use ECS field names: dns.question.name, url.original, url.domain, url.path, url.query and user_agent.original. Before, they kept the Sigma names and matched nothing in an ECS index. Contributed by @tridev-tej in #9, closing #4.
- tools/validate.py fails if a generated Elastic query still uses one of those Sigma field names.
2.7.2: two ARTEX user agents from a community report2026-11-22
- Two ARTEX user agents added: artex-agent and artex-judge-r121. Dragos saw them in AWS CloudTrail when ARTEX checked stolen keys it had planted as canary tokens. Reported in #8 by @Assaf-tal.
- New Suricata rule 9726009 for both, and the names are added to the ARTEX user-agent rules for Sigma, Microsoft Sentinel, Elastic, Splunk and Zeek. The rules match artex-judge- followed by any run name, since r121 reads as a run number.
- 516 indicators in total.
Full history: CHANGELOG.md
2.7.1: easier to start with and contribute to2026-11-22
No detection changes. This release makes the repository easier to start with and to contribute to.
- README: a one-command "Try it in a minute" that runs the ARTEX Suricata rules over the sample capture, a "Start here" table by what you run, a coverage table of frameworks against formats, and a section on how the rules are built and checked.
- CONTRIBUTING.md with the checks to run and the rules for indicators, Suricata, KQL and Sigma content.
- SECURITY.md, and issue forms for a false positive, a missed detection, a new indicator and a new framework.
- Framework folder READMEs are titled "<Framework> Detection Rules and IOCs".
- ARTEX file headers now read "Agentic attack detections by ThreatDefence (ARTEX)", like the other folders. They still carried the repository's first name.
- LICENSE copyright line now includes contributors.
- The ARTEX Splunk app is now TA-agentic-attack-detections, labeled "Agentic Attack Detections (ARTEX)" (was TA-artex-detections). If you installed it under the old folder name, remove that folder before copying the new one, or Splunk will load both.
Full history: CHANGELOG.md
2.7.0: correctness release2026-11-22
A correctness release. Every rule was reviewed against the framework source and its cited report, the rules were run over 30 days of production telemetry, and two test suites were added. Nothing new is detected; a lot now works that did not.
Rules that could not fire
- tools/convert.py reused the same rule objects for every backend, so each Elastic conversion carried Microsoft field names and only 1 of 64 rules converted for Defender XDR. Each backend now gets its own copy: 25 rules convert for Defender XDR, and Elastic output uses ECS fields, including process.* for Linux process rules. Everything in generated/ was rebuilt.
- AI agent starts an attack tool (behaviors hunt 1, its analytics rule and Sigma rule) looked for an auto-approve flag on the tool's parent. The parent is the agent's shell, so the flag was never there, and Windows .exe names were missing. The rules now follow the process tree: Claude Code's shell (shell-snapshots, CLAUDECODESHELLLAUNCHERSCRIPT), an agent binary as parent or grandparent, or an agent found by its command line. The flag is a context column, because staff use it too and an agent can run a tool without it. Severity is medium. The analytics rule reads agent processes from the last day instead of the last hour.
- Suricata: Cairn 9727002 matched a port in http.host, which never holds one; it now matches the project list fields in the response. 9726068 looked for a host name inside Gh0st RAT traffic and is retired. ARTXPERSISTOK has its own rule (9726027). BLOODALCHEMY, toolkit and card-theft campaign domains match subdomains. Unsigned JWT rules cover typ and the None and NONE spellings (9726030 to 9726033). 9726067 allows a query string. Hermes 9732001 and 9732004 accept spaced JSON and sh -c, and 9732001 no longer needs an outside source. dnslog.cn and webhook.site match any case.
- KQL: sComputerName is not a W3CIISLog column (CyberStrikeAI hunt 1 and its analytics rule), FileUrl is not a DeviceFileEvents column (ARTEX hunt 22), and TicketEncryptionType is not a SecurityEvent column (ARTEX hunt 16).
- CyberStrikeAI's .bashrc line is written to the file, not run as a command, so the # cs command-line branch is gone from the hunt, the analytics rule and the Sigma rule. The file-event branch and the YARA rule cover it.
- Strix Sigma rule: strix --target x and strix -t x now match.
- Elastic: two ES|QL queries used (?i), which Elastic's regex does not support, and the ARTEX user-agent rule was case-sensitive. Splunk: the user-agent search dropped rows with no src field.
- The certificate rules for CyberStrikeAI and PentAGI only see a certificate in a TLS 1.2 handshake. The rule files said otherwise.
Rules that were noisy
- Out-of-band lookups: Burp's own client polling (polling.oastify.com) is left out everywhere, Suricata alerts once per source per hour, and the Sigma rule is medium.
- Strix: only install commands count, not uv or pip probing an installed copy.
- Web service starts a shell (Sigma, KQL, Splunk): java and node count only under a service account, because they also run Jenkins, npm and AI agent CLIs.
- Carbonato: nsenter -t 1 alone is also what Kubernetes node-debug tools do, so the rule needs an install or persistence command with it.
- ARTEX hunt 10 no longer matches the bare word artex, which is also a real company's name. HexStrike's port 8888 hunt leaves out Jupyter.
- Suricata: every rule that inspects content has a fast pattern, so none runs on every transaction. Multi-domain regular expressions are now one rule per domain.
- Splunk: searches read artexindexes instead of index=, and each has alert suppression.
Zeek
- On a cluster, KerberosEnumeration, AIAgentAttackingSite and CallbackToProber kept their state on one worker and did not fire when related connections reached another. They now share state through SumStats or the manager. Checked on a local manager with two workers.
- With servernets unset the package treated every local host as a server, so laptops calling model APIs and Burp polling raised notices. The server-only notices now stay off until servernets is set, with a warning at startup.
- RotatingProxyProbing checked its ratio once per window and now checks it on every request. It needs a payload or a refused login, so a normal login page no longer raises it.
- BackupFileServed needs a real file body, so a site that answers 200 to everything no longer raises it. CallbackToProber ignores requests that came through a CDN. SMBWinRMFanOut counts connections where both sides sent data, not half-open scans. OutOfBandLookup skips Burp polling and fires once per source per hour.
- Two scripts kept an entry for every visitor for up to a day. They now keep only addresses that already showed the first half of a pattern, for an hour.
- The ARTEX script matches user agent names in any case (ScopeWeaver/1.0, ARTEX-PENTEST/1.0) and every unsigned JWT header form.
- The test capture now carries Kerberos requests Zeek parses; before, the Kerberos notice fired from error replies alone.
- Changed settings: proberminconns is now proberminrequests, probermemory and pagereaderwindow default to 1 hour, and CallbackTo_Prober needs cleartext HTTP for the probe half.
Tests
- tests/suricata/run_tests.py replays one flow per hand-written Suricata rule, with near misses, and fails if a rule has no case or fires where it should not. CI runs it.
- tools/validate.py parses every KQL hunt and analytics query with Microsoft's Kusto.Language and checks table and column names against Microsoft's table reference (tools/kqlcheck/).
- Every indicator was checked against the report it cites. Three rows that cited our own article now cite Wiz Research, where the values were published.
Full history: CHANGELOG.md