Detection
IDS signatures and alerts
A rule describing a known attack in the traffic's content; the IDS alerts (or, inline, drops) whatever matches.
An IDS signature is a rule describing a known attack in traffic. A Suricata or Snort rule has an
action (alert, drop, reject, pass), a protocol, source and destination, then options: msg (the
alert's text), content (the bytes to find) and a sid (its number; 1000000 and up for your own). Alerts go to
fast.log and eve.json. Signatures miss new attacks; anomaly-based detection flags what departs from a
baseline.
Read next
- Network intrusion detection (NIDS/NIPS) A sensor on the wire that flags (IDS) or blocks inline (IPS) traffic matching attack signatures or anomalies.
- True and false positives An alert's worth is how often it is a real attack versus noise, which decides whether anyone acts on it.
- Indicators of compromise (IOC) Concrete artifacts of an attack — an address, a file path, a hash — that you block and hunt for everywhere.
- Malware signatures (YARA and antivirus) A pattern that names a known-bad file by its content, so a scanner flags every copy, even renamed or moved.