counterintelligence

actions taken by an entity, usually a state, to prevent an enemy or another party from effectively engaging in espionage or sabotage.