A former US counterintelligence officer who defected to Iran has been charged with revealing classified information to the regime in Tehran. Known inside the US government as "Wayward Storm," 39-year-old Monica Watt passed on the code name and secret mission of a Pentagon programme to Iran, as well as sensitive details about former colleagues that hackers in Iran used to target US intelligence employees online. The US Justice Department said in its statement on Wednesday about the charges that Ms Witt had assembled dossiers on eight US military intelligence agents she had worked with for Iranian hackers, who then used Facebook and e-mail to try to install spyware on their computers. She defected to Iran in 2013 and presumably still lives there, US officials said. "Once a holder of a top secret security clearance, Monica Witt actively sought opportunities to undermine the United States and support the government of Iran – a country which poses a serious threat to our national security," said FBI executive assistant director Jay Tabb, the bureau's top national security official. "She decided to turn against the United States and shift her loyalty to Iran," said Mr Tabb. "Her primary motivation appears to be ideological." Washington also charged four Iranian nationals who it said were involved in the cyberattacks. US officials also imposed sanctions on an Iran firm, Net Peygard Samavat Company, that it said conducted the hacking operation, and Iranian events company, New Horizon Organization, that it said works to recruit foreign attendees. Ms Witt remains at large in Iran, as do the four hackers, who prosecutors say were acting on behalf of the country's powerful, government-linked Islamic Revolutionary Guard Corps. That group, an elite branch of Iran's armed forces, has previously been designated by the US government as a terrorism supporter. Ms Witt faces two counts of delivering military information to a foreign government and one count of conspiracy. According to an indictment unsealed on Wednesday, Ms Witt served as a counterintelligence officer in the Air Force from 1997 until 2008 and worked as contractor for two years after that. During that time, she was granted high-level security clearances, learned Farsi at a US military language school, and was deployed overseas for counterintelligence missions in the Middle East. Ms Witt appears to have turned against the United States some time before February 2012, when she travelled to Iran to attend a New Horizon conference that featured anti-US propaganda. When warned by the FBI that trip that Iranian intelligence services were trying to recruit her, Ms Witt allegedly promised that she would not talk about her counterintelligence work if she returned to Iran. But later that year, she helped an unnamed Iranian-American official produce an anti-American propaganda film. "I am endeavouring to put the training I received to good use instead of evil," she told that person in an email. In February 2013, Ms Witt returned to Iran for another New Horizon conference and told officials there that she wanted to emigrate. She faced resistance for months. "I just hope I have better luck with Russia at this point," Ms Witt wrote her Iranian-American contact in July. "I am starting to get frustrated at the level of Iranian suspicion." She successfully defected in August 2013, after providing a resume and "conversion narrative" to her contact. "I'm signing off and heading out! Coming home," she wrote as she was about to board her flight from Dubai to Tehran. Provided with housing and computer equipment by the Iranian government, Ms Witt tracked down US counterintelligence agents she used to work with on Facebook, the indictment said, and disclosed the classified identity of at least one of those agents, according to the charges. Iranian hackers then set up fake Facebook personas to befriend those agents and attempt to install spyware that would track their computer activity, the indictment said. The hackers managed to gain access to a Facebook group of US government agents.