AI Security AI安全 3h ago Updated 2h ago 更新于 2小时前 43

Experiment: Porting a PLC Exploit With AI Takes Hours and Hundreds of Dollars 实验:用AI移植PLC漏洞利用程序需要数小时和数百美元

Forescout's Vedere Labs used Anthropic's Claude to port a working RCE exploit from a WAGO 750-852 PLC to a WAGO 750-831 PLC, demonstrating AI-assisted exploit adaptation for industrial control systems The experiment was based on CVE-2021-31886, a pre-authentication buffer overflow in the Nucleus FTP server allowing arbitrary ARM shellcode execution Claude Code was given access to a terminal, reference files, Ghidra, and the physical target device, confirming the vulnerability through live probin Forescout Vedere Labs使用Claude将WAGO PLC的RCE漏洞利用从750-852型号成功移植到750-831型号 实验基于CVE-2021-31886(Nucleus FTP服务器预认证缓冲区溢出),通过实时探测与静态固件分析结合验证漏洞 从Claude Sonnet 4.6切换到Opus 4.6后,AI在12分钟内生成两个工作载荷,但后续C2植入物开发导致设备永久砖化 最终RCE开发阶段消耗超过500美元API费用和8小时以上,呈现"前期高成本探索+后期快速迭代"的模式 随着专家干预需求下降,AI在并行处理多个相关目标时的边际成本优势将显著降低漏洞利用规模化门槛

60
Hot 热度
68
Quality 质量
60
Impact 影响力

Analysis 深度分析

TL;DR

  • Forescout's Vedere Labs used Anthropic's Claude to port a working RCE exploit from a WAGO 750-852 PLC to a WAGO 750-831 PLC, demonstrating AI-assisted exploit adaptation for industrial control systems
  • The experiment was based on CVE-2021-31886, a pre-authentication buffer overflow in the Nucleus FTP server allowing arbitrary ARM shellcode execution
  • Claude Code was given access to a terminal, reference files, Ghidra, and the physical target device, confirming the vulnerability through live probing and static firmware analysis
  • Progress required switching from Claude Sonnet 4.6 to Claude Opus 4.6 and instructing the model to ask for help when uncertain about firmware details
  • The final RCE development stage consumed over $500 in API costs across more than eight hours, and a follow-up C2 implant attempt permanently bricked the PLC by writing to flash memory

Why It Matters

This experiment highlights the growing capability of AI models to assist in adapting exploits across similar hardware targets in OT/ICS environments, a concern amplified by recent attacks on water sector PLCs. While current costs and human oversight requirements remain high, the pattern of rapid iteration after initial breakthrough suggests that marginal costs could decrease significantly as models improve, enabling attackers to scale exploit adaptation across many targets simultaneously.

Technical Details

  • The starting exploit targeted CVE-2021-31886, a pre-authentication buffer overflow in the Nucleus FTP server of WAGO 750-852 PLCs, enabling unauthenticated ARM shellcode execution
  • Claude Code was equipped with a terminal, reference files, Ghidra reverse-engineering tool, and physical access to the target WAGO 750-831 PLC
  • Early attempts failed because injected code was being erased before execution; the breakthrough came when Claude identified this firmware-level interference and adjusted its payload delivery approach
  • After the breakthrough, Claude generated two separate working payloads within 12 minutes, demonstrating rapid iterative capability once the core obstacle was understood
  • A subsequent session attempting to build a command-and-control implant resulted in a payload that wrote to flash memory, permanently bricking the device

Industry Insight

  • The "hard start, fast follow" pattern observed—where initial exploitation is time-consuming but subsequent iterations are rapid—suggests that as AI models improve, the bottleneck will shift from discovery to scaling across multiple targets, making mass exploit adaptation a realistic threat
  • The $500+ cost and 8+ hour timeline for a single exploit port, combined with the need for expert redirection, indicates that AI-assisted OT exploitation is not yet cost-effective for individual attackers but could become viable as intervention requirements decrease
  • Organizations should treat AI-augmented exploit development as an emerging threat vector for ICS/OT systems and prioritize hardening PLC firmware, implementing network segmentation, and monitoring for anomalous exploitation patterns consistent with AI-assisted attack workflows

TL;DR

  • Forescout Vedere Labs使用Claude将WAGO PLC的RCE漏洞利用从750-852型号成功移植到750-831型号
  • 实验基于CVE-2021-31886(Nucleus FTP服务器预认证缓冲区溢出),通过实时探测与静态固件分析结合验证漏洞
  • 从Claude Sonnet 4.6切换到Opus 4.6后,AI在12分钟内生成两个工作载荷,但后续C2植入物开发导致设备永久砖化
  • 最终RCE开发阶段消耗超过500美元API费用和8小时以上,呈现"前期高成本探索+后期快速迭代"的模式
  • 随着专家干预需求下降,AI在并行处理多个相关目标时的边际成本优势将显著降低漏洞利用规模化门槛

为什么值得看

本文首次系统展示了大模型在工业控制系统(ICS)漏洞利用移植中的实际能力与局限,为OT安全领域提供了重要的实证参考。随着针对水务等关键基础设施的AI驱动攻击增多,该研究揭示了攻击者可能利用AI降低漏洞利用门槛的趋势。

技术解析

  • 漏洞基础:基于CVE-2021-31886,WAGO 750-852 PLC的Nucleus FTP服务器存在预认证缓冲区溢出,允许未授权攻击者执行任意ARM shellcode
  • 工具链配置:Claude Code获得终端、参考文件、Ghidra逆向工具和物理目标设备的完整访问权限,形成闭环实验环境
  • 模型切换关键:初期使用Sonnet 4.6进展停滞,切换至Opus 4.6并启用"不确定时主动求助"策略后取得突破,AI识别出注入代码被擦除的根本原因并调整载荷策略
  • 失败风险:C2植入物开发阶段,AI测试的复杂载荷写入PLC闪存区域,导致设备永久损坏,凸显AI在OT环境中的不可逆风险

行业启示

  • 攻击民主化加速:AI正在降低ICS漏洞利用的技术门槛,未来专家干预需求持续下降将使攻击者能够以更低成本并行针对多个相似设备
  • OT安全防御需升级:传统IT安全方法论不足以应对AI增强的工业控制攻击,需加强固件分析、异常行为检测和物理隔离策略
  • 成本-收益拐点将至:当前500美元+8小时的实验成本仍较高,但随着模型效率提升,规模化漏洞利用的经济障碍将快速消失,行业需提前布局应对

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Claude Claude Security 安全 Research 科学研究 Code Generation 代码生成 LLM 大模型