Companies are developing listening devices and detectors to provide an early warning against damage and sabotage.