CyberKit

Detection Rule

Also called Analytic.

Logic that defines the conditions under which an alert fires.

What it is

A detection rule, sometimes called an analytic, is the codified logic that defines the conditions under which activity is flagged and an alert is raised. It can match a specific signature or describe a suspicious behavior.

Why it matters

Detection rules are the building blocks of automated monitoring; their precision and coverage directly determine how many real threats are caught and how much noise analysts must wade through.

In practice

A rule that fires when a process spawns a command interpreter from an office application, indicating a likely macro payload.

What to look for

  • Clear logic tied to a specific technique or behavior.
  • Test events that prove the rule fires and stays quiet on normal activity.
  • Documented exceptions with reasons.

Common mistake

Writing a rule for one sample's exact strings. Detect the behavior so small changes do not break it.

Use it in CyberKit

In the field

Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.

  • YARA Open source

    Matches byte and string patterns in files or memory, the standard for malware rules. Our notes.

  • Suricata Open source

    Runs network rules against live traffic or captures and logs every match. Our notes.

  • Splunk Enterprise Security Commercial

    Where many teams run, tune and schedule detection searches in production.

Tools practitioners use

  • Sigma: Vendor-neutral detection rule format & converter

Read next

Sources