In his later account of the arrests, Molavi alleged that Kahzadian secured his release after agreeing to cooperate with the Intelligence Ministry. Barati, he claimed, was released later because he had effectively already become the ministry's informant inside the group.
A former acquaintance of Barati, who spoke to Iran International on condition of anonymity, said that process had begun even earlier, during his first arrest in 2010.
"Amir wasn't political at all," the acquaintance said. "The charges of propaganda against the Islamic Republic and insulting the Supreme Leader never made sense. He was arrested because of hacking. Once intelligence officials realised who they had, they recruited him."
According to the acquaintance, that decision fundamentally altered Barati's relationship with Iran's judicial system.
"That's why all the hacking charges disappeared and his one-year prison sentence was never enforced. After that, as long as he remained in Iran, he wasn't imprisoned again—even when private complainants filed cases against him. He had complete immunity."
Iran International could not independently verify those claims. But court records reviewed during this investigation show that Barati's only prison sentence was quietly abandoned despite reaching the enforcement stage, and that he continued to avoid incarceration despite later criminal complaints.
Meanwhile, neither of the hacking groups he had founded disappeared.
Digital Boys Underground and Iran Black Hats remained active for years after his alleged recruitment. Archived records show that the groups continued attacking Iranian and foreign targets alike, leaving behind the same distinctive digital signatures that had made them well known in cybersecurity circles.
Researchers say it remains unclear how many of those attacks involved little more than website defacement and how many led to data theft or extortion. But the volume of activity was substantial. Among the documented targets were Iran's National Educational Testing Organization and the Industries and Mines Organization of Hamedan Province, alongside hundreds of overseas institutions.
One cybersecurity expert said the groups often appeared less interested in causing visible disruption than in demonstrating they had penetrated a system.
"Apart from leaving the group's name, they usually published nothing," he said. "Sometimes they simply left a file in one of the site's directories."
The pattern of apparent judicial protection extended beyond Barati.
Between 2013 and 2019, Kahzadian was convicted at least four times on charges related to hacking and online fraud, receiving prison sentences totalling more than three-and-a-half years in addition to financial penalties. Yet Iran International found no evidence that he ever served those sentences.
While his legal troubles appeared to fade, Barati's lifestyle changed markedly.