U.S. Agencies Warn of AI-Assisted Threat Targeting Siemens S7 PLCs

· Original article ↗

Summary

U.S. agencies warn that AI-assisted scripts and Snap7-based tools are being used against exposed Siemens S7 PLCs. They assess the activity as reconnaissance and capability development, and recommend patching, isolation, stronger access controls and monitoring.

Key points

  • The agencies say actors are targeting Siemens S7-200, S7-300, S7-400, S7-1200 and S7-1500 PLCs, particularly internet-exposed or poorly segmented installations.
  • Reported methods include internet scanning, default or weak credentials, and exploitation of known PLC vulnerabilities.
  • AI-assisted Python scripts using Snap7 libraries interact with PLCs over S7comm to read or write memory, configuration data and ladder logic; the scripts may masquerade as legitimate monitoring tools.
  • The agencies assess the activity as likely persistent reconnaissance and capability development, potentially preparing for future operational effects.
  • Potential impacts include industrial disruption, safety incidents, equipment damage, downtime and compromise of sensitive operational data.
  • Recommended detections include unusual S7comm activity on TCP port 102, unauthorized read/write operations, sequential scanning, unexpected Snap7 use and configuration changes outside approved work.
  • Mitigations include inventorying PLCs, applying firmware and software patches, blocking internet access, segmenting networks, strengthening access controls and monitoring ICS activity.

Article Details

Defense Focus
Detect and prevent unauthorized access to Internet-exposed or poorly protected Siemens S7 Series PLCs, and reduce the risk of disruption to operational technology and critical infrastructure.
Detection Methods
  • Detect S7comm connections from non-engineering workstations, unusual data-block access, and write operations outside approved change windows.
  • Look for sequential IP scanning on TCP port 102, repeated connection attempts with varying parameters, and PLC CPU-property enumeration.
  • Identify snap7.dll use outside approved engineering workstations, Python scripts with S7comm functionality, and unauthorized monitoring-software installations.
  • Investigate off-hours S7comm activity, automated-looking connection patterns, and configuration changes without corresponding work orders or change tickets.
  • Flag connections from countries or IP ranges not associated with approved vendors or integrators.
  • Establish a baseline of legitimate PLC activity and alert on deviations, including unauthorized PUT/GET operations and ladder-logic changes.
Data Sources
  • S7comm traffic on TCP port 102, including source IPs, connection timing, and PUT/GET operations
  • PLC data-block reads and writes, configuration access, and CPU-property enumeration
  • Engineering-workstation process telemetry for Python processes importing snap7.dll
  • TIA Portal and STEP 7 connection logs, including timestamps and source IPs
  • PLC firmware versions, configuration, and ladder-logic state
  • Network scanning and connection-attempt patterns
  • Change windows, work orders, and change tickets used to assess whether PLC activity is authorized
Platforms
  • ICS-aware intrusion detection and network monitoring platforms
Defensive Actions
  • Inventory Siemens S7 Series PLCs, verify firmware against approved baselines, and identify devices accessible from untrusted networks.
  • Apply relevant PLC firmware, TIA Portal, and STEP 7 security updates; test updates in a development environment before production deployment.
  • Remove PLCs from direct Internet exposure, block TCP port 102 at perimeter firewalls, and segment OT from IT networks.
  • Restrict PLC programming access to authorized engineering workstations; enable PLC passwords and protection levels, remove or change default SNMP community strings, and require MFA for remote OT access.
  • Log and monitor S7comm traffic and engineering connections; alert on unauthorized writes, unexpected data-block access, and snap7.dll imports on engineering workstations.
  • Disable unneeded PLC web servers and communication protocols, limit simultaneous S7comm sessions, and enable available restart and know-how protections.
  • Review ladder logic for unauthorized changes and coordinate hardening with system integrators, managed service providers, and Siemens support.

MITRE ATT&CK

Vendors

Products

Tools

Countries

Industries

Related Articles