Actually, you are close.
For years, the Soviet Union funneled millions of dollars of arms and aid to various radical Islamic groups and regimes ("useful idiots") in its drive to foster worldwide terrorism on the road to world communist domination. In fact, if it wasn't for all that Soviet aid that went to these groups and regimes, there would probably not be problems with these groups anywhere near the scale of today. Yassir Arafat and his PLO was a major beneficiary of much of this aid (he is purported to have billions collecting interest in Swiss bank accounts), and if you study the history of Arafat and his murderous brigades, you will find that Arafat himself was never a fundamentalist Muslim, but a revolutionary Marxist. He merely utilized the underlying class hatreds to rally the fanatical Muslims under his terrorist umbrella. If you look at the photos of the intifada, you will see numerous red "hammer & sickle" flags side by side with "Palestinian" flags and green banners of Allah.