Use this when detecting or blocking network attacks with IDS or IPS.
IDS / IPS
IDS and IPS inspect network or host activity for attacks: an IDS alerts on suspicious traffic, while an inline IPS can also block it, using signatures, protocol analysis and anomaly detection.
1. IDS detects, IPS blocks intrusions.
2. Network and host variants.
3. Tune to reduce false positives.
4. Keep signatures current.
5. Feed alerts to SIEM.
traffic/host events → detection engine → alert/block
Context & applicabilityCommon mistakes · platform/version boundaries
- Deploying an IPS in block mode on day one, causing outages.
- No owner for alert triage.
- Rules not updated, missing new threats.
- Sensors placed where they see only encrypted or NAT-translated traffic.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Subtopics
Go one level deeper into this subject.
An intrusion detection system (IDS) monitors network or host activity and raises alerts on suspected attacks without blocking them, such as Suricata, Zeek or Snort in passive mode.
Subtopic Intrusion Prevention SystemAn intrusion prevention system (IPS) inspects traffic inline and blocks detected attacks automatically, often as part of a next-generation firewall, using signatures and protocol analysis.
Subtopic Network IDSA network IDS (NIDS) analyses traffic from a SPAN port or tap at key points in the network, such as the internet edge or data centre core, alerting on attacks across many hosts.
Subtopic Host IDSA host IDS (HIDS) monitors one system's logs, file integrity, processes and configuration for signs of intrusion, such as Wazuh or OSSEC, seeing activity that network sensors cannot.
Subtopic Signature DetectionSignature detection in IDS/IPS matches traffic against rules describing known exploits and malware, such as Snort or Suricata rules.
Subtopic Anomaly DetectionAnomaly detection in IDS/IPS compares traffic with a model of normal behaviour and alerts on deviations, such as unusual protocols or volumes.
Subtopic False PositiveA false positive is an alert on legitimate traffic. Too many make analysts ignore alerts, so tune rules, suppress known benign sources and keep signatures relevant to your environment.
Subtopic False NegativeA false negative is a real attack the IDS or IPS did not detect.
Subtopic Inline IPSAn inline IPS sits in the traffic path and can drop or reset malicious connections in real time.
Subtopic Passive IDSA passive IDS receives a copy of traffic and only alerts, so it cannot disrupt the network but also cannot stop an attack in progress.
Subtopic SensorA sensor is the IDS/IPS component that captures and inspects traffic or host activity at one point, sending events to a central manager or SIEM.
Subtopic IDS/IPS TroubleshootingTroubleshoot IDS/IPS by checking the sensor sees the traffic (SPAN or tap placement, packet drops), rule sets are loaded and current, decryption covers encrypted flows, and alert thresholds and suppressions are correct.
- IDS alerts; IPS blocks inline.
- Sensor placement decides what is seen.
- Encrypted traffic needs decryption or host sensors.
suricata --build-info— engine- Sensor alert dashboard — detections
- Rule update status — signatures current
ReferenceWhy it matters1 section · depth on demand
IDS vs IPS
| IDS | IPS | |
|---|---|---|
| Placement | Copy of traffic (SPAN/TAP) | Inline |
| Action | Alert | Drop, reset, block |
| Failure impact | None on traffic | Can block traffic (fail-open/closed) |
| False positive cost | Analyst time | Business outage |
Engines: Snort, Suricata, Zeek (network analysis), vendor NGFW IPS. Host-based: OSSEC/Wazuh, EDR.
ReferenceImportant terms & boundaries2 sections · depth on demand
Common engines
| Engine | Type | Notes |
|---|---|---|
| Suricata | NIDS/NIPS | Multi-threaded, ET rules, EVE JSON logs |
| Snort 3 | NIDS/NIPS | Talos rules, Cisco Secure Firewall |
| Zeek | Network analysis | Protocol logs rather than signatures |
| Wazuh / OSSEC | HIDS | File integrity, log analysis |
| Firewall IPS (Palo Alto, Fortinet, Cisco) | Inline | Built into NGFW |
In depth
Intrusion detection and prevention systems inspect traffic or host activity for signs of attacks. An IDS alerts; an IPS sits inline and can block. They complement firewalls by looking at what traffic contains and how it behaves, not just where it goes.
| Type | Where |
|---|---|
| Network IDS/IPS | Sensors on links or SPAN/TAP (Snort, Suricata, Zeek, NGFW IPS) |
| Host IDS | Agents on systems (OSSEC/Wazuh, EDR) |
| Detection method | Strength / weakness |
|---|---|
| Signature | Accurate for known attacks; misses new ones |
| Anomaly/behaviour | Finds unknown attacks; more false positives |
Tuning is the ongoing work: disable irrelevant signatures, adjust thresholds, and feed alerts into the SIEM with asset context.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IDS / IPS. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/94/final · confidence 94%