Addressing Adversarial Attacks Against Security Systems Based on Machine Learning