Current research in the fields of control architectures, cyber-physical systems (CPS), and the IoT must be brought together in order to ensure the viability of Industry 4.0 (IoT). Industrial systems are increasingly vulnerable, necessitating new approaches to fight and mitigate these risks. As an example of this innovation, blockchain offers an antidote to the cybersecurity concerns of Industry 4,0. This paper examines and discusses blockchain-based cybersecurity for the cyber-physical systems in more detail.