Real Time Threat Detection Through Network Analysis