You may need to check list of your browser plugins/addons/whatever-they-are-called. Something could’ve installed you an addon without asking you first. Had this happen in chrome once, saw it happen on other computers too.
If that’s system level malware (one that works with “hosts” file), it is a job for your antivirus program.