Anonymous and other hacking groups have organized online to orchestrate cyberattacks on Iranian officials and institutions.