46 days vs. 16 minutes: Detecting emerging threats and reducing dwell time with machine learning