“An Arkansas man has been sentenced to serve almost three years in federal prison for developing advanced malware that he knew would be used to steal passwords, surreptitiously turn on webcams, and conduct other unlawful actions on infected computers.”
Source: Developer gets prison after admitting backdoor was made for malice | Ars Technica