What is network forensics?
Network forensics is the collection and study of network traffic and network device records to learn what happened between systems, such as who...
An IDS watches network traffic and raises an alert when something matches a rule or looks unusual. An IPS sits in the path of traffic and can also block it. An alert is a lead to check, not proof.
An intrusion detection system (IDS) detects and reports. An intrusion prevention system (IPS) works inline with traffic and can stop it as well (NIST SP 800-94). Suricata is one engine that can run in both ways and can also process saved PCAP files.
Systems can be network based or placed on a host.
Most alerts come from rules that describe a pattern in traffic. Some systems also look for unusual behaviour. When a rule matches, the system writes an alert with the time, addresses, ports and the rule name.
Good practice is to keep the matching packets or the rule details so the alert can be explained later.
Check these points before trusting an alert.
A false positive is an alert for harmless traffic. A false negative is a missed attack. Both happen. Rules also age, so replaying a capture with new rules can give new results. Record the rule set version used.
| IDS | IPS | |
|---|---|---|
| Position | Watches a copy of traffic | Sits in the traffic path |
| Action | Alerts | Alerts and can block |
| Risk | Misses are only reported | A wrong block can stop normal traffic |
An IDS detects and alerts. An IPS is placed inline and can also block traffic.
Rules can fire on harmless traffic, so the alert must be checked against packets and other logs.
Written in our own words from public forensic training material and standards. Last reviewed 24 Nov 2026. Procedures and laws differ by country and agency. Follow your own lab's procedure.