Skip to content
Athar-HQPublic

About

No description, website, or topics provided.

Resources

Stars

65 stars

Watchers

0 watching

Forks

Latest commit

 

History

209 Commits

Folders and files

Repository files navigation

Athar — Service Fingerprinting. Rule Standard, Query Converter, Scanner.

Athar

Athar is a service fingerprinting project built around a draft standard for portable YAML rules. Each rule describes one network service using observable signals such as HTTP headers, TLS certificates, or response banners.

  • Rule standard. Define service fingerprints in YAML with Sigma-style detection logic and test cases.
  • Converter. Turn the same rules into Nuclei templates or an Nmap script, to run them with the scanner you already use, or into queries for FOFA, Shodan, Censys, ZoomEye, Modat Magnify, urlscan.io and Hunt.io, to find candidate services in indexed scan data.
  • Scanner. Apply those rules to live services on specified hosts or network ranges to identify products, families, and versions.

Athar at a glance. Left, an Athar rule: a shortened ARTEX family rule with a description, a detection on the page title 'Autonomous Penetration Testing Console', identifies, confidence and false positives. Right, the Athar CLI: athar convert runs the rules in the scanner you already use (Nuclei templates, an Nmap script) or turns them into FOFA, Shodan, Censys, ZoomEye, Modat Magnify and urlscan.io queries, with planned candidates; athar scan checks hosts, CIDR ranges and ports; athar match, planned, applies rules to stored data. Bottom, what is in the repository.

Status: draft. The rule format can still change. The Go CLI supports athar scan for live scanning, athar convert for Nuclei templates, Nmap scripts and search-engine queries, and athar verify for syntax checks and rule tests; matching against stored data is planned. Binaries are on the latest release.

The first use case is the infrastructure of agentic offensive frameworks (AOFs): AI-driven penetration testing consoles that are deployed under changing brand names. The format is not limited to them; C2 panels, phishing kits, appliances and ordinary server software fit the same way.

Our slide deck explains the project visually: the problem, what a rule looks like, the CLI, and a real hunt for the ARTEX family.

Title slide of the Athar deck: Portable fingerprints, by Florian Roth and Gameel Ali

Why

Every infrastructure hunt gets published three or four times, once per search engine, as hand-written query strings. Those strings drift apart, break when an engine changes its syntax (Censys deprecated Legacy Search in September 2026), and can't be tested.

Existing fingerprint formats each cover part of the problem. Nmap's probe database is tied to Nmap's licence, Recog produces no queries, Nuclei templates are built for vulnerabilities, and Wappalyzer went closed-source. None of them combines an engine-neutral field set, Sigma-style logic, query conversion and active confirmation. docs/prior-art.md compares them.

A rule

If you can read a Sigma rule, you can read this one. The metadata and the detection block are Sigma. New are target, identifies, confidence and tests.

title: Agentic Offensive Framework - ARTEX family
id: e16df89b-108c-4364-8b69-d5bc6ef04b5f
status: experimental
author: Gameel Ali (@MalGamy12)
date: 2026-11-24
tags:
  - category.offensive-tool
target:
  protocol: http
detection:
  selection:
    http.title|contains: 'Autonomous Penetration Testing Console'
  condition: selection
identifies:
  family: artex
  category: offensive-tool
confidence: high
tests:
  - name: ARTEX console
    response:
      http.title: 'ARTEX — Autonomous Penetration Testing Console'
    expect: match
  - name: Pentest vendor page
    response:
      http.title: 'Penetration Testing Services | Example Corp'
    expect: no_match
  • target: the rule is about HTTP services.
  • detection: the page title contains Autonomous Penetration Testing Console. Every brand of this console keeps that phrase in its title, so one condition finds all the rebrands.
  • identifies and confidence: what a match is, and how sure the rule is about it.
  • tests: a page the rule must match and a near miss it must not. athar verify runs them, and CI rejects a rule whose tests fail.

