Bookmarks

IPS — intrusion prevention system

A security tool that sits inline with network traffic, inspects packets for signs of attack and automatically blocks malicious ones before they reach their target.

Also: IDPS, IPS, intrusion detection and prevention system

checked 9 Nov

All terms

The defining feature of an IPS is its inline position: all traffic between segments passes through it. So instead of merely detecting an attack, as an IDS does when watching a copy of the traffic from a mirror port, the system cuts it off at once. IPS functionality is built into many next-generation firewalls (NGFW); standalone sensors are also available.

How it works

An IPS inspects packets more deeply than a classic firewall — down to application-layer content — and checks traffic against a database of signatures of known attacks, a profile of normal network behaviour and reputation lists of addresses. When a match is found, the configured action is carried out.

ActionWhat happens
Drop the packetthe malicious packet is not allowed through, while the rest of the connection’s flow keeps going
Reset the connectionthe IPS sends a TCP reset to both parties or tears down the entire flow
Block the sourcethe offender’s address is added to a blocklist for a set period
Allow and alertthe event is passed to the SIEM — this is how detection mode works

IPS and IDS

The difference lies not in what they notice but in where they sit and what they can do with the traffic. An IDS watches a copy of the traffic from a mirror port and cannot block anything; an IPS sits inline and can therefore terminate connections. The flip side of that activity is risk: a false positive from an IPS cuts off legitimate traffic, so new rules are first trialled in detection mode and only then switched to blocking.

PropertyIPSIDS
Positioninline with the traffica copy of the traffic from a mirror port
Response to an attackblocks automaticallyalerts only
Main riska false positive interrupts legitimate traffica missed attack
Typical locationa module in an NGFW or a standalone sensor at the segment boundarya sensor next to the monitoring point

Types and implementations

By what they protect, IPSes are divided into network IPS (NIPS) at segment boundaries, host-based ones — an agent on the server itself — and wireless (WIPS), which monitor the Wi-Fi airwaves. The open source engines Snort and Suricata run in both modes: traffic is either copied to them (IDS) or passed inline, for example through the NFQUEUE queue in Linux (IPS).

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • IDSintrusion detection system

    An IDS sits out of the traffic path, spots the attack and raises an alert but cannot block anything — that is the job of an IPS.

  • NGFWnext-generation firewall

    An NGFW is a next-generation firewall that includes IPS as one of its functions alongside application control and filtering.

  • WAFweb application firewall

    A WAF protects only web applications at the application layer, while an IPS inspects all traffic and operates at both the network and application layers.

In depth in the references

where the topic is covered in detail