localhost is an injection attack of some kind so you obviously have a MTM that is located somewhere in Botswana. localhost malware was first used by the Kremlin in the 1940's, but they traded it away for their first nukes. It usually doesn't cause too many problems, but it is likely the cause of your browser history being loaded down with furry porn urls.
Just to be sure, format your drive, wipe your phone and also be sure to tell your neighbors to do the same since it can piggyback the ULF spectrum on your WiFi so it's virtually undetectable to anyone within about a 10 mile radius.
That'll be $199.99 for the tech support, please.