Skip to main content
Rules evaluate typed scan observations as they arrive. Use them to identify exposed services, suspicious infrastructure, software, and protocol-specific behaviour. A rule being evaluated into classified results

Rule anatomy

Each source contains one YARA rule. Conditions read fields from the infrawatch module.
The rule editor validates and formats source before a rule can be enabled.

Detection metadata

Keep detection logic in the source. Set its meaning separately: See the intelligence taxonomy for the canonical category paths and classification model.

Write reliable conditions

  • Prefer typed protocol fields over banner text.
  • Check that an optional field is defined before using it.
  • Combine independent signals to reduce false positives.
  • Put reusable text or byte patterns in the strings section.
  • Explain the detection intent in meta.description.

Copy working examples

Start with compiled Redis, MQTT, and HTTP detections.

Browse protocol fields

Find the exact path and type emitted by each scanner.