Homing beacon

A homing beacon is a communications device that sends a signal, to help find someone or something.

In late-2364, the neural parasites that attempted to take over Starfleet Command by inhabiting high-ranking officers, activated a homing beacon so their homeworld could locate Earth and attack again in the future.