Cyber Security Analysis of CPSs