Stuxnet
A worm crossed air gaps on USB drives and sabotaged centrifuge controllers while showing operators normal readings.
- Severity
- History books
- Difficulty
- advanced
- Companies
- Siemens, VirusBlokAda, Microsoft
- Tech
- SCADA, PLCs, Siemens Step 7, Windows, USB, Rootkits
- Root cause
- unpatched flaw, insecure defaults, stolen credentials
The story
Quick (1 min)
In June 2010, a small Belarusian antivirus company found a very unusual piece of malware. It became known as Stuxnet, and it was the first malware discovered that secretly spied on and sabotaged industrial machinery.
Stuxnet spread through Windows computers, often on USB drives, which let it reach computers that weren't connected to the internet (an air gap). It looked for one specific setup: Siemens software controlling particular motor drives spinning at very high speeds, which matches uranium enrichment centrifuges. When it found that, it changed the motors' speeds to damage them, while showing operators normal readings.
Most of the infected computers were in Iran. News reports later said the US and Israel built it, which neither country has openly admitted.
The lesson: air gaps aren't a guarantee, and attacks on industrial systems can cause real physical damage.
Keep reading to the end to earn XP.Read. XP earned.
Engineer (2 min)
Three layers (Wikipedia): a Windows worm, a link-file component that auto-runs copies, and a rootkit to hide files and processes. Plus a payload for Siemens Step 7 and S7 PLCs (programmable logic controllers).
Getting in and spreading:
- Introduced via infected USB drives using Windows shortcut (LNK) files, which crosses air gaps.
- Four zero-day Windows exploits, plus other known flaws (including one used by Conficker), and peer-to-peer RPC to update copies on private networks.
- Drivers signed with private keys stolen from two companies, JMicron and Realtek, so Windows installed its kernel rootkit without warnings.
Very targeted payload. It spread widely but stayed dormant unless it found Step 7 controlling an S7-300 PLC attached to variable-frequency drives from two vendors (Vacon in Finland and Fararo Paya in Iran), running at 807–1,210 Hz, a range typical of gas centrifuges.
Sabotage. It infected Step 7 project files and subverted the s7otbxdx.dll communication library to intercept traffic to the PLC. It injected code into the PLC (memory block DB890) that periodically changed motor frequency to 1,410 Hz, then 2 Hz, then 1,064 Hz. A PLC rootkit, the first documented, hid the changes, and a man-in-the-middle faked sensor signals so safety systems wouldn't trigger.
Interview takeaway: defence in depth for operational technology means controlling removable media, application allow-listing, monitoring PLC logic changes, and never fully trusting what the HMI shows.
Keep reading to the end to earn XP.Read. XP earned.
Deep dive (2 min)
Timeline (Wikipedia)
- Since at least 2005: thought to be in development.
- 2009: first installed on a computer at Iran's Natanz nuclear facility.
- 17 June 2010: uncovered by Sergey Ulasen of Belarusian antivirus firm VirusBlokAda (originally named "Rootkit.Tmphider").
- 15 July 2010: Brian Krebs's blog post becomes the first widely read report.
- August 2010: Symantec notes 60% of infected computers worldwide are in Iran.
- September 2010: Ralph Langner, who identified the PLC infection, links it to Iranian nuclear facilities.
- 23 November 2010: uranium enrichment at Natanz is reported to have ceased several times.
- 1 June 2012: the New York Times reports Stuxnet was part of a US–Israeli operation called Operation Olympic Games, devised under President George W. Bush and executed under President Obama.
Attribution
Neither the United States nor Israel has openly admitted responsibility. Kaspersky Lab said the attack could only have been conducted "with nation-state support." A White House official gave what Wikipedia calls "winking acknowledgement" in 2011.
Effects
Haaretz reported experts linked Stuxnet to a 30% drop in Natanz centrifuge operational capacity over the previous year. An ISIS (Institute for Science and International Security) report noted Iranian authorities tried to conceal the breakdown by installing new centrifuges on a large scale. Siemens said the worm caused no damage to its customers. Iran's programme used embargoed Siemens equipment procured secretly.
Cleanup
Siemens released a detection and removal tool, advised installing Microsoft security updates, prohibiting third-party USB drives, and upgrading passwords. Symantec warned that fixing Windows might not be enough: PLCs might need a full audit.
Why it changed security
It was described as the first discovered malware that spies on and subverts industrial systems, and the first with a PLC rootkit. It showed that malware could cause physical destruction and cross air gaps, and that its design "could be tailored as a platform for attacking" other industrial systems.
Keep reading to the end to earn XP.Read. XP earned.
Failure replay
Step by step, what broke and what it hit next. Showing the key steps. Switch to Engineer or Deep dive for every step.
- 2009Infected USB drivecompromised
Stuxnet arrives on a USB drive. A crafted shortcut file runs it on an air-gapped Windows machine.
Affects: Windows engineering PCs
- SpreadWindows engineering PCscompromised
Four zero-days and stolen-certificate-signed drivers let it spread and hide with a kernel rootkit.
Affects: Siemens Step 7
- SpreadSiemens Step 7compromised
On machines with Step 7, it infects project files and hijacks the library used to talk to PLCs.
Affects: S7 PLC
- TargetingS7 PLCcompromised
It only activates if the PLC drives specific frequency converters spinning motors at 807–1,210 Hz.
Affects: Centrifuges
- SabotageCentrifugesfailing
Injected PLC code periodically drives motors to 1,410 Hz, then 2 Hz, then 1,064 Hz, stressing the machines.
Affects: Operators' screens
- SabotageOperators' screenscompromised
A PLC rootkit and faked sensor signals show normal operation, so alarms don't trigger.
- Jun 17, 2010VirusBlokAdarecovering
A Belarusian antivirus firm discovers it. Analysis by Symantec, Langner and others reveals the PLC payload.
Impact
- Who was affected
- Windows computers worldwide (60% of infections in Iran per Symantec, August 2010), with a payload aimed at Siemens S7 PLCs controlling centrifuges, believed to be at Natanz.
- How long
- Believed active from 2009; discovered June 2010; analysis and cleanup continued for months.
- Cost
- not disclosed
Lessons
- Air gaps can be crossed by removable media and supply chains; control USB use.
- Stolen code-signing keys let malware look trustworthy; protect signing keys.
- Industrial systems need integrity monitoring of controller logic, not just IT antivirus.
- Don't trust only the operator display; independent sensors and physical checks matter.
- Highly targeted malware can still spread widely as collateral.
Quiz
How did Stuxnet usually reach air-gapped computers?
The answer is On infected USB flash drives. It was typically introduced via infected USB drives, crossing the air gap.
Check answer
On infected USB flash drives. It was typically introduced via infected USB drives, crossing the air gap.
What made Stuxnet's drivers look trustworthy to Windows?
The answer is They were signed with private keys stolen from JMicron and Realtek. Stolen code-signing keys let its kernel rootkit install without warnings.
Check answer
They were signed with private keys stolen from JMicron and Realtek. Stolen code-signing keys let its kernel rootkit install without warnings.
How did Stuxnet avoid being noticed while damaging centrifuges?
The answer is A PLC rootkit and faked sensor signals showed normal operation to monitoring systems. It masked the speed changes and spoofed sensor values so nothing looked wrong.
Check answer
A PLC rootkit and faked sensor signals showed normal operation to monitoring systems. It masked the speed changes and spoofed sensor values so nothing looked wrong.
Which company first discovered Stuxnet?
The answer is VirusBlokAda, a Belarusian antivirus firm. Sergey Ulasen of VirusBlokAda uncovered it on 17 June 2010.
Check answer
VirusBlokAda, a Belarusian antivirus firm. Sergey Ulasen of VirusBlokAda uncovered it on 17 June 2010.
Interview prep
Try answering out loud before you open the model answer.
- security
How did Stuxnet reach and sabotage systems that weren't connected to the internet?
Show model answer
It entered via infected USB drives, using crafted shortcut files that executed code when viewed, so it crossed the air gap. Inside, it spread through Windows networks using zero-day exploits and RPC, and hid with a kernel rootkit whose drivers were signed with stolen certificates. On engineering machines running Siemens Step 7, it hijacked the PLC communication library and injected code into specific PLCs, changing motor frequencies to damage centrifuges. A PLC rootkit and faked sensor values hid the sabotage from operators.
A strong answer hits:
- USB and LNK to cross the air gap
- Zero-days, RPC spread, signed rootkit
- Step 7 library hijack and PLC code injection
- Hiding via PLC rootkit and fake sensor data
How did your answer compare? - system design
You're responsible for security at an industrial plant. What controls would make a Stuxnet-style attack much harder?
Show model answer
Strict removable media policy (disable USB or use scanning kiosks), application allow-listing on engineering workstations, segmented OT networks with monitored conduits, and patching of Windows hosts where feasible. Code-signing trust should be limited and monitored. Monitor PLC logic: hash and compare controller programs and alert on changes. Add independent safety instrumentation and physical measurements that don't trust the same data path. Run incident drills for OT.
A strong answer hits:
- Removable media controls and allow-listing
- OT segmentation and monitoring
- PLC logic integrity checks
- Independent safety systems
How did your answer compare? - behavioural
Stuxnet spread far beyond its intended target. What does that teach about using offensive cyber tools?
Show model answer
Self-spreading malware is hard to contain. Stuxnet was highly targeted in its payload but spread to many unrelated machines, and once discovered its techniques became public for others to study and reuse. Anyone building automated tools that act across many systems, even defensive ones, should assume they'll reach places they didn't intend, and build in strict scoping, kill switches and expiry.
A strong answer hits:
- Collateral spread is likely
- Discovery exposes the techniques
- Scoping, kill switches, expiry
How did your answer compare?
Go deeper
- ArticleStuxnetWikipedia, link checked 2026-11-25