Security operations

Types of Intrusion Detection System: NIDS, HIDS and More

An intrusion detection system watches for signs of attack — but there are several kinds, and they watch different things. Here is how to choose the right mix.

Cysoro Security TeamPublished · 8 min read
NNIDS — networkHHIDS — host!ALERT — anomalySECURITY OPERATIONSIntrusiondetection typesNIDS, HIDS, wireless and more.
Quick answer

The main types of intrusion detection system are network-based (NIDS), host-based (HIDS), wireless and network behaviour analysis systems, as defined in NIST SP 800-94. They detect attacks by signature matching, anomaly detection or stateful protocol analysis. Most small teams need a mix: a NIDS or cloud-native equivalent for network traffic, plus a HIDS for file and log monitoring on important servers.

Key takeaways

  • NIST SP 800-94 defines four IDPS types: network-based, wireless, network behaviour analysis and host-based.
  • NIDS watches network traffic; HIDS watches one host's files, logs and processes.
  • Signature detection catches known attacks with few false alarms; anomaly detection can catch new attacks but needs tuning.

A firewall blocks traffic. An intrusion detection system watches it — and tells you when something looks like an attack. The catch is that "intrusion detection system" covers several different tools that watch different things, in different places, in different ways.

What is an intrusion detection system?

An intrusion detection system (IDS) is a device or software application that monitors a network or systems for malicious activity or policy violations, and alerts an administrator when it finds something suspicious. It is a detection tool, not a blocking tool.

That distinction matters. An IDS usually receives a copy of traffic from a SPAN port or network tap, so it can watch without being in the way. An intrusion prevention system (IPS) sits inline in the traffic path and can drop packets or reset connections.

NIST SP 800-94, the "Guide to Intrusion Detection and Prevention Systems (IDPS)", defines intrusion detection as monitoring events and analyzing them for signs of possible incidents, and intrusion prevention as detection plus attempting to stop those incidents. Read the guide on the NIST CSRC page for SP 800-94.

An IDS is only useful if someone watches its alerts. An unmonitored IDS is a very expensive way to generate logs nobody reads.

What are the types of intrusion detection system?

NIST SP 800-94 groups intrusion detection and prevention technologies into four classes, based on what they monitor and how they are deployed. Most organizations use more than one.

TypeWatchesWhere it sitsBest for
Network-based (NIDS)Packets on network segmentsPerimeter, core switch, cloud VPCPort scans, exploits, malware traffic
Host-based (HIDS)Logs, files, processes on one hostOn the server or endpointFile changes, privilege escalation, insider activity
WirelessWi-Fi traffic and radio activityWireless networkRogue access points, Wi-Fi attacks
Network behaviour analysis (NBA)Flow data and traffic patternsAcross the networkDDoS, scanning, unusual data flows

There is also a useful split by what the system does with an alert: a passive IDS only alerts, while an active IPS can block. And a hybrid system combines network and host monitoring in one product, which is how most modern endpoint and cloud tools are sold.

What is a network intrusion detection system (NIDS)?

A network intrusion detection system is placed at a strategic point within the network — at the internet perimeter, on a core switch, or in a cloud virtual network — to monitor traffic to and from all devices on that segment. It analyzes packet headers and payloads in real time for signs of malicious activity.

A NIDS protects many devices at once, which is its main strength. One sensor can watch a whole office network or a data-centre segment. It is good at spotting port scans, denial-of-service attempts, exploit traffic and known malware communicating out.

Its main limits are encryption and placement. A NIDS cannot easily inspect encrypted traffic, and it only sees the traffic that passes its sensor. Traffic that stays inside a host, or goes through a VPN tunnel the sensor cannot decrypt, is invisible to it. That is why a NIDS alone is not enough.

Where NIDS and HIDS sit — and what each seesInternetoutside trafficNIDS sensorwatches packets hereInternal networkservers, laptops, printersHIDS on a serverwatches files, logs, processesNIDS sees the network. HIDS sees the host. Together they cover what the other misses.
A NIDS watches traffic; a HIDS watches the host itself. Illustration by Cysoro.

What is a host-based intrusion detection system (HIDS)?

A host-based intrusion detection system runs on an individual host — a server, laptop or desktop — and monitors activity local to that device. It watches system logs, file integrity, registry settings, running processes and user activity for suspicious changes or unauthorized access.

