Slashdot Mirror


Critical Flaw Found In Virtually All AV Software

Securityemo writes "The Register is running an article about a new method to bypass antivirus software, discovered by Matousec. By sending benign code to the antivirus driver hooks, and switching it out for malicious code at the last moment, the antivirus can be completely bypassed. This attack is apparently much more reliable on multi-core systems. Here's the original research paper." El Reg notes that "The technique works even when Windows is running under an account with limited privileges," but "it requires a large amount of code to be loaded onto the targeted machine, making it impractical for shellcode-based attacks or attacks that rely on speed and stealth. It can also be carried out only when an attacker already has the ability to run a binary on the targeted PC."

279 comments

  1. AHHHHHHHH by Anonymous Coward · · Score: 5, Funny

    Everybody turn your PCs off NOW! Why are you still reading?

    1. Re:AHHHHHHHH by DarkKnightRadick · · Score: 0, Offtopic

      lolwut?

      --
      "There is a way that seems right to a man, but its end is the way of death." Proverbs 16:25 (NKJV)
    2. Re:AHHHHHHHH by armanox · · Score: 5, Insightful

      Still reading because I'm running Linux?

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    3. Re:AHHHHHHHH by Securityemo · · Score: 1

      We run Linux/*nix.

      --
      Emotions! In your brain!
    4. Re:AHHHHHHHH by Ihmhi · · Score: 0, Troll

      Good for you. I prefer to be able to play games and use programs unavailable in Linux without performance hits (from running through WINE or a VM) so I am not as fortunate to have the same option that you do.

      I await the day that Linux is as popular as OSX - nay, as Windows - so that Linux users who make these sorts of comments ("Haha, I don't have to worry about viruses") get a few moments of glory about Linux finally being widely used on desktops and then several years of having to deal with the same shit as 90%ish of the desktop-using world does.

      As an aside, my bicycle gets great gas mileage. Never have to worry about filling it up!

    5. Re:AHHHHHHHH by makomk · · Score: 1

      I think some early Linux security frameworks had a similar issue with swapping out parameters of system calls. The key word there is "had" - pretty much everyone knows not to write code that's vulnerable to this attack now, and even if they don't it's unlikely to be allowed into the kernel.

    6. Re:AHHHHHHHH by armanox · · Score: 1

      Seeing how the I don't play many games anymore, it allows me to run Linux most of the time. For most of the games I play (Starcraft, Diablo, Thief), WINE handles them excellently.

      Aside from two games that I do need Windows for (both are on Steam, and WINE doesn't perform well enough like you said), I have any programs that I use that do not have Linux versions or equivalents.

      As an aside, I am happy for you that your bicycle works well. Since work is 40 miles from home, my Blazer and Saturn get sufficient gas milage (21MPG and 32, respectively) to keep me happy.

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    7. Re:AHHHHHHHH by Anonymous Coward · · Score: 0

      B-B-B-BUT Linux has AV! This infects AV!
      YOU'RE DOOMED!

    8. Re:AHHHHHHHH by meuhlavache · · Score: 1

      Can't remember where I saw this but a virus (or trojan) was found into a Gnome's theme. Linux is not virus-free but it's just a little more dumb-proof (except Ubuntu).

    9. Re:AHHHHHHHH by chentiangemalc · · Score: 1

      without performance hit or RELIABILITY hits...

    10. Re:AHHHHHHHH by TheRealGrogan · · Score: 1

      I have to do both now, because of a gaming addiction that has developed over the last several years. Back before 2005, I wouldn't have let Windows come in contact with real hardware of mine (only run in a VM for testing and support reasons). Back then, there were decent games titles being ported to Linux (which I still have and still play occasionally) but I soon learned that if I wanted to play the new games, I needed Windows. But I have a nice installation of Windows 7 x64 that runs my games and I'm quite happy with it. I run it in a fairly insecure manner though. As a full administrative user (with UAC turned off). System Restore disabled. Security Center and firewall services disabled (I have firewall hardware though) at the service level. No antivirus or other security software. I never have any trouble because I just use it to play my games and go to a few sites like slashdot and my forums with a 64 bit firefox that has no addons or plugins. The two systems have their place. Linux is for doing work, the bulk of my surfing, email and multimedia. (Windows sure is crippled in that respect out of the box... and that Windows Media Player is an abomination). I can confidently have a dozen or more applications and tasks spread out over 8 virtual desktops without crashing and losing work too. Windows is for goofing off and playing full screen games that use DirectX. I have a feeling that if I stick to that, I'll be fine.

    11. Re:AHHHHHHHH by Anonymous Coward · · Score: 0

      oh look, a troll mod because someone said bad, true things about linux. big fucking surprise there.

    12. Re:AHHHHHHHH by dudpixel · · Score: 1

      Yes, because Linux doesn't even run AV programs, we are safe.

      (disclaimer: I do run Linux, but thought this was amusing anyway)

      --
      This seemed like a reasonable sig at the time.
    13. Re:AHHHHHHHH by armanox · · Score: 1

      But Linux does run AV programs (Avira, Symantec)

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    14. Re:AHHHHHHHH by armanox · · Score: 1

      I remember that. And IIRC that was a deb. packaged theme too (not beating on Debian/Ubuntu, just commenting).

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    15. Re:AHHHHHHHH by dudpixel · · Score: 1

      But Linux can run AV programs (Avira, Symantec)

      fixed that for you. my earlier comment was slightly "tongue in cheek". :)

      --
      This seemed like a reasonable sig at the time.
    16. Re:AHHHHHHHH by armanox · · Score: 1

      I was afraid someone might take you seriously.

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
  2. Joke's on them! by Abstrackt · · Score: 5, Funny

    I don't run AV software! Ha!

    --
    They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance. - Terry Pratchett
    1. Re:Joke's on them! by WrongSizeGlass · · Score: 1

      I don't run AV software! Ha!

      Suuuuure you do, you just didn't install it. One of those nice PC bugs has probably already inoculated you against everything but itself ;-)

      It can also be carried out only when an attacker already has the ability to run a binary on the targeted PC.

      So, if you're already infected then they can bypass your AV software ... hmm ...

      I guess this is going to be a new attack vector for those 'fake AV' programs that download & run but can't do much harm because the user has a limited account.

    2. Re:Joke's on them! by Graff · · Score: 1

      I'd say the real critical flaw of antivirus software is that it costs money, steals system resources, and has no productive use. Wait a second - maybe antivirus software is just a virus that you KNOW about!

      And yeah, I don't run any antivirus software either. I haven't run any for well over 20 years and I have yet to have any problems. Good security practices and an operating system that doesn't have much malware in the first place means that I've saved a lot of cash and time over the years.

  3. Not really new by Florian+Weimer · · Score: 5, Insightful

    These problems have been known for a while and used to defeat e.g. systrace in OpenBSD (CVE-2007-4305). It also does not affect AV software per se, but anomaly-based detection, which kicks in only if something bad is already running on your machine. If this approach is actually used in the wild, detection logic will be added for it. Business as usual, really.

    1. Re:Not really new by Christophe+Devine · · Score: 2, Informative
      Yep. Furthermore this requires not just admin privileges, but also being able to load a kernel module which has been severely restricted under 64-bit Windows (the driver's catalog has to be signed by Microsoft). Still, many people use Windows XP with an admin account, but the flaw itself does not lie with the AV themselves -- a few of them will even warn when a program attemps to load a unsigned kernel driver. KAV also warns when running an unsigned program from outside Program Files.

      However for compatibility with existing malware^W legitimate corporate drivers, Microsoft decided not to block the loading of unsigned kernel drivers in Windows 7 32-bit. In fact NX protection is neither enabled by default in 32 and 64-bit versions (it can be enabled manually in the "Advanced systems settings" tab).

    2. Re:Not really new by wvmarle · · Score: 1

      And the malware will find different ways to get around that again of course.

      Isn't this simply a case of when a system is compromised, it can not reliably detect this by itself? Viruses that switch off AV, that hide from AV, that pretend to be not there - of course this can happen when a system is compromised already, and when the process you are trying to detect knows it may be detected and can defend itself against this.

      The only way to reliably detect whether a system is compromised is to take the hard disk, put it in a known-good system, mount it read-only, and scan for anomalies. That's at least what I have been told over the last decade or more. And the above "critical flaw" is yet another point in case.

    3. Re:Not really new by Christophe+Devine · · Score: 2

      Hmm obviously I read the article too quickly, this attack does not depend on loading a kernel driver. My bad ;)

    4. Re:Not really new by vistapwns · · Score: 1

      NX is enabled by default, for Windows components, Windows programs and the kernel, but not for 3rd party programs. Not sure if that's what you meant or..

      --
      "...I think the Microsoft hatred is a disease." - Linus Torvalds
    5. Re:Not really new by andymadigan · · Score: 1

      Running Windows 7 64-bit here, unless I missed something VirtualBox's drivers are not signed, that's why I had to click OK when they were installing. I thought they got rid of the signing requirement for Win7 64.

      --
      The right to protest the State is more sacred than the State.
    6. Re:Not really new by riskpundit · · Score: 2, Interesting

      While this is surely interesting research, there are far simpler ways of bypassing AV software. Drive-by browser-based attacks of the type exemplified by Zeus and Koobface are far easier to execute. Today, attackers are focused on stealing money and intellectual property. They will take the path of least resistance. The AV vendors have yet to respond to the more obvious existential threat to their existence.

    7. Re:Not really new by Anonymous Coward · · Score: 0

      These problems have been known for a while

      And then some. Try 1992;

          The Virus Writer's Handbook: The Complete Guide
          (c) 1992 Terminator Z (AKA Harry McBungus)
          http://vx.netlux.org/lib/static/vdat/tumisc09.htm

          [...]

          5.22 Disinfecting on-the-fly

          This should not be attempted by the light-hearted. It requires a major
          overhaul of the viral structure. Becuase of this major overhaul, I will
          not include the exact code on how to do it - you'll have to work that
          out for yourself. However, I'll give you some pretty explicit details
          on how the thing should operate.

          Note that this is only on way of doing it; no doubt there are several
          other ways of doing it, but all must follow this general pattern.

         
          i21h handler: open?
                        jne i21_2
                        set up base (jmp, not call)
          i21_2: extended open?
                        jne i21_3
                        push dx
                        mov dx, si
                        set up base ; note! you must tailor your stealth for
                                    ; this call, since DX will be on stack!
          i21_3: close?
                        jne i21_4
                        close base & reinfect
          i21_4: [...]
         

          These are the fundamentals of the stealth capability - when to disinfect.
          On all calls to open the file, add the name & handle to a "database" in
          free memory after the end of your virus. When it comes to close-time,
          simply scan your database for the handle and re-infect its corresponding
          file, and erase that entry from the database. How simple can it get?
          (See? It's a lot easier in theory than most people imagine!)

          The problem enters here: how the fuck do I write a database in ASM?

          Easy. First of all, you must figure out the format which the database
          will be in. I worked one out like this:

          [...]

  4. No way around strict privilege separation by Arancaytar · · Score: 5, Insightful

    So it seems that relying on runtime checks doesn't just slow the system down, but also is vulnerable to concurrency attacks.

    That may be alarming, but it's not like antivirus software was ever powerful enough to let users shut off their brains when using their computer.

    1. Re:No way around strict privilege separation by Sycraft-fu · · Score: 3, Interesting

      Also AV's main power for a long time has been on access/creation scanning. More or less it stops the viruses before they've a chance to become active. You run a virus scanner and anything coming in from the web, or a flash drive, or whatever is scanned. If a virus is detected, access is blocked. The virus can't get around that, since it isn't running. The AV stops it cold, before it has a chance to try anything.

      Now that's not perfect, of course, the AV software has to have a signature for the virus, but it works pretty damn well. It is a good layer of security. Shouldn't be your only layer, but no layer should be your only layer.

      This attack sounds like it is more useful against behavioural anti-virus. The AV notices a program doing shit it shouldn't and tries to stop it. Another good layer to have, but getting around it only gets you anywhere if you got the program to run in the first place.

      As you say though, no matter what you just can't shut your brain off. There is no such thing as perfect security, physical or otherwise, and anyone who sells it to you is lying. Good security requires defense in depth and requires someone to be watching to make sure things are working and not getting broken through. AV software is useful, firewalls are useful, privilege separation (like UAC or sudo) is useful, but all of them still need you as a user not to be an idiot about it.

    2. Re:No way around strict privilege separation by Opportunist · · Score: 1

      Unfortunately users do just that. I have AV, so I needn't watch out anymore.

      A fitting car analogy would be the question whether they speed on an icy road just 'cause they got airbags.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  5. All AV software? by xulfer · · Score: 4, Interesting

    All AV software seems a little broad. This only seems to cover virus utilities that prevent viruses from attaching in the first place. I fail to see how this vulnerability would affect the large portion of av utilities that are simply scanners... e.g. clamav, etc.

    1. Re:All AV software? by Anonymous Coward · · Score: 0

      It doesn't affect any antivirus software at all, it only affects all operating systems that let a virus control what to send to the antivirus driver hooks.

  6. Ubuntu by Das+Auge · · Score: 4, Interesting

    Since switching to Ubuntu, over three years ago, I haven't used AV.

    I suppose that someday Linux will become a real target for virus writers; but between the good security model inherent ot UNIX-based OSes and common sense, I doubt I'll need one for a long time.

    1. Re:Ubuntu by siride · · Score: 4, Interesting

      The Windows NT security model is actually more advanced and capable than the base Unix security model. It's only because of culture, better-written 3rd party programs and marketshare that Linux/Unix doesn't have a malware problem.

    2. Re:Ubuntu by Architect_sasyr · · Score: 5, Interesting

      I'd like to just step in here and point out that the security model means shit to a virus writer - so what I can't get root on your desktop, I can still encrypt your entire home directory and delete everything I have access to with just a simple program. The whole push for administration rights is only necessary when you need to hide the software, but if all these linux users aren't running AV, then what's the point of trying to hide yourself before you can get your root privileges. Someone, somewhere, will run a sudo command eventually...

      --
      Me failed English...
      FreeBSD over Linux. If my comments seem odd, this may explain...
    3. Re:Ubuntu by Runaway1956 · · Score: 3, Insightful

      Das Auge made a reasonable statement - and you respond with that old stupidity. "It's all about market share". Windows NT security model is in now way, shape, or form, "superior" to *nix security model. It is true that Linux gains a bit of security through obscurity. Market share does play a role. But I've said it before, I'll say it again: Linux systems, worldwide, guard more money and data than it would take to make thousands of hackers filthy rich. If it were easy, they would have done it already, instead of fighting over that huge Windows market share.

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    4. Re:Ubuntu by siride · · Score: 1, Insightful

      So what is it about the Windows security model that's inferior to the Linux one? Because all of the documentation I've read says otherwise (SELinux aside).

      Now, if you want to talk about Windows Explorer being weak with security, I'll buy that. If you want to talk about a culture of "don't care about security", I'll buy that. But don't tell me that the NT security model is weak.

    5. Re:Ubuntu by vistapwns · · Score: 1

      Sure, but those financial systems are monitored, hardened, and configured by professionals. Windows home machines are, decidedly not. Windows Servers are also rarely broken into. Don't you think someone would love to serve malware from, or deface microsoft.com? It hasn't been, and guess what, it's not running linux or any unix.

      --
      "...I think the Microsoft hatred is a disease." - Linus Torvalds
    6. Re:Ubuntu by Anonymous Coward · · Score: 5, Insightful

      I can still encrypt your entire home directory and delete everything I have access to with just a simple program

      Which is totally profitless to a virus writer. I haven't even seen a virus like that on windows for decades and windows have millions of viruses written for it.

      Someone, somewhere, will run a sudo command eventually..

      So what if they do? Executing the sudo command is limited to the program you're sudo-ing, not your whole session. A program can't wait in the background and get root when someone types sudo.

      Also you're side stepping the whole issue that most Linux distributions provide you with all the software you need so the whole running a third party executable is much less likely to happen. The only exceptions I can think of are Google Chrome and Dropbox.

      I'm not saying Linux is infallible however the examples people like you list to try to pretend a Linux system is "just as bad" at security are ridiculous at best.

    7. Re:Ubuntu by __aasqbs9791 · · Score: 2, Informative

      Really? seems to differ and wasn't the only reference I could find for microsoft.com defaced (seventh link).

    8. Re:Ubuntu by sjames · · Score: 3, Insightful

      In what way? And is it superior in totality or just superior to the parts of the linux security model that are actually used these days?

      Of course, Linux may not have as much market share, but it is a much more attractive target. One critical server running linux is worth a lot more than 1000 XP desktop machines running solitaire.

    9. Re:Ubuntu by vistapwns · · Score: 1

      Well I guess, I read tech news every day and missed that, so sue me. Doesn't address my point though, financial systems that run linux are nothing like windows home machines/users, so saying the linux financial systems aren't regularly hacked is proof of something is daft.

      --
      "...I think the Microsoft hatred is a disease." - Linus Torvalds
    10. Re:Ubuntu by Anonymous Coward · · Score: 0

      I run Windows and don't use AV software either. Common sense and knowledge is the best security. No anti-virus or security model is 100% failsafe. I have to take responsibility for my own actions.

    11. Re:Ubuntu by Anonymous Coward · · Score: 0

      My AV did warn me about malware coming from microsoft.com few months ago as I clicked for the site map after using windows update service. No malware was seen by the AV a few hours later..

    12. Re:Ubuntu by amorsen · · Score: 1

      The Windows and Linux security models are virtually identical if you exclude MAC (SELinux etc.). The main difference is that people actually understand the basic Unix model of users and groups and so they often manage to set their file permissions to something relatively sane. Practically noone uses the full power of ACL's on either system.

      MAC makes a large difference though, so it's a bit unfair to exclude it.

      The way that AV products intercept system calls has been known to be broken for years. Some Linux kernel developers have attempted to find more secure solutions, but progress hasn't been fast. The AV industry is quite happy with what they have on Windows.

      --
      Finally! A year of moderation! Ready for 2019?
    13. Re:Ubuntu by Anonymous Coward · · Score: 0

      That's true, Microsoft obviously doesn't have any security professionals working for them.

    14. Re:Ubuntu by subanark · · Score: 1

      So what if they do? Executing the sudo command is limited to the program you're sudo-ing, not your whole session. A program can't wait in the background and get root when someone types sudo.

      Don't underestimate the ability of virus writers to spoof some or all of your UI. I assume a simple way a virus can do this is by replacing your terminal icon on your computer to an evil terminal that works just like a real one, but as soon as you type sudo you are in fact executing its evil butler who will take over your system once it has permission to do so.

    15. Re:Ubuntu by vistapwns · · Score: 1

      And linux is all command line, and will never reach 2% market share either.

      --
      "...I think the Microsoft hatred is a disease." - Linus Torvalds
    16. Re:Ubuntu by Anonymous Coward · · Score: 1, Insightful

      Why do that? At least if it's Ubuntu with default settings you can just keylog the password and use sudo whenever you need.

    17. Re:Ubuntu by Runaway1956 · · Score: 2, Informative

      http://eval.symantec.com/mktginfo/enterprise/white_papers/b-whitepaper_exec_summary_internet_security_threat_report_xv_04-2010.en-us.pdf
      Targeted attacks focus on enterprises
      Targeted attacks using advanced persistent threats (APT) that occurred in 2009 made headlines in early
      2010.6 Most notable of these was the Hydraq Trojan (a.k.a., Aurora).7 In January 2010, reports emerged
      that dozens of large companies had been compromised by attackers using this Trojan.8 While these attacks
      were not novel in approach, they highlighted the methods by which large enterprises could be compromised.

      http://www.informationweek.com/blog/main/archives/2010/01/significant_wor.html;jsessionid=KDF2YBU4HXNKLQE1GHPCKH4ATMY32JVN

      http://manageddatacenter.searchdatacenter.com/taxonomy/taxkey;root_1387_1332_204/DC-category.htm
      Current FBI estimates indicate that malicious software and attacks targeting identity theft cost American businesses and consumers more than $50 billion a year. (note BUSINESSES)

      The point being, enterprise is vulnerable. It isn't just the home user who is targeted, nor is it just the home user that is compromised. Malware costs corporate America billions every year. How many billions is debateable - one alarmist estimate places it at hundreds of billions, and others pooh-pooh that with overly conservative estimates.

      Fact is, enterprises are compromised almost every day.

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    18. Re:Ubuntu by vistapwns · · Score: 1

      And your point is, that those systems are never linux systems? And also, corporate systems != financial institutions.

      --
      "...I think the Microsoft hatred is a disease." - Linus Torvalds
    19. Re:Ubuntu by vistapwns · · Score: 1

      Ok, now put the soccor moms and solitaire playing grandma's in charge of the 'critical linux server' and see how long it last...

      --
      "...I think the Microsoft hatred is a disease." - Linus Torvalds
    20. Re:Ubuntu by sjames · · Score: 1

      To be fair, they mostly closed off the shatter attack (after 8 years), we think. So it's not mostly down to implementation issues and having the interlocking parts much too tightly connected such that it's easy to accidentally create new holes. Beyond that, it's a matter of the culture MS has created and nurtured for years of software that expects to run with admin privileges even though it never should and users trained to just click OK on the incomprehensible dialog box that doesn't contain any useful information anyway.

    21. Re:Ubuntu by Anonymous Coward · · Score: 0

      This is not even newsworthy. The attacker already has access to run binaries on the target system, so of course she can do any number of things including disabling AV software. Personally if I could run binaries on a target machine (assuming that means the AV hasn't caught on yet) the LAST THING I would do is make my presence on that machine known by doing something that conspicuous. I would probably just browse the HD for porn...

      It's really funny to see Linux users running around Bible-beating about how they don't run AV. I've been running without AV on Windows for 10 years, on my personal machine, and I've had to rebuild an OS ONCE during that period (Vundo). Having used Linux for a couple years now, I know that rebuilding your Linux machine is a monthly occurrence up until a year or so ago, and now it's every few months. Given, it's easy to rebuild Ubuntu but Windows is more stable by far, with or without AV, if the user is not an idiot.

    22. Re:Ubuntu by toadlife · · Score: 1

      One critical server running linux is worth a lot more than 1000 XP desktop machines running solitaire.

      I think botnet operators would disagree.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    23. Re:Ubuntu by armanox · · Score: 1

      I never said that I do not run AV on Windows or Linux. I run it on both. I have not rebuild either my Windows install or my Linux install since I purchased my current desktop in 2008 (but have upgraded from Fedora 7 -> 12 and Vista -> 7). In that time, I have failed to see any infections on either install. My previous desktop was a similar situation. The last wipe-reload was an upgrade to XP Pro in 2006, at which point I switched to Gentoo out of convenience.

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    24. Re:Ubuntu by Antique+Geekmeister · · Score: 3, Informative

      What? "Culture", better written _core_ utilities, and the open access to the base software rather than the secretive and obscure security models of NT all contribute massively to Linux security by comparison. The smaller system components are easier and safer to do well. Also, while the kernel of NT was based on VMS when David Cutler stole his old work from DEC, it was forced to integrate numerous historical poor choices of DOS, Windows 3.x, and Windows 95 to provide backwards compatibility. These have been a _disaster_ in security terms, and very difficult to address due to the closed nature of the code and difficulty of upgrading other components to preserve compatibility.

      Some of the most "secure" components of NT, such as Active Directory, are actually due to its integration of far more secure open source components such as Kerberos, and its use of open standards such as DNS, DHCP, and LDAP to replace Microsoft's older versions of "NetBIOS" (which they also did not invent, it came from IBM and IBM discarded it years ago).

    25. Re:Ubuntu by amorsen · · Score: 1

      So basically you agree that the NT security model is more powerful. Good.

      Like I said, they are identical if you exclude MAC. They're both simple ACL file-based DAC systems. Since they're identical the NT security model isn't more powerful.

      Once you include MAC, Linux is in a different league.

      --
      Finally! A year of moderation! Ready for 2019?
    26. Re:Ubuntu by hairyfeet · · Score: 5, Funny

      Can I call bullshit please? Y'all want to know that "magic secret" as to why even with all that money floating around Linux don't get hacked, and Windows does? Here you go...

      Uuuhhhhh....I really hate to burst your reality bubble there, bud, but there is a reason why all the Linux servers aren't getting pwned and the Windows desktops are. It is because they have these things called server admins and they are usually pretty damned smart. They are also really anal retentive when it comes to anything security related. With good reason, after all they are getting paid the big bucks to be. Meet Glenn. Say hi Glenn (I'm busy, go away) not a very social creature, Glenn is a Linux server admin. He spends most of his time on security websites and learning about the latest nasty when he isn't testing a new tweak on the test server to see if he can get an extra .05% performance under load. In his free time he enjoys black hat conferences, which his employer is happy to pay him to attend.

      Now we are going to meet an average Windows desktop user. Meet Velma. say hi Velma (Hi Y'all!) isn't she sweet? Little Velma works at the local insurance agency. They love her there because she can take one look at a customer and without looking up a shred of paperwork say something like this "Hi Bob! How's your oldest girl? You know she's about ready to get her learner's permit so I've already looked up the most affordable coverage for her. Does she have really good grades? She can get an extra discount if she does" and so on. Little Velma is really good at generating sales. She is sweet and friendly and always knows your name and remembers all about your family. Everybody loves little Velma.

      /cue ominous music/......But we here in the PC business have a nickname for little Velma, one that she don't know about but is well earned it is....the disaster area! Dum dum dum! That is because little Velma is the trusting kind of sort, and on a computer that equals danger. Let's watch as little Velma interacts with her friendly neighborhood PC repairman, a big but lovable biker looking chap known on the net as hairyfeet.../feet/Now Velma, we have talked about this. you shouldn't mess with email attachments, I don't care who they are from. And if it is a .zip that you have to put a password to open it is a virus and you shouldn't touch it! /Velma/ But my bff Kim sent me this! See there is her name and everything! I'm sure it will be safe! /feet/Velma look, it is an executable and NOT happy puppy pictures! Do NOT run that! /Velma/ Oh, you worry too much. My bff Kim wouldn't send me anything bad. (inputs password, runs .exe, porn popups start flooding the screen while the network gets pounded) ooops. /feet/ .......

      And now you have seen an actual demonstration of why Linux is safe on servers. It is safe on servers because it is administered by guys like Glenn, say goodbye Glenn (I'm busy!) and does NOT have any Velma types mucking it up. Say goodbye Velma (Bye Y'all!). If you were to let Velma and all her friends loose on Linux if they didn't break them immediately they would become spambots in no time. It is because the malware writers have already figured out how to use a sinister concept called social engineering to target Velma and her types VERY effectively. Glenn isn't very social (Bite Me!) and is a naturally cynical creature and therefor social engineering really isn't an effective tool on his type. This is why Linux can enjoy the freedom to operate on some many servers across America without the constant malware like poor Velma gets. Tune in next week when we meet Bob, the Windows network admin, also known as the "where the hell is the damned disk?" guy.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    27. Re:Ubuntu by sjames · · Score: 1

      I can buy that unskilled people being granted admin access could be the problem, but that's not a function of market share.

      However, then we have to look at how possible it is for an ordinary user to get through their day without administrative privilege.

    28. Re:Ubuntu by sjames · · Score: 1

      Infect a linux web server and you can then infect 10,000 XP machines that visit the website.

    29. Re:Ubuntu by Nick+Ives · · Score: 1

      How is Unix UID/GID equal to Windows ACLs? I'm genuinely curious, as looking at the permissions tab in Windows it looks like it's possible to have more fine grained permissions in Windows than in Unix. I thought SELinux was aimed at replicating that functionality and going a bit further!

      --
      Nick
    30. Re:Ubuntu by Anonymous Coward · · Score: 0

      Why was parent modded as Troll?

    31. Re:Ubuntu by Zaiff+Urgulbunger · · Score: 1

      Having used Linux for a couple years now, I know that rebuilding your Linux machine is a monthly occurrence up until a year or so ago , and now it's every few months.

      (My emphasis)

      Erm.... you sure about that?!! There's a number of things Linux could be criticised for, but the need to rebuild really isn't one of them.

    32. Re:Ubuntu by Anonymous Coward · · Score: 0

      http://remuscm.blogspot.com/2009/05/inca-una-de-pe.html

    33. Re:Ubuntu by Anonymous Coward · · Score: 0

      I can still encrypt your entire home directory and delete everything I have access to with just a simple program

      Which is totally profitless to a virus writer. I haven't even seen a virus like that on windows for decades and windows have millions of viruses written for it.

      Did you skipped 2008?

    34. Re:Ubuntu by OjM · · Score: 1

      I'd butt in this and say that multiple army systems were compromised by conficker worm. Ya think banks have better people fiddling with their servers, eh?

    35. Re:Ubuntu by Dr_Barnowl · · Score: 1

      Some viruses are "ransom-ware" - they encrypt your files and send the key to the virus author. Then they demand money to get the key to unencrypt your files.

    36. Re:Ubuntu by miknix · · Score: 1

      The Windows NT security model is actually more advanced and capable than the base Unix security model. It's only because of culture, better-written 3rd party programs and marketshare that Linux/Unix doesn't have a malware problem.

      Don't forget that Linux has some "extra" patches to complement the UNIX security model. For example, GRSecurity and SELinux.
      I suggest reading what is SELinux so you are able reformulate such claim. In fact, SELinux comes active by default on many desktop GNU/Linux distributions.

      I believe Microsoft doesn't have anything close to a *formally-verified kernel* that enforces Mandatory Access Control. SELinux not only provides more and "deeper" MAC policies but its formal validation guarantees the correctness of the specification in which the implementation is based.

    37. Re:Ubuntu by Anonymous Coward · · Score: 0

      So what is it about the Windows security model that's inferior to the Linux one? Because all of the documentation I've read says otherwise (SELinux aside).

      Now, if you want to talk about Windows Explorer being weak with security, I'll buy that. If you want to talk about a culture of "don't care about security", I'll buy that. But don't tell me that the NT security model is weak.

      Token Hijacking - Cesar Cerrudo (?sp)

      Just Google/read and tell me the security model isn't horribly flawed.

    38. Re:Ubuntu by Anonymous Coward · · Score: 1, Funny

      I gave ubuntu a try a few days ago.
      First: my Nvidia 7600GO stopped working, reinstalled the drivers.. no joy, whent to the irc help channel, noone responded. looked through the forums, found a few others with similar problems, but no solutions.
      gah, so i reinstalled ubuntu. Shit worked now!
      Then wifi suddenly started toggling on and off.. no help from forums or irc ... reinstalled, for the second time in 2 days.
      after a whole day of use, with no problems, screen started flickering... GAH.. reboot doesnt help, i boot to windows see if the problems there aswell, nope. works great in windows!
      I uninstalled the piece of shit OS, 3 major issues in 3 days.
      4 years of windows on the same machine, without any reason to reinstall the OS. ( i upgraded from XP->Vista->Windows 7 ).
      Im not a ms chill, i really wanted to like ubuntu.

      PS Windows 7 is faster ( after boot ) then Ubuntu... with Aero on.

    39. Re:Ubuntu by miknix · · Score: 1

      I would like to add that such SELinux policies are handled automatically by the package manager. For instance, if you install apache the corresponding policies are also installed. This tells the MAC kernel what apache CAN do (file access, memory, more than you can imagine), everything else is denied. If apache is hacked, the attacker can do little or nothing outside the scope of apache.

      As you can see this ends up being (almost) transparent for the end user, in contrast to the Windows Policy Manager or the infamous Allow/Deny popups seen everywhere in the Microsoft ecosystem (firewalls, antivirus, operating system).

    40. Re:Ubuntu by toadlife · · Score: 3, Informative

      A program can't wait in the background and get root when someone types sudo.

      When password caching is turned in (like it is by default in Ubuntu) yes, it can.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    41. Re:Ubuntu by EricJ2190 · · Score: 1

      Linux also supports detailed ACLs: http://www.suse.de/~agruen/acl/linux-acls/online/

      SELinux is more about limiting what applications, not users, are allowed to do.

    42. Re:Ubuntu by siride · · Score: 1

      Notice how I said "base Unix security model". In another post, I did actually mention SELinux. It is quite powerful, albeit a bit unruly for a regular user to administer. Thankfully, distros have done a good job with creating working default policies.

    43. Re:Ubuntu by miknix · · Score: 1

      Notice how I said "base Unix security model".

      My bad. My post is still valid though, for the distracted crows.

      In another post, I did actually mention SELinux. It is quite powerful, albeit a bit unruly for a regular user to administer. Thankfully, distros have done a good job with creating working default policies.

      Indeed, like I said in the two previous posts.
      And like everywhere else, uneducated users will just turn off SELinux if it starts messing with their runtime.

      - -
      We always end up concluding that the best security framework can't protect users from their own stupidity.

    44. Re:Ubuntu by toadlife · · Score: 1

      I googled it. It was a privilege escalation flaw and Microsoft patched it.

      So?

      The next time a privilege escalation vuln is discovered in the Linux kernel are you going to proclaim the linux kernel "horribly flawed" and swear it off?

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    45. Re:Ubuntu by Sir_Lewk · · Score: 2, Interesting

      A program can't wait in the background and get root when someone types sudo.

      Actually, it most certainly can. Exercise a little creativity.

      Alias 'sudo' for a user to script in the user's home directory that looks like sudo, and even executes sudo as the user thought they were, but also logs whatever password they typed. Bamn, no you have the users password and (in the vast majority of cases) the ability to gain root. All of this is quite easy to do, I've done it myself in the past. Takes about 3 minutes to bang it out.

      It should be noted that this can also easily be done for 'su'. The trick is rather blunt, and anyone that thought too look for it would immediately notice it, but if your target isn't suspecting you are good to go.

      I'm not saying Linux is infallible however the examples people like you list to try to pretend a Linux system is "just as bad" at security are ridiculous at best.

      Agreed, full heartedly.

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    46. Re:Ubuntu by Bengie · · Score: 0, Troll

      Really? seems to differ and wasn't the only reference I could find for microsoft.com defaced (seventh link).

      SQL injection != Kernel Flaw

      Not an example of bad security but bad programming.

      http://www.xatrix.org/article.php?s=3640
      "They found the administration page and performed a SQL injection attack, allowing them to manage the content of the section."

      OMG!!! Linux is SUPAR UNSAFE!!! It is vulnerable to SQL injection attacks!... Every OS has this issue because some moron decided to not validate their SQL string and/or didn't use parameterized variables.

      Actually, I went through and googled a bunch myself and all the results for the past decade where SQL injection or they didn't specify but mostly SQL.

      Next time you feel like showing off how un-secure and OS is, I'll load up SELinux, set it up to let root telnet in, give root a blank password, open up all the ports on my firewall and see how long it takes for SELinux to be "hacked"

    47. Re:Ubuntu by Anonymous Coward · · Score: 0

      Except ACLs aren't used on Linux. They're used on Windows. Do any system even come with ACLs properly setup nowadays? I still see the shitty user/group/others system on every distro.

    48. Re:Ubuntu by Runaway1956 · · Score: 1

      One of the earlier posters has already admitted that ACL's are nearly equal between Linux and Windows, if administered with similar expertise - in the very same post in which he asked everyone to ignore SEL. You judge. Security Enhanced Linux is simply not available on Windows, to the best of my knowledge.

      But, even restricting ourselves to ACL's - default Linux installations beat default Windows installations all to hell and back on workstation installations, and server installations are nearly equal for ACL's. But - how many Linux servers do you think are run without SEL? Meaning, of course, that the Linux server has all of the best that Windows has to offer, PLUS SEL.

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    49. Re:Ubuntu by Runaway1956 · · Score: 3, Interesting

      But, an earlier poster mentioned the fact that corporate and financial institutions have all this money to pay high powered administrators. If the administrators are working with a decent operating system, and if the administrators are competent, then Enterprise is safe, right? And, the military too, right?

      How's that British thing working out now? Windows for Submarines? The last I heard, it was down. Who has more expertise in securing computers than the US or the UK departments of defense? If THEY can't secure Windows, then who can?

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    50. Re:Ubuntu by amorsen · · Score: 3, Insightful

      ACL's don't make a ton of sense in the default configuration, and few people use them correctly (but luckily on Linux hardly anyone besides me uses them at all, so the problem is limited).

      The "shitty" user/group/others system is understandable by regular users and they tend to use it correctly. There are cases where it isn't flexible enough. Most of those can be handled by asking the systems administrator (which tends to be the user anyway, these days) to set up an extra group, but otherwise setfacl works fine.

      --
      Finally! A year of moderation! Ready for 2019?
    51. Re:Ubuntu by Anonymous Coward · · Score: 0

      Which is totally profitless to a virus writer. I haven't even seen a virus like that on windows for decades and windows have millions of viruses written for it.

      Ransomware

      So what if they do? Executing the sudo command is limited to the program you're sudo-ing, not your whole session. A program can't wait in the background and get root when someone types sudo.

      Why can't they? Programs with user-level privileges (such as viruses waiting patiently for the opportunity of privilege escalation) can still do a lot to intercept and change the user experience leading to a compromise. For example, in bash, imagine something as simple as "alias sudo='sudo /home/username/.malicious_script'".

    52. Re:Ubuntu by Anonymous Coward · · Score: 2, Funny

      And if Velma's desktop were set up properly, with her having a non-administrative account and the home partition mounted non-executable? Oh right, she wouldn't be able to run the malware.

    53. Re:Ubuntu by Miseph · · Score: 1

      "I can buy that unskilled people being granted admin access could be the problem, but that's not a function of market share."

      lolwut?

      Do you mean to imply that the market share of "people who are not trained sysadmins" is even remotely comparable to the market share of "trained sysadmins"?

      Increasing Linux market share would necessarily mean that less qualified and unskilled people would be running it. Linux will be hit double by increasing popularity, first because it will be more appealing as a target, second because it will have a substantially decreased user skill base.

      That may or may not make it more/less secure than Windows, I concede that I am simply unqualified to know... but I somewhat suspect that they intrinsically comparable, but that the Windows malware war has significantly more experienced veterans and substantially more evolved tactics to match on both sides.

      To put it into a car analogy: NASCAR stock cars travel hundreds of miles at speeds in excess of 200mph only inches apart from one another while driven by professional race car drivers, and in many many thousands of miles driven, there are rarely even 2 or 3 fatalities in a given year. Clearly if we gave every day drivers access to these vehicles for their everyday travel, commutes would be much faster and safer. This logic doesn't hold up, and neither does yours.

      --
      Try not to take me more seriously than I take myself.
    54. Re:Ubuntu by catmistake · · Score: 0

      bullshit. While it's true Windows has been victimized and targeted, there are fundamental security design flaws in NT that you won't find In UNIX. All the security fixes in Windows aren't fixes, but patches. By the GB, there's more patches in Windows than OS. Just because Windows has been targeted doesn't mean those security flaws suddenly appeared when someone exploited them... they were there all along. UNIX has unpublished flaws too, but nothing even remotely on the order of Windows. On UNIX, if you don't root the machine, you haven't taken it, and it's no trivial task to do remotely. On Windows, there are a ton of different escalation vectors, and mealy all roads lead to full box control. Between 1994-2001, nothing matched NT in utility and security. But while malware authors did, NT did NOT grow or adapt; it's the same damn OS with all the old problems. AND it's still the favorite target.

    55. Re:Ubuntu by boxwood · · Score: 1

      missing the point. All of the things that viruses do now in windows can be done on linux without having root. The virus only needs the ability to run services in the background and have internet access. I'm pretty sure your user account has permissions to do these things.

    56. Re:Ubuntu by chentiangemalc · · Score: 1

      > DOS, Windows 3.x, and Windows 95 to provide backwards compatibility. These have been a _disaster_ in security terms, and very difficult to address due to the closed nature of the code and difficulty of upgrading other components to preserve compatibility These have never been a "Disaster" in security terms. Yes there have been some published exploits, that mostly not implemented in malware / attacks prior to Microsoft patching the issues.

    57. Re:Ubuntu by mysidia · · Score: 1

      So what if they do? Executing the sudo command is limited to the program you're sudo-ing, not your whole session. A program can't wait in the background and get root when someone types sudo.

      Once you run sudo, it creates a temporary file in .fido somewhere, or /var/run/sudo

      Anyways, the timestamp on the file indicates the last time you typed a password to run a sudo command.

      Once you do it once, Sudo remembers (for a duration) that your username has recently typed the password, and further uses of the 'sudo' command will not require that a password be entered from some time.

      Even if those other users are from a background cron job, script running daemonized, or a user logged into a different terminal, the password won't be required again, so there is a potential duration during which your use of 'sudo' has exposed you to potential attack.

    58. Re:Ubuntu by drsmithy · · Score: 5, Informative

      The Windows and Linux security models are virtually identical if you exclude MAC (SELinux etc.).

      Except for NT having no concept of a superuser and Linux utterly dependent on one to implement nearly all aspects of a usable system.
      Except for the finest granularity in Linux being the group and in NT the user.
      Except for the utter nightmare in Linux trying to create exclusionary or complicated sets of permissions with multiple users and/or groups.
      Except for the NT ACLs applying to nearly all objects in the OS, and in Linux only things represented in the filesystem.
      Except for NT ACLs controlling nearly all ways to manipulate an object and in Linux being limited to read, write and execute.

      "Virtually the same" my arse. NT's security model is vastly more capable than traditional UNIX's.

      The main difference is that people actually understand the basic Unix model of users and groups and so they often manage to set their file permissions to something relatively sane. Practically noone uses the full power of ACL's on either system.

      NT's permissions capabilities are a superset of Linux's. If someone understands the latter, then they can implement something *at least* as good on the former with the same amount of effort.

    59. Re:Ubuntu by ibsteve2u · · Score: 1

      Also, while the kernel of NT was based on VMS when David Cutler stole his old work from DEC...

      A nice example of what the patent and copyright systems do to progress...DEC dropped Mica, and Cutler resurrected the concept to the later benefit of tens of millions of consumers...but at Microsoft. Although I believe that DEC erred in dropping it, they (or at least the people I knew from DEC in the '80s and '90s) still didn't deserve the fate of being consumed by...shudder...Compaq.

      There are those who argue that the security issues that have plagued Windows arise from the Intel architecture (which is changing...almost all Core 2 and later Intel procs have some clue about the meaning of "trusted execution"). Perhaps more accurately, there are those who argue that Windows' - and all other operating systems' - entire problem was, is, and always will be the amount of O/S privileges the user routinely has. Windows was designed to be used by a single user who was all-powerful...in that paradigm, viruses/trojans are the de facto introduction of a malicious second user; the equivalent of handing your keyboard to a living, breathing asshole. Linux/Unix/VMS/OpenVMS were/are multiple user operating systems...with the operating system itself being a user who was all-powerful, and all other users being less so and thus incapable of harming the O/S. The more often the less powerful the user, the more secure. Now we see Windows adapting the multi-user paradigm, and consequently becoming more secure.

      I won't say that I like it, in particular...too many years of being that all-powerful user on VMS, 'nix, and Windows systems, I suppose. Security is computational overhead.

      --
      Orwell: "In a Time of Universal Deceit, telling the Truth is a Revolutionary Act"
    60. Re:Ubuntu by __aasqbs9791 · · Score: 2, Interesting

      ...Don't you think someone would love to serve malware from, or deface microsoft.com? It hasn't been,...

      Was the part I was responding to not bold enough for you? There, I fixed it for you.

    61. Re:Ubuntu by Opportunist · · Score: 1

      Depends on your goal. If you want spam sluggers or if you want to collect access credentials to, say, online banking, paypal, Amazon or EBay, I'd go for the 1000 XP desktops.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    62. Re:Ubuntu by ewanm89 · · Score: 1

      linux also has ACLs if you want to turn them on and use them, SELinux and Apparmor take it a lot further by sandboxing. We are now in features windows doesn't have without third party software.

    63. Re:Ubuntu by boxwood · · Score: 1

      I don't know linux has some really good package management systems available, and those could be easily adapted to make malware difficult to install and run. You could set it up that executables are not allowed under /home and every .deb or .rpm has its MD5sum is checked against an approved software list. Or checked against a known malware list. If its not approved or is known to be malware the package manager refuses to install it.

      Compare this to windows where most of software installs are done by clicking a setup.exe file. Yes there is the .msi windows installer available, but not everyone uses that. And if you tried to set the user profile directory to not allow executing file (is that even possible in windows?) a lot of apps wouldn't work because they install exe's there (eg. google chrome).

    64. Re:Ubuntu by Xtifr · · Score: 1

      So what is it about the Windows security model that's inferior to the Linux one?

      Well, most notably, the fact that execute permission is implicit in a filename, rather than being a separate attribute that must be manually set.

    65. Re:Ubuntu by Anonymous Coward · · Score: 0

      But - how many Linux servers do you think are run without SEL?
      Um, like, 99%?

    66. Re:Ubuntu by Mr2001 · · Score: 1

      Compare this to windows where most of software installs are done by clicking a setup.exe file. Yes there is the .msi windows installer available, but not everyone uses that.

      Actually, third party frameworks like InstallShield and WISE are now based on Windows Installer, so most of those setup.exe files go through the same API.

      --
      Visual IRC: Fast. Powerful. Free.
    67. Re:Ubuntu by siride · · Score: 2, Informative

      No, that's a shell feature. KDE and GNOME have had the same flaw. You name something .desktop and it will be executed/interpreted by the KDE/GNOME shell. The NT kernel uses the same mechanism as Unix for permissions.

    68. Re:Ubuntu by Anonymous Coward · · Score: 0

      Also you're side stepping the whole issue that most Linux distributions provide you with all the software you need so the whole running a third party executable is much less likely to happen.

      I'd like you to meet my friends, funnykittens.exe and friskycheerleaders.exe. Not having a good reason to run an executable won't stop you from running an executable if you're an idiot^W non-technical user. If Linux ever becomes popular, it will acquire many many non-technical users, which will make all sorts of trojans viable, not to mention more covert and virus-like avenues of attack. "Oh yeah, that's a minor driver issue. To get that to work you'll just need to run this shell script... oh yeah, use sudo... oops, your computer is pwnz0red now."

      (And yes, I know Linux doesn't use the .exe extension that way.)

    69. Re:Ubuntu by Runaway1956 · · Score: 2, Interesting

      Remedial reading 101 at a community college near you. Take it.

      I SAID that Linux systems guard more than enough money and data to make thousands of hackers rich beyond their wildest dreams. I never inferred that they guard more money and data than Windows systems guard. While the latter MIGHT be true, I don't have the data necessary to draw such a conclusion. Common sense says that it's probably NOT true.

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    70. Re:Ubuntu by vistapwns · · Score: 1

      Cuz no bank has ever been compromised? Or were you saying something else? Also, what army systems? Chow hall management, or battlefield intelligence or what? Makes a bit of a difference. And additionally, we have to second guess the competence of IT and whatever management had them on a leash, maybe Army IT guys aren't the best, why assume they are?

      --
      "...I think the Microsoft hatred is a disease." - Linus Torvalds
    71. Re:Ubuntu by sjames · · Score: 1

      I mean the problem has distinct mechanisms. The market share model claims that more attackers target windows simply because it's more common and that it's exploited more simply because it's targeted more.

      I maintain that (in part) it's more targeted because it's unskilled admins make it an easier target. There is a difference.

      Most importantly, the former suggests there is nothing to be done about it while the latter suggests that making things simple enough for unqualified people to sort of do it (badly) rather than just letting them fail so they go get someone qualified or educate themselves to become qualified is not a very good approach and that it can be fixed by not doing that anymore.

      To go with vehicular analogies, there's a reason we don't simplify a jetliner's controls down to select destination and press the go button. Even if we did simplify it that much, we would NOT allow people off the street who could just barely manage that much to become commercial pilots and we would not remove all those complicated manual controls just to keep such fools from hurting themselves and others.

      Instead, we wisely tell people "if you don't know what all that is, you may not fly the plane" and we have schools for people who want to learn so they can fly the plane and everyone else hires (indirectly through an airline) people who went to those schools.

      For the computer case, learning from books would be acceptable in lieu of school since life doesn't hang in the balance for home use.

      From what I've seen, many people would be totally flummoxed if they had to save an install file to the desktop and then run an installer on it rather than double-click in the browser and click OK. We would all be better off that way, if they can't be bothered to learn to do that much, they have no business installing software on a machine with network access.

    72. Re:Ubuntu by asdfghjklqwertyuiop · · Score: 1

      A program can't wait in the background and get root when someone types sudo.

      Yes it can.

    73. Re:Ubuntu by Arthur+Grumbine · · Score: 1

      One critical server running linux is worth a lot more than 1000 XP desktop machines running solitaire.

      And what's in Fort Knox is worth a lot more than what's in 1000 local banks. Yet nationwide robbers persist in the lower value targets... I wonder if it might have anything to do with the people defending the wealth.

      --
      Now that I think about it, I'm pretty sure everything I just said is completely wrong.
    74. Re:Ubuntu by wumpus188 · · Score: 2, Interesting

      That is why I always type /usr/bin/sudo instead of just sudo. And people call me paranoid...

    75. Re:Ubuntu by gringofrijolero · · Score: 1

      Someone, somewhere, will run a sudo command eventually...

      If it makes me a sandwich, who am I to complain?

      --
      Todos mis movimientos están friamente calculados
    76. Re:Ubuntu by 517714 · · Score: 5, Funny

      Nobody calls you paranoid, you just think they do.

      --
      The US government have made it clear that we have no inalienable rights; any we do not defend vigorously will be taken.
    77. Re:Ubuntu by toadlife · · Score: 1

      That certainly is possible, though the web server would need to be hosting a pretty popular website given the fact that infection rate per visitor is rarely near 100%. Pretty much all of the zombie Linux servers I've see trying to log into my server via ssh have turned out to be Linux/Apache/Cpanel machines owned by reseller hosts. I think the appeal of linux servers among bot herders is the ability to send out email directly. Many ISPS block SMTP outgoing due to the bot problem, so XP bots can't infect other machine by sending out infected email attachments.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    78. Re:Ubuntu by sjames · · Score: 1

      You're arguing MY point now. They hit the lower value XP targets because they can crack those!

    79. Re:Ubuntu by Anonymous Coward · · Score: 0

      Yes, my unshakable faith in the implementation of the Linux security model would be shaken by credible proof that it was flawed and could not be patched in a semi-reasonable period of time.

      4 years after vendor notification (the first link is NOT the first announcement of this) MS releases a patch that almost, not-quite, oops didn't think about it that way, got it this time, oops and that time, here we go again...
      fixed the problem. Think RPC-DCOM

      Microsoft used to host a Silverlight presentation on the subject, but I'm not sure it's the one at the Channel9 link below.

      http://www.gentlesecurity.com/04302006.html
      and
      http://www.argeniss.com/research/TokenKidnapping.pdf
      and
      http://www.zdnet.com/blog/security/one-year-old-unpatched-windows-token-kidnapping-under-attack/2894
      and
      http://channel9.msdn.com/posts/Dan/BlueHat-v7-Katie-Moussouris-interviews-Cesar-Cerrudo-on-token-kidnapping-in-Windows/
      and

      from Blackhat 2010 http://www.blackhat.com/html/bh-us-10/bh-us-10-briefings.html

      Cesar Cerrudo
      Token Kidnapping's Revenge

      On April 14, 2009 Microsoft released a patch (documented here) to fix the issues detailed in my previous Token Kidnapping presentation (download PDF). The patch properly fixed the issues but...

      This new presentation will detail new design mistakes and security issues that can be exploited to elevate privileges on all Windows versions including the brand new Windows 2008 R2 and Windows 7. These new attacks allow to bypass new Windows services protections such as Per service SID, Write restricted token, etc. It will be demonstrated that almost any process with impersonation rights can elevate privileges to Local System account and completely compromise Windows OSs. While the issues are not critical in nature since impersonation rights are required, they allow to exploit services such as IIS 6, IIS 7, SQL Server, etc. in some specific scenarios. Exploits code for those services will be released. The presentation will be given in a very practical way showing how the new issues were found, with what tools, techniques, etc. allowing the participants to learn how to easily find these kind security issues in Windows operating systems.

      The implementation of the underlying security model is broken, which is why it took 4+ years to address the initially identified issue and why we can count on 2-10 more patches for different variants of the same issue.

      It often seems as though the MS marketing department makes design/security decisions for their engineers resulting in all kinds of painfully obvious security holes that reach into the heart of the kernel. At first glance, the Windows and UNIX security models are similar. At their implementation, they are worlds apart. Believe what you wish, but it's much harder to elevate on a properly secured Linux, *BSD, or even Solaris box than it is in any flavor of Windows.

    80. Re:Ubuntu by sjames · · Score: 1

      Cnn.com would be a pretty nice target for a bad guy, they get a hit or two :-) Youtube would be a rather nice trophy as well. Think of all the poorly configured machines that visit that!

    81. Re:Ubuntu by Anonymous Coward · · Score: 0

      running linux (various distros throughout the years) as well as Open and FreeBSD, I'd like to point at that with most linux distros, the majority of the software is third party software. In fact that's pretty much the deal with the BSDs except that OpenBSD does more of a sanity check on the software it provides ports for.

      Most people running a popular Linux distro will be running much more third party software than a typical Windows user - or at least have more installed.

      btw, if you want a citation, go to wiki. This is slashdot.

    82. Re:Ubuntu by Arthur+Grumbine · · Score: 1

      Actually, my point was about the people behind the defense - Fort Knox is defended by trained and armed soldiers, banks by unarmed rent-a-cops. A critical Linux server is defended by a paranoid and capable admin, a desktop PC by McAfee/Norton and a clueless user.

      --
      Now that I think about it, I'm pretty sure everything I just said is completely wrong.
    83. Re:Ubuntu by jonadab · · Score: 1

      > Since switching to Ubuntu, over three years ago, I haven't used AV.

      I've never used AV on my personal computer, and the last time I had a virus incident, the transmission vector was a 360K floppy disk. (That's a double-sided double-density disk for you young whippersnappers who don't remember 5.25" drives. I was running DOS 3.3 at the time.)

      I do use other forms of protection, such as a sane firewall configuration (everything not explicitly permitted is implicitly verboten) and safe computing practices (get my software from reliable sources, try to keep up to date on security updates, don't run unnecessary services, use mail client software that doesn't do anything with non-plaintext MIME parts except extract them to a file and that only when I say so, and so on and so forth; basically, don't deliberately do anything that's obviously foolish), and I try to avoid software with a bad security track record (Outlook, Sendmail, that sort of thing).

      Basically, I just try not to be a complete idiot. Seems to work pretty well.

      Antivirus software does, of course, have a place. It's useful, for instance, when you have users who don't really know what the word "executable" means, don't understand that the From field can be forged, don't know the difference between a banner advertisement and dialog boxes, and could not off the top of their head tell you whether the computer has AV software installed or what it's called. You know, end users. People who just want to use the Menu Document to open the Word Program they typed yesterday in Windows XP 7 so they can print their email. In such situations, AV software is helpful We have it at work, and I keep it up to date.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    84. Re:Ubuntu by Anonymous Coward · · Score: 0

      I think you mean "turned on", but yes, sudo is a dangerous command and it is better to disable caching if you are going to use the terminal at all.

      I wrote a POC script that would take over automatically and silently(using several terminal tricks) when it had escalation opportunities. With control of home, it can append itself to some .emacs .vim or .profile file for example that run the script each time you start them up.

      Any terminal other than xterm additionally allows SendEvents which means a running program can wait for you to type sudo, wait for the next command after you type your password and then insert the evil commands with 100% success rate. Again with control of $HOME TSR keylogging(+keysending +home-phoning) programs are trivial if not as complete as with root.

    85. Re:Ubuntu by toadlife · · Score: 1

      It requires "SeImpersonatePrivilege", which is only granted by default to administrators and SYSTEM and the ASPNET account.

      From the link...

      While the issues are not critical in nature since impersonation rights are required, they allow to exploit services such as IIS 6, IIS 7, SQL Server, etc. in some specific scenarios.

      On the topic of horrible design flaws, X* has always allowed non-root users to capture keystrokes - something that without an exploit, cannot be done in Windows NT.

      But then, you probably never use X* right?

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    86. Re:Ubuntu by amRadioHed · · Score: 1

      ACLs have been in the default configuration for years on my distro, I'm sure it is the same on others as well. And the ACLs can be configured in KDE4 as easily as on the Windows desktop.

      --
      We hope your rules and wisdom choke you / Now we are one in everlasting peace
    87. Re:Ubuntu by sumdumass · · Score: 1

      One point about Velma being let loose on Linux. I have several locations where internet access by third parties and outside people is desirable. I have sectioned off a network that's fire-walled from the business nets and installed a couple Linux workstations to facilitate this unsecured access.

      The most I get called on about in this environment is where a web browser popup says they are infected with something and they can't get the anti-virus it said to use installed. Of course there are tons of outsiders wanting to help with "click it this way" or "you need to be the administrator, right click and select run as then type administrator". I once got a call about the administrator account having been removed from the machine when some rocket scientist consultant attempted to install some program to view the "i love you" message/video his ex girlfriend sent him. (by rocket scientist, I mean the owners nephew or kid or relative or smarter then you next door neighbor, I didn't mean to put actual rocket scientists down that low). And there are those people who found it listed in a forum somewhere that in order to run the program they just downloaded from some random internet site that does something barely legal, they have to disable the anti-virus scanner first because big business has the program listed as a virus to stop you from running it and force you to purchase their version.

      Anyways, while the system is still being administrated by a somewhat competent administrator, I really have no problem letting Velma and her kids run wild on it. It simply doesn't let them screw most things up and on the rare occasion it does, I simply restore the /home/user directories to a recent backup that was made with all the Firefox updates and viewers and programs we want them to be able to use. I monitor the traffic on that network as part of the IDS procedures we have in place and to date, they aren't spam bots or or warez traffic.

      I guess what I'm getting at is even Velma could be safe on Linux if Glenn or one of his buddies set it up for her. as long as she can do what she wants that isn't destructive, Velma will not know the difference.

    88. Re:Ubuntu by dasunt · · Score: 1

      Except for NT having no concept of a superuser and Linux utterly dependent on one to implement nearly all aspects of a usable system. Except for the finest granularity in Linux being the group and in NT the user. Except for the utter nightmare in Linux trying to create exclusionary or complicated sets of permissions with multiple users and/or groups. Except for the NT ACLs applying to nearly all objects in the OS, and in Linux only things represented in the filesystem. Except for NT ACLs controlling nearly all ways to manipulate an object and in Linux being limited to read, write and execute.

      While I agree with you that in theory, NT's permissions capabilities are more fine-grained and thus should provide a better security model than unix, in practice, I wonder if the complexity of NT's model commonly leads to bad implementations in practice.

      There may be something to be said for simple & dumb.

    89. Re:Ubuntu by Joe+U · · Score: 1

      There may be something to be said for simple & dumb.

      It's called Apple.

    90. Re:Ubuntu by ScottCooperDotNet · · Score: 1

      Also, while the kernel of NT was based on VMS when David Cutler stole his old work from DEC, it was forced to integrate numerous historical poor choices of DOS, Windows 3.x, and Windows 95 to provide backwards compatibility.

      Windows NT was released well before Windows 95 was, and did not include DOS.

    91. Re:Ubuntu by drsmithy · · Score: 1

      While I agree with you that in theory, NT's permissions capabilities are more fine-grained and thus should provide a better security model than unix, in practice, I wonder if the complexity of NT's model commonly leads to bad implementations in practice.

      No, the biggest problem stems simply from users deliberately circumventing the security model - typically by willing running arbitrary code with elevated privilege levels. While it's true NT's more capable system is frequently not used to tighten down a system any more than a classic UNIX scheme could, it is also not left any more open (at least by default).

      There may be something to be said for simple & dumb.

      It wouldn't make a difference. The most intricate security system in the world is rendered useless by someone already authorized deliberately providing others access.

      To put it another way: no system over which an ignorant user has complete control can be secured. You can put up as many "are you sure" barriers as you want, but so long as someone who doesn't understand has the ultimate power to click "OK", then the nasties are inevitably going to get in.

    92. Re:Ubuntu by drsmithy · · Score: 1

      The "shitty" user/group/others system is understandable by regular users and they tend to use it correctly.

      No, they don't. They simply tend not to use it at all (either in Linux or equivalent usage in Windows).

      There are cases where it isn't flexible enough. Most of those can be handled by asking the systems administrator (which tends to be the user anyway, these days) to set up an extra group, but otherwise setfacl works fine.

      IME, the most common case of u/g/o being insufficient (or impractical), is when someone wants to allow or deny a specific user access. The next most common case applies to the same situation but a group of people other than the one the file is already owned by.

      However, this talk of "users" changing permissions is silly, because it just doesn't happen in the real world. When "users" want to share something between multiple people - assuming they don't get their ssysadmin to do it (or don't have one) - they either email it or put it into a world-writable shared directory with permissions set to "allow anyone full control".

    93. Re:Ubuntu by drsmithy · · Score: 1

      Das Auge made a reasonable statement - and you respond with that old stupidity. "It's all about market share".

      It's more about user demographics than marketshare, though marketshare is also a non-trivial factor (and intrinsically linked to user demographics anyway).

      Windows NT security model is in now way, shape, or form, "superior" to *nix security model.

      The Windows NT security model is superior to the classic UNIX security model (which is all the vast, vast, vast majority of UNIX or UNIX-alike systems are configured , even if they're technically capable of more advanced functionality like ACLs or SELinux) in every measurable way.

      But I've said it before, I'll say it again: Linux systems, worldwide, guard more money and data than it would take to make thousands of hackers filthy rich. If it were easy, they would have done it already, instead of fighting over that huge Windows market share.

      You might want to contemplate for a while how many of those Windows systems provide gateways into all that money and data being "guarded" by Linux, or are directly responsible for putting it there in the first place. You might also want to contemplate the difference between attacking an actively monitored, professionally managed server system and an unmonitored, unmanaged home PC whose users almost certainly understand nothing about security.

      The biggest security hole in any system is the people. Which person do you think presents a softer target - the 12 year old girl who spends 4 hours a day using Daddy's computer for Facebook, or the bearded Linux sysadmin with an encrypted, hidden volume on his USB key ?

    94. Re:Ubuntu by drsmithy · · Score: 1

      One of the earlier posters has already admitted that ACL's are nearly equal between Linux and Windows, if administered with similar expertise [...]

      And he's wrong.

      But, even restricting ourselves to ACL's - default Linux installations beat default Windows installations all to hell and back on workstation installations [...]

      How so ?

      But - how many Linux servers do you think are run without SEL?

      Most of them. Heck, I'd be amazed if the proportion of Linux servers using SEL at all was more than a few percent, and those with it configured specifically for their purpose a significant fraction of that.

    95. Re:Ubuntu by hairyfeet · · Score: 1

      Linux is safe...as long as you don't allow it on the Internet and never update it. Sound familiar? Just the other day I was chatting online with a guy that bought one of those Dell Ubuntu netbooks. Now here is a guy that bought a Major OEM machines designed for UBUNTU so he should have it better than us, right? Guess what? When he updated to the latest 10.04 there was NO sound, wireless was fucked, does this sound familiar?

      Linux is JUST AS SHITTY as Windows, it is only shitty in different ways. While Linux won't have you pulling your hair out because Velma got a bug it WILL having you bashing your skull against a wall because the QA in Linux is so piss poor that running updates borks hardware more often than not. It don't matter if you OEM, or DIY, Linux driver QA is shitty on a whole new level compared to Windows. Oh and unless you are working at a major corp as a BOFH taking away all users right tends to get one...oh what is the word?...oh yeah FIRED.

      So ultimately I've found it easier to restrict as much as allowable and clean up the occasional mess (W7 is pretty good in this regard) than it is to deal with trawling forums for God knows how long trying to fix whatever Ubuntu or whatever distro fucked up this week. I was on Ubuntu from 6 to 9.04 and I don't think I EVER got to run updates without something breaking. So if you think running without any updates at all including ones that are security related is cool, then yeah, Linux is your OS. Glenn has testing servers and gets paid the big bucks to deal with the headaches, which I have found are infinitely fewer with servers costing $$$$$$ than with your average Dell desktop.

      But your average SMB, SOHO, small enterprise, etc simply aren't gonna pay to have an admin around 24/7 to deal with permissions issues, or update borked my hardware issues, or I updated and Ubuntu went blackscreen, etc. Linux is much too complex for your average user to admin, and most won't pay you to do it, so you give them Windows, lock it down with AV and antimalware as best you can, and let the chips fall where they may. But expecting Linux to be this magic bullshit is total horseshit, as it costs just as much if not more than Windows to have properly administrated, and most places simply aren't gonna spend that kind of cash. If you want to do it for free I'll be happy to send lots of folks your way though.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    96. Re:Ubuntu by Anonymous Coward · · Score: 0

      Am I the only who's thinking about the capability of Administrators to *redefine* the rights of files objects ? If there's one thing you learn when you administer NT systems is that you *can't* deny rights to Administrators, they'll just get back the ownership of the file and *then* redefine the ACL.
      I tried multiple times to deny the possibility of a bloody DRM to *not* delete some files, it was impossible. Even when I denied *explicitly* everything on that file, the whole denying process was reverted and the files away were deleted !

      So if there's no "superadmin" under Windows, could you tell me how to prevent administrators from redefining ACL from files they can't read/write/execute ? Because if you can't, there's no bloody difference with Linux and it's ID 0 without SeLinux.

    97. Re:Ubuntu by BitZtream · · Score: 1

      Which is totally profitless to a virus writer. I haven't even seen a virus like that on windows for decades and windows have millions of viruses written for it.

      Yes, and Windows virus writers have been stealing plenty of information and running botnets without admin rights as well, you have a very narrow minded view of viruses.

      So what if they do? Executing the sudo command is limited to the program you're sudo-ing, not your whole session. A program can't wait in the background and get root when someone types sudo.

      Doesn't need to sit around and wait, just needs to setup your login script to cause a custom library to be preloaded and overlay a standard system library, which allows it to hook in to all your terminal IO ... and just steal your root password so it can do what it wants. How about the fact that many installations default to allowing you to resudo for a short period of time without reentering your password by default.

      Again, you have a very narrow and ignorant view of what can be done.

      Also you're side stepping the whole issue that most Linux distributions provide you with all the software you need so the whole running a third party executable is much less likely to happen. The only exceptions I can think of are Google Chrome and Dropbox.

      Ahh yes, because all the software in the repos is flawless and not exploitable ... you are ... oh never mind, whats the point, you're too stuck on 'I'm running Linux, I'm safe!@#!' to be worth my time.

      Its not that Linux is 'Just as bad', its not that Linux is better ... its that no one gives a shit about infecting Linux machines. Its far too much effort for no practical return on investment. I can sneeze and infect more unpatched Windows machines than there are Linux desktops on the Internet.

      Once you have a binary on the machine you can own the user as soon as they run it with the most basic of social engineering. Take over the xlibs so every app you run that loads xlib now forwards all the passwordish looking text off to a file somewhere that can be uploaded later. Modify the path so you can just run your own binary in place of sudo and forward the IO to sudo, again you've stolen the root password.

      As long as you are downloading and running someone elses code you are at risk, period, end of story, no exceptions. This applies to EVERY OS, iPhone OS, Linux, Windows *BSD, Solaris, HPUX or whatever you can think of.

      Ignorance on slashdot gets modded insightful ... thats just classic.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    98. Re:Ubuntu by BitZtream · · Score: 1

      How short sighted.

      Is it really easier to steal a lot of money from one guy who will notice it missing in a matter of minutes, or to steal it from 100k people who won't notice for months?

      There are thousands of Windows machines guarding money as well so lets stop pretending that Linux is what people use to 'guard money'

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    99. Re:Ubuntu by Joe+U · · Score: 1

      So if there's no "superadmin" under Windows, could you tell me how to prevent administrators from redefining ACL from files they can't read/write/execute ? Because if you can't, there's no bloody difference with Linux and it's ID 0 without SeLinux.

      Remove the right "Take ownership of files or other objects" from the administrator group. And yes, you can take away the ability to change the access rights while you're there too.

      I suggest you assign them to a trusted user account first, or you're going to have locked yourself out.

      Also, I suggest you learn how to use the security system before you comment on it, because what I described is Admin 101.

    100. Re:Ubuntu by BitZtream · · Score: 1

      Except for NT having no concept of a superuser

      Guess you've never had to use the 'SYSTEM' account. That is root on an NT machine, it does whatever it wants whenever it wants however it wants (okay, thats an exaggeration). Its not something you can normally get at, it takes a bit of effort ... launching a command prompt via the AT command in NT used to work well for that purpose but I suppose they've probably fixed that by now.

      Except for the finest granularity in Linux being the group and in NT the user.

      Both have user and group permissions, both have ACLs. The only difference is syntax at this point and some obscure differences that give neither side a clear advantage or disadvantage in general, though I'm sure there are some specific exceptions to this but thats the case with everything, and exception to every rule.

      Except for the NT ACLs applying to nearly all objects in the OS, and in Linux only things represented in the filesystem.

      Except in Unix, pretty much everything is treated as a file, so applying ACLs and permissions to files works perfectly. Its actually somewhat true in NT as well, almost everything is a file if you know where to look, and thats PART of the problem. Thats more of a shim to support Posix I think but none the less, its pretty much the same here too. I doubt you can name anything I can access in NT as a file. The problem is that changing the permissions in one place doesn't always effect the other, which leads to security holes you never saw coming if you don't know the system REALLY well.

      You can set an ACL on a COM port object in NT and it doesn't effect the COM port if you access it via the file system, and that my friend results in plenty of exploits.

      Except for NT ACLs controlling nearly all ways to manipulate an object and in Linux being limited to read, write and execute.

      Simply put, you don't know what you're talking about. Every major unix that anyone bothers to use has had real ACLs for years.

      NT's permissions capabilities are a superset of Linux's. If someone understands the latter, then they can implement something *at least* as good on the former with the same amount of effort.

      Again, you don't know what you're talking about and I'd be willing to bet money I could own any NT box you setup up without having someone else tell you how. You make WAY too many assumptions for me to think for a second you know what you're talking about on NT.

      One of the major problems with NTs security model is its complexity and obscure permissions out of the box. Microsoft has spent at least the last 15 years or so slowly fixing them (and breaking compatibility with poorly written apps along the way) and trying to make it better. Its FAR better than it was a few years back, but if you think NTs security model is good out of the box, or easy, or 'a superset of Linux's' you clearly have no experience with either worth speaking of.

      You want to know the best way to get hacked? Tell everyone how bad ass you are. Just ask rootshell.org/com (can't remember, it was ages ago) how well that worked out for them.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    101. Re:Ubuntu by Anonymous Coward · · Score: 0

      I tend to agree with the vast majority of this. I never understood why in *nix there is only one user with the ability to make system level changes. That never made sense to me, because now you have to share the password for that user among all the administrators that need it, eliminating accountability. I love *nix, but that has always been a sore spot for me.

    102. Re:Ubuntu by drsmithy · · Score: 2, Insightful

      bullshit. While it's true Windows has been victimized and targeted, there are fundamental security design flaws in NT that you won't find In UNIX.

      For example ?

      On UNIX, if you don't root the machine, you haven't taken it, and it's no trivial task to do remotely.

      Funny you should mention root, given that a superuser is a fundamental design flaw Windows NT _doesn't_ have.

    103. Re:Ubuntu by BitZtream · · Score: 1

      What? "Culture", better written _core_ utilities, and the open access to the base software rather than the secretive and obscure security models of NT all contribute massively to Linux security by comparison.

      Ahhh, another utterly ignorant quote. I've seen most of the NT kernel source and I've never worked for or set foot on an MS campus. Its really not hard to get your hands on as long as you're willing to pay some money and sign an NDA.

      Also, while the kernel of NT was based on VMS when David Cutler stole his old work from DEC

      No it wasn't. The design was pretty much alike because the same guy designed both, it happens in all sorts of businesses.

      These have been a _disaster_ in security terms, and very difficult to address due to the closed nature of the code and difficulty of upgrading other components to preserve compatibility.

      The first part is true, the second part is bullshit. Takes about 10 minutes for me to write the script to fix the default permissions on a NT machine. Breaks a lot of shitty apps, but it won't break much of the MS stuff generally.

      Some of the most "secure" components of NT, such as Active Directory, are actually due to its integration of far more secure open source components such as Kerberos, and its use of open standards such as DNS, DHCP, and LDAP to replace Microsoft's older versions of "NetBIOS" (which they also did not invent, it came from IBM and IBM discarded it years ago).

      Wow. Do you even know what NetBIOS was for? You just compared IP to DNS/DHCP/LDAP.

      NetBIOS was the transport layer for other things built on top that handled the actual work. And yes, it was a shitty system, but other than a lack of routablity, it wasn't a whole lot different than IPX

      ActiveDirectory on the other hand is the first half way decent directory server implementation on the planet, thanks to it taking a bunch of disparate protocols and turning them into one centrally managed cohesive system. Have you ever managed a large network manually with kerberos? Novell had the directory server thing working pretty well with Netware but the fact that all the tools were written in Java made the entire experience asstastic. When you start managing a 100k users in a kerberos database, you aren't going to be using your standard tools to do it, you'll be using something commercial or home grown on top to make it manageable. There are better backends for some of these services, but the whole package makes up for it unless you're Google which is on a scale big enough to justify writing their own internal tools for pretty much everything.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    104. Re:Ubuntu by hairyfeet · · Score: 1

      Damn that is funny as hell! I can't believe someone took one of my old posts and made a blog entry about it! If anyone doubts it was mine here is the original post a day before this guy used it. BTW both Glenn and Velma are real folks, Glenn is a server admin at a large corporate network in LR and we ate lunch together every day when I was doing hired gun work installing desktops for them (Because to quote Glenn "Windows sux and I'm too busy!! Do you think all the RHEL servers admin themselves? Sheesh!") and little Velma the disaster area is the receptionist/secretary at a little insurance agency. She generates so many sales they just shake their heads and deal with little Velma and her "problem with computers"

      I think that is funny as hell that someone would make a blog entry on crap from my life though, that's just crazy! What's next, a blog about how I was called out because Velma saw on TV that hard passwords were good, but the announcer didn't say you had to remember them or write them down? That is when they finally agreed to let me take admin away from Velma BTW, a happy day on my calendar. She only breaks her PC about once every 6 months now, which for Velma is quite the improvement.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    105. Re:Ubuntu by smash · · Score: 1

      +1 to this. As linux starts getting administered by, used and developed for by people with less of a clue, expect the security problems to increase. Yes in theory more eyes on code, etc is less problems. In reality, it would appear that maybe it has been the case so far - but so far security history has been skewed by the number of users on linux (or BSD, or OS X, or whatever) being quite low in comparison to the Windows world. Windows users (and windows admins) also include the bottom of the computer literacy demographic as well.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    106. Re:Ubuntu by drsmithy · · Score: 1

      Guess you've never had to use the 'SYSTEM' account. That is root on an NT machine, it does whatever it wants whenever it wants however it wants (okay, thats an exaggeration). Its not something you can normally get at, it takes a bit of effort ... launching a command prompt via the AT command in NT used to work well for that purpose but I suppose they've probably fixed that by now.

      SYSTEM is not a superuser. It is a very highly privileged user. There is a difference.

      Both have user and group permissions, both have ACLs. The only difference is syntax at this point and some obscure differences that give neither side a clear advantage or disadvantage in general, though I'm sure there are some specific exceptions to this but thats the case with everything, and exception to every rule.

      The traditional UNIX security model being discussed here does not have per-user ACLs.

      Except in Unix, pretty much everything is treated as a file, so applying ACLs and permissions to files works perfectly.

      Apart from the things that _aren't_ represented as files...

      Simply put, you don't know what you're talking about. Every major unix that anyone bothers to use has had real ACLs for years.

      Except a) we're talking about the traditional UNIX security model that doesn't have ACLs, and b) even today hardly anyone actually uses ACLs on UNIX and UNIX-like systems.

      One of the major problems with NTs security model is its complexity and obscure permissions out of the box.

      For example ?

      Microsoft has spent at least the last 15 years or so slowly fixing them (and breaking compatibility with poorly written apps along the way) and trying to make it better. Its FAR better than it was a few years back, but if you think NTs security model is good out of the box, or easy, or 'a superset of Linux's' you clearly have no experience with either worth speaking of.

      How is it worse ?

      You want to know the best way to get hacked? Tell everyone how bad ass you are. Just ask rootshell.org/com (can't remember, it was ages ago) how well that worked out for them.

      The only one here suggesting how "bad ass" they are, is you.

    107. Re:Ubuntu by dwywit · · Score: 1

      No, parts of it were running OS/400 for many years - even went back to it after trying to migrate some systems to NT.

      --
      They sentenced me to twenty years of boredom
    108. Re:Ubuntu by fwarren · · Score: 1

      So what is it about the Windows security model that's inferior to the Linux one?

      Because from day one Windows was designed to be a single user operating system. Originally designed to run on very slow hardware and trying to create a user friendly computer interface. At every juncture where the choices were 1) ease of use, 2) speed and 3) security they were decided in that order. The first time they even looked at security was in the early 90's when people started slapping networking on top of Windows 3.1.

      While it may be true the the NT line actually thought about security, you then mix in a bunch of legacy compatibility and security issues to maintain backwards compatibility. Trying to secure Windows is like securing a skyscraper where there are no locks on any door for the first 30 floors. You start securing from the 31st floor on up, and you have to admit that from the basement up to floor 30 are so insecure they should be considered compromised by default.

      Whereas Unix was designed from day one to be a multi-user multitasking environment. The day the first line of code for Linux was written, there was almost 20 years of Unix security being rolled into it. Remember that is to be contrasted with the 6 years of Windows development where security was job 3.

      --
      vi + /etc over regedit any day of the week.
    109. Re:Ubuntu by dudpixel · · Score: 1

      I see. So how's this more advanced and capable security model working for you?

      --
      This seemed like a reasonable sig at the time.
    110. Re:Ubuntu by siride · · Score: 1

      Fine. I get as many viruses and malware on Windows as I do on Linux.

    111. Re:Ubuntu by armanox · · Score: 1

      And your point is? Ubuntu certainly slow and I have a lot of issues with it. So I use what works for me.

      --
      I'm starting to think GNU is the problem with "GNU/Linux" these days.
    112. Re:Ubuntu by dudpixel · · Score: 1

      Count yourself lucky.

      Even without using Windows much (maybe once a fortnight?), I've averaged about 1 virus/malware every 1-2 years in the past.

      I've changed AV providers over this sort of thing. But what choice do you have? Use an AV solution that is worse than half the viruses themselves, or choose a "pretty good" solution and carry some risk. Fortunately MS's own Security Essentials rates pretty well these days AND it keeps out of my way AND its free. If you ask me, it's years too late but at least it's there.

      --
      This seemed like a reasonable sig at the time.
    113. Re:Ubuntu by siride · · Score: 1

      I guess you suck at critical thought. I actually used XP for many years without any AV. I do have Avast right now, but it never finds anything and my machine shows no signs of infection. Every now and then I do a boot scan and it's always clean. I might try one from Linux to see if it picks up anything, but I don't have my hopes up. A dose of common sense when using the Internet seems to do the trick. And ever since I've trained my mom to do the same, she never gets any viruses either (she is far from a techie). Same for my sister (who is more savvy, but is still not a techie). Gone are the days of having the do virus clean up for the family.

    114. Re:Ubuntu by munozdj · · Score: 1

      So what if they do? Executing the sudo command is limited to the program you're sudo-ing, not your whole session. A program can't wait in the background and get root when someone types sudo.

      ehmm.... sudo su?

      --
      Democracy: Crowdsourcing a country near you
    115. Re:Ubuntu by Wallace487 · · Score: 1

      To be clear, you're asserting that it's good for most Linux distributions to provide the end user with all the software that they need so that they won't need to run a third party executable. Would it also be good for Windows to include all the software that the end user needed?

    116. Re:Ubuntu by Anonymous Coward · · Score: 0

      . Who has more expertise in securing computers than the US or the UK departments of defense?

      Your average highschool dropout.

    117. Re:Ubuntu by vegiVamp · · Score: 1

      Nope, and I just checked to be certain.

      Open a terminal, and do `sudo ls`. It'll ask for your password. Do it again, and it won't - password is cached.

      Now open a second terminal, and do `sudo ls` in that one. It'll ask for your password again.

      Sudo password caching (it's actually an authentication validity timeframe, doesn't store the password) is local to your terminal. An application that's running in the background somewhere won't be able to access it.

      If you close both terminals, the next one you open will again have the same VT as the other first, where you originally sudo'ed, and will thus still work within the timeframe - this actually could be an issue, but can probably be easily solved with an exit script in your shell or something. Also see "lock your damn screen when you wander off" and "blueproximity".

      --
      What a depressingly stupid machine.
    118. Re:Ubuntu by vegiVamp · · Score: 1

      Regardless of anything else, I might hope that the likes of microsoft.com is also nothing like wondows home machines/users; and still...

      --
      What a depressingly stupid machine.
    119. Re:Ubuntu by LinuxAndLube · · Score: 1

      The mix of non-technical users and the CLI will be such a feast.

    120. Re:Ubuntu by soppsa · · Score: 1

      Huhuh anyone who buys *anything* from Apple must be dumb. Me make slashdot funnay joke.

    121. Re:Ubuntu by Xtifr · · Score: 1

      Since I don't use KDE or Gnome on my Linux systems, I would have to say that that sounds more like a flaw in the application--no more a security flaw in Linux than your average PHP exploit is. And I've used XP and saw nothing in there about execute permission bits.

    122. Re:Ubuntu by Anonymous Coward · · Score: 0

      did no one tell you, everything's a file, everything's represented in the filesystem

    123. Re:Ubuntu by Anonymous Coward · · Score: 0

      Except a) we're talking about the traditional UNIX security model that doesn't have ACLs, and b) even today hardly anyone actually uses ACLs on UNIX and UNIX-like systems.

      There's a reason for that. It's not needed. ACL's are usually just pointless complexity breaking the KISS principle. ACL's on Windows are a common cause of failure on systems that don't actually need ACL's at all.

      You sound many low rent Windows programmers who's are love with only half-understood complexity simply because it's fashionable.

    124. Re:Ubuntu by Anonymous Coward · · Score: 0

      IME, the most common case of u/g/o being insufficient (or impractical), is when someone wants to allow or deny a specific user access.

      ugo is neither insufficient nor impractical in this situation. The fact that you are trying to claim they are shows that you are either incompetent or dishonest. Which is it? Add or remove the user from the group. If necessary create or delete the group. Simpler, easier and faster than ACL's

      The next most common case applies to the same situation but a group of people other than the one the file is already owned by.

      ugo is neither insufficient nor impractical in this situation. So add that group of people to the relevant group. Not exactly rocket science and can be done in seconds.

      There are cases where ACL's are superiors to ugo however they are obscure and not often needed. In the common case ACL's create more problems than they solve.

    125. Re:Ubuntu by Joe+U · · Score: 1

      Huhuh anyone who buys *anything* from Apple must be dumb. Me make slashdot funnay joke.

      Thanks for proving a point.

      Yes, I'll take fries with that, oh, sorry, you're not at work yet.

    126. Re:Ubuntu by siride · · Score: 1

      Right, that's the point. It's a shell issue, not a kernel issue.

    127. Re:Ubuntu by operagost · · Score: 1
      Again, the Windows NT 3.x, 4.x, XP, 2000, 2003, Vista, 2008, and 7 security model is not based on 16-bit Windows. When users run as regular users and not administrators, it works well. Any security model is useless when fully-privileged accounts are used for regular operations.

      Whereas Unix was designed from day one to be a multi-user multitasking environment.

      No, that was Multics. Unix was for single users: hence the name.

      Remember that is to be contrasted with the 6 years of Windows development where security was job 3.

      It was job "null" because the first versions of Windows were not networked. Windows NT 3.1 was, which is why it came with a new security model.

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    128. Re:Ubuntu by Anonymous Coward · · Score: 0

      It's interesting how you refer to Linux in your post above, while in the replies to those who responded to it you pretend that you were in fact speaking about "the traditional UNIX model" and not Linux. Linux is (typically, these days) very much not an example of said traditional model, as I'm sure you're well aware.

      Make up your mind, be consistent and intellectually honest, and you'll (probably) garner a lot more respect for your argument. Of course, if your argument then doesn't hold, I can't help you.

      Good luck, though.

    129. Re:Ubuntu by drsmithy · · Score: 1

      There's a reason for that. It's not needed. ACL's are usually just pointless complexity breaking the KISS principle. ACL's on Windows are a common cause of failure on systems that don't actually need ACL's at all.

      It's hilarious to hear people talk about the "KISS principle" in favour of UNIX-like file permissions, because you just know that when presented with some relatively trivial and common request about file access (eg: typically involving multiple otherwise independent people requiring differeng access to the same file or directory) that they'll propose some complex, intricate and maintenance-intensive conglomerate of multiple new groups to meet it.

    130. Re:Ubuntu by Anonymous Coward · · Score: 0

      Windows For Warships? That was such a fucktarded idea that they dropped the contract and went with the French. Yes, the French technology behind all of those French military victories.

      However, the UK coastguard uses Windows. Why? Well, maps are digital nowadays. There's easy to update. Unfortunately, they're completely inaccessible whenever the latest Windows worm rips through the Windows network. If you're stranded at sea and there's a big storm then just hope that a Windows worm hasn't been released. Or there isn't a power cut. Or a union strike. And on balance, Windows is by far the biggest risk here.

    131. Re:Ubuntu by tokul · · Score: 1

      Which is totally profitless to a virus writer

      They can also run some spambot. It does not need root privileges and can be set to start in shell or kde/gnome startup configuration.

    132. Re:Ubuntu by toadlife · · Score: 1

      Sudo password caching (it's actually an authentication validity timeframe, doesn't store the password) is local to your terminal. An application that's running in the background somewhere won't be able to access it.

      Any process that is running under your credentials can access any terminal that you can.

      In the case of sudo being invoked in a virtual terminal window, accessing that terminal may involve forcefully closing that window (which may or may not arise suspicion. I've seen xterm and Konsole crash), or waiting for the terminal to be closed by the user. The timeout configured for sudo is public information so the rogue process could wait for the user to close the tty and then force it's way in at the last second.

      I would guess that most invocations of sudo in graphical distributions like Ubuntu are done, not in terminal windows, but via the graphical shell (gksudo) which uses the same tty that Xorg does. There is no need to kill anything to launch a process in this tty.

      The solution to this is to use sudo -k, completely turn off caching in sudo's config, or do what I've always preferred and just use su/roor for root access and sudo for specific commands.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    133. Re:Ubuntu by Anonymous Coward · · Score: 0

      Six degrees of separation appears to be working quite well..

    134. Re:Ubuntu by WNight · · Score: 1

      Hopefully not. The thought that after a long day of being as annoying as you can, you still have to "go home" (so to speak, I bet you're in your basement fortress right now) and use windows is enjoyable.

      The courts couldn't assign such a fitting punishment to a troll.

    135. Re:Ubuntu by Xtifr · · Score: 1

      No, the point is that you (or more precisely, the GNOME/KDE devs) have to actively work to bypass the inherent security in Linux, whereas in Windows, the security hole of executable filenames comes for free! :)

      You didn't ask which system is more secure given a random mix of unvetted applications. You asked "what is it about the Windows security model that's inferior to the Linux one?" and I answered.

    136. Re:Ubuntu by badkarmadayaccount · · Score: 1

      Solution:a simple terminal tweak to make aliasing sudo impossible. For zsh, a second one as well - no aliasing /bin/sudo. Now you can't touch sudo.

      --
      I know tobacco is bad for you, so I smoke weed with crack.
    137. Re:Ubuntu by gwolf · · Score: 1

      It is clear you are not in the target group for generic virus writers... Partly, that's also a reason for me to have sudo quite limited in most of my servers - If I want to do "sudo bash", I will be turned down. That's what su is for. But anyway - How many users use sudo the way you mention? How many users even use sudo? I'd say most Ubuntites will use gksudo or something like that. And in an automatic fashion, even, without knowing about it.

    138. Re:Ubuntu by OjM · · Score: 1

      What army systems? French navy had to close their connections, had to rely on faxes and phones and such... Also, French fighter planes had to stay on ground when flight plan databases got bitten by conficker... Army of Germany... Polices of Manchester... The list goes on. Also, the IT guys on armies should be pretty good. They are paid to, you know, do lots of important things...

    139. Re:Ubuntu by dudpixel · · Score: 1

      Mate if I wanted an insult, I would've asked for one.

      I used to run windows with no AV too. Fact is, it only takes 1 virus to bring your system down. Just 1. Also, sometimes a virus can exist for days without being detected. I'd be very concerned about running windows without AV software. Its a recipe for failure.

      At least use MS Security Essentials - its free and pretty good.

      --
      This seemed like a reasonable sig at the time.
    140. Re:Ubuntu by Antique+Geekmeister · · Score: 1

      Oh, dear.

      First, I'm hardly "ignorant". I've also had access, with MSDN and other licenses. Those non-disclosure agreements a re a real problem for publishing your patches or, in many cases, observations. If you've also had access to _VMS_ source code, and you go look at the memory modules, you can see where Cutler lifted his old work wholesale. You can also review the legal history of DEC and Microsoft concerning this piracy, as much of it as you can find not under court seal. Cutler duplicated or appropriated code that he did for DEC: that was both copyright and non-compete violations on his part, and he got caught. He lifted it wholesale.

      Security issues are hardly restricted to a 10-minute script's ability. The video driver handling, for example, is a rampant disaster in security terms: it's far too easy to abuse the video driver installations to leverage privilege. So is the stunning hash of undocumented DLL misarrangement and dependencies and extremely strange scattering of components around the operating system by different installers, different installers, and especially Microsoft themselves.

      Also, are you only discussing "NT 3.x" or "NT 4" as "NT"? Windows XP is NT 5, Vista is NT 6, Windows 7 is NT 7 based on the kernel history. (Where did you think that number came from?) I'll admit that NT 3 and 4 were cleaner, but they weren't consumer compatible OS's. Those non-Microsoft packages are what they have to work with, and the underlying architecture those work with contributes stunningly to the lack of security. Couple that with the closed source, and you have massive security and support issues, issues we see every day and which remain documented but unpublished by groups like CERT because they vendor has not published a fix, nor even admitted publicly that they exist. Look at that video driver issue.

      Active Directory is a useful interface to the underlying protocols. My poinit with them is that Microsoft didn't write *any* of those technologies, only the interface on top of it. Their underlying reliability and security is therefore not Microsoft's fault by any means.

      You've a valid point about miscomparing NetBIOS to DNS, rather than its more direct analog, IP. I was admittedly referring only to the naming scheme, the legacies of which we see today abused widely in place of actual DNS, and the pain of integrating between the NetBIOS naming and DNS and the confusion among them by people who only see them as "the machine's name".

    141. Re:Ubuntu by Antique+Geekmeister · · Score: 1

      That's why I listed the various DOS based releases. NT and Win9x coexisted for years: while NT 3.5 came out before Win95, NT 4 came out after, and was billed as far more compatible with Windows 9x applications (which it was). That increasing compatibility was a source of rampaging security issues.

      _Of course_ Win95 included DOS. DOS was its kernel. What did you think that "boot in DOS mode" option was for? That wasn't removed until WinME, but even WinME was still a DOS kernel.

    142. Re:Ubuntu by siride · · Score: 1

      I use AV now. I didn't back in the day. That Windows install was blown away with Linux years ago (and that computer is no longer mine). On my new laptop, I have Windows 7 with Avast. It never picks up anything, but at least I don't have to worry.

    143. Re:Ubuntu by Bengie · · Score: 1

      I so responded to another post. Someone was responding to your post saying you where wrong.

      "Really? seems to differ [arstechnica.com] and wasn't the only reference I could find for microsoft.com defaced [bing.com] (seventh link)."

      They were saying that MS already had issues with security when really it was just bad programming on the app side and his examples had nothing to do with OS security.

    144. Re:Ubuntu by jakykong · · Score: 1

      Easier: an alias in your ~/.profile. alias "sudo=/home/user/.hidden/script-that-acts-like-sudo would probably be sufficient, and, if written right, it'd get the user to type their password, convince the user that they made a typo, and then remove any trace that it was there, except that now it has a record of the password. This would work no matter what terminal the user prefers, even if it's ssh, and it doesn't require anything except a simple shell script to be run with user-level privileges to inject it.

      Of course, it depends on the user not noticing the alias in their .profile, but how often do you actually look at that file these days?

    145. Re:Ubuntu by Anonymous Coward · · Score: 0

      So you are suggesting to to deny access to a particular file you should create a group containing every single user on the system except for the one in question, and that this is simpler, easier, and faster than setting the ACL for that user to not have access?

      So you are suggesting that because a set of people need access to one file that they aren't in a valid group for, you should add them to a group with access to that file with no regard for the fact that this may give them access to other files for that group which they shouldn't have access for? Because otherwise you need to create yet another group and add everyone that can already access that file along with the new people, then set the file to that group.

      You don't seem to have thought your examples through.

  7. So all its good for is a proof of concept by Anonymous Coward · · Score: 0

    Sounds like its impractical for an actual attack unless you wanted to really pull something off on a machine that you probably already have access to since you can already run binaries on it. Interesting concept but not terrible useful.

  8. So.. by Anrego · · Score: 5, Insightful

    Anti virus software has become increasingly ineffective? Potentially opens up even more venues for attack! The Windows system of limiting privileges isn't always effective??!!??!!

    Next you'll be telling me that fire is hot, water is wet, sci.. you know the rest

    I mean this is cool and all, it's a neat discovery... but I think the whole concept of anti virus software is critically flawed and has become completely ineffective.

    1. Re:So.. by poena.dare · · Score: 1

      "the whole concept of anti virus software is critically flawed and has become completely ineffective"

      I agree, but I'm still going to tell Grandpa to keep Norton updated. I also tell him not to browse pr0n sites, but since he saw Betty White on SNL last night I've got a whole new set a headaches to deal with!

    2. Re:So.. by Anonymous Coward · · Score: 0

      Norton is worse than an actual virus. I'm running the free AVG, but tried NOD32 as well, and they're both less bloated.

    3. Re:So.. by gilgongo · · Score: 1

      I mean this is cool and all, it's a neat discovery... but I think the whole concept of anti virus software is critically flawed and has become completely ineffective.

      Exactly. In fact, that's probably been the case since pretty much the coming of domestic broadband made botnets and related activity so huge. Really, I've not run any AV on my machine under my control since about 2001. I just make sure I'm using as little Microsoft software as possible, don't visit "strange" sites (outside of a VM at least!), and generally ignore any unexpected email attachments sent by anyone at all (and I strip out all executables at the mail gateway). That sounds like a lot of work, but I hardly notice it.

      Now, some have said "How do you know you're not p0wned!??" Well, maybe I am. The trouble is, even with AV software running, you can't answer that question either.

      --
      "And the meaning of words; when they cease to function; when will it start worrying you?"
    4. Re:So.. by Lord+Ender · · Score: 1

      The Linux "system of limiting privilege" is less effective than the windows version. Linux merely isn't targeted as much.

      It is tricky for malware to make itself auto-start on Windows without being an admin. On Linux? Simple! Every user has cron, ~/.rc files, etc..

      Sorry kids, malware doesn't need root to work on linux. All this pride in protecting root is horribly misguided.

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    5. Re:So.. by Anrego · · Score: 1

      Did you see Linux mentioned anywhere in my post...

      I've not claimed Linux to be more secure.. in fact I tend to say that Linux can be considerably less secure.. especially in the hands of inexperienced users.

      Linux gives you a lot more rope to hang yourself.. and a command to enable opengl looks as much like random gibberish as a command to connect to an external host and provide a bash shell using netcat .. combined with users who will pretty much run any command as root that you tell them to if they think it will fix their problems.

      That said.. I still prefer Linux for a number of other reasons.. and at least with Linux you can see what the heck is going on.. windows is a closed box that you just have to hope is doing what it's supposed to..

    6. Re:So.. by lena_10326 · · Score: 1

      Linux users must use a more secure browser because there is no practical alternative. The majority of windows users surf with Internet Explorer by default, which is known to be one of the least secure browsers--with bits running in kernel space no less. That's the main reason why Linux users don't catch drive-by user space trojans. They use safer applications.

      --
      Camping on quad since 1996.
  9. Re:Flaw explained in plain English here by phoenix321 · · Score: 3, Insightful

    All I see is an article that is applauding Apple for doing infrequent security updates for Safari, contrasted with Firefox, that does security updates with an - for that blogger - absolutely unbearable frequency and install time. Though, in objective reality, Firefox releases an update every two months or so and the update takes about a minute on any recent PC.

    Also, I remember the rabid verbal attacks on Microsoft for NOT updating their browser fast and often enough. But Apple isn't perceived to leave known vulnerabilities unpatched like Microsoft did, they are seen as to spare their users from annoyances.

    Their marketing dept is godlike.

  10. Is this a joke? by joxeanpiti · · Score: 1

    It is far from being a "critical flaw". In the article they say that when running kernel code you can bypass any antivirus. Surprise. Did we missed the point that you first need to gain kernel level privileges?

    The real problem behind the AV industry is that almost all Windows users tend to use a user with Administrator level privileges and when they gets infected the malware runs with full administrator privileges. If they would use a normal account and not the Windows environment's "root" equivalent we would not talk about this "critical problem" as the malware would need to infect and scalate privileges in order to install a kernel level componente, a rootkit.

    As previously said, it is far from being a "critical flaw".

    1. Re:Is this a joke? by Rockoon · · Score: 1

      Limited accounts only helps when the user CANT give permissions, but thats certainly not reality on home desktops where that user is God even if the account he is using doesn't say so.

      User downloads XYZ_INSTALLER
      User runs XYZ_INSTALLER
      User discovers that XYZ_INSTALLER needs better permissions to install.
      Users wants XYZ (thats why the user downloaded it) so user hands XYZ_INSTALLER the keys to the kingdom.

      Part of the windows problem is that nearly all installers require escalation, therefore there is nothing out of the ordinary when XYZ_INSTALLER requests it. The rest of the problem is that nearly all windows users don't even care about security.

      --
      "His name was James Damore."
    2. Re:Is this a joke? by Anonymous Coward · · Score: 0

      Maybe if people weren't stupid and would leave their UAC on, they wouldn't have this problem, or if they actually took the time to read the UAC prompts before allowing execution. (Though, running under a limited account and forcing yourself to supply admin credentials during installs would definitely be a better idea for security reasons)

    3. Re:Is this a joke? by Anonymous Coward · · Score: 0

      It doesn't require admin rights, dumbass. RTFA. The exploit works even when running as a non-privileged user.

    4. Re:Is this a joke? by Opportunist · · Score: 3, Interesting
      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    5. Re:Is this a joke? by bhtooefr · · Score: 1, Interesting

      Except there's a difference between "a program I want" and "a program I trust."

      If a random UAC prompt comes up, there's a chance that the user might realize something is wrong.

      If a UAC prompt comes up on something the user downloaded willingly, though, the user will click Allow. EVERY TIME.

    6. Re:Is this a joke? by Anonymous Coward · · Score: 0

      I clicked on that link with my no-AV-software Windows XP machine and I was very disappointed that there were no dancing pigs on that web page at all.

    7. Re:Is this a joke? by drsmithy · · Score: 1

      Part of the windows problem is that nearly all installers require escalation, therefore there is nothing out of the ordinary when XYZ_INSTALLER requests it.

      The same is true on all platforms. It's hardly a "Windows problem".

  11. Antivirus Design Flaw by Anonymous Coward · · Score: 0

    I don't understand how antivirus software is ever supposed to detect problems once the machine is already infected. Perhaps vendors should start shipping CDs that can scan the drive and repair without having to boot into the OS.

    1. Re:Antivirus Design Flaw by Runaway1956 · · Score: 4, Interesting

      Long, long, long ago, I was out of town, and my laptop got dicked. I wasn't about to pay for a new Windows disk, nor did I have time or money to have a professional fix it. I went into a computer shop, talked awhile, and came out with an OnTrack SystemSuite disk, for which I paid about 15 bucks. Booted to it, ran the AV utility, and found nothing. Ran the rest of the utilities, and found that an improper shutdown had corrupted my MBR. Fixed the MBR, and booted up. Money well spent.

      And, yes, you are right. That is precisely what the rest of the AV industry needs to peddle. If you can't boot to a clean environment, you're just screwed, whether it be virus problems, or any number of other problems.

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    2. Re:Antivirus Design Flaw by Z34107 · · Score: 2, Interesting

      That is precisely what the rest of the AV industry needs to peddle. If you can't boot to a clean environment, you're just screwed, whether it be virus problems, or any number of other problems.

      I actually wonder why more don't do this. Back when I ran a brand-new copy of Windows 98, my copy of McAfee (I was young and didn't know any better!) came with a boot floppy for just that purpose. Surely with Windows PE the whole process would be trivial - boot to the PE, download the most recent AV signatures, and scan away. You wouldn't even have to periodically refresh the signatures on your floppy.

      --
      DATABASE WOW WOW
    3. Re:Antivirus Design Flaw by gr8dude · · Score: 1

      * You could have done "fdisk /mbr" or "fixmbr" (as of Win XP) for free.
      * Some antivirus software comes with bootable CDs; I once used such a live CD from Kaspersky, it boots into a flavour of Linux, has a Windows-like GUI, understands NTFS volumes, connects to the Internet to retrieve the latest updates.

      Of course, I believe common sense is the best antivirus: http://www.lazybit.com/index.php/2007/08/05/why_i_dont_use_an_antivirus?blog=2

    4. Re:Antivirus Design Flaw by Runaway1956 · · Score: 1

      Actually, there are a number of rescue disks available today - and some of them are perfectly free and legal to download and burn. Trinity comes readily to mind, which is based on Linux. The Geek Squad's CD has been pirated, and I've played with that - it has a boot menu, which allows you to load a *nix environment, or WinPE. I haven't explored that to thoroughly, but it's neat. Those are the *easiest* rescue CD's I've seen, but there are several more that require some degree of expertise in Linux to use.

      As I say, it was years ago when I was left feeling helpless with an ailing laptop. At that time, I wasn't competent enough with Linux to have fixed things, even IF it gave r/w access to an NTFS drive. ;^)

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    5. Re:Antivirus Design Flaw by Hurricane78 · · Score: 1

      Well, you could have saved those 15 bucks by simply booting your installation disk to the recovery console, and running fixmbr. Done. :)

      Been there.

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
    6. Re:Antivirus Design Flaw by Anonymous Coward · · Score: 0

      That is precisely what the rest of the AV industry needs to peddle. If you can't boot to a clean environment, you're just screwed, whether it be virus problems, or any number of other problems.

      Anti-Vir Linux Based Rescue disk

    7. Re:Antivirus Design Flaw by Anonymous Coward · · Score: 0

      Microsoft has this with their ERD disks. Works amazing with the Vista/Win7 versions

    8. Re:Antivirus Design Flaw by stardaemon · · Score: 1

      Well, actually, he said he was out of town, and I doubt he hand it with him, if he even had one, laptops don't often come with a real install disk in my experience. And you'd have to know it was the mbr that was messed up in the first place.

      --
      The only way to stay sane in an insane world, is to be mad yourself...
  12. An attacker with ability to run binary? by Anonymous Coward · · Score: 0

    "It can also be carried out only when an attacker already has the ability to run a binary on the targeted PC"

    So, basically a user with administrator privileges or the ability to click "Allow"? Not much of a barrier.

  13. Found In Virtually All AV Software by trifish · · Score: 1

    They tested every obscure antivirus program out there, yet they did not test one of the most important ones -- Microsoft Security Essentials.

    Seeing how obscure some of the tested AVs are, it's hard to believe their statement that "the only reason there are not more products in the following table is our time limitation."

    Was MSE intentionally omitted because it is not vulnerable? Slashdot is more likely to reject such an article... It is actually very likely that MSE is not vulnerable, because Microsoft products do not patch the Windows kernel.

    Judge for yourselves what they tested:

    3D EQSecure Professional Edition 4.2
    avast! Internet Security 5.0.462
    AVG Internet Security 9.0.791
    Avira Premium Security Suite 10.0.0.536
    BitDefender Total Security 2010 13.0.20.347
    Blink Professional 4.6.1
    CA Internet Security Suite Plus 2010 6.0.0.272
    Comodo Internet Security Free 4.0.138377.779
    DefenseWall Personal Firewall 3.00
    Dr.Web Security Space Pro 6.0.0.03100
    ESET Smart Security 4.2.35.3
    F-Secure Internet Security 2010 10.00 build 246
    G DATA TotalCare 2010
    Kaspersky Internet Security 2010 9.0.0.736
    KingSoft Personal Firewall 9 Plus 2009.05.07.70
    Malware Defender 2.6.0
    McAfee Total Protection 2010 10.0.580
    Norman Security Suite PRO 8.0
    Norton Internet Security 2010 17.5.0.127
    Online Armor Premium 4.0.0.35
    Online Solutions Security Suite 1.5.14905.0
    Outpost Security Suite Pro 6.7.3.3063.452.0726
    Outpost Security Suite Pro 7.0.3330.505.1221 BETA VERSION
    Panda Internet Security 2010 15.01.00
    PC Tools Firewall Plus 6.0.0.88
    PrivateFirewall 7.0.20.37
    Security Shield 2010 13.0.16.313
    Sophos Endpoint Security and Control 9.0.5
    ThreatFire 4.7.0.17
    Trend Micro Internet Security Pro 2010 17.50.1647.0000
    Vba32 Personal 3.12.12.4
    VIPRE Antivirus Premium 4.0.3272
    VirusBuster Internet Security Suite 3.2
    Webroot Internet Security Essentials 6.1.0.145
    ZoneAlarm Extreme Security 9.1.507.000

    1. Re:Found In Virtually All AV Software by Vellmont · · Score: 1

      You're right, they should have tested it. But I'd take serious issue with your contention that it's "one of the most important ones". MSE 1.0 was released on the 29th of September, 2009. So it's essentially a 7 month old product. I'd also note that it doesn't come as part of the OS, and it looks like you need to download and install the software yourself.

      So given that, why do you think it's one of the most important ones?

      --
      AccountKiller
    2. Re:Found In Virtually All AV Software by Anonymous Coward · · Score: 1, Insightful

      So given that, why do you think it's one of the most important ones?
      Because it is free and high-quality (according to independent tests) and provided by a company that Windows users have to trust anyway. I don't want any Symantec or Russian shit drivers on my OS. Just look at the tests in TFA.

    3. Re:Found In Virtually All AV Software by Runaway1956 · · Score: 2, Informative

      MSSE is important for the following reasons:

      1: it's from Microsoft, hence, the nontechies will trust it to run well (The old mentality that "detroit knows best" when it comes to cars)
      2: my testing indicates that MSSE is at least as effective as the "free" AV's, and possibly equal to the best paid AV's
      3: the semi-computer literate can quickly find that MSSE is far less demanding of resources than almost any other AV
      and
      4: it's another "free" product which appeals to millions of people - AND any Bing search will probably turn up MSSE ahead of the competition

      I've tested MSSE on XP and Win7, and quickly decided that it was more than sufficient for any virtual machine which I chose to protect. Disclaimer: I've not put MSSE to the test in any real world enterprise situation, subjecting it to unwanted testing by hackers/crackers/scriptkiddies.

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    4. Re:Found In Virtually All AV Software by WaroDaBeast · · Score: 0, Redundant

      ESET Smart Security 4.2.35.3

      Eset Smart Security's latest version is 4.2.40.1! That so-called study is therefore completely irrelevant! HAH!

      --
      "The body may heal, but the mind is not always so resilient." -- Deus Ex: Human Revolution
    5. Re:Found In Virtually All AV Software by Anonymous Coward · · Score: 0

      I thought the general Slashdot consensus has been MSE > * for 5-6 months now. Which should tell you something, considering it's from Microsoft.

      All AVs (even NOD) have historically been shitty in one way or another. I remember hoping back in 2005 that Microsoft would come out with an AV that would blow this stagnant and non-innovative industry out of the water. So I wasn't surprised when MSE swept the competition, as Microsoft's products are almost always better tied in to the OS and of better quality than the competitor's.

      But give it another 3 years, and I expect MSE to become surpassed, as it flounders and the AV industry realizes they can't win by sitting on their asses doing nothing.

    6. Re:Found In Virtually All AV Software by Anonymous Coward · · Score: 0

      You're right, they should have tested it.

      They very likely have, mate.

    7. Re:Found In Virtually All AV Software by maxume · · Score: 1

      No casual users really have any idea how effective the various programs are, and MSE seems as effective as anything else, and it isn't nearly as annoying as AVG/Avast/etc., so it is spreading like wildfire through that user group.

      (My group is somewhat poorly defined, anyway, the group of people capable of uninstalling the old and then installing the new, but utterly uninterested in trying to find responsible research into the capabilities of the various programs, so they just notice a few comments and try things out)

      --
      Nerd rage is the funniest rage.
    8. Re:Found In Virtually All AV Software by NicknamesAreStupid · · Score: 1

      Microsoft may not patch the kernel to integrate MSE, but MSE sure generates a lot of extra interrupts. And the overhead of handling them is onerous. I suspect they hook into the disc I/O. That would seem like a potential vulnerability.

    9. Re:Found In Virtually All AV Software by WaroDaBeast · · Score: 1

      Mods are lacking humor tonight, huh?

      --
      "The body may heal, but the mind is not always so resilient." -- Deus Ex: Human Revolution
    10. Re:Found In Virtually All AV Software by Sfing_ter · · Score: 1

      ALL anti-virus products are equivalent to car insurance, it does not stop an accident from happening. Etc.

      MSE does work pretty good, resource and use wise. It does not however protect you from user stupidity, which is the greatest attack vector in these situations.

      --
      A computer once beat me at chess, but it was no match for me at kick boxing. Emo Philips
  14. Anagram? by Theaetetus · · Score: 4, Funny

    "Matousec"? Hmm...
    "To use Mac"? Hey!

    1. Re:Anagram? by Anonymous Coward · · Score: 0

      It's a cookbook!

    2. Re:Anagram? by 517714 · · Score: 2, Interesting

      "Cat" and "Mouse"

      --
      The US government have made it clear that we have no inalienable rights; any we do not defend vigorously will be taken.
  15. Re:Flaw explained in plain English here by Runaway1956 · · Score: 1

    Your evaluation of Trollaxor's article is spot on. Opening sentence tells us that his computer is left idle for "weeks at a time" - which might be a fortnight, or six months, or even a year. If he returns to his computer after weeks away from it, the system is going to offer updates anyway - be it Windows or Linux. The computing world doesn't stop just because he has his head up some mummy's ass, or whatever the hell he does at a dig. Hmmmm. Wonder what his wife or girlfreind is doing during all those weeks he is making chummy with old dead boners - I meant bones . . . .

    --
    "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
  16. Follow Apple? by ITI_guy · · Score: 2, Interesting

    If M$ would have only used the App Store model for software distribution we wouldn't need AV at all, and think of the profit!

    1. Re:Follow Apple? by Anonymous Coward · · Score: 0

      Yeah, I'm sure Microsoft dreams of having profits like Apple.

    2. Re:Follow Apple? by gmhowell · · Score: 1

      I much prefer the Linux app distribution model.

      --
      Jesus was all right but his disciples were thick and ordinary. -John Lennon
  17. Syscall Wrapper Exploits by oggiejnr · · Score: 1

    Can someone tell me what the difference is between this and syscall wrapper exploits which have been known about long enough to be lectured in undergraduate security courses?

  18. Um, no... by Joce640k · · Score: 1

    This attack requires that badware is already running inside the machine it's trying to attack.

    If badware is already running then ... um, how exactly does this attack up the ante?

    --
    No sig today...
    1. Re:Um, no... by wastedlife · · Score: 1

      The malware does not have to be running with administrative privileges in order to perform this attack. Otherwise, it is still pretty meh.

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
  19. Congradulations! by jeff4747 · · Score: 1

    TFA has discovered "the rootkit".

  20. Slashdot has really gone downhill by MyLongNickName · · Score: 1

    Okay, so basically your PC has some type of rootkit on it already. Then your AV is ineffective due to some obscure attack. Rent a clue, editors! If you have a rootkit, you are fucked anyway. There is no magical piece of software that will protect you from your machine being owned.... that is the definition of owned.

    I can understand the general populous not getting this. I cannot understand Slashdot editors not getting such a basic concept.

    --
    See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
    1. Re:Slashdot has really gone downhill by Securityemo · · Score: 1

      This attack is apparently effective when the code executes as an unprivileged user, and from the model they've implemented it seems to not require any previous malicious code to reside on the system. Where did you get that from?

      --
      Emotions! In your brain!
    2. Re:Slashdot has really gone downhill by Anonymous Coward · · Score: 0

      FTS:

      It can also be carried out only when an attacker already has the ability to run a binary on the targeted PC."

      Um, wouldn't that require previous malicious code, or physical access to the machine? Either way, your system's pre-pwned.

    3. Re:Slashdot has really gone downhill by Securityemo · · Score: 1

      You're missing the point. This is a way to allow malicious binaries to execute without being picked up by anti-virus; of course, you need a way to get the code on the system in the first place (trojan, social engineering, dual-stage shellcode, etc...). It's not a compromising attack in an of itself, but a method to aid and hide standard attacks.

      --
      Emotions! In your brain!
    4. Re:Slashdot has really gone downhill by MyLongNickName · · Score: 1

      No, you are missing the point.

      I have owned your machine. So, there is some exploit that now allows me to "fool" your AV. It requires pre-exsisting code. If I already have pre-existing code on your machine, then by definition I can do whatever I want on your machine. This has noting to do with the AV software.

      --
      See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
    5. Re:Slashdot has really gone downhill by Securityemo · · Score: 1

      No. Just because you already have code on my machine doesn't mean that that code is in a position to do anything, or that it won't get caught if it tries to. I'm not a virus writing expert by any means, but *ahem*: Perhaps you misunderstand how this part of antivirus works, but essentially (given that you pass a passive heuristic scan) the AV program only reacts when code tries to "do something funny" during unpacking/sandbox execution. The exploit bypasses this part. Of course, if you already have *kernel privilege level* (ring0) code running, you can do whatever you want, but this exploit works to hide user-level code as well. If it works the way they say it works, it's quite severe, because it basically bypasses that whole system of malicious behaviour detection. Follow me?

      --
      Emotions! In your brain!
    6. Re:Slashdot has really gone downhill by MyLongNickName · · Score: 1

      It is possible that I am misunderstanding, but when I read this

      "El Reg notes that "The technique works even when Windows is running under an account with limited privileges," but "it requires a large amount of code to be loaded onto the targeted machine, making it impractical for shellcode-based attacks or attacks that rely on speed and stealth. It can also be carried out only when an attacker already has the ability to run a binary on the targeted PC."

      So to me, this means the machine is already owned. What am I missing?

      --
      See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
    7. Re:Slashdot has really gone downhill by Securityemo · · Score: 1

      The fact that the OS has internal privilege separation. You could try to imagine it as the OS and kernel (and the parts of the antivirus running with kernel privileges) being able to "envelop" the code, if the code only has user privileges. The antivirus is not a "barrier" into the envelope, but an eye and a hand trying to spot and clean away cruft that gets in. This exploit holds up a fake image of clean code to the eye whenever it's gaze falls on the cruft.
      Other, unrelated methods of avoiding the antivirus includes packaging the cruft into a packet that the hand cannot open (but the hand is surprisingly dextrous), wrapping the nasty parts of the cruft in generic-looking code, and twisting the cruft in around itself so that the eye will get confused and give up.

      --
      Emotions! In your brain!
  21. and this is why LIVE FILESYSTEM ROMs are needed by RobertLTux · · Score: 3, Insightful

    whatever platform the program is based on if you are booted to the system you are trying to clean then you have already lost ground.

    of course a Posix type solution has the advantage of being mostly immune to the viruses on a Windows system.

    --
    Any person using FTFY or editing my postings agrees to a US$50.00 charge
    1. Re:and this is why LIVE FILESYSTEM ROMs are needed by evilviper · · Score: 1

      Actually, there's no reason a virus writer couldn't examine the Ext2 source code in Linux, find a null pointer or such, and write a payload to the file system that would be executed by your Live CD environment upon trying to mount the file system. From there, it could do any number of things to bypass any virus scanners or other utilities you might us to get rid of it.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    2. Re:and this is why LIVE FILESYSTEM ROMs are needed by soppsa · · Score: 1

      What does POSIX have to do with it? Please read some of the previous comments as to why Linux is generally more secure. Hint, its not the POSIX-ness of it. This is a particularly good one: http://tech.slashdot.org/comments.pl?sid=1646060&cid=32148000

  22. So ... by daveime · · Score: 1

    So basically ...

    It can also be carried out only when an attacker already has the ability to run a binary on the targeted PC

    Anyone who already has the ability to run a binary on your box can p0wn it ... well, no shit Sherlock. As that applies to every O/S, I wonder why Windows has been targeted as the "guilty party". Ah, Soulskill, say no more ...

  23. Critical Flaw In "AV" Software? by rawler · · Score: 1

    And here I thought someone had found an exploit of a common audio-video codec, or just plain DCT or something interesting.

    Anti-virus is an arms-race, and IMHO causes about as much problems as it solves. (Except the caused problems are rarely truly evil like the attacks stopped.)

    Other examples where anti-virus software just fails;
      * Decompression bombs
      * McAfee:s recent XP borking
      * Even good reputable AV seems to have problems catching up with months-old malware
      * Let's not start talking performance-hogging

    I wish security would be more built-into rather than bolted-on.

  24. I Hate Windows by hduff · · Score: 1

    I normally use Mandriva, but the P/S (ShuttleX) died and I'm awaiting a replacement.

    In the meantime, without another PC, I've been using my WinXP/VooDoo video box that I use for older 3Dfx games. It's all updated and I use Firefox, etc.

    Within 24 hours of using it, it became infected and my email account got hacked. I've changed all my passwords, but damn GMail still locked down my mail account and my blog and won't tell me why. Any advice on that?

    I hate Windows.

    --
    "I believe in Karma. That means I can do bad things to people all day long and I assume they deserve it." : Dogbert
  25. Re:Solution to problem by Anonymous Coward · · Score: 0

    That's why you should always call su or sudo by absolute paths: /bin/su

    Only root should be able to write on /bin

  26. Re: NT, security and TFA by Anonymous Coward · · Score: 1, Informative

    a) People don't as a rule understand or even know about security models, they just work with the system. The way it's configured out of the box defines security in most cases. If you ghost a secure Windows image, you're fine. If you ghost a leaky Linux image, you're not. And vice versa.
    b) SELinux is from a user's and administrator's perspective atrocious compared to NT. I don't know enough about the actual implementation to decide whether it is formally less or more secure, but for the moment it sucks.
    d) The method in TFA doesn't remove one bit of OS provided security. For example, if you run a program controlled in such a way that it cannot affect files, it still can't.
    e) The method in TFA does not by itself stop your virus scanner from catching known viruses, it affects only what happens when code is deemed not to be a virus from the actual scan, but then tries to do something the virus scanner dislikes. You should have been using OS provided security mechanisms instead. So unknown viruses can do bad stuff; but the worst thing a program could do is delete all your documents and send your personal info over the internet, and viruses can already do that (both in Windows and in Linux).
    f) The article doesn't mention how vulnerable the products tested are, nor why, nor the success rate. This is probably because this doesn't work quite as well as the researchers advertised.
    c) The method in TFA won't work for long anyway, because your viral code is scanned before it can do anything at all. Anti virus products will be immune against this method next Thursday.

  27. Well, OK but...... by oldmeddler · · Score: 1

    ...does it run on Linux?

    1. Re:Well, OK but...... by Anonymous Coward · · Score: 0

      Yeah, the researcher should have written a portable anti-antivirus indeed..

  28. Just copy the arguments you fools! by Anonymous Coward · · Score: 0

    These guys wrote bad examples of SSDT hooks. If you copy the buffers passed in by the user to another location, and then when you pass the call on, use the buffer at the protected location, then the user mode software can not replace arguments.

    Their statement of applicability is ludicrous as well, they clearly didn't check to see if these SSDT hooks performed the copies, they just declared SSDT patching to be insecure.

    1. Re:Just copy the arguments you fools! by Anonymous Coward · · Score: 0

      If you copy the buffers passed in by the user to another location, and then when you pass the call on, use the buffer at the protected location, then the user mode software can not replace arguments.

      "The faker thread cannot modify the value of the pointer, because it is copied to the kernel stack, hence not accessible from user space. However, the pointer refers to a region in the user memory and contents of this region can be changed. If the change occurs in the right time (after the security check but before the execution of the original system service), the hook is bypassed"

  29. Re:Solution to problem by mugurel · · Score: 1
    but wouldn't this work?

    alias /bin/sudo='/the_path_to_my_evil_eavesdropping/sudo'

  30. Re:Solution to problem by Anonymous Coward · · Score: 0

    but wouldn't this work?

    alias /bin/sudo='/the_path_to_my_evil_eavesdropping/sudo'

    Obviously "/bin/sudo" is not a valid alias. Next time try it first before showing stupid things to the world.

  31. bash's DEBUG trap will easily defeat that by lindi · · Score: 1

    That isn't enough. In bash you can use DEBUG traps to override any command:

    lindi@sauna:~$ function f() {
    > echo executing evil sudo...
    > }
    lindi@sauna:~$ trap f DEBUG
    lindi@sauna:~$ sudo iptraf
    executing evil sudo...
    [sudo] password for lindi:

  32. Re:Solution to problem by Anonymous Coward · · Score: 0

    A: NO

  33. Re:Solution to problem by Anonymous Coward · · Score: 0

    Of course it's a valid alias, but only if you actually type out "/bin/sudo" every time.

  34. Re:Solution to problem by mugurel · · Score: 1

    it's a valid alias in zsh

  35. AV software is a cure worse than the disease. by Sj0 · · Score: 1

    This is just more evidence that a philosophy I've been following lately is correct. Constant-scan AV is a cure worse than the disease.

    From where I'm standing, AV software is meant to address a number of failure modes.

    1. Data Loss
    Data loss is not solely, or even majority caused, by viruses. The best way to preserve important data is with regular off-machine backups. Most viruses today are more concerned with stealing personal information, or creating a botnet, than with destroying data.

    2. Theft of personal information
    This is one area where a virus detector is very important. However, constant scan AV isn't necessarily the best solution.

    One reason for this is the unrevealed nature of a virus scanner failure. If you are relying on an automated, transparent system to detect viruses and it fails, then you have no real way to know it's not working until you actually get a virus because the scanner has failed. Likewise, if a virus disables the scanner, you won't know because it works in the background.

    Scanning before entering personal information will help verify functionality of the scanner as well as ensuring a lack of viruses. Best practice would be to use a read-only medium before bootup to scan using an up-to-date database, ensuring an incorruptible virus scanner scanning a drive that has no ability to execute viruses to bypass a scan.

    3. System performance degradation

    System performance degradation is a terrible reason to use a virus scanner, a cure worse than the disease. Often the "Virus" on a machine is a virus scanner run amok. Startup scans from incorruptible media can protect against this, better than realtime scanning can.

    4. System stability degradation.

    Second verse, same as the first. As many or more system stability problems come about due to poorly written or poorly behaved virus scanners than by viruses themselves. Startup scans from incorruptible media can protect better against this than a real-time scan.

    With best practices on system settings and behaviors, and frequent backups, you can get better protection, better performance, and lower cost (reduced hardware costs from wasted cpu cycles) than real-time scanning. Why bother with it?

    --
    It's been a long time.
  36. People dont enjoy dancing Penguins? by u64 · · Score: 1

    "Given a choice between dancing pigs and security, users will pick dancing pigs every time"

    Great news everyone. The killer application that Linux was missing all along, to take over
    the Desktop, is Dancing Pigs.

  37. Re:Ubuntu (Win98 level of instrumentation?) by lpq · · Score: 1

    The main difference is that people actually understand the basic Unix model of users and groups and so they often manage to set their file permissions to something relatively sane. Practically noone uses the full power of ACL's on either system.
    ---
    What's more useful is using the *same* ACL's to control access on a samba server and windows clients.

    Very fun! You should try it sometime.

    Be sure to use a linux file system with native ACL and XATTR support so SMB can do proper translations between the ACL flavors. I control access by user and group. I don't know where you get that linux's finest granularity is the 'group'...it's the same as NT's -- user level.

    That said, NT's access control does have finer level permission granularity.

    NT is superior to linux in many ways. It's also closed source. Show me a tool like sysinternals.com's
    process explorer (avail on windows) on linux. Linux has nothing even close -- yet on windows 1 free tool shows you more about your system than any collections of GUI's can on linux. Linux just doesn't have and seems to not believe in 'instrumentation' -- it doesn't have close to the hooks needed to do everything ProcessExplorer does. It's sad (disappointing, not sad-pathetic).

  38. Re:Ubuntu (Win98 level of instrumentation?) by mvdwege · · Score: 1

    Show me a tool like sysinternals.com's process explorer (avail on windows) on linux.

    lsof

    Mart

    --
    "I know I will be modded down for this": where's the option '-1, Asking for it'?
  39. Re:Ubuntu (Win98 level of instrumentation?) by lpq · · Score: 1

    lsof isn't a GUI tool -- it has no interactive features.

    It has a very small subset of procexp's functionality, but it is a _small_ subset.

  40. Re:Solution to problem by Just+Some+Guy · · Score: 1

    alias /bin/sudo='/the_path_to_my_evil_eavesdropping/sudo'

    The real sudo is setuid root. You'd have to be root in the first place to make your evil dropin setuid root, at which point why bother?

    --
    Dewey, what part of this looks like authorities should be involved?
  41. Oh, lookie! Viagra! by Anonymous Coward · · Score: 0

    #include "UserImitation.h"
    int main()

    {

    \"I think I'll go ahead and click the link. How thoughtful of them...\"

    \"Oh, this is a very professionally done site.

    Hey! Why won't respond?

    What the!?!?!\"

    echo "Infection!"

    echo "Connection terminated."

    --EOF--

    echo "CRAP!"

    return 1;
    }

  42. Re:Ubuntu (Win98 level of instrumentation?) by mvdwege · · Score: 1

    Not a GUI tool? That wasn't part of your original specification. And what does it matter if it works? It's a sysadmin/developer tool FFS.

    And tell me, what does procexp do what lsof in combination with the normal process tools and the standard Unix utilities can't do?

    Mart

    --
    "I know I will be modded down for this": where's the option '-1, Asking for it'?
  43. Well who needs 'em by Anonymous Coward · · Score: 0

    As any security expert will tell you, the best anti-virus is yourself. Don't do things that would bring malicious software into your system, don't make efforts to allow them and install them, and you should be virus free. A person should NEVER rely on the anti-virus software they have installed to do all of the work for them. I've never seen ONE anti-virus block, remove, or find 100% of the viruses out there, so the best thing a person can do is run periodic scans of multiple anti-virus and anti-malware software.

  44. Re:Ubuntu (Win98 level of instrumentation?) by lpq · · Score: 1

    Procexp is 1 integrated GUI tool. All in one.

    I didn't say you couldn't tie 20-30 unix utils with bailing wire and duct tape together to give the same information with 1000% more hassle.

    The point is simplicity and power. It's all tied together in procexp.

    I cannot begin to list all of the features of this free, and easy to use
    tool that even my non-computer literate friends can use to suspend processes
    from the GUI. It lets you check stacks, symbols, see I /O, paging memory, of
    everything or zoom in on 1 process.

    It sits in your tray and display up to 4 configurable icons for cpu/virtmem/physmem/io. open it it gives a top-like display with colors (configurable) assigned by process type (sys, threads, compressed, user, job, etc..).
    Shows per process IO (not something you can get in top), process permission
    bits (integrity level) culmlative and instantaneous stats...all configurable.

    Each process w/properties you can set priority(nice), cpu-affin, start/stop,
    look at each processes env, look at process in-mem image or on disk, see
    each threads stack and traceback -- with full OS symbols. Performance
    graphs of each process'es io, mem usage and cpu usage -- network(tcp/ip)
    connections w/addr + port...

    It has displays like xosview -- 'cept that you hover over any spike and it tells
    you process name and id. Xosview would be a good top-level start for the graphing function, but there's no tie-in to anything else.

    It's NOT just a developer tool -- in fact it ISN't a developer tool -- it's
    a user tool. It doesn't have much in the way of devel tool tie in if anything.
    It's to let users explore and find out what's going on in their system.

    And it's downloadable from microsoft (they bought sysinternals).

    And it's free -- and it's been out for 5 years.
    Linux is so far behind in good OS instrumentation for users its not fair to say
    that it is behind -- it just doesn't have anything close.

    Now if you want something more for developers (but still is useful for users)
    procmon, does full tracing of i/o, net, process-changing, and registry accesses to allow you to see how a program interacts with the system (all of the above are configurable with full filters).

    But procexp -- more of a user tool and a devel -early-alert tool.

    linux has nothing like it and it's unfortunate.

  45. Non-issue by StikyPad · · Score: 1

    matousec's "argument-switch" attack is fairly reliable

    "Fairly reliable" sounds an awful lot like "unreliable" when it comes to avoiding detection. After all, the offending code only has to be detected once before it can be quarantined/deleted/whatever. This also only seems to affect "on execute" scanning, and if it's not being executed, then good luck swapping the code.

  46. Re:Ubuntu (Win98 level of instrumentation?) by mvdwege · · Score: 1

    Linux has nothing like procexp, and that's unfortunate for you, because you keep expecting a single huge monolithic app to do all that. Your 'spit and baling wire' comment shows that bias quite clearly.

    Let me tell you, from the point of view of a Linux user and professional sysadmin: we don't think it's just 'spit and baling wire'. We like our single discrete tools and the ways we can combine them.

    As long as you keep it expecting to be just another Windows, Linux is never going to be satisfactory to you.

    Mart

    --
    "I know I will be modded down for this": where's the option '-1, Asking for it'?
  47. Re:Ubuntu (Win98 level of instrumentation?) by lpq · · Score: 1

    Don't give me this we, ... I've been using unix since the late 80's and linux since late 90's.
    I have every bit as much as right to say what I want as anyone.

    I want a tool that ties it all together for convenience. I don't like to have to load 40
    different packages with different levels of support all telling me different ways to install
    everything, and then having half of it not work, only to be told it's open source and to fix it
    myself. That's great when I have the time or energy or don't have some project I'm working on.

    But it doesn't just WORK and that's the difference between Linux and Windows. Linux has
    the benefit that when it doesn't just 'work', you have the ability (if you have the time) to
    perhaps make it work, and you have the ability to tie things together that you might not be
    able to in Windows.

    But things that work in windows outshine linux by far, because the people there take the
    time to polish them and tie them together, and because MS, controlling everything makes
    things fit together. You can't say that about linux. There is virtually nothing about linux (outside of the kernel) that just works .. the kernel works because it is held together by linux and a few people, but nothing outside the kernel has any guiding person or body so nothing works together and nothing ties together seamlessly. If it did, you could show me your X utility that seamlessly ties everything together that procexp does.

    The utilities on the outside that show things have to constantly keep up with a shifting kernel interface that is often -- for good reason, in transition. But too little (maybe) thought is given on how to maintain a powerful-system interface in linux that provides the features that procexp provides in windows.

    Don't try to coral me in with windows users. I've spent the majority of my professional and development life on unix and linux doing development. I spend my casual time on Windows, where the interface is far easier to use. Sometimes I like things that just work. Linux (outside of kernel) rarely has that (ok..EXCEPTIONS...there are multiple individual projects that DO Work -- and even distro's if you don't push their limits; I use them at home where I run a linux server 24/7 and often download source (tarballs, CVS, bazaar, Git, et al) to roll lastest versions to attempt new things or just get existing things ). But _a_ tool to provide a simple summary of your systems activity that allows point and click drill-down? Doesn't exist on linux.

    And it's nothing about about the preferences of linux users. Speaking as a veteran and speaking
    for others who aren't who would love such tools.

  48. Re:Ubuntu (Win98 level of instrumentation?) by mvdwege · · Score: 1

    2001 called, it wants its FUD back.

    Stop pretending everything is a mess in Linuxland. It's not, and if you were not mired in your preconceptions, you'd admit that. All is not perfect, and there are rough edges, but despite what you pretend, Windows is not any better; and some of the time it is actually worse (Microsoft hasn't pissed me off lately, so I'm being charitable here).

    Especially don't try to pretend that using the sysinternals tools as an example. How long ago was it that those tools were a third party while Microsoft neglected its responsibility to give admins their necessary tooling?

    I've used proprietary Unices, I use and admin Windows daily, and they're not any better than Linux. And when you're told that the issue you're having problems with will only be fixed in the next release (for which you'll have to pay), that's about as helpful as 'patch the source yourself'. In fact, it's less helpful. At least on Linux I can patch the source myself. And I have done so.

    I don't know about you, but when it comes to the systems given in my care, I prefer to be able to fix things myself, instead of being beholden to someone else who might not share my priorities.

    Mart

    --
    "I know I will be modded down for this": where's the option '-1, Asking for it'?
  49. I don't even use AV by Anonymous Coward · · Score: 0

    The irony of Linux is that if you are tech savvy enough to use Linux, you wouldn't get malware on Windows in the first place. I haven't had a single malware since '03. My girlfriend managed to get tricked into installing a bogus copy of McAfee a week after I rebooted her machine from a previous virus. If Windows apps were as hard to install as Linux, it would be almost as secure. I agree with hairyfeet, Linux isn't so much better as it simply has different annoyances.

  50. Re:Solution to problem by jakykong · · Score: 1

    Why would the evil sudo need to be setuid? It just forks the real sudo and keeps track of the I/O, thus gaining the password. No need to replace sudo when you could use the real thing.

  51. Re:Solution to problem by Just+Some+Guy · · Score: 1

    Yeah, that made more sense when I first wrote it.

    --
    Dewey, what part of this looks like authorities should be involved?