Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

swscan.apple.com in hosts file

Hi,


I noticed a few new entries in my macbook hosts file looking like this:


127.0.0.1swscan.apple.com


and so on..


I understand these are the addresses to the apple update services. It seems strange to me that these addresses are pointing to my local machine?

Does anyone know if this is suppose to be like this , or is someone trying to prevent my mac from updating?


Thanx for your replies!

MacBook Pro (Retina, 13-inch, Late 2013), OS X Mavericks (10.9.5)

Posted on Oct 4, 2014 1:52 PM

Reply
Question marked as Best reply

Posted on Oct 4, 2014 2:02 PM

That certainly isn't normal. Either you inadvertently installed something that edited your hosts file, or someone else did this on purpose.

30 replies

Oct 5, 2014 1:29 AM in response to Linc Davis

I know a virus is problably not what caused this, but non the less I figured it would be a good thing to do (using Sophos which is already getting really annoying.. ). Furthermore I've installed Little Snitch to keep an eye on my network traffic.


To be clear, I'm a 100% sure no one had physical access to my macbook. Maybe it was accessed over a network?

I'm really quite baffled by this and not sure what else measures I should take, so any further advice would be much appreciated!


Thanx again.

Oct 5, 2014 3:30 AM in response to Esquared

I needed to change my hosts file because I needed to point a domain name to my localhost (web development). I will change my password but I really think it's very unlikely that someone accessed my mbp. It has been in my house and unless someone broke in, figured out my password, changed my hosts file and then left without a trace (which by then sounds like a pretty crazy practical joke..) , no one had access. I'm only sharing my printer.


The only thing I did recently is adding a licence key. But this is from trusted software.


I'm quite new to osx but no stranger to windows. Are there any other settings I can check to be sure no one is trying to get into my mbp?


Again, thanx for all the effort!

Oct 5, 2014 3:57 AM in response to applemac1977

There really is no way to change the hosts file without authorization. So either someone who knew your password had physical or network access, or an installer of this or that application had a "little extra" on board.


Hold on... I suddenly realized it may have something to do with this:

http://www.thesafemac.com/iworm-method-of-infection-found/


Can you check your Mac for these items?

/Library/Application Support/JavaW/JavaW

/Library/LaunchDaemons/com.JavaW.plist

Oct 5, 2014 4:06 AM in response to Esquared

Wow! Yes these to files are present on my system! I read the article you mentioned.They are talking about illegal software. There is only 100% legal software on my mbp (and taking care in keeping it that way after coming from a windows environment..).


What will be the best way to move on from here? Should I just remove the files? Will that be enough?

Oct 5, 2014 5:01 AM in response to applemac1977

XProtect was updated last night (especially for this trojan). In System Preferences -> Apple Store deselect the 'Automatically look for....' option. And select it again.


The built-in Firewall (System Preferences -> Security & Privacy) should give you some extra protection.


As for the cause of "infection": there's still a lot of uncertainty there. So far the only sources that were found are modified installers of well-known applications. But there could be other sources too, like modified versions of harmless stuff like Flash Player installers.


You might add a post to this topic (reply to the post by thomas r. at the end): Re: mac.backdoor.iworm

Report the modification of the hosts file and the fact that, as far as you know, no illegal software was involved.

Oct 5, 2014 5:28 AM in response to applemac1977

I noticed a few new entries in my macbook hosts file looking like this:


127.0.0.1swscan.apple.com


I don't know what swscan.apple.com is, because I can't go to it using a browser.

What that line in your hosts file does is "prevent" requests for connection from going to that web site.

This technique is used as an adblocking method - preventing known adware sites from appearing when viewing web pages.

I wonder if some antivirus or adblocker software made these hosts file entries?


PS - just learned that swscan.apple.com is part of the Software Update system.

So, it seems your system was modified to prevent normal updates?

swscan.apple.com in hosts file

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.