Yahoo Messenger is an IM program.
avast IM Shield must/should take care of the infection. Otherwise, it’s avast fault imho.