You searched for: “counterespionage
counterespionage (s) (noun) (normally there is no plural)
A government's actions that are designed to detect, to hinder, or to prevent spying by agents of other countries; especially, enemies: Henry's uncle was involved in counterespionage against Germany in World War II and now some are saying that Germany is probably involved in counterespionage against their U.S. "friends".