NEW YORK (Reuters) - A computer hacker was sentenced to 24 months behind bars on Friday for launching a virus that infected approximately 100,000 computers worldwide and directed them to attack media outlets that carried stories about him, federal prosecutors said.