Slashdot Mirror


No Defense Against Windows Rootkits?

An anonymous reader writes "Spyware bad guys (and also phishing people) started using rootkits technology to stay hidden in a system. The problem is that at the moment the technology to defend a Windows system from these things is very poor. In fact antivirus companies have just started adding basic anti-rootkits technology. So the problem is serious, and well outlined by this question: Is the closed source code of Windows preventing us from actively defending our systems?"

32 of 510 comments (clear)

  1. You have to wonder... by ellem · · Score: 3, Interesting

    Who has the chops to run through 800,000,000 lines of code to do the fixing of this OS?

    I mean even if you find the problem can you honestly say you'd be sure you wouldn't leave Notepad.exe broken by making your changes?

    Clearly Windows needs to be completely re thought with NO concern for legacy apps. See also OS X.

    --
    This .sig is fake but accurate.
  2. Windows Rootkit detection Tool by republican+gourd · · Score: 5, Interesting

    Shameless plug: I've written a script that should be able to help find any rootkits that are listening on tcp/udp on windows.

    Heres the link

    What it does is attempt to handshake with itself on every available tcp or udp port. If the handshake fails, that is an indicator that somebody else is already camping out on that port.

    Source is GPL, feedback is always welcome.

    1. Re:Windows Rootkit detection Tool by ArsenneLupin · · Score: 2, Interesting
      OK so how is this different from netstat -an?

      Netstat (and ps, and ls, ...) is often doctored by the rootkit so as to not show itself running.

      The trick described would find still rootkits which hide by doctoring those common system utilities. It won't probably find kernel-module based rootkits that specifically look for that trick, but those are rare.

      Listening on a port != rootkit.

      But listening on a port where no currently activated legitimate service should be listening may be.

      And that's just the ones listening on 0.0.0.0

      Yeah, that's windows for you...

    2. Re:Windows Rootkit detection Tool by robogun · · Score: 2, Interesting

      What if the port is only opened for a brief moment by the camper? Say for only a packet or two.

      Wouldn't a firewall (e.g. Zonealarm) pick up and/or block the outgoing traffic?

  3. And now for something completely repetitive... by menorikey · · Score: 3, Interesting

    This topic has been beaten to death a thousand and one times before but the reality still holds true: as long as a company holds the source of their software to their chest, you simply have to rely on them to provide the security for said software. By doing so you create the equivalent of a single point of failure that has to be addressed solely by the holding company, and as a result, you are subject to the "hurry up and wait" syndrome that accompanies it. That's when it comes back to "suck it up or don't use it," which carries all the arguments of "we don't have a choice" or "switching isn't an alternative for us."

    --
    This sig is six words long.
  4. Re:It works both ways, but it's worse for MS by Anonymous Coward · · Score: 1, Interesting

    With the source code for Linux, we can easy add signatures and verification to the module loading system. So that wouldnt be an issue.

  5. Re:It works both ways, but it's worse for MS by Qzukk · · Score: 4, Interesting

    In 2.6 you use the kernel capabilites to load the appropriate modules at boot time, then strip the kernel of the ability to load any others. Adds a little more work for getting that module loaded. Throw in more stuff (verifying the module list from read-only media before loading any modules) and you can get pretty well defended against this kind of thing.

    --
    If I have been able to see further than others, it is because I bought a pair of binoculars.
  6. The big problem with MS-ware is the closed API by Baldrson · · Score: 2, Interesting
    The problem with MS-ware isn't so much that its closed-source as it is that it's closed-API. The Federal Trade Commission should have acted in the early 1980s to force MS to open up the API it used and rigorously check that no application level software was written to any new calls in advance of the public disclosure of those calls. Monkeying around with things like the packaging of things like the web browser as though that was dealing with the heart of the MS monopoly issue is just stupid.

    If the API were opened up not only would it have made it possible for someone to do a work-alike competitor to Gates's natural horizontal and vertical monopoly, it would have made open analysis of the potential security holes practical so that insurance companies could get into the business of software quality assurance -- which would have dramatically raised the quality of software professinals and computer security.

  7. Re:The Answer by insomniac8400 · · Score: 3, Interesting

    But the reverse is true, you could have people going through finding exploits and using them without reporting them. Closed source is safer.

  8. Re:I fear not your rootkits! by Tony+Hoyle · · Score: 5, Interesting

    System (more accurately LocalSystem) can't access network resources.

    So there is *something* that they can't do.

    Try

    at (now plus a minute) /interactive cmd.exe

    voila! Interactive system shell!

  9. Re:Ask the UNIX folk... by Anonymous Coward · · Score: 1, Interesting

    1. By having a standalone system to boot and being
          able to set the meada to read only (via an
          electrical switch on the disk). This is the
          original method.

    2. Bootable CD-ROM (equivalent to #1)

    3. Volume analysis tools (similar to tripwire, with
          the program AND reference data on CD-ROM). A single
          scan could then be done carefully, if on-line; or
          better, when in single user mode.

    Combine #3 and #2 gives you a very good check for a validated reference.

    The important thing it to be SURE your referece is valid by building it from trusted sources (known good binaries from vendors, or inspecting and compiling the programs yourself).

  10. Unacceptable for national defense by keraneuology · · Score: 5, Interesting
    Since Bill Gates became the 2nd largest stockholder in Newport News Shipbuilding and guaranteed that the Ronald Reagan class of aircraft carrier will be Windows 2000 based, how does the Navy deal with this issue? Or have they addressed it at all? The last thing we need is for just one person in that population 5,000 floating city with malicious intentions to pop a rootkit into the mess that is navigation, fire control or general operations.

    So we are left with two options:

    a) Windows 2000 is impervious to rootkits, either off the shelf or through modifications unavailable to the general public

    b) The US Navy is running an unsecurable OS for the most advanced surface ships in the world - with nuclear reactors to boot.

    --
    If the g'vt kept the data on you that google does you'd better believe you'd be calling it "doing evil"
  11. Bastille Windows? by Fiver- · · Score: 3, Interesting

    Is there any product for Windows like Bastille Linux that would help a user lock down any vulnerabilities in their system like file shares, unnecessary accounts, open ports, unnecessary services, IE settings, etc?

    If not, there should be.

  12. I'm not sure admin is such a big deal by Dink+Paisy · · Score: 4, Interesting
    The problem is that a lot of this stuff is installed voluntarily. If P2PFreeMovies.exe and BritaneySperesNaked!!!.exe say they need admin access to install, people will just type the password in. Better use of capabilities and code signing would help, and, unlike mainstream Linux, Windows actually has an advanced security model that would allow this.

    But the fundamental problem is that if someone wants to install this garbage, the only way you can really stop them is by taking control of their computer away from them. I'm not sure that even Microsoft is willing to go that far yet, and I'm not sure I would want them to, anyway.

    --

    Whoever corrects a mocker invites insult;
    whoever rebukes a wicked man incurs abuse.
    --Proverbs 9:7
    1. Re:I'm not sure admin is such a big deal by eyeball · · Score: 4, Interesting
      Here is another potential problem. MS might come out with an add-on to their OS where it prevents unauthorized (or authorized) installation of these malwares....it will do this because they are not digitally signed, and authenticated to the user...the only problem: My friend does not want to use a program (i.e. photoshop) so he deletes it from his computer and gives me the disk. The disk is registered to his windows...now I can't install it....or what if I want to rip my DvD movie to my computer (backup)...it won't let me play it.


      From everything I've read, it seems MS is working on the goal of windows eventually running only applications signed by them, the same way XBox is supposed to only run games they sign. There are so many things wrong with that besides the examples you mentioned:

      - Who signs the apps? Microsoft?
      - How do they determine which are legit and which arent?
      - Who is held responsible if a legit company
      - How much will they charge?
      - Will the costs of signing push shareware & freeware programmers out of the market?
      - Will the signed applications expire?
      - What happens if I sell my computer? Are the licenses still tied to it?
      - Will they also keep compeditors out of the market too
      - What happens when everyone's guard is down, and someone figures out a way to code-sign a worm.

      Just to scratch the surface. Worst case scenario, future PCs will cease to run Linux or any other alternative OS.

      My real fear is that MS and/or Intel lobbyists convince the government to pass a law mandating that computers only run signed code. As a matter of fact, I'm surprised they've waited this long.

      --

      _______
      2B1ASK1
  13. Re:SysInternals' by ZyBex · · Score: 4, Interesting

    I recently cleaned a machine infected with a rootkit that was NOT detected with Rootkit Revealer. The virus loaded itself via the HKLM/Soft/MS/Windows/Run key, as usual, but it didn't show on regedit nor elsewhere, and the Rootkit Revealer did not detect the "missing" key. The only way to see and remove it was to boot with a WinPE CD.

    Fortunately these rootkits can usually be detected by their side-effects, like the slowness and the internet activity... but you have to be suspitious that something's going on.

  14. source code by merdark · · Score: 2, Interesting

    The availablitiy of the source code has nothing to do with it. Joe Beerbelly is not going to be looking at the source code of his operating system. You'd be lucky if he understands that a thing called an operating system exists and has something called source code associated with it.

    If your solution is to fix it yourself, you've already lost. It needs to be fixed by the *official* software vendor so that the changes can be pushed automatically to all the Beerbellies and Flabbyasses out there.

    And besides, even for those who can understand the source code, it's not like the changes required are simple. If you DO manage to understand the system enough to make some usefull changes, a vendor will not just blindly accept them. They will themselves have to review the changes and completely understand them anyways. So why not do it themselves the first time? And to the person spending all that time doing the vendors work for them, do you not have a life or a job or something?

  15. Re:What rootkits? by ThaFooz · · Score: 4, Interesting

    I work with spyware infected systems every day, and I have never found a "rootkit" on one

    The issuse is that they're extremely difficult to detect. What heuristics do you use that that the major AV companies are not aware of?

    The most effective method that I have found to get rid of spyware on an infected system, by the way, is to boot from a live Windows bootable CD to delete all the crappy spyware directories...

    I'm sure that works reasonably well, but once a system is comprimised, you never really know for sure. I find that the only surefire method, which incidentally often takes less time, is to wipe the drive and start fresh. The type of user that is going to get spyware probably doesn't have a complicated setup or do more than write documents and use iTunes, and backing up is as simple as looking for *.doc, *.xls, *.ppt, *.mp*, *.mov, *.wmv, and *.avi.

  16. Re:Wrong question! by Jarnis · · Score: 3, Interesting

    Purchased...?

    Warez jokes aside, most common non-corporate windows are OEM copies. OEM = no support from microsoft. You get your pile of bytes that might or might not work, and you get some patches at the whim of MS. You get no support unless you pay thru the nose per incident.

    Sure, you can call your OEM supplier - however, they have no access to the source, and generally just tell you to reinstall the thing and immediately tell your system is unsupported if you actually install something other than the supplied bundled software on your system.

  17. Re:under attack by HermanAB · · Score: 2, Interesting

    Uhmmm, actually you are only aware of it since two weeks ago. How long the attacks have been going on, or whether or not you are already infected with a rootkit, is unknown. A rootkit that isn't used much, except to find and download the CEO's email once a month, may go undetected for a long time.

    --
    Oh well, what the hell...
  18. Re:Ask the UNIX folk... by Jorkapp · · Score: 2, Interesting

    This is how rootkits are at least detected:

    A rootkit has the ability to change the inputs and outputs of the overlaying OS API's. It does not however have the ability to change the I/O's of direct hardware access. Simple solution to detect rootkits is to do an API call for file directory (dir, ls, whatever), and compare it side-by-side to a direct hardware request for a file directory.

    --
    Frink: Nice try floyd, but you were designed for scrubbing, and scrubbing is what you shall do.
  19. Re:The Answer by anicca · · Score: 2, Interesting

    The logic of this statement is grating on my nerves but I can't seem to identify the fallacy. Malicious users can reverse engineer the closed source, find vulnerabilities that the company does not and just exploit them. Closed source is safer iff you can't reverse engineer it, otherwise its just an extra step. So the conclusion is false.

    Denying the Antecedent

    Any argument of the following form is invalid:

    If A then B

    Not A Therefore, Not B

    Your argument:

    If source is open hackers can easily find exploits. Not open implies hackers cannot easily find exploits.

    So that's why there are so many linux virii and worms...whether the assertion is true or not is not supported by your argument.

    --
    A people that values its privileges above its principles soon loses both. Dwight D. Eisenhower
  20. No by Anonymous Coward · · Score: 1, Interesting
    Is the closed source code of Windows preventing us from actively defending our systems?

    No, I don't have time to deal with the source code for any OS, let alone figure out how to defend it against attacks. I suspect the vast majority of “us” don't have time for it either.

    Open Sauce zealots can look elsewhere for emotional support.

  21. "Windows for Warships": old old news by toby · · Score: 5, Interesting

    Is the closed source code of Windows preventing us from actively defending our systems?

    Does this question really need to be asked any longer?

    Has this story teleported us all back to the year 2000? Hit the reset button? Is Slashdot's new motto "No hugging, no learning"?

    b) The US Navy is running an unsecurable OS for the most advanced surface ships in the world - with nuclear reactors to boot.

    I thought this was common knowledge. I didn't really expect a "pro-business" administration to do anything about it, did you? It's actually one of the few things that makes the rest of us feel safer.

    Britain has the same problem, by the way:

    The Royal Navy's new, state-of-the-art destroyer has been fitted with combat management software that can be hacked into, crashes easily and is vulnerable to viruses, according to one of the system's designers who was fired after raising his concerns. ... he told Channel 4 news that "the use of Windows For Warships puts the ship and her crew at risk, and the defence of the realm".

    There are also plans to install a similar Microsoft Windows-based computerised command system on Britain's nuclear submarines. Wilson said: "It is inconceivable that we could allow the possible accidental release of nuclear missiles. The people who survived such an exchange, if any, would certainly regard such a thing as a crime against humanity. And I can't help feeling that even planning to deploy such systems on Windows, with its unreliability and lack of security, is itself some sort of crime in international law."

    Also see The Register which quotes an upbeat Armed Forces Minister:

    Fabricant had asked if there had been an external review of the Type 45 decision, and from Ingram's answer we can perhaps infer 'No'. He then asked for a cost comparison between Unix and Windows 2000 as the CMS OS, and Ingram simply said: "The cost of implementing an operating system for the Combat Management System in the Type 45 is a matter for the prime contractor, BAE Systems, and their sub-contractor. The Department does not have, or require, visibility of costs at that level of detail."

    Fabricant also asked what systems had been put in place to cope with a failure, and what steps had been taken to ensure the Win2k CMS in the Type 45 was reliable. Aside from affirming that Win2k was "the lowest risk choice" and that BAE was on top of "residual risks" (Are these cookies? Spyware?), Ingram said: "The system design has built-in redundancy, with automatic, and transparent, switch-over to a back-up system if the primary system has a problem. This would provide continuity of operation and ensure that no data was lost. The system design also ensures that comprehensive hardware mechanisms will be in place to avoid any other safety or technical issues."

    Perhaps the Minister can now explain why his desktop PC doesn't even run properly.

    Les Hatton gives his opinion at IT Week:

    ... the Royal Navy is all set to go to sea with Windows on warships. Am I alone in thinking that this has to be one of the most terminally stupid IT decisions of the century?

    ...this was first attempted in the mid-1990s. There was a wonderful description of the then-latest generation of a US missile cruiser, the USS Yorktown, having to be frequently rebooted because its underlying network of computers running Windows NT crashed somewhat inconveniently. Apparently the design meant that critical systems such as steering could be lost in mid-battle.

    So here we are again. This time the dec

    --
    you had me at #!
  22. Re:It works both ways, but it's worse for MS by Anonymous Coward · · Score: 3, Interesting

    Its fairly easy to put a module in Linux using /proc/kmem even if modules are disabled.

  23. Re:It works both ways, but it's worse for MS by That's+Unpossible! · · Score: 1, Interesting

    I ran into the same exact problem recently. Excellent karma, heavy participation, and prevented from posting at work due to being downmodded "too many" times. I have stopped subscribing, stopped moderating, stopped metamoderating.

    --
    Ironically, the word ironically is often used incorrectly.
  24. Read-only root by dpilot · · Score: 2, Interesting

    How do you get around the stuff that likes root to be r-w, like /etc/mtab? I know it's frequently suggested to replace this with a symlink to /proc/mounts, but I also understand that some software doesn't like this. There is also some other stuff that likes to write into /etc, like /etc/dhcpcd/dhcpcd-eth0.info.

    --
    The living have better things to do than to continue hating the dead.
  25. Re:It works both ways, but it's worse for MS by OreoCookie · · Score: 1, Interesting

    Metamoderating is a joke. I did it about twenty times. It has no effect whatsoever on anything. I think, nowadays /. is run by a small group of control freaks. I didn't mind it when you had to wait 4 or 5 minutes between posts but now it's so long that I lose interest in the discussions.

  26. Re:It works both ways, but it's worse for MS by aborchers · · Score: 1, Interesting

    I got the same thing on a post that got upmodded almost as many times as it got downmodded. I had the misfortune of posting something controversial near the top of the list and got something like 10 mods down and 9 mods up, so the net downmod on the post was about 10%, but because the total *number* of downmods was above a threshold, I got put in the penalty box. I couldn't get the penalty lifted by communicating with /.'s staff folks either.

    Before that day, I always thought the people bitching about the moderation system were just whining, but now I'm convinced there are aspects of it that are completely capricious.

    --
    Trouble making decisions? Just flip for it.
  27. Re:MS(ux) for a few reasons, this is just one of t by Lumpy · · Score: 1, Interesting

    i have the solution for the inept family members. If they demand to run windows then in order to get free IT support from me they have to let me install trustnoexe on their machine. I set it up via a vnc session after they start the vnc server by an icon on their desktop.

    yes, they can no longer install software themselves. but no spyware or viruses can get past it as they are not on the approved to run list.

    is it a PITA for the computer owner? yes. But they will accept it if they want free help from me. it works great for most of my family and typically most people do not install software often if at all after they get it set up to run the way they want.

    --
    Do not look at laser with remaining good eye.
  28. Re:Rootkit Responsibility by wembley · · Score: 2, Interesting

    Does he bear any moral responsibilty for this? I would answer positively. If I leave a loaded gun lying on the sidewalk and someone picks it up and shoots someone else, I think I may get some bad karma.

    karma != responsibility

    --

    Share and Enjoy!

  29. Probably already said but... by TractorBarry · · Score: 2, Interesting

    This has probably already been said but I'm pissed and am having a casual browse before bedtime....

    Sysinternals

    If you must use Windows these fine folk are well worth a visit (should be mandatory...)

    --
    Sky subscribers are morons. They pay to be advertised at !