One of the first concrete and successful applications of AI in the field of cybersecurity was spam detection, and one of the most famous open source tools is SpamAssassin.
The strategies that can be implemented for effective spam detection are different, as we will see in the course of the chapter, but the most common and simpler one uses Neural Networks (NNs) in the most basic form; that is, the Perceptron.
Spam detection also provides us with the opportunity to introduce theoretical concepts related to NNs in a gradual and accessible way, starting with the Perceptron.