A HIDS is good at detecting attacks that have already breached the perimeter: a changed system file, a new admin account, a scheduled task that was not there yesterday, or a process running from an unusual location. It can also see decrypted traffic once it reaches the host, which a NIDS cannot.

Its limits are scope and tampering. A HIDS only protects the host it runs on, and an attacker who gains full control of that host may be able to disable or tamper with it. That is why HIDS alerts should be sent to a central log server the attacker cannot easily reach. For the response side of a HIDS alert, see our guide to NIST incident response.

What are wireless and network behaviour analysis systems?

These two types are less well known, but they cover gaps the first two miss.

Wireless IDS

A wireless IDS monitors Wi-Fi traffic and radio activity for rogue access points, unauthorized devices, deauthentication attacks and misconfigured access points. It matters for offices, shops and any site with Wi-Fi that visitors and staff both use. If you run a small office, check your Wi-Fi security with our guide to how to secure your Wi-Fi.

Network behaviour analysis (NBA)

An NBA system watches flow data — who talks to whom, how much, when — rather than packet contents. It builds a picture of normal traffic and flags unusual patterns, such as a host suddenly scanning the network or a server sending large amounts of data out at 3 am.

NBA is useful precisely where signature matching is weak, because it does not need to know the attack's name to notice that behaviour has changed.

How do intrusion detection systems detect attacks?

There are three main detection methods, and most modern systems combine at least two of them.

MethodHow it worksStrengthsWeaknesses
Signature-basedMatches traffic against known attack patternsAccurate for known attacks, low false alarmsBlind to new and zero-day attacks
Anomaly-basedCompares activity against a learned baselineCan catch new attacksMore false positives, needs tuning
Stateful protocol analysisChecks traffic against how a protocol should behaveCatches malformed and out-of-order trafficNeeds detailed protocol knowledge

Signature-based detection

Signature-based detection looks for specific patterns, such as byte sequences in network traffic or known malicious instruction sequences used by malware. The signatures are released by a vendor and must be kept updated. It is fast and accurate for known threats, and it is the method behind most traditional antivirus and IDS rules.

Anomaly-based detection

Anomaly-based detection uses statistical models or machine learning to create a model of trustworthy activity, then compares new behaviour against that model. It can detect previously unknown attacks that have no signature, including zero-days. The trade-off is false positives: any unusual but legitimate activity — a backup, a new employee's first week, a software update — can trigger an alert until the baseline is tuned.

Stateful protocol analysis

Stateful protocol analysis checks traffic against how a protocol should behave, flagging malformed, unexpected or out-of-order commands. It sits between the other two: more flexible than a signature, more precise than a pure anomaly check.

IDS vs IPS: what is the difference?

An IDS detects and alerts. An IPS detects and blocks. The difference is placement and risk.

AspectIDSIPS
PlacementOut of band, on a copy of trafficInline, in the traffic path
ActionAlerts onlyCan drop, block or reset traffic
Risk if wrongA false alarm wastes timeA false positive can block real users
Best first stepYes — deploy IDS first, tune, then enable blockingAfter tuning, for known-bad traffic

A safe rollout is: deploy in IDS mode, watch the alerts for two to four weeks, tune out the false positives, then turn on blocking for the highest-confidence rules only. Turning on full IPS blocking on day one is how legitimate traffic gets blocked and the IPS gets switched off in frustration.

Which IDS tools are used in practice?

Three open-source tools appear in most discussions, and many commercial products are built on them or compete with them. All three are free and open source.

  • Snort: the long-established IDS and IPS engine, with a large rule set. Good for signature-based network detection.
  • Suricata: a multi-threaded IDS and IPS engine from the Open Information Security Foundation, with protocol logging in JSON format. Good for high-speed networks.
  • Zeek: a network monitoring framework that logs detailed protocol activity for analysis, rather than just alerting on signatures. Good for investigation and hunting.
  • Wazuh and OSSEC: host-based systems that do file integrity monitoring, log analysis and compliance checks on servers and endpoints.

For a small team, the practical choice is usually not one of these directly, but a managed version: your firewall's built-in IDS, your cloud provider's monitoring, or your endpoint software's host monitoring. The tool matters less than whether alerts are watched, tuned and acted on.

