A countermeasure is a defensive mechanism that helps mitigate risk, threat, to a network or computers, using a process, system or a device.