Vital US infrastructure including power grids and banking systems have been put under simulated attack in a week-long security exercise called Cyber Storm. The war game drew in 115 agencies from the FBI and CIA to the Red Cross, the Department of Homeland Security said. IT companies and state and foreign governments also played a role in responding to the mock attacks.

The exercise had given the US "an excellent opportunity to enhance our nation's cyber security," the US said.