Cyber security and resilience of smart cars