Repository navigation
·
2 commits
to main
since this release
Suricata gets rules that look at behaviour instead of strings, reported addresses and domains as datasets, and an .md5 beside each download for pfSense. JA3 and JA4 were measured in a lab and published as reference data only, with no rules. Tests now also run on Suricata 8.0.8. ARTEX was checked against real lab traffic, which added the norma/0.4 rule and a rule for renamed consoles that keep the Chinese page description, and the indicator sweep no longer matches real browsers on browser-shaped user agents. The default Suricata file has 669 rules, the hunting file 116, the address file 102, and the file with everything 887.
- ARTEX: renamed consoles that keep the Chinese page description. Builds that change the whole title still ship the stock description
LLM 驱动的自主渗透测试系统控制台(web/src/i18n/locales/zh-CN.json:575). 37 consoles inexposure/consoles.csvcarry it. A new Suricata rule, 3800088 (Medium), matches it on a page with the Next.js build and skips the stock ARTEX and ScopeWeaver titles, which 3800040 and 3800041 already alert on. Zeek'sARTEX::Console_Pagealso matches it. The English description and the Traditional Chinese title ending were left out: one console uses the first, the wording is generic enough to match vendor pages, and no console was seen with the second. New tests cover a match, a page without the Next.js build, and a stock page that must fire only 3800040. - Suricata 8.0.8 in the tests (from the feedback in #43). The reporter runs Suricata 8, and until now the tests ran on 7.0.3 only.
- CI has a second Suricata job that runs Suricata 8.0.8 from the
jasonish/suricatacontainer image through a small wrapper,tests/suricata/suricata-in-container.sh. It replays every test flow, runs the hunts overeve.json, checks the recorded TLS fingerprints and loads each release rules file. Every rule gives the same result on both versions: 1,516 cases on each. lab/tls-fingerprints/verify.pynow also checks every recorded JA4 against aja4.hashrule on Suricata 8. All 227 agree, including the Chromium handshakes where Wireshark 4.2.2 differs. This checks the reference table. No JA4 rule ships, for the reason given in the next entry.
- CI has a second Suricata job that runs Suricata 8.0.8 from the
- TLS client fingerprints, measured in a lab and published as reference data, with no rules (#53, from the feedback in #43). A user asked for JA3 and JA4 rules for the HTTP clients that agent frameworks use. The fingerprints were measured first, and the measurements say not to ship such rules. docs/tls-client-fingerprints.md has the table and the reasoning.
- The fingerprints are measured, not copied from lists.
lab/tls-fingerprints/recorded 603 handshakes from 198 combinations of client, version and runtime:requests,httpx,aiohttp,urlliband the OpenAI and Anthropic SDKs on Python 3.9 to 3.14 with OpenSSL 1.1.1, 3.0 and 3.5, Gonet/http1.21 to 1.27, Node.js 18 to 24, curl, and for contrast Chromium and a client that copies Chrome's handshake. JA3 and JA4 are computed from the recorded bytes, and every value is checked against Wireshark, and JA3 against a Suricataja3.hashrule as well, with no mismatch. The recordings and the table of every JA3 and JA4 value are in the repository. - No Suricata rule is built from them. A fingerprint names the TLS library and not the framework: every Python program on the same OpenSSL sends the same handshake, and the OpenAI and Anthropic SDKs send exactly what plain
httpxsends. A rule on these values would fire on every API integration, uptime check and webhook, which adds false positives and no detection. To find a framework on the wire, use the rules for the strings it sends and the rules for how agents behave. - What else the measurements show: hashes do not hold, since the Python clients alone produced 22 JA3 and 22 JA4 values across three OpenSSL lines. Python 3.9 and Python builds that keep OpenSSL's defaults send the same cipher list as curl. A client that copies a browser's handshake (
curl_cffi) or drives a real browser is not told apart from a browser. - A rule can still be added for one framework, in its own folder, if a run of the real framework shows a handshake that is its own. The frameworks themselves were not run for this table.
- CI checks the recordings against Wireshark and Suricata on every run, and that the table and the page are built from them (
tools/build_tls_table.py --check). - Not measured: OpenSSL 3.1 to 3.4 and 3.6 or later, Go on processors without AES hardware, other curl versions, Rust and Java clients.
- The fingerprints are measured, not copied from lists.
- Suricata: reported addresses and domains as datasets (#54, from the feedback in #43). A new download,
agentic-attack-detections-datasets.tar.gz, holds four list files and ten rules (SIDs 3801070 to 3801079) that test a value against a list withdataset:isset: connections to and from a reported address, a reported domain in a DNS lookup, in TLS SNI and in the HTTP Host header, and a framework's own vendor or service host name in DNS and TLS SNI. The lists are built fromiocs/indicators.csvbytools/build_feeds.pyintofeeds/suricata/with the same policy as the other feeds: high and medium confidence only, addresses past their review date dropped. Today that is 366 addresses (110 single ones and one /24 written out), 16 domains, 20 host names and 15 vendor or service host names. README has a new section, Suricata datasets.- It is an alternative to
agentic-attack-detections-addresses.rules, not a replacement, and none of the existing files change. The address file's 102 rules name the framework and the report in each alert. A dataset rule can only say the value is on the list, so the alert sends you toiocs/indicators.csvfor the rest. Load one or the other: together they alert twice. - A reported domain of two labels matches itself and every name under it, by cutting the looked-up name to its last two labels before the list is checked. A longer reported name matches only as written. Low-confidence domains, which are mostly legitimate services, are not on the lists.
- Address alerts are tied to the side that opened the connection, so a reply packet does not count as a connection to a reported address. Outbound alerts are limited to one per pair of addresses per hour. Inbound alerts are limited to one per reported address per hour, so a sweep of a /16 from a reported address is one alert and not one per inside address.
- Vendor and service host names are a list of their own. The frameworks' own update checks, telemetry, licence servers, package indexes, installers and model gateways (15 names, such as
update.pentagi.com,api.aliasrobotics.com,gateway.pensar.dev) mean the tool is in use, often by a security team that bought it, not that attacker infrastructure was reached. They are intd-services.lst, matched by two Lowpolicy-violationrules (3801078 in DNS, 3801079 in TLS SNI), and listed asSERVICE_HOSTSintools/build_feeds.py. The C2, payload and skimmer hosts stay intd-hosts.lstwith the Mediumtrojan-activityrules. - Three addresses expired. The Storm-0940 VPN exits 187.15.88.186, 187.15.89.186 and 187.15.90.217, which the report ties to October 15 and 16, 2026 only, had a review date of April 2027. It is now October 17, 2026, so they leave the address rules, the datasets, the plain feeds, the WAF lists and the indicator sweeps, and stay in the CSV and STIX bundle as history. The address file goes from 104 to 102 rules.
- The rules need their list files beside them, so they are loaded in a Suricata run of their own in
tests/suricata/run_tests.py, with 22 cases: a listed address in each direction, an address inside the listed range, the address next to a listed one, a low-confidence address, and for domains a listed name, a name under it, capitals, a look-alike, the name used as a prefix, a name in the path instead of the Host header, and a vendor host name in DNS and TLS SNI with a name under it as a near miss. The feed tests check that expired and low-confidence rows stay off the lists and that a range too large to write out, or a name that is not a plain domain, stops the build. - Installed through
suricata-update1.3.0 from the archive in a local run: it copied the lists and rewrote the rules to point at them, and Suricata 7.0.3 loaded the result. CI unpacks the archive and loads it withsuricata -T. - Not included: IPv6 (the one IPv6 indicator is low confidence), file hashes, user agents and URLs. The Suricata content does not match file hashes today, and user agents and URLs are matched by substring, which a dataset cannot do.
- It is an alternative to
- Suricata: rules that count and check order, whatever the strings are (#55, from the feedback in #43). An agent that changes its strings or works over HTTPS passes the rules that look for them.
behaviors/suricata/rates-and-sequences.ruleslooks at behaviour instead, with 5 rules that alert and 16 that only set marks for them (SIDs 3801080, 3801081, 3801086 to 3801088 and 3801120 to 3801135). All are confidence Low and alert only, so they ship inagentic-attack-detections-hunting.rules, which goes from 96 to 116 rules. docs/suricata-behaviour-rules.md says what each rule counts, the recording behind each number, what ordinary traffic also sets it off, and how to leave a host out or change a count inthreshold.config.- An inside host scanning: 50 refused connections in 10 seconds, or 30 new connections in a minute to outside ports below 1024 that ordinary clients do not use.
- Web servers: three different kinds of attack from one address in a minute, out of file read, SQL injection, request forgery, command injection, script injection, template injection and unsigned tokens, read from the URL, the body and headers. A server that received one of those attacks in the last two minutes downloading from a bare IP address with curl, wget, certutil, PowerShell or a similar tool. A server opening a connection to an outside address that sent it an HTTP request or a TLS ClientHello in the last five minutes.
- Six counting rules left out after a review for false positives. Inside connections to odd low ports (3801082), SSH, SMB, RDP and WinRM sweeps out and in (3801089, 3801090), 100 NXDOMAIN answers (3801083), long generated DNS labels (3801084) and 100 not-found answers (3801085) all fire on ordinary enterprise traffic: the inside resolver, mail servers checking block lists, endpoint protection hash lookups, SCCM, backup and password rotation servers, credentialed scans, crawlers and CDNs. Suricata cannot count different destinations, names or paths, which is what separates a sweep from busy normal traffic, so the
subdomainsandprobinghunts overeve.jsoncover the DNS and path ideas. The SIDs are not reused. New tests keep a management server, a build server cloning over SSH and a monitoring server quiet. - The download rule (3801135) leaves out the cloud metadata address 169.254.169.254 and the Azure platform address 168.63.129.16, which agents on cloud servers call with Python and Go clients. The file read mark in the URL reads the raw URL, because Suricata removes
../segments from the normalised path: a traversal in the path, not the query, was missed before and now has a test. The callback rule's request marker needs a request line at the start of the packet, so a log line or mail body that containsHTTP/sets no mark. - The counts are measured.
lab/probing/records nmap 7.94, ffuf, gobuster, dirb, nikto and sqlmap against local targets, and the recordings are in the repository. They changed the rules: against a host that answers nothing, nmap sends only about 100 SYNs every 10 seconds, so a rule counting all new connections either misses the most common scan or fires on browsers. The scan rules count refusals and ports a browser does not touch instead. - Tested for what must fire and what must not. The tests replay 8 recorded nmap scans, each at outside and at inside targets, and the five recorded web tools, and each must raise exactly the rules it should: nikto raises the three-kinds rule, sqlmap on its own does not. They also replay traffic that must stay quiet: 300 connections to outside port 443 in 10 seconds, peer-to-peer traffic, a load balancer, a domain workstation, a mail server, a management server, a build server, a monitoring server, and 36 ordinary web requests that look a little like attacks (
/search?q=union+square+hotels,/static/js/../css/site.css, a signed token, a form field ofo'brien), sent together with two real kinds of attack. Every counting rule is tested at its count and one under. The suite goes from 1,433 to 1,516 cases. - Removed PentAGI rule 3802030 (outbound connection to ports 28000 to 29999). The new tests found it alerting on a connection attempt that was never answered, and the range is shared with passive FTP, games and voice calls, so a fix would still leave a rule that mostly fires on ordinary traffic. General hunt 04 finds a server calling back to the address that probed it.
- The callback rule marks the visit from the packet and not from the parsed request. In the tests, a marker written as an
httprule was not set in time when the request was never answered, which is how a request that starts a reverse shell looks. Athresholddoes not gatexbitsin Suricata, so "three kinds" is counted with one mark per kind and a flowbit, as the documentation explains. - Hunts over Suricata's own log for what a rule cannot count.
general/suricata-eve/eve_hunts.pyreadseve.jsonand needs only Python: one host calling one outside address at a steady interval, 50 MB sent to an address never used before within an hour of an alert, 50 different names looked up under one domain, and 50 different paths with four in five answered 404, 401 or 403.tests/eve/run_tests.pytests them end to end through Suricata with 18 cases, and CI runs it. - Two hunts for Microsoft Sentinel on the same ideas: one host calling one outside server at a steady interval over
DeviceNetworkEvents, and outbound volume far above a host's own baseline overCommonSecurityLog. Both have test cases for the Kusto emulator. The general folder goes from 16 to 18 hunts. - The tests now replay on one Suricata thread, because with several threads two connections of one case can be inspected out of order.
tests/suricata/run_tests.pycan write a case packet by packet, andtools/build_release.pychecksxbitsas it checksflowbits. - Not tested: live traffic, inline mode, and real agent frameworks driving the tools. The recordings are of the tools on their own, over loopback. The web rules read plain HTTP only. Suricata cannot count different destinations in a rule, so the scan rules count connections.
- Lab validation of ARTEX against real traffic. ARTEX was built from source (BaaRai/ARTEX) and run end-to-end against a lab-owned OWASP Juice Shop on an isolated Docker network, driven by a scripted model so the on-the-wire behaviour comes from the framework's own code. The capture was replayed against all 867 Suricata rules: only the ffuf user-agent rule (3801011, Low) fired, and a benign baseline (browser, curl, wget, python-urllib) produced zero alerts. That baseline was made in the lab, so it shows the rules work, not how often they fire on real enterprise traffic.
- Gap found and closed: the Norma WebFetch user agent
norma/0.4. This is ARTEX's code-default client user agent (BaaRai/Norma v0.4.11,tool/webfetch.go:236);ARTEX_TARGET_USER_AGENTdoes not replace it (egress/egress.go:459), so it survives when an operator renames the brandedartex-*strings. It was already covered by the Zeek, Sentinel, Splunk and Elastic rules but had no Suricata rule and no Sigma rule. Added:- Suricata rule 3800087 (
frameworks/artex/suricata/artex.rules), Medium confidence, GET only and the whole user agent exactlynorma/0.4, as the Sentinel rule matches it, to cut false positives. - Sigma rules
web_artex_norma_user_agent.ymlandproxy_artex_norma_user_agent.yml, Medium, matching the whole user agent and not a substring (Sigma'scontainsignores case, soNorma/0.4.2 (Android 14)would have matched), with the backends regenerated intogenerated/. All three map to T1594 (Search Victim-Owned Websites): WebFetch reads pages, it does not guess paths from a list. - Medium (not High): other agents built on Norma send the same user agent, so a match is a lead, not proof of ARTEX. This matches the existing Sentinel
norma/update-check analytics treatment.
- Suricata rule 3800087 (
- Real capture added as a test.
frameworks/artex/tests/artex-norma-lab-sample.pcapis real lab-capturednorma/0.4traffic;run_network_tests.shnow replays it and asserts 3800087 fires. New Suricata and Sigma unit cases cover the rule and a near miss. - Indicator sweep: browser-shaped user agents match only as the whole value. The Sentinel sweep in
iocs/sentinel/hunting/indicator-sweep.kqlmatched every user agent indicator of 8 or more characters as a phrase inside a longer user agent. For the CTF Agent stringMozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36, a Windows 7 string cut off before(KHTML, like Gecko), that matched every Chrome on Windows 7 and many scrapers in IIS and proxy logs. An indicator that starts withMozilla/now matches only the whole user agent, as Suricata and Sigma already match it; other indicators still match inside a longer user agent, such asartex-readonly/1.0inside a Boto3 user agent. The CTF Agent row is now low confidence, as its Suricata rule 3813341 has been since 2.12.0, so it leaves the feeds and the sweep. Four new KQL cases: a browser-shaped indicator as the whole user agent, a real browser that contains a medium browser-shaped indicator, Chrome on Windows 7, and an expired address. - An
.md5file next to each Suricata download. The Suricata package of pfSense has an "MD5 check" option for extra rules that fetches the rules URL with.md5added, and it failed with a 404 because releases carried no such file. Each release now has one for every.rulesfile, holding the MD5 hash and nothing else, which is what that package compares.SHA256SUMS.txtis unchanged and stays the file to verify a download with. Reported on the Suricata forum.