Ho Chi Mihn was a Comintern member, but the Viet Minh was a broader alliance that included nationalists and others as well alongside the communist party until it was clear that they would not be able to rely on the west for support. Ho even bean the Vietnamese Declaration of Independence with an explicit reference to the US Declaration of Independence [1], which he admired greatly.
And so on...
US governments kept throwing pro-democracy movements under the bus one after the other for large parts of the cold war in ways that made it trivially easy for the Soviet Union to buy themselves friends.
But try that with a colony or some place with a large US corporate presence (banana republic, anyone?) and you were begging for trouble.
Frankly the cold war seems in hindsight to be just an extension of the so called great game.
When someone like Jeremy Corbyn appears and challenges or threatens that consensus, you immediately get a determined media campaign to smear and undermine him - while barking mad racist demagogues are treated as serious political representatives without being questioned or challenged in the same ways.
United Fruit Company being a particularly nasty one to get on the wrong side of.
Its successor Chiquita as recently as 2007 pleaded guilty in US courts to aiding and abetting a Columbian terrorist organization, and got away with just paying $25m restitution, and the US government refused to allow extradition of any of the involved parties to stand trial in Columbia.
There wasn't really much of a choice. The west was sorta unofficially aligned with the Apartheid gov, so by default that puts revolutionaries on the soviet side. Idealogical the soviets were also a better fit.
Remember, you are a "3rd world" movement, European colonialism is still in full swing (though wavering), you are probably the wrong color and civil rights aren't a thing yet -Jim Crow laws are still being enforced in the US, and the apartheid government you are fighting have been aligned with the Allied powers (the west) since WW II.
Edit: corrected 'Allied' powers: had named them Axis by mistake