Data Driven Countermeasures In Computer Networks