Some attackers who fired rockets at the US embassy in Baghdad had links to security services, the Iraqi government has said.