Marcus Hutchins, also known as @MalwareTechBlog. (Image: file photo)

Marcus “MalwareTech” Hutchins, the British security researcher known for stopping the WannaCry ransomware outbreak, has pleaded guilty today to writing malware in the years prior to his prodigious career as a malware researcher.

“I regret these actions and accept full responsibility for my mistakes,” Hutchins wrote in a statement posted on his website. “Having grown up, I’ve since been using the same skills that I misused several years ago for constructive purposes. I will continue to devote my time to keeping people safe from malware attacks.”

Up to ten years in prison

According to court documents obtained by ZDNet, Hutchins pleaded guilty to two counts, and the government agreed to drop the other eight.

He pleaded guilty to entering a conspiracy to distribute malware and aiding and abetting its distribution.

For each count, Hutchins faces up to five years in prison, up to $250,000 in fines, and up to one year of supervised release.

US authorities arrested Hutchins at the Las Vegas international airport in August 2017, when the researcher was trying to return home to the UK after participating…