According to a government insider, the Israeli government unilaterally activated the "Flame" virus to attack Iranian oil export facilities. This action led to the discovery of the virus that had been gathering critical data about Iran's computer system and nuclear program for the U.S. government, which was helping to avoid military action.
Despite their collaboration on developing the malicious code, the United States and Israel have not always coordinated attacks. Israel’s April assaults on Iran’s Oil Ministry and oil export facilities caused only minor disruptions. The episode led Iran to investigate and ultimately discover Flame.
“The virus penetrated some fields — one of them was the oil sector,” Gholam Reza Jalali, an Iranian military cyber official, told Iranian state radio in May. “Fortunately, we detected and controlled this single incident.”
Some U.S. intelligence officials were dismayed that Israel’s unilateral incursion led to the discovery of the virus, prompting countermeasures.The same government source told the Washington Post that "Flame" was developed as part of a joint cyber warfare project between the U.S. and Israeli governments, explaining how they were able to activate it with U.S. knowledge.