I don't think you have to believe Western countries are morally blameless to think that Iran's use of spyware would probably have materially worse effects for whoever they spy on. It's clear to me at least that the West can both be blamed for the effects of colonialism and that the victims of colonialism can do plenty of bad things on their own.