Many of the alleged cyber attacks were carried out for the Iranian government, the Department of Justice says.