A hacking attack involving a fake security certificate and Google services has hit users in Iran.