counterespionage

noun

Activities designed to prevent or thwart spying by an enemy.