Discovered June 2010 · Nuclear enrichment · Iran

Stuxnet at Natanz 2010

Malware carried across an air gap on USB drives reprogrammed the controllers running uranium centrifuge cascades, hid its changes from engineers and kept operator readings looking normal. About a thousand centrifuges were damaged and had to be replaced.

Allegedly state-backedWay in: Removable media (USB)inferredPhysical damageHigh-consequence site

No official account. No government has published what happened at Natanz or who was behind it. The facts here come from researchers’ analysis of the malware (Symantec, Langner) and from IAEA inspection data as analysed by ISIS.

What happened

The short version

Stuxnet was malware built to sabotage the gas centrifuges enriching uranium at Natanz. It spread by USB drive and across networks, carried four unpatched Windows exploits and drivers signed with compromised certificates, and searched for Siemens Step 7 engineering systems. On a matching system it reprogrammed the controllers running the centrifuge cascades and hid the change from engineers, while operator readings kept looking normal (one variant replayed recorded sensor values in a loop), so the sabotage looked like ordinary unreliability.

The Institute for Science and International Security, reading IAEA safeguards reports, found that about 1,000 centrifuges were decommissioned and replaced at Natanz in late 2009 or early 2010. The worm was identified publicly in June 2010 after it spread beyond its targets.

Key dates

  1. PreparationBefore 2007Attackers obtain the plant’s design and build a test rig (Symantec’s reconstruction; a version was in circulation by 2007)
  2. Way inBy November 2007An earlier version, Stuxnet 0.5, is already in circulation; it stops spreading in July 2009 (Symantec’s 2013 analysis)
  3. Way inJune 2009Earliest sample of the version found in 2010; targeted infections begin at five organisations in Iran
  4. ImpactLate 2009 to early 2010About 1,000 centrifuges at Natanz decommissioned and replaced
  5. Response17 June 2010VirusBlokAda reports the worm after it spreads far beyond its targets
  6. AftermathJuly to September 2010Stolen certificates revoked, the first two Windows flaws patched (the last in December), ICS-CERT advisory and Symantec dossier published
  7. AftermathJune 2012A press account based on anonymous officials describes the operation behind Stuxnet; no government confirms it

How did that happen

The way in, and the way through

The attackers needed the plant’s exact control-system design and, by Symantec’s and Langner’s reckoning, a test rig with the same hardware. The malware was then introduced, most likely by removable drive, into target organisations with a presence in Iran, from where it reached a machine running Siemens Step 7 across the air gapHaving no network connection at all between the plant and any other network, so the only way in is to carry something in physically.. It replaced a Siemens software library to sit between the engineering software and the PLCProgrammable logic controller: the rugged industrial computer wired to sensors and actuators that runs the automatic control of a machine or process..

On matching controllers it injected code that drove the centrifuge frequency drives far outside their normal band while the legitimate control code was suspended, so monitoring showed stale pre-attack values; an earlier variant aimed at the cascade protection system fed the control room a recorded loop of normal sensor values. The site was air-gappedHaving no network connection at all between the plant and any other network, so the only way in is to carry something in physically. and nuclear-grade; the attack still succeeded, which is the point of including it. It shows the ceiling of what controls can do against a determined state, and that an air gap is only as good as the media and people that cross it.

The path through the plant, step by step (the numbers are the steps told below)

Attribution: Not formally attributed: no government has acknowledged Stuxnet or officially named who built it. Analysts have suggested a state programme because of its scale and precision; that remains an allegation, and Symantec cautioned against drawing attribution conclusions

The sequence of events

How it unfolded, step by step

