| name | detecting-stuxnet-style-attacks |
| description | Use when this skill covers detecting sophisticated cyber-physical attacks that follow the Stuxnet attack pattern of modifying PLC logic while spoofing sensor readings to hide the manipulation from operators. It addresses PLC logic integrity monitoring, physics-based process anomaly detection, engineering workstation compromise indicators, USB-borne attack vectors, and multi-stage attack chain detection spanning IT-to-OT lateral movement through to process manipulation. |
| domain | cybersecurity |
| tags | ["ot-security","ics","scada","industrial-control","iec62443","stuxnet","plc-integrity","apt"] |
| subdomain | ot-ics-security |
| version | 1.0.0 |
| author | oyi77 |
| license | Apache-2.0 |
| nist_csf | ["PR.IR-01","DE.CM-01","ID.AM-05","GV.OC-02"] |
Detecting Stuxnet Style Attacks
Overview
Cybersecurity skill for detecting stuxnet style attacks. Follows industry best practices and security standards.
When to Use
Trigger phrases:
-
"detecting stuxnet style attacks"
-
"This skill covers detecting sophisticated cyber-physical attacks that follow the"
-
When implementing advanced threat detection for high-value OT targets (nuclear, chemical, critical infrastructure)
-
When building detection for APT-style attacks targeting PLC logic and process manipulation
-
When establishing PLC logic integrity monitoring to detect unauthorized modifications
-
When investigating suspected process anomalies that may indicate cyber-physical attacks
-
When designing defense-in-depth strategies against nation-state level OT threats
Do not use for basic OT intrusion detection (see detecting-attacks-on-scada-systems), for malware analysis of Stuxnet samples (see malware reverse engineering skills), or for PLC programming and logic development.
When NOT to Use
- When you lack proper authorization for testing
- For production systems without change management
- When the task requires legal or compliance expertise beyond technical scope
Prerequisites
- Detailed understanding of the Stuxnet attack chain and MITRE ATT&CK for ICS framework
- PLC logic backup repository with known-good baseline copies of all PLC programs
- Engineering workstation monitoring (EDR with OT awareness)
- Physics-based process models for the controlled physical process
- Network monitoring for industrial protocol traffic analysis
Workflow
import re
IOC_PATTERNS = {
"ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",
"domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",
"hash_md5": r"\b[a-f0-9]{32}\b",
"hash_sha256": r"\b[a-f0-9]{64}\b",
}
def extract_iocs(text: ) -> :
{k: re.findall(v, text) k, v IOC_PATTERNS.items()}