Story highlights The hack, which the DOJ said was initiated in January 2014, affected at least 500 million Yahoo accounts

Hackers stole data that included names, email addresses and passwords

Washington (CNN) The Department of Justice announced Wednesday that four people -- including two officers of the Russian Federal Security Service (FSB) -- have been indicted in connection to a massive hack of Yahoo information.

The hack, which the DOJ said was initiated in January 2014, affected at least 500 million Yahoo accounts. Some of the stolen information was used to "obtain unauthorized access to the contents of accounts at Yahoo, Google and other webmail providers, including accounts of Russian journalists, US and Russian government officials and private-sector employees of financial, transportation and other companies," the DOJ said in a statement.

Hackers stole data that included names, email addresses and passwords -- but not financial information, according to Yahoo's announcement regarding the breaches.

The officers of the FSB -- Russia's successor to the Soviet Union's KGB -- were identified as Igor Anatolyevich Sushchin, 43, and Dmitry Aleksandrovich Dokuchaev, 33. The two allegedly conspired with Russian national Alexsey Alexseyevich Belan, aka "Magg," 29, and Karim Baratov, aka "Kay," "Karim Taloverov" and "Karim Akehmet Tokbergenov," 22, who is a resident of Canada.

Dokuchaev was arrested in a Russian sweep in December and accused of spying for the US, a lawyer for one of the men charged with Dokuchaev said. A Justice Department official said the agency has not confirmed it is the same person and declined further comment to CNN.

Read More