Roi Mizrahi and Almog Attias, 25, from Nesher, were in contact with an Iranian spy handler who issued instructions, including to set up spy cameras, the indictment alleges.
They were the exceptions that proved the rule: Israelis don't work for the enemy.
Cohen, who was hanged in 1965 in a downtown Damascus square after infiltrating Syria's political elite, is still regarded as a hero in Israel.
Syria had kept the files in a highly secret and secure location and it took time for the Mossad to locate and plan to take the files even after the Assad regime collapsed.
The suspect had reportedly collected intelligence around the hospital where former Prime Minister Naftali Bennett was hospitalized.
Rumors of Saleh's arrest and prosecution circulated on social media. One news source claimed that the singer had been working with Israel for "several months."
The judgment bolsters efforts by the United States government to draw red lines around the use of commercial spyware.
Dov’s frantic attempts at gaining a totally Israeli identity will resonate more with most viewers than the darker story about the conflict.
The status should make it easier for authorities to use secret methods to monitor the party.
Abouzar Rahmati worked as an FAA contractor and secretly fed Iran sensitive files on US aviation and solar tech to Tehran. He now faces up to 15 years behind bars.