Name: Aditi Nitin Kalbhor
School: Government Polytechnic Pune.
Project Title : Mathematical Modeling and Detection of Abnormal Network Traffic Using Statistical Methods
Description :
What is network traffic?
Network traffic is the flow of data packets between devices over a network.It occurs during browsing, streaming, messaging, and online services.It is generated by users, applications, and background system processes.
What is Abnormal Traffic?
-
Bad (abnormal) traffic is traffic that is unusually high, sudden, or unnatural compared to normal network behavior.
-
It creates traffic spikes that go far beyond the normal statistical range.
-
It can overload servers and network resources.
-
It causes slow response, service disruption, or downtime.
How this helps overcome the issue?
It detects abnormal traffic early using mathematical rules.
-
Early detection gives time to trigger security controls (rate limiting, firewall rules, blocking sources).
-
It helps admins identify DDoS-like spikes quickly instead of manual monitoring.
-
It reduces response time during traffic overload incidents.
-
It works as a first-stage warning system before deeper security filtering.
-
It is simple, explainable, and can run continuously on traffic data.
Working Principle/Explaination:
Statistical Anomaly Detection
-
Normal network traffic stays within a typical numeric range
-
Attack / abnormal traffic creates extreme spikes or drops
-
We detect outliers using statistic , not predefined attack rules
- Principle 1 : Mean
-
mean = average (Flow pkts/s)
-
Represents normal baseline traffic
- Principle 2 : Standard Deviation
-
Measure how the traffic varies from the mean
-
High std = traffic fluctuates a lot
-
Low std = traffic stable
- Principle 3 : Sigma Threshold Rule
-
Threshold = mean + 2 * std
-
In near-normal distributions :
- ~95% of values lie within ± 2σ
-
Values beyond this are statistical outliers and are marked anomalies
- Principle 4 : Rolling Statistics
-
Instead of one global mean we compute mean and std over a small moving window
-
Threshold adapts over time
-
Detects local bursts better
- Principle 5 : Time - Series Outlier Detection
-
Traffic is treated as a time-ordered signal
-
Sudden spike relative to neighbors = anomaly
- Principle 6 : Ground Truth Validation
-
Dataset has lables
-
After anomaly detection compare detected anomaly vs labels
-
This measure detection effectiveness