Monitoring & Response

What Is an Intrusion Detection System (IDS)? Types, IDS vs IPS and Who Watches the Alerts

By Vince AntonioPublished 7 min read

This guide explains what intrusion detection systems do, the main types, and how an IDS compares with an IPS, EDR and a SIEM. It also covers the part most buyers miss: someone has to read the alerts.

In plain English

  • An intrusion detection system is a tool that watches your network or servers and raises an alarm on attacks.
  • It only warns. It does not stop the attack by itself.
  • Its alarms are often false, so a trained person has to check each one quickly.
  • Small businesses usually get this through an outside team that watches alerts day and night.

Intrusion detection systems: the short answer

An intrusion detection system (IDS) is software or a device that watches network traffic or computer activity for signs of an attack. When it sees something suspicious, it raises an alert. It does not block the traffic. That is the job of an intrusion prevention system (IPS).

Think of an IDS as a burglar alarm, not a lock. It tells you someone may be inside. A person still has to check the alarm and decide what to do. NIST, the US standards body, covers both tools in its guide to intrusion detection and prevention systems (SP 800-94).

Network intrusion detection vs host-based IDS

There are two main kinds of IDS. The difference is where they sit and what they can see.

Network intrusion detection (NIDS) watches traffic as it moves across your network. It usually gets a copy of the traffic from a switch or a small device called a network tap, so it never slows anything down. It is placed at key points, such as behind the internet firewall or between office and server networks. It is good at spotting scans, known attack traffic and unusual connections. Its weak spot is encrypted traffic: it can see who is talking to whom, but often not what they say.

Host-based intrusion detection (HIDS) runs on a single server or computer. It watches log files, logins, changes to important files and settings. Because it sits on the machine, it sees what happens after traffic is decrypted. The trade-off is that you must install and manage it on every machine you care about.

Well-known free tools include Snort and Suricata for network intrusion detection, and OSSEC or Wazuh for host-based detection. Cloud providers also offer their own threat detection services for cloud accounts.

How an IDS spots attacks: signature vs anomaly detection

An IDS uses one or both of two main methods to decide what looks bad.

  • Signature-based detection compares activity with a list of known attack patterns, much like antivirus. It is accurate for known attacks. It misses new attacks that are not on the list yet, so the list must be updated often.
  • Anomaly-based detection learns what normal looks like on your network, then flags anything unusual. An example is a server that suddenly sends large amounts of data abroad at 3 a.m. It can catch new attacks. But normal life is messy, so it raises more false alarms.

NIST also describes a third method, stateful protocol analysis. It checks that traffic follows the rules of the protocol it claims to use (a protocol is the agreed format two systems use to talk). Most modern products mix these methods.

IDS vs IPS vs EDR vs SIEM

These four tools are often confused. They work best together, and each one covers a different gap. EDR (endpoint detection and response) is software on each computer that spots and stops attacks. A SIEM (security information and event management) is a system that collects logs from everything in one place and looks for patterns.

ToolWhere it worksWhat it doesMain limit
IDSNetwork or single serverWatches and alertsCannot stop the attack on its own
IPSIn the traffic path, often in the firewallWatches and blocks bad trafficA wrong rule can block real business traffic
EDRLaptops, desktops and serversRecords activity, alerts, can isolate a deviceCannot see devices without the agent, such as printers or cameras
SIEMCentral log platformCombines alerts and logs from all toolsOnly as good as the logs sent to it and the people reading it

In short, IDS vs IPS comes down to one question: should the tool only warn, or should it also block? Many next-generation firewalls now include IPS features. For the computer side, read our guide to what EDR is and how it differs from antivirus.

Why IDS alerts need people: false positives

An IDS is only useful if someone looks at its alerts. That is harder than it sounds.

Many alerts are false positives: alarms about activity that is actually harmless. A backup job can look like data theft. A security scanner you hired can look like an attacker. If nobody tunes the rules, the tool can produce more alerts than a small team can read. People then start to ignore them. This is called alert fatigue, and it is how real attacks get missed.

Good triage (sorting alerts by how urgent and how real they are) means a trained analyst checks each alert and asks:

  • Is this real, or normal business activity?
  • Which device or account is involved, and how important is it?
  • Do other tools, such as EDR or login logs, show the same thing?
  • Does it need action now, such as blocking an address or locking an account?

Attacks also happen at night and on weekends. An alert that waits until Monday morning may be too late to stop ransomware (malware that locks your files and demands payment).

Buying an IDS without a plan for who reads the alerts gives you a log of attacks, not protection from them.

How a small business gets intrusion detection without building a team

Running intrusion detection in-house means buying or setting up the tools, tuning the rules and staffing a rota around the clock. For most small and mid-size businesses, that is not realistic.

The usual answer is a managed SOC. A SOC (security operations center) is a team that watches your systems for attacks 24/7. A managed SOC provider brings the people and often the tools. They connect your firewalls, servers, cloud accounts and EDR to their platform. Their analysts then triage alerts and call you when something is real. MDR (managed detection and response) goes a step further: the provider can also take action, such as isolating an infected laptop.

Before you choose, ask these questions:

  1. Which of our systems will you watch: network, computers, cloud, email?
  2. Who reads alerts at 3 a.m., and how fast will you call us?
  3. Can you act for us, or only notify us?
  4. How do you tune rules so we are not flooded with false alarms?

Our guide to managed SOC vs MDR explains the difference in more detail.

How NextGarrison helps

Our 24/7 SOC monitoring connects to the tools you already have, including firewalls, EDR and cloud logs. Our analysts triage every alert and escalate the ones that matter. We help you tune detection so your team hears about real problems, not noise.

Sources

Topics:SOC & MDRNetwork SecuritySmall Business

Need a hand with this?

Talk to a senior consultant. We reply within one business day with clear next steps and a scoped quote.

Prefer to just ask? Contact us and a consultant will reply.

Written by

Vince Antonio

Security writer and consultant, NextGarrison

Vince writes NextGarrison's security news, technical vulnerability write-ups and guides. He covers actively exploited flaws, penetration testing, SOC monitoring and getting ready for SOC 2, ISO 27001 and PCI DSS, in plain English with sources for every claim.

Want the next alert like this one?

New vulnerability alerts as soon as we publish them. Free, no sign-up, works in Feedly, Outlook, Slack and Teams.

Frequently Asked Questions

What is the difference between IDS and IPS?

An IDS watches traffic and raises an alert when it sees something suspicious. An IPS sits in the path of the traffic and can block it automatically. Many modern firewalls include IPS features.

Do small businesses need an intrusion detection system?

Most businesses benefit from some form of intrusion detection, but the tool alone is not enough. Someone must check the alerts quickly, day and night. For small teams, a managed SOC is usually the practical way to get both.

Is an IDS the same as a firewall?

No. A firewall decides which traffic is allowed in or out. An IDS watches the traffic that is allowed and looks for signs of an attack. They work well together.

Does an IDS replace EDR or a SIEM?

No. An IDS watches the network or a server, EDR watches each computer, and a SIEM brings all the logs together. Each covers gaps the others miss.

Keep reading