Protecting powerplant from a cyber attack