In brief
In June and in August 2017, a petrochemical plant in Saudi Arabia was hit [3] [5]. The authorities do not name the operator; E&E News names the Petro Rabigh complex on the Red Sea [4]. Malware known as Triton, Trisis or HatMan targeted the safety system that shuts the plant down in an emergency [1]. Twice, an emergency shutdown occurred [3]. Only after the second did the operators call in investigators, who found the malware [5].
What happened
On a Saturday in June 2017, a safety controller took part of the plant out of operation. The technicians thought a fault in the device was possible and checked it on site and in the lab. They found nothing unusual and started the plant up again [4].
On 4 August 2017 at 19:43, two emergency shutdown systems tripped and again took part of the complex out of operation. Nothing unusual could be seen on the screens in the control room [4]. This time the operators called in investigators [5].
The investigators found malware built to overwrite the program code of safety controllers. At least six controllers were compromised. Only devices that were in program mode could be overwritten [4]. According to the US Department of the Treasury, several controllers went into a safe fault state, and the plant shut down automatically. This stopped the malware from reaching its full function and led to the investigation in which it was discovered [1].
According to the US authorities, the malware altered the firmware of the controllers in memory. This allowed the attackers to read and modify memory and to execute their own code [2].
When the attackers noticed in mid-August that they had been discovered, they deleted traces on the engineering stations, according to E&E News. The operator introduced login with a second factor. The attackers then redirected phone numbers so that they could intercept the login codes [4].
The consequences
After the August shutdown, the plant stood still for more than a week, according to E&E News [4]; the US authorities speak of several days [2]. None of the sources reviewed here reports injuries or a release.
The authorities mainly describe what could have happened. According to the British government, the malware gave the attackers full control over the infected systems and could have led to the release of toxic gases or to an explosion [3]. Anyone who takes away a process’s ability to shut down safely can cause physical consequences, write CISA, the FBI and the US Department of Energy [2].
On 23 October 2020, the US Department of the Treasury imposed sanctions on the Russian research institute TsNIIKhM, which in its account built the tools for the attack. In 2019, the attackers had reportedly scanned at least 20 electricity utilities in the US for vulnerabilities [1]. On 24 March 2022, the US Department of Justice unsealed an indictment against an employee of the institute [2]; on the same day, the British government added the institute to its sanctions list [3].
What was known and what was not
The sources describe the first step differently. The US Department of the Treasury names phishing [1]. According to E&E News and MIT Technology Review, the attackers got into the network through a poorly configured firewall and from there on into the operational technology and onto an engineering station [4] [5]. According to MIT Technology Review, they are said to have been in the office network since as early as 2014 [5].
What the attackers ultimately intended is not known. According to MIT Technology Review, the shutdown was caused by an error in their code [5]. The US authorities speak of a refinery abroad and a petrochemical plant in the Middle East, the British government of a Saudi plant [1] [2] [3].
What this means for machine and plant builders
On a Saturday in June 2017, a safety controller shut down part of the plant. The technicians checked the device on site and in the lab, found nothing and started up again [4]. Only after the second shutdown in August did investigators come and find the malware [5]. A safety shutdown with no apparent cause is a finding, even if the hardware is in order. In that case, the program in the controller belongs in the scope of the check, compared against the approved version.
Only controllers that were in program mode could be overwritten [4]. Which operating mode a safety controller is in during operation, and who checks this regularly, should be set out when a plant is handed over.