The same rule drives every command: athar scan checks it against live services, athar convert turns it into a Nuclei template, Nmap script data or a query for each search engine.

This is a shortened version of the real rule, rules/offensive-tool/aof_artex_nov26.yml, which also matches the Chinese and Korean titles, reads the brand name out of the title with extract, and lists the ports these consoles use.

How it works

The rules are the only thing the commands share. Each command takes the rules plus its own input, and none of them needs another command to run first.

Command Takes Gives Use it to
athar convert Rules, and the targets to convert to (-t) Nuclei templates, an Nmap script, and queries for FOFA, Shodan, Censys, ZoomEye, Modat Magnify, urlscan.io and Hunt.io, each labelled exact, approximate, superset or unsupported Run the rules in Nuclei or Nmap, or find candidates on the internet without scanning yourself
athar scan Rules, hosts or CIDR ranges, and ports (-p, as in Nmap) One line or JSON record per matching service: product, family, extracted brand or version, confidence and the rule's author Check live services
athar match (planned) Rules, and data you already have: search-engine exports, recorded responses The records that match, without sending a packet Remove the over-matches of approximate queries
athar convert -t nuclei -o templates/ rules/
athar scan -r rules/ -p 80,443,8000-8100 10.0.0.0/24

For internet-wide hunting the commands can be combined: run a converted query in the engine, filter the export with athar match, then pass the remaining hosts to athar scan to confirm they are still live. That is one way to use them together, not a required order.

The scanner defines what a rule means. match and scan use the same evaluator as verify, so an engine query can be loose without making the results wrong.

athar scan, athar convert and athar verify are available; match is planned. See CLI.

Principles

  1. Simple. One rule describes one service in one YAML file. Rules use Sigma's grammar rather than a new one. A feature goes into the format only when real rules need it, and docs/decisions.md lists the ideas that are waiting for that.
  2. Engine-neutral. A rule describes properties of a response, never engine syntax. Engine syntax lives in the converters, so a change like Censys's new query language gets fixed in one place.
  3. The scanner defines meaning. Rule semantics are defined against the raw response. Engine queries are approximations that declare their fidelity.
  4. Passive first, active to confirm. Rules that only use the baseline request (what engines index anyway) are fully convertible. Extra probes are opt-in, safe by construction, and make those parts active-only.
  5. Identify, don't just alert. A match yields product, vendor, family, version and CPE, as Recog and Nmap do.
  6. Tested. Every rule carries example responses that run as tests on every pull request, so an edit that breaks a rule cannot merge.
  7. Licence-clean. Rules are shared under the Detection Rule License (DRL) 1.1, as Sigma rules are. Encumbered methods such as JA4S/JA4X are optional fields, never required.

Scope

One rule matches one service: one IP address and one port. Fingerprints that only work when two ports of the same host are combined are deliberately left out for now. docs/decisions.md explains why and how they could be added later without changing existing rules.

Repository layout

.
├── README.md               this file
├── AGENTS.md               instructions for AI agents (CLAUDE.md points to it)
├── LICENSE.Detection.Rules.md  Detection Rule License 1.1 for the rules
├── spec/
│   └── athar-spec.md       the rule format (normative)
├── rules/                  the rule collection, one folder per category
│   ├── README.md           naming, required tests, rule template
│   └── offensive-tool/
├── cli/                    the athar command-line tool (Go)
│   └── README.md           commands, architecture, how to release
├── go.mod                  Go module for the CLI
├── scripts/
│   └── build-release.sh    builds the release archives
├── .github/workflows/      CI on every push; release build on version tags
└── docs/
    ├── prior-art.md        existing formats and what Athar takes from each
    ├── decisions.md        decided, open and deferred design questions
    ├── conversion-targets.md  supported and candidate convert targets
    └── images/

CLI

athar is a single binary written in Go (why Go).

