Text this: Cascaded intrusion detection system using machine learning