Category Behavioral Analysis for Threat Detection