A Machine Learning Approach for Uniform Intrusion Detection