Cyber-attackers tried to trigger a deadly explosion at a petrochemical plant in Saudi Arabia in August and failed only because of a code glitch, The New York Times reported.
Investigators declined to identify the suspected attackers, but people interviewed by the newspaper unanimously said that it most likely aimed to cause a blast that would have guaranteed casualties, AFP reported.
A bug in the attackers' code accidentally shut down the system instead, according to the report.
The cyber-attack was likely the work of hackers supported by a government, according to multiple insiders interviewed by the newspaper.
All sources declined to name the company operating the plant as well as the countries suspected to have backed the hackers, The New York Times said.
There was no immediate comment from Saudi Arabia, which has come under frequent cyber-attacks, including "Shamoon", the aggressive disc-wiping malware that hit the Saudi energy sector in 2012.
Saudi Aramco, the world's biggest oil company, was among the firms hit by Shamoon, which was believed then to be the country's worst cyber-attack yet.
US intelligence officials at the time said they suspected a link to the kingdom's regional rival Iran.
But the August attack was "much more dangerous" than Shamoon, according to The New York Times, and likely aimed to send a political message. Investigators said the code had been custom-built with no obvious financial motive.