The record in order, from the first foothold to the recovery. Each step says what was done, how it worked, what it looked like from inside the plant, and where the attacker was in the plant at that moment. Read this first; the game that follows asks what would have stopped each step.

  1. Stage 1 · WeaponisationVendors and supply chainBefore 2007

    Obtain the plant’s design and build a test rig

    Every controller installation is set up in its own way, so malware that reprograms one has to be written for that exact plant. Symantec’s reconstruction is that the attackers first needed the plant’s control-system schematics, perhaps stolen by an insider or collected by an early version of Stuxnet or other malware, and then a copy of the installation, with the same Siemens controllers and modules, to develop and test against. Symantec put the effort at perhaps six months for five to ten core developers, not counting many others.

    None of this was visible from inside the plant. The design was not being attacked on the plant’s network; it was being studied somewhere else, on a test rig the attackers owned. Langner’s analysis of what the malware did to the process concludes that it shows a deep physical and functional knowledge of the target, knowledge that, he says, could not have come simply from analysing network traffic and computer configurations at Natanz. By some route, the exact configuration of the plant had reached the wrong hands.

    With a working copy of the target to rehearse on, the attackers could build malware that fired only on the real thing and stayed quiet everywhere else. Getting it there was the next problem.

    “As each PLC is configured in a unique manner, the attackers would first need the ICS’s schematics.”

    Source 1: W32.Stuxnet Dossier, version 1.4
    1. 1The attackers hold the plant’s exact control-system design; how is not known.
    2. 2Attackers obtain the schematics and build a matching test rig.
    3. 3They rehearse on a copy, tuning the malware to the real plant.
  2. Stage 1 · DeliveryVendors and supply chainBy 2009

    Carried across the air gap on removable media

    Stuxnet did not arrive over the internet; the plant had no network path in. Symantec traced the earliest infections to five organisations with a presence in Iran, ten initial infections in all, attacked in waves between June 2009 and May 2010, from which the worm, malware that spreads by itself, moved onwards. It copied itself onto USB drives plugged into an infected machine and ran, through an unpatched Windows flaw, when that drive was opened on another; Symantec says the original infection may itself have been introduced by removable drive. An earlier version, Stuxnet 0.5, had been in circulation since at least November 2007 and stopped spreading in July 2009.

    How it crossed the air gapHaving no network connection at all between the plant and any other network, so the only way in is to carry something in physically. at Natanz is inferred, not documented. Langner argues that the attackers went after soft targets with legitimate access to the plant, contractors, whose laptops and USB sticks moved between their own networks and the plant’s. An air gap stops network traffic, not people, and whatever rules existed for media and laptops did not keep them off the control side.

    Once inside a network the worm spread from machine to machine by several routes and looked for one thing: a computer running Siemens Step 7 or WinCC, the software engineers use to program and watch the controllers.

    “The original infection may have been introduced by removable drive.”

    Source 1: W32.Stuxnet Dossier, version 1.4
    1. 1Media and laptops cross the air gap; the exact carrier is inferred, not known.
    2. 2The worm rides in on contractors’ USB drives and laptops.
    3. 3It reaches the control machines the gap was meant to protect.
  3. Stage 1 · InstallationControl networkOn reaching a Step 7 system

    Hijacking the link between the engineering software and the PLC

    On a machine running Step 7, Stuxnet renamed the Siemens library that the engineering software uses to talk to the controllers, s7otbxdx.dll, to s7otbxsx.dll, and put its own file in the original’s place. The substitute passed 93 of the library’s 109 functions straight through to the real one and intercepted the 16 that read, write and list code blocks on a controller. From then on every exchange between the engineer’s screen and the controller went through the malware, which could alter it in either direction.

    Nothing on the engineering stationThe PC that holds the vendor software used to write, download and change controller programs, which makes it the most powerful machine on the plant network. checked that its system files were the ones Siemens had shipped. The engineering software carried on working exactly as before, because the real library was still there doing most of the work, so the engineer had no reason to suspect anything. This is the piece Symantec calls a PLCProgrammable logic controller: the rugged industrial computer wired to sensors and actuators that runs the automatic control of a machine or process. rootkit (malware that hides its own changes from the tools used to look for them): when the engineer later asked the controller what code it was running, the answer came back through the malware, with the malicious blocks hidden.

    With the link hijacked, the malware could write to controllers through the plant’s own sanctioned tool, and check which of them were the targets it had been built for.

    “it renames the original s7otbxdx.dll file to s7otbxsx.dll.”

    Source 1: W32.Stuxnet Dossier, version 1.4
    1. 1The engineering station loads a system library without checking it is genuine.
    2. 2It swaps the Siemens library for one of its own.
    3. 3Now every exchange with the controller passes through the malware.
  4. Stage 2 · Deliver ICS payloadField devices2009 to 2010

    Injecting code onto the centrifuge controllers

    The code was choosy. Before writing anything it checked for a particular Siemens controller model, the 6ES7-315-2, with a Profibus communications module, and for at least 33 frequency converter drives, the units that set the centrifuge motors’ speed, from two makers, Vacon of Finland and Fararo Paya of Iran. Only a controller matching that fingerprint received the code; Langner identifies the fingerprint as the centrifuge drive system at Natanz. A second piece of code was written for the larger S7-417 controllers that govern the cascade protection system, the safeguard for the groups of centrifuges that work together; in the 2010 samples Symantec found it disabled or only partly completed, and its later analysis of the earlier Stuxnet 0.5 found the complete attack, which closed valves on the cascades. Langner reads that as the earlier of the two attacks.

    The code went in through the hijacked engineering link, so to the controller it was a normal download from the station that was allowed to program it. The record does not show anyone comparing what the controllers were running with an approved copy held on a separate machine, and the one tool that could have shown the new blocks, the engineering software, now reported through the malware and showed the controller as unchanged.

    On the drive controllers the new code also attached itself to the block that receives messages from the drives, so the malware could watch their actual frequencies and wait. By Symantec’s reading it needed about 13 days of recorded readings before its first move.

    “The attackers expect the frequency drives to be running between 807 Hz and 1210 Hz.”

    Source 1: W32.Stuxnet Dossier, version 1.4
    1. 1The controllers accept new logic from the engineering station as routine.
    2. 2It injects code only on controllers matching the plant’s fingerprint.
    3. 3The hidden logic sits on the centrifuge controllers, waiting.
  5. Stage 2 · Execute ICS attackField devices2009 to 2010

    Driving the centrifuges out of range while the readings looked normal

    The drive attack ran about once a month, per Langner, and spent the rest of the time waiting. When it fired it pushed the drives’ frequency well above the band the attackers expected them to run in, 807 to 1210 Hz, and in a later run forced it down to almost nothing before letting it recover. Symantec’s reading of the code puts the high point at 1410 Hz, the low point at 2 Hz, and the gap between cycles at around 27 days.

    While the attack code ran, the legitimate control code was suspended, so the values reaching the monitoring system were stale pre-attack ones and the screens showed the drives doing what they should. The earlier variant, written for the cascade protection controllers, went further: it recorded 21 seconds of normal sensor values and replayed them in a loop to the control room while it worked, so neither the operators nor the automatic alarm routines saw anything wrong. No instrument outside the malware’s reach, one that could have contradicted the screens, appears anywhere in the record.

    Centrifuge rotors were driven well above their normal speed, and at one point almost to a stop, briefly and rarely, in a plant where every reading said otherwise. The damage would show up as broken machines, not as an alarm.

    “Process input signals (sensor values) are recorded for a period of 21 seconds.”

    Source 2: To Kill a Centrifuge: A Technical Analysis of What Stuxnet’s Creators Tried to Achieve
    1. 1The operators’ view of rotor speed comes through the machine the malware holds.
    2. 2It drives the centrifuges far out of their normal range.
    3. 3Throughout, the operator screens show nothing wrong.
  6. Stage 2 · ImpactPhysical processLate 2009 to early 2010

    Centrifuges fail and are quietly replaced

    The effect showed up in the safeguards reports of the International Atomic Energy Agency (IAEA), not in any alarm. The Institute for Science and International Security (ISIS) found that Iran decommissioned and replaced about 1,000 IR-1 centrifuges at the Natanz enrichment plant in late 2009 or early 2010, about six cascades, which implies that they broke. The IAEA report of February 2010 showed 11 of the 18 cascades in one module disconnected. ISIS calls Stuxnet a reasonable explanation for the damage while saying questions remain.

    From inside the plant this was a reliability problem, and Langner’s analysis is that it was designed to be one: a low-yield weapon meant to shorten the centrifuges’ lives, with the damage disguised as the ordinary unreliability of a difficult machine and, by his estimate, well over half of the development cost spent on hiding the attack. When anyone at the plant first suspected an attack is not recorded; ISIS says only that it remains unclear when Iran learned the plant could be under cyber attack. To anyone counting broken centrifuges, the numbers alone would never raise the question of whether something was breaking them on purpose.

    The worm was identified publicly in June 2010 by a Belarusian antivirus firm, VirusBlokAda, after spreading far beyond its targets; by the end of September Symantec counted around 100,000 infected machines worldwide, about 60 per cent of them in Iran. Iran’s president later acknowledged that software had created problems for a limited number of its centrifuges.

    “Iran decommissioned and replaced about 1,000 IR-1 centrifuges in the Fuel Enrichment Plant (FEP) at Natanz”

    Source 3: Did Stuxnet Take Out 1,000 Centrifuges at the Natanz Enrichment Plant?
    1. 1Rising failures are read as wear, not as a possible attack.
    2. 2The centrifuges break, looking like ordinary unreliability.
    3. 3About 1,000 centrifuges are replaced, the sabotage unseen.

