Use it to find attacks with no signature yet, and to judge whether an anomaly alert is a real threat or a normal change.
IPS Behavioral Detection
Behavioral (anomaly-based) detection flags traffic that deviates from a learned baseline of normal behaviour, which can catch unknown attacks but produces more false positives than signatures.
1. Let the baseline learn on normal traffic (2–4 weeks), excluding known scans and backups.
2. Review alerts with context (asset owner, change calendar).
3. Feed confirmed false positives back as exceptions.
4. Re-baseline after major changes (new applications, migrations).
baseline learned on normal traffic → current traffic compared → deviation above threshold → alert with context → analyst confirms or tunes
Context & applicabilityCommon mistakes · platform/version boundaries
- Enabling behaviour rules in block mode before learning normal traffic.
- Baselines learned during an incident or unusual period.
- No re-baseline after network changes.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Tuning behavioural detection Verify boundary
- Let the baseline learn on normal traffic (2–4 weeks), excluding known scans and backups.
- Review alerts with context (asset owner, change calendar).
- Feed confirmed false positives back as exceptions.
- Re-baseline after major changes (new applications, migrations).
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.
- Behavioural detection looks for traffic that deviates from normal patterns.
- It can catch unknown attacks.
- It needs tuning to keep false positives down.
- Confirm the IPS has learned a baseline period of normal traffic before anomaly alerts are trusted.
- Review anomaly alerts with their source, destination and deviation from the baseline.
- Tune or exclude known-good traffic that generates repeated false positives.
ReferenceWhat it is1 section · depth on demand
Strengths and limits
| Signature-based | Behavioural (anomaly) | |
|---|---|---|
| Detects | Known attacks | Unusual behaviour, including new attacks |
| False positives | Low | Higher until tuned |
| Needs | Signature updates | A learning period and a clean baseline |
Examples of behaviour that triggers alerts: a host scanning many ports, sudden traffic to new countries, DNS tunnelling patterns, or a server opening outbound connections it never made before.
ReferenceWhy it matters1 section · depth on demand
How it works
Behavioral detection learns or defines normal traffic (rates, protocols, connection patterns) and alerts on deviations such as scans, floods or unusual destinations. It can catch unknown attacks but needs tuning to keep false positives down.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Behavioural (anomaly-based) detection
Anomaly-based detection compares current activity with a profile of what's normal. NIST SP 800-94 describes profiles built over a training period and notes the main strength, detecting previously unknown threats, as well as the weaknesses: profiles can absorb malicious activity or be incomplete, attackers can evade them by changing behaviour slowly, and these systems often produce many false positives with alerts that are hard to explain.
What a profile can describe
| Measure | Example anomaly |
|---|---|
| Traffic volume | A host suddenly uploads gigabytes at night |
| Connections | A workstation starts scanning hundreds of addresses |
| Protocols | DNS traffic far larger than usual (tunnelling) |
| Peers | A server connects to countries it never used before |
| Timing | Regular small beacons every 60 seconds |
Network behaviour analysis (NIST)
NIST describes network behaviour analysis (NBA) systems as examining flows for unusual patterns such as DDoS attacks, certain malware and policy violations, using NetFlow-style data rather than full packets.
R1(config)# flow record NBA-REC
R1(config-flow-record)# match ipv4 source address
R1(config-flow-record)# match ipv4 destination address
R1(config-flow-record)# match transport destination-port
R1(config-flow-record)# collect counter bytes long
R1(config-flow-record)# collect counter packets long
R1# show flow monitor NBA-MON cache sort highest counter bytes top 3
IPV4 SRC ADDR IPV4 DST ADDR TRNS DST PORT bytes long
10.110.0.81 203.0.113.66 443 8211345920
10.30.0.15 10.30.0.20 445 1203345877
10.110.0.64 142.250.74.46 443 48211002
Anomaly versus signature
| Signature | Anomaly | |
|---|---|---|
| Unknown attacks | Missed | Can be detected |
| False positives | Fewer | More |
| Explaining an alert | Easy (matched rule) | Harder (deviation from baseline) |
| Setup | Rules from the vendor | Learning period, then tuning |
Using it well
Combine anomaly alerts with context (asset owner, user, recent changes), feed them to a SIEM, and review baselines after planned changes so a new application isn't flagged for weeks.
Documented example, not captured output.
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 Network Devices → IPS → Behavioral detection. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%