Troops deployed in combat areas are at risk of being tracked and targeted by adversaries using their cellphone location data.