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.
- Home
- AI Intrusion Detection
- Cyber Anomaly Detection
- Malware Analysis
- Cyber Threat Intelligence
- AI Network Security
- AI Phishing Detection
- AI Security Log Analytics
- AI Incident Response
- Algorithm Library
- Datasets Repository
- Learning Roadmap
- Projects
- Quizzes and Challenges
- Experiment Workbench
- Research and Metrics
- My experiments
- Scientific references
- Glossary and FAQ
Intrusion-detection basics
AI Intrusion Detection · Lesson Beginner
The idea
An intrusion-detection system (IDS) monitors traffic or logs and raises alerts on suspicious activity; it does not necessarily block it. Signature-based systems know known attacks; anomaly-based ones look for deviation from normal.
Explanation
Machine learning represents each connection as a feature vector (duration, bytes, ports…). Supervised classification needs labels; anomaly detection learns only “normal”. The practical challenge is not accuracy but rare attacks and the cost of false alarms (Sommer & Paxson).
Example
If attacks are 0.1% of traffic, a model that always says “normal” scores 99.9% accuracy and detects nothing.
Review questions
- What is the difference between an IDS and an IPS?
- Why is accuracy alone not enough?
- How does signature detection differ from anomaly detection?
Related experiments
See also
References
- Sommer, Paxson (2010). Outside the Closed World: On Using Machine Learning for Network Intrusion Detection. IEEE Symposium on Security and Privacy 2010, pp. 305-316. doi:10.1109/sp.2010.25
- 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
