Security and privacy-aware Artificial Intrusion Detection System using Federated Machine Learning