Command Status What it does
athar scan available Checks hosts, CIDR ranges and ports for services that match the rules; writes the matches as JSONL.
athar verify available Checks rules against the spec and runs every rule's tests.
athar convert available Turns rules into Nuclei templates, an Nmap script or FOFA, Shodan, Censys, ZoomEye, Modat Magnify, urlscan.io or Hunt.io queries, with fidelity and notes.
athar match planned Evaluates rules against stored data (engine exports, recorded responses) without sending packets.

Install

Download the archive for your platform (Linux, macOS, Windows; amd64 and arm64) from the latest release and put athar on your PATH. checksums.txt in the release lists the SHA-256 of every archive. The binaries are not signed yet; on macOS, clear the quarantine flag once with xattr -d com.apple.quarantine athar.

Or build it with Go 1.25 or newer:

go install github.com/Athar-HQ/Athar/cli/cmd/athar@latest

Scan

Give athar scan the rules, the ports and the targets: IP addresses, hostnames, CIDR ranges up to /16, or host:port. Flags can go before or after the targets; -- ends the flags.

athar scan -r rules/ -p 80,443,8000-8100 10.0.0.0/24

It connects to every host and port, fingerprints each open port (TLS certificate, GET /, favicon, banner) and prints one line per service that matches a rule, ending with the rule's author: the DRL 1.1 the rules are licensed under asks every message about a match to name it. With -v it also lists every open port on stderr, with what it answered. On a terminal the output is coloured; -no-color or the NO_COLOR environment variable turns colours off.

A real scan from 25 November 2026. Infrastructure like this moves fast, so these hosts may answer differently by the time you read this.

athar scan of 144.202.110.94:443 and 130.12.171.248:9443: the ARTEX and ARTEX favicon rules match an ARTEX console, the family rule matches an ARGOS console and extracts brand=ARGOS

  • 130.12.171.248:9443 is an ARTEX console. The ARTEX rule matches both its title prefix and its favicon hash, so it replaces the family match and takes over the brand the family rule extracts. The ARTEX favicon rule, which looks for the favicon alone to catch consoles with a changed title, matches too, with medium confidence.
  • 144.202.110.94:443 is an ARGOS console behind a Caddy proxy with a Let's Encrypt certificate for the IP. The family rule matches and extracts the brand. The ARTEX and ARTEX favicon rules do not, because neither the title prefix nor the favicon is ARTEX's.

An hour earlier the first host accepted connections but reset every request, perhaps because of a source-IP filter or a restart. -v showed it as:

open 130.12.171.248:9443 no response (tried TLS, HTTP)

For tools, -json prints one JSON object per line instead, for example to pipe into jq:

$ athar scan -r rules/ -json -timeout 10s 130.12.171.248:9443
{"target":"130.12.171.248:9443","tls":true,"rule":"0536c409-98ed-4d1d-8e07-7c80b39a4f53","title":"Agentic Offensive Framework - ARTEX","author":"Gameel Ali (@MalGamy12)","product":"ARTEX","family":"artex","category":"offensive-tool","confidence":"high","matched":["selection_brand","selection_icon","selection_title"],"probes":["default"],"observed":"2026-11-25T09:16:50Z"}
{"target":"130.12.171.248:9443","tls":true,"rule":"425e5153-ed37-41c1-875f-537808d58078","title":"Agentic Offensive Framework - ARTEX favicon","author":"Gameel Ali (@MalGamy12)","product":"ARTEX","family":"artex","category":"offensive-tool","confidence":"medium","matched":["selection_icon"],"probes":["default"],"observed":"2026-11-25T09:16:50Z"}
Flag Effect
-r Rule file or folder; repeat for more. Required.
-p Ports, e.g. 22,80,443,8000-8100. Without it, a built-in list of 106 ports (services, web and admin consoles, AI tools, C2) plus the ports the rules list under target.ports (athar scan -h prints the list).
-iL Read targets from a file, one per line; - reads stdin. host:port lines, such as naabu output, are checked on that port only.
-json Print matches as JSON lines instead of readable lines.
-o Write the matches to a file instead of stdout, as readable lines or, with -json, JSON lines.
-no-color No colours. Colours are also off when the output is not a terminal or NO_COLOR is set.
-c, -per-host, -rate Parallel checks (500), parallel checks per host (8), new connections per second (200). At the default rate, a /24 takes about 2 minutes.
-connect-timeout TCP connect timeout (1.5s, at most -timeout).
-timeout Handshake and read timeout (3s).
-probes Also send the custom probes that rules declare, for example to fetch the files whose hashes the ARTEX frontend files rule checks. Off by default.
-v Print every open port to stderr, with what it answered. A port that accepts connections but answers nothing shows as no response (tried TLS, HTTP).

