A teenage computer hacker, from Kings Langley, pocketed nearly £400,000 by selling a virus to cyber criminals in countries including the US, Brazil and Australia.