How Intrusion Detection Improves Proactive Security