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

Concept drift and temporal evaluation

Malware Analysis · Lesson Advanced

The idea

Malware evolves, so a model trained on the past degrades.

Explanation

Datasets such as BODMAS record first-seen time to enable temporal evaluation. Random splits inflate performance because they leak the future into training (Arp et al.).

Example

Train on months 1-6 and test on 7-12 instead of random mixing.

Review questions

  • Why does random splitting inflate performance?

Related experiments

See also

References

  1. Arp, Quiring, Pendlebury, Warnecke, Pierazzi, Wressnegger, Cavallaro, Rieck (2024). Pitfalls in Machine Learning for Computer Security. Communications of the ACM 67(11), pp. 104-112. doi:10.1145/3643456
  2. Yang, Ciptadi, Laziuk, Ahmadzadeh, Wang (2021). BODMAS: An Open Dataset for Learning based Temporal Analysis of PE Malware. IEEE Security and Privacy Workshops 2021, pp. 78-84. doi:10.1109/spw53761.2021.00020