  The 5G network would fuel next-gen, bandwidth-heavy technologies such as
automation, IoT, and AI on the factory floor. It will improve efficiency by
powering AR overlays in workflows, as well as ensure safer practices and reduce
the number of defects through predictive analytics and real-time detection of
damage. The Dynamic Spectrum Sharing (DSS) in 5G networks will permit 5G NR and
4G LTE to coexist and will provide cost-effective and efficient solutions that
enable a smooth transition from 4G to 5G. However, this increases the attack
surface in the 5G networks. To the best of our knowledge, none of the current
works introduces a real-time secure spectrum-sharing mechanism for 5G networks
to defend spectrum resources and applications. This paper aims to propose a
Blockchain-based Decentralized Trusted Computing Platform (BTCP) to
self-protect large-scale 5G spectrum resources against cyberattacks in a
timely, dynamic, and accurate way. Furthermore, the platform provides a
decentralized, trusted, and non-repudiating platform to enable secure spectrum
sharing and data exchange between the 5G spectrum resources