Only scan hosts you are allowed to scan. The scanner identifies itself in its HTTP User-Agent as athar.

Convert

athar convert turns rules into Nuclei templates, an Nmap script and queries for FOFA, Shodan, Censys, ZoomEye, Modat Magnify, urlscan.io and Hunt.io. Give it rule files or folders; -t picks the targets.

Nuclei templates. If you already scan with Nuclei, you don't need Athar's scanner: -t nuclei turns each rule into a Nuclei template. On its own it prints the template; -o writes one file per rule.

athar convert -t nuclei -o templates/ rules/
nuclei -t templates/ -l targets.txt

Nuclei runs the 35 converted Athar templates against four local services and reports eight matches: the ARTEX family with brand ARTEX and NKW, the ARTEX variant, the rebrands rule, PentAGI by title and by its default certificate, and the Strix viewer

Here Nuclei runs against four local services that answer like an ARTEX console, an NKW rebrand, PentAGI with its default certificate and a Strix viewer. The family template reads the brand out of the title, as athar scan does. Nuclei runs each template on its own, so it reports a family and its variant both; athar scan writes only the variant, with the values the family extracted.

The rule's condition becomes one DSL matcher, so negations and nested conditions carry over. The template computes the page title the way athar scan does, reads certificate fields from an ssl block, and sends one more request for the favicon and for each custom probe. Its fidelity label compares it with athar scan on the same service. Title, header, body and certificate rules convert exactly, except for a few headers that Nuclei's HTTP library removes or rewrites (Transfer-Encoding, Connection, Trailer, Content-Length, Content-Encoding, Cache-Control). Charsets are the exception: athar scan decodes a page from any charset it declares, while Nuclei only decodes some, and only if the Content-Type header names them (GBK and windows-1251, for example, but not Big5, EUC-KR or Shift_JIS, and none that only a <meta> tag declares). On the other pages that are not UTF-8, a template with non-ASCII text, such as a Korean title, doesn't match; on the ones Nuclei decodes, its body hashes are over the decoded text, the scanner's over the bytes as received. Favicon rules are approximate, because the template fetches /favicon.ico while the scanner first follows <link rel="icon">. Body hash rules are approximate too: Nuclei also hashes a body that was cut short, which the scanner never does. Each template names the rule's author and the DRL 1.1, and lists the rule's converted engine queries under metadata. When nuclei is installed, go test runs every template against the rule's own tests.

Nmap script. -t nse runs the rules in Nmap. -o writes one script, athar.nse, and one data file per rule into athar-rules/ next to it; Nmap runs the script on every open port it scans.

athar convert -t nse -o nse/ rules/
nmap -sT -Pn -p 80,443,8787 --script nse/athar.nse 192.0.2.10
PORT     STATE SERVICE
8787/tcp open  unknown
| athar:
|   Agentic Offensive Framework - ARTEX family:
|     rule: 0ce69e91-baee-4475-81ee-4b8eca1a6c3b
|     author: Gameel Ali (@MalGamy12)
|     family: artex
|     category: offensive-tool
|     confidence: high
|     tls: false
|     extracted:
|_      brand: NKW