That is the record. Now the question each step raises:

Could you have stopped it?

Now you decide

Could you have stopped it?

The same steps, as decisions. At most steps you pick the control that would have stopped the attack at a cost a high-consequence site can carry; at some you place the attacker on the plant map first, or spot the one control that does not act. A nuclear-grade answer at a water utility scores less than the right-sized one, because the money and the people are not infinite. Round 2 hands you a budget. “Would have stopped” means in this exercise’s judgement, with the control in place and working; the record rarely says what the operator actually had, and no control is a guarantee.

Step 1 of 6
0 / 18 shield 0 / 3 insight
High-consequence site · the band this exercise judges by

A nuclear enrichment facility: the highest-consequence OT there is, facing a highly capable adversary. This is where SL 4 controls, including air gaps and defence against a well-resourced attacker, genuinely belong, and where the lesson is that even they are not absolute.

Target security levels come from the site's own IEC 62443-3-2 risk assessment; these bands are how the game judges what is proportionate. The reasoning under each answer says why a control is the right weight for this site.
01
Stage 1 · WeaponisationBefore 2007

Obtain the plant’s design and build a test rig

  1. 1The attackers hold the plant’s exact control-system design; how is not known.
  2. 2Attackers obtain the schematics and build a matching test rig.
  3. 3They rehearse on a copy, tuning the malware to the real plant.

