Predict and prevent attacks before they execute