A Study On Behaviors Of Machine Learning-Powered Intrusion Detection Systems Under Normal And Adversarial Settings