Cyber Security in Real-Time Systems