Cyber security of medical devices