Rehearsing the attack on a copy of the plant’s controllers

Because each PLCProgrammable logic controller: the rugged industrial computer wired to sensors and actuators that runs the automatic control of a machine or process. installation is configured uniquely, the attackers would first have needed the plant’s control-system schematics, then a mirrored environment with the same hardware to develop and test the payload against an exact copy. Symantec estimated perhaps six months and five to ten core developers, not counting many others. Re-read this step in the story

Before the control: where in the plant was the attacker at this step? 1 insight point

02
Stage 1 · DeliveryBy 2009
Answer the step above

Carried across the air gap on removable media

03
Stage 1 · InstallationOn reaching a Step 7 system
Answer the step above

Hijacking the link between the engineering software and the PLC

04
Stage 2 · Deliver ICS payload2009 to 2010
Answer the step above

Injecting code onto the centrifuge controllers

05
Stage 2 · Execute ICS attack2009 to 2010
Answer the step above

Driving the centrifuges out of range while the readings looked normal

06
Stage 2 · ImpactLate 2009 to early 2010
Answer the step above

Centrifuges fail and are quietly replaced

Scoring: 3 points for the proportionate control, 2 for one that works but is heavier than this site needs, 1 for a control that helps, 0 for one that does not act at that step. In an odd-one-out step, 3 points for spotting the control that does not act. Plant-map questions earn insight points. Sources are listed at the end of the page. Jump to sources

