On August 15, 2012, a wiper malware called Shamoon (also known as Disttrack) executed on approximately 30,000 workstations at Saudi Aramco, the world's largest oil company. At 11:08 AM local time - timed to coincide with the Muslim holiday of Lailat Al Qadr when much of the staff would be away - the malware began overwriting the Master Boot Record and file system of every machine it had infected, rendering them unbootable. By the time staff returned from the holiday, most of the company's desktop infrastructure in Saudi Arabia was inoperable.
Shamoon was not designed to steal data. It was designed to destroy infrastructure and send a political message. A group calling itself the Cutting Sword of Justice took credit, citing Saudi Arabia's "oppression and atrocities" against Bahrain, Yemen, Syria, and other countries. US government attribution pointed to Iran's IRGC cyber unit. The timing, scale, and target - the backbone of Saudi Arabia's oil revenue - made clear that this was a state-sponsored attack intended as a geopolitical message, not a criminal operation. It was, in August 2012, the most destructive cyber attack in corporate history. Five years later, NotPetya would dwarf it. But Shamoon established the template: use cyberweapons not to steal information but to destroy the adversary's economic infrastructure.
The Wiper Mechanism
Shamoon's destructive component was straightforward by technical standards - its power was in its deployment scale, not its technical sophistication. The malware consisted of three components: a dropper that installed and propagated the malware across the network; a wiper component that overwrote the MBR and file content; and a reporting component that sent data about infected machines back to the attackers.
The wiper replaced the Master Boot Record with a custom bootloader that displayed an image (in the original 2012 version, a burning American flag) and overwrote file contents with random data or a pre-specified image file. Once the MBR was overwritten, the machine could not boot into Windows. Once files were overwritten with garbage data, recovery required physical reinstallation of the operating system. For 30,000 machines, this was a massive operational undertaking - Saudi Aramco reportedly purchased most of the available global supply of hard drives during the recovery period to replace the wiped machines.
Attribution and Geopolitical Context
The Shamoon attack occurred in the context of significant tensions between Iran and Saudi Arabia. Saudi Arabia had supported international sanctions against Iran over its nuclear program. Iran had publicly blamed Saudi Arabia for its involvement in the Stuxnet attack against Iran's nuclear enrichment facility (Stuxnet was a US-Israeli operation, but the geopolitical context included Saudi support for containing Iran). The timing - hitting Saudi Aramco, the world's most valuable company and the financial foundation of the Saudi state - was clearly designed for symbolic and economic impact.
US officials attributed the attack to Iran's Revolutionary Guard Corps cyber unit. The attribution was based on intelligence that has not been fully disclosed publicly but included indicators within the malware itself and intelligence about the groups that had developed similar tools. Iran denied involvement, which has been consistent with Iranian policy on cyber operations. Shamoon returned in 2016-2017 with updated versions hitting Saudi government networks and petrochemical companies again, with the same attribution consensus.
The attack also hit RasGas, Qatar's liquefied natural gas company, in August 2012 - a related attack that occurred within days of the Saudi Aramco incident and used similar malware.
Recovery and Aftermath
Saudi Aramco's recovery from the Shamoon attack was extensive. The company reportedly purchased 50,000 replacement hard drives - one report cited that Aramco's purchase caused a global shortage of certain hard drive models. The company operated on isolated networks and paper-based processes for weeks while rebuilding. Oil production was not directly affected because the operational technology networks were isolated from the compromised corporate IT networks - a segmentation that proved critical.
Aramco subsequently invested heavily in cybersecurity infrastructure and became one of the most security-conscious energy sector operators globally. It established a dedicated Aramco Cybersecurity Center, implemented extensive network monitoring, and increased its operational technology / IT network segregation. The breach also prompted broader energy sector investment in cyber resilience across Gulf Cooperation Council states.