黑客可篡改3D打印指令,导致零件内部缺陷却外观正常。
Engineering Attack Vectors and Detecting Anomalies in Additive Manufacturing
- 通过中间人攻击篡改G代码,隐藏在打印流程中
- 新防御系统识别异常行为,准确率超95%
- 适合智能制造安全研究者与工业防护团队
增材制造(AM)正快速融入航空航天、汽车和医疗等关键领域。然而,其软硬件融合特性带来了新型攻击面,尤其在计算机辅助设计(CAD)与机器执行层之间。本文针对两款主流熔融沉积建模(FDM)打印机——Creality K1 Max 和 Ender 3,研究了多层中间人(MitM)入侵威胁模型。攻击者在用户界面上传G代码至打印机固件过程中拦截并篡改指令,实现隐蔽的破坏性操作。这些攻击无法被传统切片软件或运行时接口检测,导致打印出的零件结构缺陷但外观看似正常。为此,我们提出一种无监督入侵检测系统(IDS),基于实时打印生成的结构化日志,采用冻结的Transformer编码器(BERT变体)提取系统行为语义表示,并通过对比学习训练投影头以获取敏感异常嵌入。随后结合聚类与自注意力自动编码器进行分类。实验表明,该方法能有效区分正常与受控执行。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。