A large car rally held in Brazil’s largest city has highlighted growing international expressions of support for Iran and its regional allies.