The script collects what athar scan collects and matches the way it does: TLS first, GET / without following redirects, the favicon from <link rel="icon"> or /favicon.ico, the same title, header and certificate values, and Go's regular expressions, which athar convert compiles into the data files. Like athar scan, it leaves a family out when one of its variants matched, and the variant's entry then also carries the values the family extracted. Every rule in the repository converts exactly. One difference remains: the script doesn't decode charsets. A page that is not UTF-8 (GBK, Big5, EUC-KR and the like) is matched on its raw bytes, while athar scan decodes it first, so a rule with non-ASCII text, such as a Chinese title, matches such a page in athar scan but not in Nmap. Not converted: the TLS version, cipher and ALPN, JARM, JA3S, the certificate DN and self_signed. Each match names the rule's author, and -oX writes it as <table> and <elem> elements. Nmap prints bytes outside printable ASCII, such as a Chinese brand name, as \xHH. Custom probes are sent only with --script-args athar.probes, as athar scan sends them only with -probes; athar.rules points the script at another folder, and athar.timeout changes the 3 s timeout. Known gap: against a TLS service that closes the connection without a close_notify alert, Nmap's Nsock drops what it read, so the script may report nothing where athar scan matches; the cause is in Nmap (seen with 7.97 and OpenSSL 3). When nmap is installed, go test runs the script against each rule's own tests and compares it with athar scan on the same responses. The script is MIT-licensed; the rules' data files keep the rules' own licence.

Search-engine queries. Without -t, athar convert writes one query per engine:

athar convert rules/offensive-tool/aof_artex_nov26.yml rules/offensive-tool/aof_artex_artex_nov26.yml

athar convert output for the ARTEX family and ARTEX rules: one query per engine for the Chinese, Korean and English titles, each labelled exact, approximate or superset, with notes on what was lost

Every query carries a fidelity label, and the notes say what was lost and why:

Fidelity Meaning
exact Same result set as the rule on the engine's data.
approximate Same intent, looser operator: tokenised text, a prefix searched as a substring, case-sensitive equality. Also a query on an engine field whose mapping is not verified yet; a note names it.
superset Conditions the engine can't express were dropped, so the query can only return more hosts, never fewer. Shodan can OR several values of one filter (http.title:"a","b") but not different filters, so the ARTEX rule's title starts with ARTEX or ARTEX favicon is dropped there.
unsupported Nothing meaningful is left, and no query is printed.

Censys Platform queries are CenQL. Censys keeps a service in two kinds of records: as a service of a host, which it found by scanning an IP address, and as a web property, which it found by asking for a hostname. A converted query asks for both, host.services: ( … ) or ( … ) with web. fields in the second half, so every condition holds on one service and the query also finds consoles that only answer by name. : ignores case but tokenises, so it only carries a plain contains; everything else becomes a regex with =~, which Censys reads case-sensitively and unanchored, so the converter adds (?i) unless the rule says |cased and ^ or $ for exact, prefix and suffix matches. Single headers convert as endpoints.http.headers: (key = "Server" and value =~ "…"). Regex searches need a Starter account or above, and JARM, JA3S and JA4S the Adversary Investigation module.

urlscan.io is a different kind of source. It records pages that a browser loaded for URLs people submitted, not every service on the internet, and it has no field for the body, banner, port or any header but Server. Title rules convert exactly; most others become a superset. File hashes are the exception: urlscan stores the SHA-256 of every file a page loads, so a rule that checks a file's hash with a custom probe converts to a hash: search. The ARTEX frontend files rule finds 1,103 scans there, 60 of them rebrands without the family title.

Hunt.io takes SQL. Its query is a whole statement, SELECT ip, service.port FROM ip.current WHERE same_port( … ), that runs as pasted into the portal's SQL editor; same_port keeps the conditions on one service. LIKE and == are case-sensitive there, so title and body conditions are approximate unless they use |cased, while favicon, hash, port and status conditions convert exactly. Regexes don't convert.

