English

Engineering Attack Vectors and Detecting Anomalies in Additive Manufacturing

Cryptography and Security 2026-01-05 v1 Artificial Intelligence Machine Learning

Abstract

Additive manufacturing (AM) is rapidly integrating into critical sectors such as aerospace, automotive, and healthcare. However, this cyber-physical convergence introduces new attack surfaces, especially at the interface between computer-aided design (CAD) and machine execution layers. In this work, we investigate targeted cyberattacks on two widely used fused deposition modeling (FDM) systems, Creality's flagship model K1 Max, and Ender 3. Our threat model is a multi-layered Man-in-the-Middle (MitM) intrusion, where the adversary intercepts and manipulates G-code files during upload from the user interface to the printer firmware. The MitM intrusion chain enables several stealthy sabotage scenarios. These attacks remain undetectable by conventional slicer software or runtime interfaces, resulting in structurally defective yet externally plausible printed parts. To counter these stealthy threats, we propose an unsupervised Intrusion Detection System (IDS) that analyzes structured machine logs generated during live printing. Our defense mechanism uses a frozen Transformer-based encoder (a BERT variant) to extract semantic representations of system behavior, followed by a contrastively trained projection head that learns anomaly-sensitive embeddings. Later, a clustering-based approach and a self-attention autoencoder are used for classification. Experimental results demonstrate that our approach effectively distinguishes between benign and compromised executions.

Keywords

Cite

@article{arxiv.2601.00384,
  title  = {Engineering Attack Vectors and Detecting Anomalies in Additive Manufacturing},
  author = {Md Mahbub Hasan and Marcus Sternhagen and Krishna Chandra Roy},
  journal= {arXiv preprint arXiv:2601.00384},
  year   = {2026}
}

Comments

This paper has been accepted to EAI SmartSP 2025. This is the preprint version

R2 v1 2026-07-01T08:47:54.076Z