Do You Trust Your Model? Emerging Malware Threats in the Deep Learning Ecosystem
- 7 July 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Dependable and Secure Computing
- Vol. 22 (6) , 6504-6521
Abstract
Training high-quality deep learning models is a challenging task due to computational and technical requirements. A growing number of individuals, institutions, and companies increasingly rely on pre-trained, third-party models made available in public repositories. These models are often used directly or integrated in product pipelines with no particular precautions, since they are effectively just data in tensor form and considered safe. In this paper, we raise awareness of a new machine learning supply chain threat targeting neural networks. We introduce MaleficNet 2.0, a novel technique to embed self-extracting, self-executing malware in neural networks. MaleficNet 2.0 uses spread-spectrum channel coding combined with error correction techniques to inject malicious payloads in the parameters of deep neural networks. MaleficNet 2.0 injection technique is stealthy, does not degrade the performance of the model, and is robust against removal techniques. We design our approach to work both in traditional and distributed learning settings such as Federated Learning, and demonstrate that it is effective even when a reduced number of bits is used for the model parameters. Finally, we implement a proof-of-concept self-extracting neural network malware using MaleficNet 2.0, demonstrating the practicality of the attack against a widely adopted machine learning framework. Our aim with this work is to raise awareness against these new, dangerous attacks both in the research community and industry, and we hope to encourage further research in mitigation techniques against such threats.Keywords
All Related Versions
This publication has 39 references indexed in Scilit:
- PassGPT: Password Modeling and (Guided) Generation with Large Language Models2024
- MaleficNet: Hiding Malware into Deep Neural Networks Using Spread-Spectrum Channel Coding2022
- Code Injection, Process Hollowing, and API Hooking2020
- The Naked Sun: Malicious Cooperation Between Benign-Looking Processes2020
- Towards End-to-End Speech Recognition with Deep Multipath Convolutional Neural Networks2019
- PassGAN: A Deep Learning Approach for Password Guessing2019
- Fine-Pruning: Defending Against Backdooring Attacks on Deep Neural Networks2018
- Stegomalware: Playing Hide and Seek with Malicious Components in Smartphone Apps2015
- Elements of Information Theory2001
- Error-correcting Codes1998