Integrated Sense-and-React Countermeasures Against Physical Attacks on Resource-Constrained Security Systems