Case Study: Improving Stability and Security of ICS Systems