利用GPU模型漏洞部署挖矿程序,隐蔽性强且难检测。
Crypto Miner Attack: GPU Remote Code Execution Attacks
- 通过反序列化漏洞和自定义层实现GPU远程代码执行
- 攻击者可伪装成正常模型行为,在GPU上运行挖矿程序
- 适合关注AI系统安全的开发者与运维人员
远程代码执行(RCE)攻击对人工智能和机器学习系统构成重大威胁,尤其在依赖GPU加速的环境中,攻击者可滥用GPU算力从事恶意活动。本文聚焦于利用反序列化漏洞及自定义层(如TensorFlow Lambda层)的RCE攻击,这些漏洞因监控GPU工作负载复杂而常被忽视。攻击者可执行任意代码,将恶意行为无缝融入正常模型行为中,利用GPU进行未经授权的加密货币挖矿。由于GPU的并行处理特性及高资源利用率,此类攻击在运行时极难被检测。本文全面分析了针对GPU的RCE攻击,展示了一种利用漏洞在GPU上部署挖矿程序的实际攻击案例,揭示其潜在的巨大财务与计算成本,并提出以静态扫描和模型检查作为更有效的防御策略。通过暴露这一未被充分重视的攻击面,本文旨在提升对GPU驱动的AI/ML系统安全的关注,推动采取更强的安全措施。
原文摘要 · Abstract (English)
Remote Code Execution (RCE) exploits pose a significant threat to AI and ML systems, particularly in GPU-accelerated environments where the computational power of GPUs can be misused for malicious purposes. This paper focuses on RCE attacks leveraging deserialization vulnerabilities and custom layers, such as TensorFlow Lambda layers, which are often overlooked due to the complexity of monitoring GPU workloads. These vulnerabilities enable attackers to execute arbitrary code, blending malicious activity seamlessly into expected model behavior and exploiting GPUs for unauthorized tasks such as cryptocurrency mining. Unlike traditional CPU-based attacks, the parallel processing nature of GPUs and their high resource utilization make runtime detection exceptionally challenging. In this work, we provide a comprehensive examination of RCE exploits targeting GPUs, demonstrating an attack that utilizes these vulnerabilities to deploy a crypto miner on a GPU. We highlight the technical intricacies of such attacks, emphasize their potential for significant financial and computational costs, and propose strategies for mitigation. By shedding light on this underexplored attack vector, we aim to raise awareness and encourage the adoption of robust security measures in GPU-driven AI and ML systems, with an emphasis on static and model scanning as an easier way to detect exploits.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。