One converted query on the platforms. On 25 November 2026, before the family rule learned the Chinese and Korean titles, it required the English title and the /function/tasks route. Its converted queries, run on each platform:

Platform Result
Censys 243 hosts. Censys's own software label artex is on 239 of them. The query then searched hosts only. With web properties, which Andrew Northern suggested (#63), the current family query finds 4,953 results, 1,879 of them hosts (27 November 2026).
ZoomEye About 525 results.
Modat Magnify 1,433 services. Modat's own product label Artex is on about 1,390 of them. Most run on port 8787.
Shodan No results. The route sits in an inline script near the end of a 12 KB page, which Shodan's http.html index does not reach. The title condition alone finds 292 hosts.
FOFA Not tested yet: searching body needs a registered FOFA account.
urlscan.io 157 scans in the last 365 days, for the title alone: urlscan doesn't index the body, so the route condition is dropped (superset). The current family query, with all three titles, finds 1,111.
Hunt.io 691 IPs in the last 30 days (26 November 2026). The current family query, with all three titles, finds about 5,900.

The localized titles matter: on Shodan the Chinese title alone finds 2,847 hosts, the English one 292, and the family rule's current query http.title:"自主渗透测试控制台","자율 침투 테스트 콘솔","Autonomous Penetration Testing Console" covers all three languages.

The engines disagree because each indexes pages differently. That is why the scanner, not the query, decides what matches: run athar scan on the candidates to confirm them.

The searches as the platforms showed them:

Censys: 243 hosts

Censys search for the converted family query: 243 hosts, matched fields html_title and body

ZoomEye: about 525 results

ZoomEye search for the converted family query: about 525 results with ARTEX titles

Modat Magnify: 1,433 services

Modat Magnify search for the converted family query: 1,433 results, most on port 8787, product label Artex

Flag Effect
-t Targets, comma-separated: fofa, shodan, censys, zoomeye, modat, urlscan, huntio, nuclei, nse. Default: all search engines.
-o Write templates to this folder: each Nuclei template as <template id>.yaml; for nse, athar.nse and each rule's data as athar-rules/<rule file name>.lua. The output then lists the files.
-json One JSON object per rule and target: rule id, path, title, engine, query or template, fidelity and notes.
-no-color No colours, as for scan.

Other scanners and formats that rules could convert to are listed in docs/conversion-targets.md.

Verify rules

athar verify takes rule files or folders. It checks every rule against the spec (required fields, unknown keys, value ranges, field names, modifiers, the condition) and runs the rule's tests:

