Towards efficient threat detection in mobile networks