Response and recovery

How they got back

Iran decommissioned and replaced about 1,000 centrifuges in late 2009 or early 2010. The worm was identified publicly in June 2010 by the antivirus firm VirusBlokAda after it spread beyond its targets; Siemens issued guidance and Microsoft patched the vulnerabilities Stuxnet used. The lasting lesson is sobering: this was an air-gappedHaving no network connection at all between the plant and any other network, so the only way in is to carry something in physically., nuclear-grade facility with resources far beyond any ordinary plant, and a determined state still got in. The controls here, media control, endpoint integrity, logic verification, independent hardware protection, raised the bar and belong at this consequence level, but Stuxnet is the proof that against a national adversary no single control, including the air gap, is absolute.

Take this to your plant

  • 1An air gapHaving no network connection at all between the plant and any other network, so the only way in is to carry something in physically. is only as good as the media and people that cross it. A scanning kiosk as the single sanctioned path is the control it most needs.
  • 2When the attacker fakes the operator’s readings, only instrumentation the attacker cannot reach tells the truth. Independent hardware protection is the answer at high consequence.
  • 3A campaign designed to look like attrition is broken by people who treat rising failure rates as a question, not an answer. That is what threat hunting is for.

Sources

Where this record comes from

Government advisories, the victim's own statements, court and parliamentary records, and the technical reports of the teams that analysed the malware. Press is used only where no primary record exists, and is marked.

  1. 1
    W32.Stuxnet Dossier, version 1.4 Nicolas Falliere, Liam O Murchu and Eric Chien, Symantec, 2011 · Vendor technical report
  2. 2
    To Kill a Centrifuge: A Technical Analysis of What Stuxnet’s Creators Tried to Achieve Ralph Langner, The Langner Group, 2013 · Technical analysis
  3. 3
    Did Stuxnet Take Out 1,000 Centrifuges at the Natanz Enrichment Plant? Institute for Science and International Security (ISIS), 2010 · Research institute analysis
  4. 4
    ICS-CERT Advisory ICSA-10-272-01 (Primary Stuxnet Advisory) US ICS-CERT (now CISA), 2010 · Government advisory
  5. 5
  6. 6
    Stuxnet 0.5: The Missing Link Geoff McDonald, Liam O Murchu, Stephen Doherty and Eric Chien, Symantec, 2013 · Vendor technical report
Where the record is uncertain
  • No government has formally attributed or acknowledged Stuxnet. Press accounts based on anonymous officials have alleged who was behind it, but none has been confirmed, so this library names no state; Symantec cautioned against attribution conclusions.
  • The ~1,000 figure is ISIS’s reading of IAEA safeguards data; ISIS calls Stuxnet a reasonable explanation for the damage but says questions remain, and Iran has not admitted that Stuxnet attacked Natanz.
  • The entry route is inferred, not documented: Symantec says the first infection may have come by removable drive, and Langner argues that contractors’ laptops and USB sticks carried it across the air gap.
  • Symantec counts four unpatched Windows vulnerabilities (ICS-CERT calls them four zero-days), though the print-spooler flaw had been published in a magazine in 2009. In the 2010 samples Symantec found the S7-417 cascade-protection code disabled or only partly completed; Langner read it as an earlier, complete attack superseded by the rotor-speed attack in 2009, and Symantec’s 2013 analysis of the earlier Stuxnet 0.5 found that complete attack, which closed valves on the cascades. Stuxnet 0.5 was in circulation by November 2007 and may have operated from 2005; whether it caused damage is unclear.

Talk to RelyBlue

Which of these doors is open in your plant?

An assessment that starts from the attacks that actually happened, scoped to what a site like yours should carry.

  • You talk to a senior advisor, never a salesperson