git clone https://github.com/Athar-HQ/Athar.git
cd Athar
athar verify rules/
rules/offensive-tool/aof_artex_antifox_nov26.yml                 4/4 tests passed
rules/offensive-tool/aof_artex_artex_favicon_nov26.yml           3/3 tests passed
rules/offensive-tool/aof_artex_artex_nov26.yml                   5/5 tests passed
rules/offensive-tool/aof_artex_basic_auth_nov26.yml              2/2 tests passed
rules/offensive-tool/aof_artex_frontend_files_nov26.yml          6/6 tests passed
rules/offensive-tool/aof_artex_llm_console_nov26.yml             3/3 tests passed
rules/offensive-tool/aof_artex_nov26.yml                         7/7 tests passed
rules/offensive-tool/aof_artex_opx_nov26.yml                     3/3 tests passed
rules/offensive-tool/aof_artex_rebrands_nov26.yml                7/7 tests passed
rules/offensive-tool/aof_artex_stylesheet_nov26.yml              4/4 tests passed
rules/offensive-tool/aof_autocve_favicon_nov26.yml               2/2 tests passed
rules/offensive-tool/aof_autocve_favicon_sha256_nov26.yml        2/2 tests passed
rules/offensive-tool/aof_autocve_nov26.yml                       2/2 tests passed
rules/offensive-tool/aof_cairn_cert_nov26.yml                    2/2 tests passed
rules/offensive-tool/aof_cairn_cert_org_nov26.yml                2/2 tests passed
rules/offensive-tool/aof_cairn_nov26.yml                         6/6 tests passed
rules/offensive-tool/aof_cyberstrikeai_cert_nov26.yml            2/2 tests passed
rules/offensive-tool/aof_cyberstrikeai_favicon_nov26.yml         2/2 tests passed
rules/offensive-tool/aof_cyberstrikeai_favicon_sha256_nov26.yml  2/2 tests passed
rules/offensive-tool/aof_cyberstrikeai_nov26.yml                 3/3 tests passed
rules/offensive-tool/aof_cyberstrikeai_wordmark_nov26.yml        3/3 tests passed
rules/offensive-tool/aof_deepaudit_favicon_nov26.yml             2/2 tests passed
rules/offensive-tool/aof_deepaudit_favicon_sha256_nov26.yml      2/2 tests passed
rules/offensive-tool/aof_deepaudit_nov26.yml                     2/2 tests passed
rules/offensive-tool/aof_pentagi_cert_nov26.yml                  3/3 tests passed
rules/offensive-tool/aof_pentagi_cert_san_nov26.yml              2/2 tests passed
rules/offensive-tool/aof_pentagi_favicon_nov26.yml               4/4 tests passed
rules/offensive-tool/aof_pentagi_favicon_sha256_nov26.yml        4/4 tests passed
rules/offensive-tool/aof_redamon_favicon_nov26.yml               3/3 tests passed
rules/offensive-tool/aof_redamon_favicon_sha256_nov26.yml        3/3 tests passed
rules/offensive-tool/aof_redamon_nov26.yml                       2/2 tests passed
rules/offensive-tool/aof_strix_favicon_nov26.yml                 2/2 tests passed
rules/offensive-tool/aof_strix_favicon_sha256_nov26.yml          2/2 tests passed
rules/offensive-tool/aof_strix_nov26.yml                         2/2 tests passed
rules/offensive-tool/aof_strix_server_nov26.yml                  2/2 tests passed

35 rules, 0 failed; 107/107 tests passed; 0 errors, 0 warnings

Use it while you write a rule. Here a test response lacks the body string the rule requires, and the rule has no negative test yet:

$ athar verify c2/example_panel.yml
c2/example_panel.yml  FAIL  0/1 tests passed
  test "login page" failed: expected match, got no_match (selections that held: selection_title)
  warning: no test with expect: no_match

1 rule, 1 failed; 0/1 tests passed; 0 errors, 1 warning
Flag Effect
-strict Warnings fail too: a missing positive or negative test, an unused selection, an unknown top-level key, a missing category.* tag. This repository's CI runs athar verify -strict rules.
-q Print only rules with problems, plus the summary.
-no-color No colours, as for scan.

Exit codes: 0 everything passed, 1 rule errors or failed tests, 2 usage or read error. athar version prints the version.

Contributing rules

Rules live in rules/, one folder per category. Every rule needs at least one positive and one negative test, a reference to the public source of the hunt, and no engine syntax outside the native section. rules/README.md has the conventions and a template. By contributing a rule you license it under the DRL 1.1.

You don't have to write the YAML by hand. Most hunts start as a FOFA, Shodan, Censys, ZoomEye, Modat, urlscan.io or Hunt.io query; give it to an AI coding agent in this repository together with a host it found, and ask for an Athar rule. AGENTS.md tells the agent how to map each engine's syntax to Athar fields, write the tests, and check the result with athar verify and athar convert.

Authors

Licence

The rules in rules/ are licensed under the Detection Rule License (DRL) 1.1, the licence of the Sigma rules. Anyone may use, change and share them, commercially too. Whoever shares a rule keeps its author, a link to the rule and the licence; whoever reports matches of a rule names its author in those messages.

The licence for the CLI, the specification and the documentation is not decided yet; see docs/decisions.md.

About

No description, website, or topics provided.

Resources

Stars

65 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages