AI Cybersecurity Lab

Intrusion and anomaly detection, malware analysis, threat intelligence, phishing, security logs and incident response: defensive experiments that really compute in your browser on synthetic data, with algorithms, datasets, projects and quizzes.

28interactive experiments

Time-series anomalies

Cyber Anomaly Detection · Lesson Intermediate

The idea

Network traffic is a time series with daily seasonality; real deviation is measured after removing seasonality.

Explanation

The experiment applies a robust rolling z-score. It catches sudden bursts but misses slow, regular signals (beaconing) unless frequency features are used.

Example

Very regular gaps between connections can suggest a machine rather than a person.

Review questions

  • What does the window size change?
  • Why does seasonality cause false alarms?

Related experiments

See also

References

  1. Chandola, Banerjee, Kumar (2009). Anomaly detection: A survey. ACM Computing Surveys 41(3), pp. 1-58. doi:10.1145/1541880.1541882