Federated Learning for Cyberattack Detection in Decentralized Networks

Publication Type:
Thesis
Issue Date:
2024
Full metadata record
Recently, the rapid development of various technologies, such as blockchain and Internet-of-Things (IoT), has enabled numerous applications to become integral to many aspects of our daily lives. However, this leads to a massive amount of data and raises serious security concerns. Machine Learning (ML), especially Deep Learning (DL), has been widely used in cyberattack detection to detect cyberattacks in emerging networks. Nevertheless, DL-based cyberattack detection systems usually require a huge amount of data from users/systems. This threatens user privacy because sensitive data may be sent over the network to a centralized server for processing. Additionally, transmitting such a large amount of data imposes communication overhead on the network. This thesis aims to develop ML frameworks that can efficiently detect cyberattacks/intrusions in decentralized networks, such as IoT and blockchain networks, without exposing their local data over the network. In the first study, we develop a collaborative learning framework that enables a target network with unlabeled data to learn "knowledge" from a source network with abundant labeled data in IoT networks. Our proposed framework can exchange the learned "knowledge" among various DL models, even when their datasets have different features. The experiments showed that our proposed framework could achieve higher accuracy than state-of-the-art DL-based approaches. In the second study, we develop a cyberattack detection framework to detect cyberattacks in the network traffic of blockchain networks. Specifically, we first implement a blockchain network in our laboratory. This blockchain network will serve to generate real traffic data and implement real-time experiments to evaluate the performance of our frameworks. We then propose a collaborative learning model that allows efficient deployment in the blockchain network to detect attacks. Both simulated and real-time experiments have been provided to demonstrate the efficiency of our proposed framework. In the third study, we propose a collaborative learning framework to detect attacks on blockchain transactions and smart contracts. Our framework can classify various types of blockchain attacks, including intricate attacks at the machine code level which typically necessitate significant time and security expertise. Additionally, our framework enables real-time detection of diverse attack types at Ethereum nodes. The simulated and real-time experiments demonstrate the outperformance of our proposed framework compared to conventional DL models. All the results above have demonstrated that our proposed federated learning-based frameworks can efficiently be deployed in decentralized networks to detect cyberattacks with high accuracy.
Please use this identifier to cite or link to this item: