Here is one such case: http://www.scmagazineus.com/malware-to-blame-for-porn-on-sta...
I also recall a case of a teacher whose school computer had malware that ended up displaying porn in the classroom who was arrested and faced up to 40 years in jail. I'm pretty sure she was acquitted.