Karim Baratov is shown in a photo from his Instagram account.THE CANADIAN PRESS/HO-Instagram

Canadian hacker sentenced to 5 years for major Yahoo security breach

American investigators say Karim Baratov unwittingly worked for Russian spies

A Canadian young computer hacker who American investigators say unwittingly worked for Russian spies was sentenced to five years in prison Tuesday for his role in a massive security breach at Yahoo that U.S. federal agents say was directed by a Russian intelligence agency.

U.S. Judge Vince Chhabria also fined Karim Baratov $250,000 during a sentencing hearing in San Francisco.

Baratov, 23, pleaded guilty in November to nine felony hacking charges. He acknowledged in his plea agreement that he began hacking as a teen seven years ago and charged customers $100 per hack to access web-based emails. U.S. prosecutors allege he was “an international hacker for hire” who indiscriminately hacked for clients he did not know or vet, including dozens of jobs paid for by Russia’s Federal Security Service.

Baratov, who was born in Kazakhstan but lived in Hamilton, charged customers to obtain another person’s webmail passwords by tricking them to enter their credentials into a fake password reset page.

RELATED: Charges against Canadian arrested in Yahoo hack may be ‘politically motivated’: lawyer

He was arrested in Hamilton in March 2017 under the Extradition Act after American authorities indicted him for computer hacking, economic espionage and other crimes.

After Baratov’s guilty plea, his lawyers told reporters he hacked only eight accounts and did not know that he was working for Russian agents connected to the Yahoo breach.

“He’s been transparent and forthright with the government since he got here,” lawyer Andrew Mancilla said at the time.

In August 2017, Baratov decided to forgo his extradition hearing to face the charges in California. His Canadian lawyer at the time said that the move was to speed up the legal process.

Meanwhile, U.S. prosecutors said in court papers that Baratov’s Russian-language website named “webhacker” advertised services for “hacking of email accounts without prepayment.”

They said Russian security service hired Baratov to target dozens of email accounts using information obtained from the Yahoo hack. Prosecutors argued that Russia’s Federal Security Service targeted Russian journalists, U.S. and Russian government officials and employees of financial services and other private businesses.

Baratov and his lawyers also said his work with the Russia spy agency was unwitting.

RELATED: Canadian accused in Yahoo hack posed ‘extremely high flight risk’: documents

The court documents allege Baratov claimed he could access webmail accounts maintained by Google and Russian providers such as Mail.Ru and Yandezx. He would provide customers with a screenshot of the hacked account and promised he could change security questions so they could maintain control of the account.

The U.S. Justice Department also charged two Russian spies with orchestrating the 2014 security breach at Yahoo to steal data from 500 million users. Dmitry Aleksandrovich Dokuchaev and Igor Anatolyevich remain at large and prosecutors believe they are living in Russia, which doesn’t have an extradition treaty with the United States.

He is alleged to have collected more than $1.1 million in fees, which he used to buy a house and expensive cars.

“Deterrence is particularly important in a case like this,” the judge said during the hearing. He rejected prosecutors call for a prison sentence of nearly 10 years, noting Baratov’s age and clean criminal record prior to his arrest.

Lawyer Amedeo DiCarlo, who represented Baratov while he was in Canada, said in an email that Baratov is satisfied with the court’s decision.

“The judge used all criteria possible to assist Karim and, given the time he had already served and the time expected to serve, he will be out in approximately three years,” DiCarlo said. ”The justice system worked for a man who took responsibility and I’m sure he learned many lessons.”

Baratov has been in custody since his arrest last year. He told the judge Tuesday that his time behind bars has been “a very humbling and eye-opening experience.”

He apologized to those he hacked and promised “to be a better man” and obey the law upon his release. The judge said it is likely Baratov will be deported once he is released from prison.

The Associated Press

Like us on Facebook and follow us on Twitter.

Just Posted

Ponoka’s Ronnie Racing wins Hot August Night

About 15,000 people filled the Castrol Raceway stands at the motorsports complex

Ponoka County residents divided on farmland uses

There were about 150 people at the county’s meeting related to reducing confined feeding operations.

Ponoka County slows changes to CFO plans

Residents speak their concerns over the potential of changing areas allowing CFOs

PHOTOS: Samson Cree Nation Pow Wow

The Samson Cree Nation hosted its annual Pow Wow, celebrating youth this year

Ponoka Traffic Unit investigate scooter incident

A motorcyclist appears to have lost control of her Suzuki scooter on Highway 2 north of Ponoka

‘We will not forget:’ Thousands attend funeral fallen Fredericton officers

Hundreds of officials marched in the parade, which included massed band, several police motorcycles

WATCH: Pioneer Days runs all weekend at Sunnybrook Farm

Red Deerians brave the smoke to celebrate Sunybrook’s biggest event

Ride to Reynolds Alberta Museum in Wetaskiwin

Smoky but awesome event celebrates everything ‘motorcycles;’ open Sat. Aug. 18 to 4 p.m.

Canadians believe in immigration but concerned about asylum seekers: study

Immigration, Refugees and Citizenship Canada paid for study to understand Canadian attitudes

These are the highest-paid actresses of 2018

In its list released this week Forbes said all 10 earned a total of $186 million before tax

Vintage vehicle subject of RCMP search

Two Hills RCMP seek to identify owner of recovered 1940’s vehicle

Canada’s tax system unfairly favours wealthy, poll of CRA auditors suggests

Four of every five respondents think loopholes and tax credits built into the system benefit the rich

Banff’s Sunshine ski resort upset with proposed guidelines from Parks Canada

The plan would allow for more visitors but wouldn’t let Sunshine build additional facilities

Publication ban lifted on details about Fredericton shooting that killed 4

Judge lifts publication ban on court documents related to the Fredericton shooting

Most Read