"If a country attacks us, we will both respond and go on the offensive," said Revolutionary Guards spokesman Hossein Mohebbi said.