Tune before you trust it — four steps1Deploy passiveIDS mode only,no blocking yet2Watch 2–4 weekslearn what normallooks like3Tune the noisesuppress falsepositives, keep real ones4Block carefullyhighest-confidencerules onlyAn untuned IDS is ignored. A tuned IDS is trusted.
Deploy passive, learn normal, tune, then block. Illustration by Cysoro.

How do you choose the right type for a small team?

Start with what you already have, then fill the gaps in this order.

  1. Check your firewall and cloud provider. Many already include NIDS or IPS features — turn them on and make sure alerts go to someone.
  2. Add host monitoring on important servers. File integrity monitoring and log review on your file server, mail server or cloud hosts catches what the network misses.
  3. Send logs to one place. A central log store, even a simple one, makes investigation possible. Without it, each alert is an isolated puzzle.
  4. Decide who watches alerts, and when. A named person, a rota, or a managed provider — but not "everyone, sometimes."
  5. Write the response step. An alert without a playbook is just a notification. Our guide to NIST incident response gives you the playbook structure.

For a wider starting point, our small business cybersecurity checklist covers monitoring alongside backups, updates and access control.

What mistakes do teams make with IDS?

The most common mistakes are not about choosing the wrong type. They are about deployment and follow-through.

  • Deploying and ignoring it. Alerts pile up, nobody triages them, and a real alert hides in the noise.
  • Turning on IPS blocking on day one and blocking legitimate traffic, then switching the whole system off.
  • Never tuning. The same false positives fire every day until the team stops looking.
  • Watching the network but not the host, or the host but not the network, and missing the half of the attack the other side would have caught.
  • No log retention. By the time an incident is found, the logs that would explain it have already been deleted.

The bottom line

There is no single type of intrusion detection system that covers everything. A NIDS watches the network, a HIDS watches the host, wireless and behaviour analysis cover the gaps, and signature, anomaly and protocol analysis each catch different attacks.

Deploy in IDS mode first, tune for a few weeks, then enable blocking carefully — and make sure someone actually watches the alerts. You can check your public-facing basics with the free security headers checker.

Frequently asked questions

What is an intrusion detection system?

An intrusion detection system is software or a device that monitors network traffic or system activity for malicious activity or policy violations, and alerts an administrator. It detects and reports; it does not block by itself. A system that also blocks is called an intrusion prevention system.

What are the main types of intrusion detection system?

NIST SP 800-94 describes four types: network-based, wireless, network behaviour analysis and host-based. The two most common are network-based systems, which watch traffic, and host-based systems, which watch one computer's files, logs and processes.

What is the difference between NIDS and HIDS?

A NIDS watches network traffic at a strategic point, such as the perimeter, and protects many devices at once. A HIDS runs on one host and watches that host's logs, files and processes. A NIDS cannot see encrypted traffic well; a HIDS can, once the traffic reaches the host.

What is the difference between IDS and IPS?

An IDS detects and alerts. An IPS does the same but sits inline in the traffic path and can block, drop or reset the malicious traffic automatically. An IDS is safer to deploy first because it cannot block legitimate traffic by mistake.

What is signature-based vs anomaly-based detection?

Signature-based detection matches traffic or activity against a database of known attack patterns. It is accurate for known attacks with few false alarms, but blind to new ones. Anomaly-based detection builds a baseline of normal behaviour and flags deviations, so it can catch new attacks but produces more false positives.

Do small businesses need an intrusion detection system?

Most small businesses already have one in some form: a firewall with IDS features, a cloud provider's monitoring, or endpoint software. The question is usually whether alerts are actually watched and acted on, not whether a separate IDS box is needed.

What are Suricata, Snort and Zeek?

They are widely used open-source network monitoring tools. Snort and Suricata are IDS and IPS engines that match traffic against signatures and rules. Zeek is a network monitoring framework that logs detailed protocol activity for analysis. Many commercial products are built on them.

Sources

  1. NIST — SP 800-94, Guide to Intrusion Detection and Prevention Systems (IDPS)
  2. NIST — SP 800-61 Rev. 3, Incident Response Recommendations and Considerations for Cybersecurity Risk Management
  3. CISA, NSA, FBI, MS-ISAC — Phishing Guidance: Stopping the Attack Cycle at Phase One
  4. F5 — Intrusion Detection System (IDS)
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against NIST SP 800-94 and NIST SP 800-61 Rev. 3.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free