Being overly addicted to keeping copies of everything I have hostsold.txt still on the system and that shows that the line I removed was the last line in the file; The last 4 lines were:
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 accounts.google.com
What are the implications of that text?
that wouldn't have been a virus.
I guess you could craft it as a local direct and run a fake version of google on your machine via virus and that sent the creds to whoever wanted them.
Easier to create multiple routes on the net or just send a 100 million emails instead - that would yield better results