Slashdot Mirror


Microsoft Bypasses HOSTS File

whitehatlurker writes "Dave Korn announced on the Full Disclosure and Bugtraq security lists that Microsoft is bypassing local lookups for some hosts, meaning that you can't locally block some sites through your HOSTS file. All of these sites are MicroSoft controlled sites. The general feeling in the rest of the thread is that this was to obfuscate these hosts and prevent them from being blocked by malware. However, there are no non-MicroSoft hosts listed, giving a competitive advantage for MicroSoft's anti-malware tools over other brands."

69 of 459 comments (clear)

  1. Not a useful thing for MS to do by mgv · · Score: 5, Interesting

    I would have thought that if you cant subvert the HOSTS file then all you have to do is to intercept any DNS lookup of these MS addresses and you would have the same effect.

    If you are trying to stop MS software from talking to home, then just use an external firewall.

    Michael

    --
    There is no cryptographic solution to the problem where the intended receiver and the attacker are the same entity.
    1. Re:Not a useful thing for MS to do by Surt · · Score: 2, Informative

      It turns out to be easier to subvert the hosts file than to intercept DNS lookup. There's a really easy way to replace the hosts file from an activex script. How you would subvert DNS from the same point of attack is unclear.

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
    2. Re:Not a useful thing for MS to do by whoever57 · · Score: 3, Interesting

      What is there to stop a virus making edits to the dll binary? Changing the strings that presently correspond to the IP addresses of MS domains to some random, invalid address?

      --
      The real "Libtards" are the Libertarians!
    3. Re:Not a useful thing for MS to do by x0n · · Score: 4, Informative

      >What is there to stop a virus making edits to the dll binary? Changing the strings that presently
      >correspond to the IP addresses of MS domains to some random, invalid address?

      Yes, there is a mechanism built into Windows which uses digital signatures and a watchdog to prevent accidental (or deliberate) changes to sensitive DLLs. Any binary changes to any file will invalidate the signature on the DLL. This is more effective than tripwire or other such things whereby a checksum is held in another location since the DLL itself is signed using a PK and cannot be re-signed to hide the changes.

      Windows File Protection: http://support.microsoft.com/?kbid=222193

      - Oisin

      --

      PGP KeyId: 0x08D63965
    4. Re:Not a useful thing for MS to do by Nasarius · · Score: 2, Insightful

      Except it's not very effective, is it? Is there anything stopping a system-level process (eg, malware) from grabbing the window handle and sending the appropriate keystrokes to dismiss the prompt? I haven't tested it myself, but I've used that technique successfully for the "unsigned driver" warnings. WFP lets you keep the unsigned driver/DLL with no further warnings if you press two buttons.

      --
      LOAD "SIG",8,1
  2. Is this necessarily a bad thing? by BluhDeBluh · · Score: 5, Interesting

    It helps prevent Malware. Sure, MS might have a slim advantage, but it also prevents otherwise botted PCs from accessing MS Updates against things like Blaster. I don't see this as being such a big deal.

    1. Re:Is this necessarily a bad thing? by Morvandium · · Score: 5, Informative

      I agree. In addition, as much as I may think they should include other sites on that list, those other sites do not play into what MicroSoft sees as the "integrity" of their product. They're not out to make sure that you can get the latest update of Apache or OpenOffice or whatever; they want to make sure that you can update Windows to the latest version (one that might actually stop the malware they're trying to protect from) or get to a place where you can ask MicroSoft a question (which they may or may not answer, and if they do, the answer to which may or may not be helpful), or, heaven forbid, get to a place where you can order a new MicroSoft product (probably because you haven't realized it will have similar flaws to your current and older MS products).

      --
      "If God's on our side, he'll stop the next war." -- Bob Dylan
    2. Re:Is this necessarily a bad thing? by jpatters · · Score: 2, Interesting

      What this is just replacing the hosts file with something more obscure, the malware writers will simply learn how to modify it to do what they want. Meanwhile, you will have a false sense of security.

      --
      "Remember, there never were pineapple-almond cookies here."
    3. Re:Is this necessarily a bad thing? by NutscrapeSucks · · Score: 2, Informative

      Actually, there's an anti-spyware available from Windows Update called "Malicous Software Removal Tool". I think it only targets the most common and popular types of hacks,

      --
      Whenever I hear the word 'Innovation', I reach for my pistol.
    4. Re:Is this necessarily a bad thing? by quarkscat · · Score: 5, Insightful

      Absolutely, yes, it is a bad thing.

      Microsoft has:
              instituted not only License 6, but also "phone home" validation. At any time, MS may
              decide to shut down any business worldwide that uses their products, at their (or a
              malviolent government's) discretion;

              embraced and extended(tm) LDAP with kerberos authentication that is not industry-
              standard or cross-platform compatible;

              embraced and extended(tm) web browser standards that have made Internet and
              platform security a nightmare;

              implimented a software firewall (XP SP2) that doesn't actually control/restrict all
              incoming and outgoing packets, making the use of a third party (H/W?) firewall
              less redundant and more actually necessary;

              stripped nearly all OS improvements out of their upcoming flagship OS, excepting
              Digital Rights Restrictions -- which may also remotely disable or remove products
              and/or services which they choose to disallow for any reason.

      Bypassing DNS and the hosts file on the OS platform is their "camel's nose under the
      tent flap" for future modifications to the network stack, all in the name of their brand
      of "security", which is (frankly) appalling. Given Microsoft's current product direction,
      it is not outside the realm of possibility that the future average computer user's
      experience will be some cross between a WebTV and an XBox.

    5. Re:Is this necessarily a bad thing? by houstonbofh · · Score: 2, Insightful

      The problem I have is that it's My PC! It is not Microsoft's (as much as they want to believe it) or Sony's or Star Forces, but Mine. I am sick to death of companies trying to protect me from ME and preventing me from using my devices as I want. Try and put a good Cisco WiFi card in the mini-pci slot of a HP, Compaq, or IBM laptop. "Unauthorized wireless network card detected. System halted..." Try using a car charger for any RAZR phone on a Verizon RAZR phone. "Unauthorized Charger." When you sell me something, IT'S MINE DAMNIT!

      Sorry, I just had to vent...

    6. Re:Is this necessarily a bad thing? by DrSkwid · · Score: 5, Funny

      > I didn't even know about the hosts file until 5 minutes ago

      and already you feel qualified to comment

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    7. Re:Is this necessarily a bad thing? by Hex4def6 · · Score: 2, Interesting

      He speaks the truth.

      I have some older Thinkpads, and they all give a similar message, although I found a hack on the net that allowed one to bypass this restriction. You still get the message at bootup though, and have to press "ESC" to continue, which is a pain.

    8. Re:Is this necessarily a bad thing? by Escogido · · Score: 2, Insightful

      In a way, it is. This is a part of the price that you pay for these things actually existing, and existing for the prices you have them. When you get sold something it's yours as sold, not as you want it to do. If you don't like it, don't buy it, it's as simple as this.

      Please realize that in order for the corporations to meet business targets, it is sometimes needed to cut off competition like that. If you had the right of getting every piece of equipment being compatible with everything else out there, then you might find yourself in a world where aforementioned pieces are delayed or don't exist at all, because selling these (and funding R&D in the first place) wouldn't be financially viable.

      So this is a trade-off of sorts: you get a worse-compatibility item for better prices and better availiability. How much would that RAZR cost if you could use any charger you like? And would Verizon even bother?

      Now, I'm not defending Microsoft in this particular case, since your post didn't either. I'm just trying to be fair to evil corps (gasp!). After all, there is still free market and if there is enough of likes of you who have a desire of "mine damnits", then there is demand and someone will surely fill the supply.

      And if not... well then I guess there's a lot that I'd like myself to use, too, but does not exist/costs too much as well.

    9. Re:Is this necessarily a bad thing? by Paradise+Pete · · Score: 2, Insightful
      I didn't even know about the hosts file until 5 minutes ago so would it have effected[sic] me? No.

      I think he must have had you in mind when the Sony exec said "Most people I think don't even know what a rootkit is, so why should they care about it?"

  3. So what? by nametaken · · Score: 4, Insightful

    People should know by now, when you go MS, you don't buy the horse, you buy the farm. You wanna segment and pick and choose on the MS platform? Good luck.

    1. Re:So what? by Aaden42 · · Score: 5, Funny

      No, no... You just *license* the farm. MS still owns it. For a nominal fee, they'll let you step in the cow pies every second Tuesday.

  4. Ad blocking by aembleton · · Score: 5, Interesting

    Microsoft could also be using this to prevent users from blocking MSN messenger ad servers.

    1. Re:Ad blocking by MT628496 · · Score: 2, Interesting

      I don't really think so. The types of people who run adblocking software are usually more technically advanced. Chances are that they won't be going to things like msn.com anyway and if they have to go to windows update, they'll be going whether there are ads or not.

      Doesn't the adblock firefox extension just not display the images from certain hosts? Programs that block ads by editing the hosts file remove things before they even get to adblock. I suppose that's the real reason that I don't really think so.

    2. Re:Ad blocking by forgotten_my_nick · · Score: 2, Informative

      why not just block them at the router level? or am I missing something obvious?

  5. Permissions? by tomstdenis · · Score: 4, Insightful

    tom@localhost ~ $ ls -l /etc/hosts
    -rw-r--r-- 1 root root 519 Oct 19 12:13 /etc/hosts

    ....

    Why can't windows just make the host files read only.

    --
    Someday, I'll have a real sig.
    1. Re:Permissions? by tomstdenis · · Score: 4, Insightful

      Yes, but the motivation to ignore the hosts file is because of viruses that could overwrite it.

      So ... if a user level virus couldn't write to the host file ...

      Think about it.

      Tom

      --
      Someday, I'll have a real sig.
    2. Re:Permissions? by v1 · · Score: 4, Insightful

      Windows security is as effective as a screen door on a submarine.

      It'd take the malware makers about an hour to find any of the what, probably 80 holes that would let them go around such windows security. A back-and-forth battle like that could easily go on for months if not years. In unix, security and permissions are the foundation, on top of which everything is built. In windows, security is a hack that was added on later with no due consideration during the initial design phase of windows. It's no wonder it's next to impossible to get it to work the way you want it to.

      When you are designing security, the sad truth of it is, the user is the enemy. There's no nicer way to look at it. So it takes a great deal of care to design a security system that can withstand the assult of a user while at the same time being functional and serving the user. It's too late for windows to make those design considerations. They have errored on the side of functionality and sacrificed the security of the system. There is no fixing that.

      --
      I work for the Department of Redundancy Department.
    3. Re:Permissions? by Teancum · · Score: 2, Insightful

      Of course this is also following the assumption that the administrator of the systems you are talking about are also not the users who are on the computer systems.

      The whole admin/user philosophy is based on the religion called the "High Priesthood of the Computer Temple", where you have to make special requests to a special unique class of individuals who control computer resources.

      As for PC operating systems, in particular Microsoft OS platforms, they were designed for independent system operations where the primary user was considered not only the "user" but also the "administrator". While in practice that may seem silly in a corporate environment (leading to fights between the ancient priests and the jonny come lately PC users), it is a fact of life.

      I understand where you are coming from in this post, but it really is the result of the clash of two cultures, and Microsoft pretending that it is supporting one culture when its roots are firmly established in the other. And why security flaws like this abound.

    4. Re:Permissions? by secolactico · · Score: 4, Insightful

      So ... if a user level virus couldn't write to the host file ...

      Which leads us back to the primordial Windows security problem: users running with admin priviledges.

      In the example you provided in the previous post, /etc/hosts is writable only by root. If user runs as root all the time, then it's back to square one.

      As far as I know Windows host file is only writable by Administrator level (dunno, I don't have a Windows machine with me right now). Is it otherwise?

      --
      No sig
    5. Re:Permissions? by saleenS281 · · Score: 5, Insightful

      funny, I see write access by root there. And last I checked, when malware *owns* windows, it's local root, which means the permissions you speak of would amount to absolutely nothing... And btw, you can make it read only to normal users, but again, this would accomplish nothing.

    6. Re:Permissions? by Homology · · Score: 5, Funny
      So ... if a user level virus couldn't write to the host file ...

      Think about it.

      Dear Tom,
      this is Slashdot and the term "think" does not apply.

    7. Re:Permissions? by fermion · · Score: 2, Informative
      So why does the host file have to live in userland, or why can't the computer prompt for the user to verify identiy when certain dangerous operations are about to occur.

      By MS doing this Host file management, they are admitting that most users don't use or know the host files, and the most probable reason for host file change, expecailly as it relates to MS, is an attack.

      I should, in my user account have a wide variety of leeway. If I mess up, I or my qualified agent should be able to go to an admin account and troubleshoot. This measn that as long as I am running XP as a user, that should not mess up the admin host file.

      When I think about this it seems that this seem like guns for airline pilots. We really don't want guns on board an aircraft. The proper fix is to make the cockpit an extremely secure location so that pilots can do thier job, which is not battle terrorists, but fly the plane. It has been shown that as long as a pilot is in control, and given certain leeway, the pilot has a good chance of halting dangerous activity with minimal danger. But simply securing the cockpit is not sexy enough and does not satisfy the ulterior motvies, so we find this other silly thing that does not help much, but does promote secondary goals.

      --
      "She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
    8. Re:Permissions? by Foolhardy · · Score: 3, Informative
      On Windows Server 2003 SP1:
      C:\WINNT\system32\drivers\etc\hosts
      BUILTIN\Users :R
      BUILTIN\Power Users:R
      BUILTIN\Administrators:F
      NT AUTHORITY\SYSTEM:F
      Normal and power users get read, Administrators and SYSTEM get full control, all inherited from the drivers directory.

      You're absolutely right about the root problem as running everything as admin. Almost all the malware that I've seen fails miserably unless run as admin, and that which does run can't infect the entire system. I guess the users that know enough to run as a normal user are the same ones that avoid that crap in the first place.
    9. Re:Permissions? by Omaze · · Score: 2, Insightful

      > The problem is everyone runs Windows as an Administrator, not a user.

      Only because people always need admin priveleges at the most inopportune times. Sure, you only need to be Admin for 2 seconds, but if you're doing anything technical with the system, you need them every 5-10 minutes. In these situations Run As is at best, cumbersome, and in many cases outright incapable.

      If Windows wanted to be truly innovative there would be a way to supply an Admin password, temporarily upgrade privs to Admin, and then have a button available to immediately downgrade.

      I'd like the IP on that idea since it'll be central to making a GUI OS both secure and functional.

      --
      The government itself is not stealing your liberties. Their new programs are enabling criminals who will.
    10. Re:Permissions? by jb.hl.com · · Score: 2

      I'm sure it's lovely for you to be able to sit and say that Microsoft are complete retards, but truth is that for a company whose No. 1 business is making and selling software (or at the very least licenses to use that software) I'd expect them to have some pretty smart individuals working for them.

      --
      By summer it was all gone...now shesmovedon. --
    11. Re:Permissions? by Alioth · · Score: 2, Insightful

      In the single user, single tasking non-networked PC world of the 1980s, the idea of the user always being the administrator was fine and not harmless. However, you can't take this model into the networked multi-user world and expect it to work. If Microsoft expects its software to work in the networked world, they must drop their single user single tasking philosophy.

  6. It's a Big Deal because... by TubeSteak · · Score: 5, Insightful
    As mentioned in TFA's thread:
    2) As far as I know, their malicious software removal tool didn't exist back when this behavior was created, so what good was keeping access to Microsoft open going to do an infected system? What good does it do to install a patch for a vulnerability that's already been exploited onto the computer of the archetypal "home user"?
    MS hardcoded this in with WinXP SP2 & Win2k3 SP1.

    Why? Maybe someone will get a comment from MS.

    The point is that mucking around with the inner workings of the OS is BAD, unless it is documented appropriately. Now, documentation doesn't make it good, but if they're departing from the expected behavior, they should let people know.
    --
    [Fuck Beta]
    o0t!
    1. Re:It's a Big Deal because... by slashname3 · · Score: 2, Insightful

      The point is that mucking around with the inner workings of the OS is BAD

      Stated like you control and/or own the OS running on your machine. This is just another example showing how Microsoft feels they should be the ones to control your system. There are many examples of this. Patches for applications that change things in the core operating system are common. Why a patch for office should change things in the OS never made any sense. But then Micrsoft knows best.

  7. Potentially unfair... by Maul · · Score: 5, Insightful

    The main problem is not that you can't block MS addresses, it is that MS is only preventing their addresses from being blocked. Since they are now getting into the security business, this gives them what could be seen as an unfair advantage.

    Let us say that Joe User gets a piece of Malware, so he decides to visit a security company to find a solution to his problem. However, the malware has modified his hosts file to block security company web pages from being accessed, which is extremely typical. Joe User is not experienced enough to even know there is a hosts file that he could change back.

    Joe User's first attempt would likely be to norton.com, symantec.com (both go to Symantec's main page), or mcafee.com, since these names are pretty much synonymous with antivirus software. However, all of those are blocked and he can't access them.

    However, if he goes to microsoft.com, he can go there since the hosts file is subverted in the OS. Since he can't spend the time to figure out why he can't access the others, he purchases Microsoft's AV solution.

    --

    "You spoony bard!" -Tellah

    1. Re:Potentially unfair... by harlows_monkeys · · Score: 2, Insightful
      Let us say that Joe User gets a piece of Malware, so he decides to visit a security company to find a solution to his problem. However, the malware has modified his hosts file to block security company web pages from being accessed, which is extremely typical. Joe User is not experienced enough to even know there is a hosts file that he could change back

      This is why antivirus/antispyware software should check for updates by IP address. If it can't find the update servers, only then should it do a DNS lookup, and then it should do it with its own built-in resolver, that starts at the root servers and works its way down.

  8. Yet Another Band-Aid? by displaced80 · · Score: 4, Insightful

    Hmm. This seems a bit ass-backwards to me.

    Rather than having to ignore the HOSTS file because it may be malicious, shouldn't the solution be to prevent HOSTS from getting mangled in the first place?

    (oh, and on an unrelated note: why on earth is the Win32 HOSTS file buried away under C:\Windows\System32\Drivers\etc\? I mean.... 'drivers'?!!? Bizarre.

    --
    What's the frequency, Kenneth?
    1. Re:Yet Another Band-Aid? by idesofmarch · · Score: 5, Informative

      The solution exists. Running as standard user in Windows XP will prevent changes to the hosts file.

    2. Re:Yet Another Band-Aid? by moosesocks · · Score: 4, Interesting

      I've always found the /etc/ to be the funniest part of that path.

      This is one of the telltale remaints of the BSD-derived TCP/IP stack that NT/XP uses.

      Although the stack itself has been heavily modified, using /etc/ as the location for the hosts file still remains, along with other little hints -- ftp.exe is almost identical to the BSD FTP utility. BSD also gets properly credited in the XP copyright notice

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
  9. MSN by Joe+U · · Score: 2, Insightful

    The only thing that troubles me is the inclusion of MSN.com in the list.

    The other hosts are used in Microsoft's patch distribution network and honestly is not something the average user would ever need to block. It is, however, something a virus/spyware program would love to block. So, if you want to block those hosts, buy a firewall, they're down to about $20.

    As for MSN, my only guess is that they don't want to block updates for MSN messenger.

    What we have to remember is that these sites are required to fix a broken system, so I don't view this as just an advantage for MS antispyware.

    1. Re:MSN by mrraven · · Score: 3, Informative

      20 dollars, try free, like AVG. AVG is pretty nice it operates in stealth mode so your computers ports are invisible to probes and alerts you when any new program tries tries to phone home. And no I'm not affiliated or invested in AVG in any way I just think it's cool they make a good firewall available for free.
      Yes it's propitiatory and closed source but at least free as in beer, shrug.
      Anyway I only run Windows in a virtual pc. sandbox so it won't infect my real O.S.

      --
      Tired of all the isms, don't exploit people as an employer, or a government, mmmmK?
  10. Smart move from M$ by Fantasio · · Score: 3, Insightful
    How long before somebody poisons these adresses in the DNS servers ?

    An automatic update of WMP and your PC gets owned, and nothing can be done to prevent it!

    1. Re:Smart move from M$ by gclef · · Score: 2, Insightful

      Patches from MS are cryptographically signed. You need to do more than just poison teh DNS for these hosts. You need to either steal MS' private signing key or break RSA.

      Let me know if you manage the second one.

    2. Re:Smart move from M$ by HermanAB · · Score: 2, Informative

      You don't need to break RSA - just replace the DLL that handles RSA with one that does nothing. Remember the PC is compromised - so the virus/spyware maker can do that and I think they have done it in the past.

      --
      Oh well, what the hell...
  11. Re:How is this a competitive advantage? by MooUK · · Score: 2, Informative

    Because using an IP address for the program to access causes problems if your server's IP changes. Simple as that.

  12. Would be ok... by thefogger · · Score: 3, Insightful

    ...if Microsoft had documented this behavior. Yet still, I fail to see what the big deal is. So you can't force an IP address to a domain with hosts.txt for some sites that microsoft controls. If you need to do that, for example for some corporate filter or updating solution, you could just modify your own dns server. Home users on the other hand get more reliable access to windows update, which is very important. Otherwise it would be trivial for malware to block the computer from recieving updates, and the automatic updates would silently fail.

    Cheers, Fogger

    --


    Um... I didn't do it!
  13. Route to null by PlusFiveTroll · · Score: 5, Informative

    If the adware can change your hosts file then this is pretty useless anyway. Now all the software has to do is run a script that does the following

    nslookup whatever.microsofts.domains
    takes the list of return addresses and
    route ADD destination MASK mask INVALID INVALID INVALID foreach

    and your traffic to MS wont even leave the network card.

    1. Re:Route to null by MikeBabcock · · Score: 2, Informative

      ... which is why you'd change it to 10.0.0.254 which is an IP of a machine on your LAN with no forwarding allowed.

      --
      - Michael T. Babcock (Yes, I blog)
  14. Interference with my sig! by Teun · · Score: 3, Funny
    How nasty of MS to interfere with my sig!
    Now I'll have to include a disclaimer...

    Just another reason to continue using a more robust system :)

    --
    "The likes of Facebook and WhatsApp are free to those whose privacy is of zero value."
  15. Sensationalism by Anonymous Coward · · Score: 3, Insightful

    Who cares?

    Nothing prevents you from not using the operating system's resolver. Its trivial to implement your OWN DNS client in your programs, bypassing any HOSTS settings and other DNS resolver issues.

    I've never seen so many people who were so clueless and misinformed about the technical issues involved here.

  16. I couldn't reproduce this on Win2K. by khasim · · Score: 3, Interesting

    I'm wondering if the behaviour will change if you just go into "services" and disable the DNS client.

    I recommend this anyway. In theory it will increase the number of requests your machine does. But in practice it has saved me a lot of "try rebooting" calls.

    Anyone out there with XP who can reproduce this?

    1. Re:I couldn't reproduce this on Win2K. by pla · · Score: 4, Interesting

      Anyone out there with XP who can reproduce this?

      Good idea, but no luck. Same result, though with one slight difference which might prove useful as a workaround - The first attempt timed out, meaning it really performs the query rather than having a hardcoded list of IP mappings. So if you ran a cacheing DNS proxy on your machine (ie, exactly what the built-in DNS service does, but one not containing a built-in Microsoft hack), pointed your machine's DNS to itself, and tell the proxy to use a bogus address for the sites in question, that should successfully block them.

      Better to do this at the firewall, though (a real external hardware firewall, not Microsoft's "trust us, this works" crap).

    2. Re:I couldn't reproduce this on Win2K. by pla · · Score: 2, Interesting

      So if you ran a cacheing DNS proxy on your machine

      Just an update - I just set up exactly such a proxy (DNRD) on my masq'ing gateway, and it works like a charm. So MS hasn't done anything too sophisticated to get around blacklisting them, just enough to count as a nuissance.

  17. Monopolies by Tony · · Score: 5, Insightful

    A court of law has determined that Microsoft is a monopoly. One of the anti-trust regulations specifies that you cannot use your monopoly power to force your way into another market; that was the heart of the conviction against Microsoft in the Netscape case. Microsoft used their monopoly to oust Netscape as the dominant browser by bundling, which is illegal.

    Now they are using that same monopoly power to take over the anti-malware market.

    I'm rather ambivilent about this. On one hand, it is just one more case of Microsoft waiting for a market to mature, then forcing their way into it. On the other hand, this market wouldn't exist if it wasn't for their own shoddy products, so it's really Microsoft's reponsibility to fix it. However, malware protection software isn't the correct answer, it's just the most expedient, with a potential for additional profit.

    All-in-all, it's just Microsoft's usual game: own the system, rig the system, use that to take over another system. Keep secrets, and act all coy when your secrets are discovered.

    --
    Microsoft is to software what Budweiser is to beer.
    1. Re:Monopolies by toddestan · · Score: 3, Insightful

      How did Microsoft financially benefit from Internet Explorer's dominance? IE is and always has been a free product. More relevant to this topic

      Back in the day, Netscape was developing web applications. This was kind of scary for Microsoft, as this shifted the focus away from the operating system and to the browser. Back then, Netscape ran on almost everything (Windows, Mac, Linux, BSD, OS/2, etc), and if in the future the user did all their work under web applicatons, then suddenly the underlying OS would become less important. Why spring for a Windows license to run Netscape when you could download Linux for free?

      So Microsoft's response was Internet Explorer. At first it seemed that Microsoft was going with the Netscape route of supporting multiple platforms, but they quickly killed off everything but IE for Windows (Except for the Mac version, which lingered on quite a bit longer before finally getting axed). From there they made their browser not quite standards compliant (but close enough to get people to switch to it), and created ActiveX. They then integrated all of this into Windows and their respective server software. This made it easy for people to create Web applications and content that only worked properly under Internet Explorer for Windows, and many of these ended up being made - particularly for company intranets. At first, this seemed great for companies that basically ran Windows everywhere, but it also locked them into Microsoft's software. This is likely one of the reasons why Windows is still so dominant on the desktop, and is also one of the main reasons why in the bizarro-land of slashdot circa April, 2006, Mac users are so excited about running Windows on their Apple machines.

      Of course, the threat of Web applications is coming around again, with open standards like XML threating to make your choice of OS less revelevent, and even your choice of browser unimportant (so long as it supports the open standards). I'm not sure what Microsoft has in store for this round (if anything), as IE7 seems to be too little, too late - and the popularity of Linux and OSX growing.

      So in conclusion, Internet Explorer wasn't so much about crushing Netscape Navigator, as it was about crushing Web applications that could run everywhere.

  18. The problems with this by bobbutts · · Score: 2, Insightful

    The real problem with this is that: 1. It wasn't documented, so people had to discover this non-intuitive exception. 2. It defeats the purpose of the hosts file. Had they also included the other AV vendors in the list and made the function public it may have seemed like a practical band aid to the hosts file hijacking problem. Instead they made it M$ only and hid it so it looks slimy. The issue is being addressed is also PEBKAC related.. If Windows users weren't logged in as admin the hosts file would be off limits.

  19. FUD flying low again by Opportunist · · Score: 2, Insightful

    "Safeguarding" your hosts file against tampering is pointless. Yes, a few trojans toy with it. The ONLY place that's ever redirected afaik is updates.microsoft.com.

    So this is going to be celebrated as the hack against malware that keeps you from updating. Ohhhh great. Ok, next move from the malware writers is simply to keep a thread running that checks if something is coming in from the "unwanted" sites. If so, it's deleted before execution. Problem solved.

    There is no techical solution for social problems.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    1. Re:FUD flying low again by Keeper · · Score: 2, Insightful

      That's the most ass-backward dumbass statement I've ever read.

      In summary: "Making a system harder to attack makes us more vulnerable to attack."

      Using that logic, I would encourage you to place your box on a direct connection to the internet, enabling telnet access via the root account, and allowing the root account to login without a password.

      After all, using a password would encourage a hacker to hack telnet which would be harder to observe. And if you didn't have telnet on they'd attack some other part of the system you didn't know about. And if you had a firewall, a hacker would have to get through that first, and you can't even check for that on your computer!

      </sarcasm>

  20. Re:Hotels on Park Place by BradleyUffner · · Score: 2, Insightful

    Maby because it's not illegal?

  21. So whats the big deal by poind3xt3r · · Score: 2, Informative

    If you want to bypass the hosts file all you need to do is connect by using the IP address as opposed to the DNS name. Sure it seems a bit more complicated or problematic (incase DNS->IP pointing changes) but Im sure all malware programs would rather specify an IP instead of DNS. I would if I was creating a malware program :-)

  22. Re:They control the haiku by Psykechan · · Score: 3, Interesting

    (And my troll is in Haiku)

    Windows xp still better
    need to run useful software
    Mac and Linux are toys


    that is not quite right
    both the troll and the haiku
    are somewhat lacking

    but please understand
    Mac and Linux are not toys
    just other systems

    Windows has problems
    while it does have more software
    it is insecure

    please try something else
    you might find that you like it
    don't stagnate yourself

    if end users switch
    developers will follow
    more software for all

    so please help yourself
    and help the rest of the world
    try something else

    if you don't like them
    that is your prerogative
    simply don't use them

    but I'm warning you
    going back is much harder
    but it is your choice

    other OSes
    few viruses and malware
    true computing bliss

    as for poetry
    haiku sylable count is
    5-7-5

  23. Re:WHY? by Mister+Transistor · · Score: 4, Funny

    IIRC, it's a hangover from Windows 3.1 or maybe Win95.

    --
    -- You are in a maze of little, twisty passages, all different... --
  24. not very effective, indeed! by hackwrench · · Score: 2, Informative

    -Considering the most popular non-microsoft patches are to tcpip.sys and uxtheme.dll

  25. rest of the FD thread by Cally · · Score: 2, Interesting

    Here's a threaded view of the Full Disclosure thread, rather than the first follow-up post to Dave Korn's OP, which the story submitter seems to have decided would be a better way... http://archives.neohapsis.com/archives/fulldisclos ure/2006-04/thread.html#268

    --
    "None are more hopelessly enslaved than those who falsely believe they are free." -- Goethe
  26. Re: Wrong Wrong Wrong! by mpapet · · Score: 2, Informative

    If only most applications could run properly with user-level permissions.

    I admin a tiny number of desktops and not one of them worked with user-level permissions.
    -Mysterious errors
    -Application functions that simply did not work.

    These are *very* generic XPSP2/Win2k desktops with Office 2K/2003.

    Initially, I was not deterred. With every hurdle crossed with ugly hacks, there was yet another error with no documented solution.

    Someone posted a link to NIST(?) documentation that I eventually used. It's by far the best way to do a job that the OS was never designed to perform.

    Mod parent way down

    --
    http://www.maxineudall.com/2010/02/should-economists-be-sued-for-malpractice.html
  27. Re:Well by TCM · · Score: 2, Insightful

    Upon further thinking, this whole article is flawed and perverted.

    "Microsoft is bypassing local lookups for some hosts, meaning that you can't locally block some sites through your HOSTS file."

    I already said why that's stupid anyway.

    "All of these sites are MicroSoft controlled sites. The general feeling in the rest of the thread is that this was to obfuscate these hosts and prevent them from being blocked by malware."

    Well, malware authors are just going to replace the resolver function instead of aiming for the easier target. If they can replace entries in the hosts file, they have sufficient privileges anyway.

    "However, there are no non-MicroSoft hosts listed, giving a competitive advantage for MicroSoft's anti-malware tools over other brands."

    That's really far-fetched. Let me see: Most users use their Windows as root-equivalent because of sucky software and because they don't know any better. Spyware can replace the hosts file to block access to Microsoft's auto-update because users are root. So instead of fixing the fundamental problem, Microsoft does what it does best: kludges, bandaids, bullshit. And now suddenly this is viewed as a "competitive advantage"?! Remember people: don't attribute to malice what can be explained with stupidity.

    To me this is only proof again that anything related to Windows is a swamp of bad design, ugly hacks and inconsistencies. I wouldn't construct an evil intent on Microsoft's side here. It's just their usual incompetence.

    --
    Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
  28. Try looking at it in reverse. by jd · · Score: 2, Insightful

    What it means is that if a rootkit alters the internal IP tables for a Microsoft address, most virus checkers won't pick up on it (the Hosts file will be untouched) and it will be impossible for the user to override the problem in order to get to Microsoft's website to download the necessary patches.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  29. ANYONE can Do this! The Functions are Documented by ZOverLord · · Score: 3, Informative

    Just look Here for more info:

    http://msdn.microsoft.com/library/default.asp?url= /library/en-us/dns/dns/dnsquery.asp

    Also you can defeat a Host file by simply changing the priority of lookups using the registry, more here:

    http://www.dslreports.com/forum/remark,15900699~da ys=9999~start=20#15902844

    --
    Black Gray White Hats Unite to protect http://testing.OnlyTheRightAnswers.com
  30. Use Treewalk DNS instead by Quizo69 · · Score: 2, Informative

    Here' a simple solution to the Microsoft controlled DNS HOSTS file:

    http://treewalkdns.com/

    Allows you to bypass Windows' own DNS server and gives you the useful feature of making DNS queries much quicker than resolving to your ISP all the time, among other benefits.

    Very easy to install for Joe User and just as easy to uninstall.

    HTH