Effective detection of security compromises in enterprises using feature engineering