Slashdot Mirror


How to Save Mac OS X From Malware

eXchange writes "Well-known hacker Dino Dai Zovi has written an article at ZDNet discussing last week's discovery of a critical threat to Mac OS X, and another announcement of a Trojan horse exploiting this discovery. He suggests that Snow Leopard, or Mac OS X 10.6, should integrate more robust means of preventing malware attacks. Some of the suggestions he has include mandatory code-signing for kernel extensions (so only certified kernel extensions can run), sandbox policies for Safari, Mail, and third-party applications (so these applications cannot do anything to the system), and some lower-level changes, such as hardware-enforced Non-eXecutable memory and address space layout randomization."

222 comments

  1. Summary For The Lazy by rsmith-mac · · Score: 3, Insightful

    Make Mac OS X like Windows Vista (64bit Vista has almost all of the things listed in his article).

    If it does get implemented, it'll be interesting to see how Jobs talks it up since Apple wouldn't have been first.

    1. Re:Summary For The Lazy by mingot · · Score: 5, Insightful

      Won't matter. Most malware is installed via the user while installing the latest screensavers, emoticon packs, and browser toolbars. Nothing will ever be able to defeat the uneducated user.

    2. Re:Summary For The Lazy by Anonymous Coward · · Score: 0

      Apple hasn't been first in most of the areas that the uninformed public likes to give them credit for. What's to stop them now?

    3. Re:Summary For The Lazy by timster · · Score: 3, Insightful

      Indeed -- leave it to OS hackers to dream up a worthless technological solution to a UI problem. If the interface was designed to give users the faintest notion of what was happening on their computers, we would see progress. Instead we give people interfaces that pretend to simplify complexity while really just glossing over important details, and then we whine about users being uneducated about the details that we've glossed over.

      --
      I have seen the future, and it is inconvenient.
    4. Re:Summary For The Lazy by resonance378 · · Score: 1

      My SWAG is that Steve Jobs will talk it up not by doing it 1st but by doing it better. DISCLAIMER: No I don't own a MAC or MAC stock.

    5. Re:Summary For The Lazy by HairyCanary · · Score: 1

      Surpise! The uninformed public does not judge products based on whether or not they are *first*.

    6. Re:Summary For The Lazy by vertinox · · Score: 3, Insightful

      Nothing will ever be able to defeat the uneducated user.

      True, but you can mitigate the damage a single user can do. Its called sandboxing.

      If you prevent a user from installing applications that get to do things like put themselves in start up or have the ability to hide themselves from the user or start on their own without user intervention then you've done half the battle right there.

      OS X still can do this with admin rights which I fear most people run, but its a start at least.

      Of course, a malicious one time application can always wipe the user directory in these situations but that is what backups are for. However, its a lot easier to get rid of that malicious program if you the OS itself won't allow you to create startup programs or allow applications to run in stealth mode.

      --
      "I am the king of the Romans, and am superior to rules of grammar!"
      -Sigismund, Holy Roman Emperor (1368-1437)
    7. Re:Summary For The Lazy by Aphoxema · · Score: 1

      That's not true. The solution would be to simply not let the user install anything. Ever.

      --
      "Most people, I think, don't even know what a rootkit is, so why should they care about it?"
    8. Re:Summary For The Lazy by vux984 · · Score: 2, Insightful

      Won't matter. Most malware is installed via the user while installing the latest screensavers, emoticon packs, and browser toolbars. Nothing will ever be able to defeat the uneducated user.

      True enough for the average home user, but the corporate/enterprise/government desktop is a whole other ballpark, and in that environment stuff like sandboxes and driver signing make a lot of sense.

      Also as a 'sophisticated' user, using Vista x64, I quite like the driver signing concept.

      I think its GREAT that some driver I download, or some source code for a driver I download and compile myself, or even a driver I might write myself from scratch can't by default run on everyone's computers.

      That's a good barrier to rootkits etc. Even if a naive user says 'I agree' the driver still won't load. And if a rootkit does get signed, the keys can be revoked at MS, and a gazillion PCs will be immune next time they update.

      Its a good system.

      Of course, its has its frustrations - oss drivers, home made drivers, etc, etc won't work. And as a result:

      Most of the chatter on the net about it, is 'how to disable driver signing', 'how to bypass it', etc. Yet the question people SHOULD be asking is: "How do I sign a driver to run on MY PC?"

      THAT WOULD BE FAR MORE USEFUL.

      It is after all YOUR PC, and you should be allowed to run any driver you want on it. So there *should* be a way of signing it for your PC. As the owner I should have my own private signing key, and anything I sign should run on any PC that has my public key trusted on it. Obviously stuff I sign with this key won't run on your PC because you won't have my public key trusted on your systems, but that's fine and as it should be.

      Of course, this is somewhat at odds with the RIAA/MPAA/DRM objectives with driver signing. But so what, people should be demanding the keys to their computers, and getting them.

      Code/Driver signing isn't evil, its on par with putting a lock on your car or home. Not giving the owners the keys is evil.

      And with that said, IS it possible to sign your own drivers for your own Vista machine? I'd very much like to know what is involved in doing that.

    9. Re:Summary For The Lazy by 0xABADC0DA · · Score: 0

      Don't allow programs to write other programs.
      Don't allow programs to read or change the settings of other programs.
      Don't allow programs to be hacked.

      These three things are completely doable and would eliminate pretty much all malware. Even malware that the user chose to install would not be able to do many of the destructive things they do now, such as reading your stored passwords other program settings, etc. Even if they deleted or modified your files, you could just go back to a ZFS snapshot and get them back again.

      You can't prevent people from doing stupid things like leaving their bank info in a .txt file. But you can make it safe to install screensavers, emiticon packs, etc for everybody else.

      The simplest and most effective way to prevent programs from being hacked is to write them in Java (or other type-safe language). Most of the operating system kernel should also be written in a type-safe language as well (except for a tiny amount of asm mostly for drivers). This would have a number of other benefits in addition to preventing 'root exploits'.

    10. Re:Summary For The Lazy by virgil_disgr4ce · · Score: 5, Insightful

      It's not the interface's problem, it's the fact that 98% of computer users do not want to and will not learn anything about their computer. Some people will actively refuse to learn anything. So in light of that, the root of the problem is far, far deeper :(

    11. Re:Summary For The Lazy by AkaKaryuu · · Score: 1

      Make Mac OS X like Windows Vista I thought we were trying to fix OS X? :P
    12. Re:Summary For The Lazy by Goeland86 · · Score: 4, Interesting

      It's not the interface's problem, it's the fact that 98% of computer users do not want to and will not learn anything about their computer. Some people will actively refuse to learn anything. So in light of that, the root of the problem is far, far deeper :(

      Well then the solution's simple. Give people a license to use a computer. A computer is infintely more complex than a car, yet you need a driver's license for a car. Pending that, if a user decides to NOT get their "computing license", well they deserve to be infected by spyware, regardless of OS, browser etc.

      Attempting to make products idiot-proof should not exist. If you want everything to be idiot-proof, you're ensuring that evolutions stops. Even the most hardliner christian can't deny the fact that some people are morons, dangerous or otherwise incapable of contributing to society.

      Hence why we need to keep darwinism alive in some form or another. Unfortunately the US has too many lawyers that allow idiots to sue companies into making products idiot-proof, instead of letting idiots manage their population the only way they know how to: let the idiots be idiots and see which ones pull it through. They're either very lucky, or not that idiotic if they manage to not kill themselves.

      --
      ---- I am certain of only one thing : I know nothing else.
    13. Re:Summary For The Lazy by Anonymous Coward · · Score: 0

      You don't own an Ethernet or Wifi card? If you have either, I'm pretty sure you have a MAC. I'm not sure what MAC stock is though, is that a big pile of Ethernet cards?

    14. Re:Summary For The Lazy by resonance378 · · Score: 1

      A structured or standardized format to error logs would go a long way I think. I'm not sure what it's like on MAC and really haven't found out how to do it on Linux (Ubuntu) but finding and reading logs for Windows is a small nightmare. The event viewer can help but some times it doesn't give enough detail or doesn't even log the event as you would expect. Perhaps it's just the environment I'm in and the way it's setup but logs are the last thing our desktop support look for in resolving an issue while it's the 1st thing I want to look at.

    15. Re:Summary For The Lazy by IamTheRealMike · · Score: 1

      It's not that easy :-( Believe me, some of us have been studying the problem for a looooong time.

      The trick is to strike a balance between legacy technologies (also known as "stuff proven to work") and new ideas. It's very hard. For instance, you say "let's write everything in Java, as well as the kernel" .... that's describing an epic journey in a sentence! Microsoft has already got an R&D program that does exactly what you suggest, Singularity, but nobody is suggesting it'll be on end-user desktops anytime soon. It's too radical a departure.

      You also say "don't allow programs to write other programs". How are you going to enforce that exactly? For instance, how would you run a compiler on such a system? Clearly, some programs have to be able to write other programs. What about a web browser? Web browsers routinely download and run programs ... it's only a small step to imagine them somehow compiling JavaScript into native code just like the JVM does with applets. Is the web browser writing another program?

      Of course the real problem is not programs writing programs. The real problem is programs modifying other programs. This describes most malware as well as your debugger. How can you ensure that the debugger is allowed to do these dangerous things (ie, poke/modify state of other programs arbitrarily) but malware isn't? Having a trusted chain of execution is one, ie, the debugger can debug programs it launches itself, but not any other programs.

      Strategies like Singularity, BitFrost, AppArmor, CoreForce etc all have something to contribute but their implementability varies wildly.

    16. Re:Summary For The Lazy by 99BottlesOfBeerInMyF · · Score: 3, Interesting

      It's not the interface's problem, it's the fact that 98% of computer users do not want to and will not learn anything about their computer.

      Bullshit. How hard is it to create an interface that can easily and consistently show executables and data differently. Seriously, add a red ring around all executables, or something more subtle, just something that isn't duplicated by the icons for data. That would solve a myriad of security problems and I don't think it would be to onerous for users to learn. But instead we expect them to interpret hundreds of three letter codes indicating file types, codes which are sometimes visible and sometimes hidden and sometimes appear to be visible, but are really lies covering the hidden code. Yeah, blame the user for not memorizing hundreds of file extensions and learning the controls necessary for making sure they are always visible.

    17. Re:Summary For The Lazy by WiseWeasel · · Score: 1

      Screw that. Mandatory driver signing is unacceptable, as it's no longer a general purpose computer strictly under my control. The answer to your question is that NO, you can't sign your own drivers for Vista and/or distribute them to other people to use. It would be like the vendor keeping control of the root account with some super secret password, and only giving the user some crippled 'admin' account without access to the whole computer. When I bought my computer, the OS and all its files became mine, and I'm free to tinker with it to my heart's content. I don't mind having a certification process for 'safe' drivers, and then have some mechanism for booting in safe mode with only safe drivers loaded if there is a problem with one of the unapproved drivers. The user should still be free to write their own kernel extensions, and load experimental ones from other people if they choose, however.

      The day Apple moves to protect the Mac OS from its owner despite their wishes is the day I begin my Linux migration. I'm quite thankful that the open source community has given us a viable alternative should OS vendors try to take control away from the user. Windows Vista 64 is completely unacceptable to me because of the protected kernel space, and I'd drop Apple in a second, despite being quite fond of the Mac OS, if they try to pull something like that.

      --
      "I like systems, their application excepted", George Sand (French)
    18. Re:Summary For The Lazy by erroneus · · Score: 5, Interesting

      Having knowledge is having additional responsibility. It took me quite a while to arrive at that conclusion, but if people can claim they didn't know or don't understand something, they are therefore not responsible for it. This goes well beyond knowing about computers and into all facets of life. For me, knowledge has always been important and desirable, so it was really hard to understand why the majority of people don't want any. But I believe I've hit upon the precise essence of why people don't want to know anything... they don't want it to be their fault.

    19. Re:Summary For The Lazy by virgil_disgr4ce · · Score: 3, Insightful

      Whoa there, tiger. You seem to be missing the point of my post: that most users don't know what an "executable" or "data file" is in the first place, and will likely not use the computer often enough to learn by exposure.

      And I never said that there aren't bad interfaces. I personally think Windows has one of the worst, for the very reasons you describe.

      It's still incredibly important that interfaces are designed logically and efficiently! But any interface nonetheless requires some degree of learning--"intuition" in interfaces is only, in fact, "familiarity."

    20. Re:Summary For The Lazy by virgil_disgr4ce · · Score: 1

      I can't tell if my reply to this earlier is displaying correctly; in case it is not, this reply was intended for this post:

      Whoa there, tiger. You seem to be missing the point of my post: that most users don't know what an "executable" or "data file" is in the first place, and will likely not use the computer often enough to learn by exposure.

      And I never said that there aren't bad interfaces. I personally think Windows has one of the worst, for the very reasons you describe.

      It's still incredibly important that interfaces are designed logically and efficiently! But any interface nonetheless requires some degree of learning--"intuition" in interfaces is only, in fact, "familiarity."

    21. Re:Summary For The Lazy by austin987 · · Score: 1

      Make Mac OS X like Windows Vista

      Please, for the love of all that is good and holy, don't do this Apple.
    22. Re:Summary For The Lazy by 0xABADC0DA · · Score: 1

      The trick is to strike a balance between legacy technologies (also known as "stuff proven to work") and new ideas. The legacy technologies have been proven not to work. Since they can be hacked and made to do whatever they are capable of (ie anything POSIX, Win32) the only solution is to apply heavy restrictions to what they can do, so they cannot write new programs, etc. But these fail since the malware can run within the hacked program without user approval, so really they need to be run with far more restrictions -- like the failure of SELinux, this is not practical to do.

      For instance, you say "let's write everything in Java, as well as the kernel" .... that's describing an epic journey in a sentence! Microsoft has already got an R&D program that does exactly what you suggest, Singularity, but nobody is suggesting it'll be on end-user desktops anytime soon. It's too radical a departure. Yes, I know and more to the point is Sun's JavaOS which was not simply an idle research project like Singularity, but was an actual product. It is not so much an epic journey as it is lacking a motivator. People only care about the appearance of security, not actual security. That's why it doesn't get done, not due to some massive hurdles. In fact most software development is done in Java, .Net, or Javascript -- none of which care about POSIX for instance and run with minor changes on any kernel (well, ok, not .Net).

      You also say "don't allow programs to write other programs". How are you going to enforce that exactly? For instance, how would you run a compiler on such a system? ... Web browsers routinely download and run programs [in the form of javascript] Users don't run compilers. For adding programs to the system, Web browsers can download installers or use an API that registers the program (so it can be removed) and asks the user if they want to install it. JavaScript is a typesafe language, so it can't modify the browser, unless the browser allows it to.

      How can you ensure that the debugger is allowed to do these dangerous things (ie, poke/modify state of other programs arbitrarily) but malware isn't? Developers can use special exceptions for their compilers and debuggers. Normal users do not need to use compilers or debuggers.


      It's really pretty simple, isn't it? All it really takes is for people to demand it.

    23. Re:Summary For The Lazy by 99BottlesOfBeerInMyF · · Score: 5, Insightful

      Whoa there, tiger. You seem to be missing the point of my post: that most users don't know what an "executable" or "data file" is in the first place, and will likely not use the computer often enough to learn by exposure.

      How would they know if the user interface makes no distinction? You have to fix the UI first, to reduce the level of education needed to something reasonable. Seriously, most user want to run programs they don't completely trust and their inability to do so is one of the primary causes of insecurity. Current OS's make this incredibly common task very, very onerous. Really the easiest way to do that these days is to but a VM, install it, configure it appropriately for the program you want to run, create a new image, install an OS, install the program within the OS, and finally run it. That takes money and significant skill and time and is simply too onerous for the normal user.

      But any interface nonetheless requires some degree of learning--"intuition" in interfaces is only, in fact, "familiarity."

      You can call it whatever you want, but different interfaces and the functionality they connect to make a huge difference in how much education, skill, time, and money it takes to compute securely. Until OS's catch up, people constantly calling for education and blaming users are part of the problem, more than the solution, IMHO.

    24. Re:Summary For The Lazy by Mozk · · Score: 1

      Sandboxie
      Filemon

      Perfect for stopping applications from doing such things (or with Filemon, logging it). While I'm definitely not an uneducated user when it comes to computers, those tools are excellent.

      --
      No existe.
    25. Re:Summary For The Lazy by jcgf · · Score: 1

      The answer to your question is that NO, you can't sign your own drivers for Vista and/or distribute them to other people to use.

      It should just be and there, shouldn't it? You can sign your own drivers. You can also distribute drivers. You just can't do both with the same driver at the same time (not for technical reasons though - license ones).

      I don't mind having a certification process for 'safe' drivers, and then have some mechanism for booting in safe mode with only safe drivers loaded if there is a problem with one of the unapproved drivers.

      Well, they do it the other way (you have to manually disable the signing requirement - we did it for a CSP at work - using a hex editor and instructions from MS (edit advapi32.dll) - it should be similar for drivers) which is kind of half way to what you want.

    26. Re:Summary For The Lazy by vux984 · · Score: 1

      Screw that. Mandatory driver signing is unacceptable, as it's no longer a general purpose computer strictly under my control.

      It is if you have a signing key for that computer.

      The answer to your question is that NO, you can't sign your own drivers for Vista and/or distribute them to other people to use.

      Of course you can sign your own drivers and give them to other people. You have to buy a certificate for that, but lots of companies have manged it, including some very small ones.

      The more interesting scenario to me is the 'test signatures' mechanisms, by which you can freely self-sign drivers for use on your own hardware. Designed for driver developers, and drivers signed this way can't be re-distributed, but if it lets you compile a driver from source, or download an unsigned driver, and self-sign it, and run it on your own hardware, then you basically have the tools to run anything you like on your own hardware and your entire rant about the vender keeping the keys is nullified.

      For more info:

      http://msdn.microsoft.com/en-us/library/aa906247.aspx
      http://msdn.microsoft.com/en-us/library/aa906249.aspx

      My question about self signing isn't 'can you do it'; I already know you can. Its more a case of 'how exactly', and 'can it easily be applied to downloaded source or unsigned binaries acquired over the internet'?

      I don't mind jumping through a couple hoops to sign something I've downloaded, if it means stuff I don't jump through hoops for can't attack me.

      The day Apple moves to protect the Mac OS from its owner despite their wishes is the day I begin my Linux migration.

      There is no reason Linux won't have signed drivers as well one day. There is nothing 'anti-freedom' about driver signing provided the computer owners have the necessary tools to generate keys, sign with them, and revoke them for their own hardware.

      Indeed such a thing might protect me from malicious opensource mirrors hosting 'modified' binaries and other such threats. I would setup my system to trust the Ubuntu or Fedora key, the Apache key, the Mozilla Key, and my own key. If I wanted to install a package that wasn't signed by any of the above, as part of the installation I would sign it myself. And of course I could sign my own software.

      And if I distributed it and didn't have a widely recognized/trusted signature and/or distributed it unsigned or as source, the recipients could each sign it themselves for their own pc.

      Bottom line: Driver Signing isn't inherently evil.

    27. Re:Summary For The Lazy by Sentry21 · · Score: 1, Interesting

      Part of that can be resolved by sandboxing. Prevent screensavers, etc. from being able to access anything on the system outside of a small, well-defined set of resources; have the author define that list, and the system enforce it. Network access? Disk access? Safari RSS feeds? Require authentication and code signing.

      Oh, and make code signing easy, so people don't have to fork out huge amounts of money to sign their code. Apple could provide a signing service, where you have to apply and go through a verification process, after which you get a certificate that you can use to sign your apps for the next six months.

      This opens up a new set of options for security management as well. If a developer finds a security hole in his product, he can release a new version then invalidate the old version through Apple's service. Users can be provided a grace period to upgrade (for e.g. financial software) or be locked out of the service entirely (for e.g. Adium, Disco, etc.).

      Alternately, if someone is distributing malware or can't be contacted to fix bugs (or just doesn't fix them) Apple could lock that app out so that it would no longer run.

      Untrusted (that is, unsigned) apps could be sandboxed automatically, with the user having to opt-in to un-sandboxing them if they, for some reason, need it.

    28. Re:Summary For The Lazy by UnderCoverPenguin · · Score: 2, Interesting

      And with that said, IS it possible to sign your own drivers for your own Vista machine? I'd very much like to know what is involved in doing that.

      I only have an indirect answer: According to the vendors of some of the specialized hardware my clients and I use, the only way to use their hardware under Vista is for them to either get their drivers signed by Microsoft, or for them to rewrite their firmware and DLLs to allow using generic drivers. All of them chose to do the rewrite and use the generic driver. For example, several of the devices we use utilize the FT2232 USB microchip in the hardware. Originally, the vendors licensed the driver source from the manufacturer to make their own custom driver. Now, with the new firmware, the devices appear to Vista as generic USB serial ports (aka COM1, COM2, etc). The new DLLs figure out which serial port really are the special devices and implement new device protocols through the virtual serial ports.

      --
      Don't try to out wierd me, three-eyes. I get stranger things than you, free with my breakfast cereal. --Zaphod Beeblebr
    29. Re:Summary For The Lazy by Anonymous Coward · · Score: 0

      Do you know the intimate details of how your car works? Your microwave? How the food that you buy at the grocery store is produced?

      For many if not most people a computer is just another tool, not a hobby or interest. So this is at least partly a UI problem. One of the reasons for tools or technology in the first place is to make things easier and simpler, not harder.

    30. Re:Summary For The Lazy by vux984 · · Score: 1

      I only have an indirect answer: According to the vendors of some of the specialized hardware my clients and I use, the only way to use their hardware under Vista is for them to either get their drivers signed by Microsoft, or for them to rewrite their firmware and DLLs to allow using generic drivers.

      Yes, if you want to distribute hardware that 'just works', you *have* to get your drivers signed by MS.

      All of them chose to do the rewrite and use the generic driver. For example, several of the devices we use utilize the FT2232 USB microchip in the hardware.

      Yes, that was probably the least effort for them, and their customers.

      The new DLLs figure out which serial port really are the special devices and implement new device protocols through the virtual serial ports.

      Yeah, I deal with a number of h/w vendors who use FTDI chips, and they've all gone the same route. But in cases like this, where its little more than usb-serial bridge, it makes sense that its easier to just use the generic drivers and probe the 'virtual' com ports for a suitable handshake than any other option.

      All that said, it doesn't rule out the viability of self-signing. I know upfront that self signing should put some extra burden on end users... after all if you could make self-signing part of a seamless installation process driver signing would be worthless as rootkit writers would use it to get naive users to self-sign during installation...

      However, for the open source community, who like to download and modify source, the hassle of self-signing drivers for their own units is probably not that big of a deal.

      As I said in another post, I could even see code signing becoming commonplace for linux, as a part of SELinux or AppArmor. An IT admin would install trusted certs on his boxes including a self-made enterprise cert, and then the only stuff that would run in the enterprise would have be signed by one of the trusted certs. (Since the admin can issue and trust his own cert, he still has full control over everything that runs on his network, including allowing some hacked kernel module he modified and signed himself.)

    31. Re:Summary For The Lazy by Anonymous Coward · · Score: 0

      Being reasonable knowledgeable about computer myself, I also have a great deal of trouble knowing which file are executable and which aren't. All files are simply an other set of instructions interpreted by the program that processes them. Some programs allow for turing complete instructions, others don't. Every program offers these instructions access to a certain subset of the system functions. How do I know which system functions are accessible to which "data file"?
      To further complicate matters, some programs have exploitable bugs (buffer overflows etc.) in them which make what would seem to be constrained instructions ("data files") able to escape their sandbox. etc.

      The only way to fix this is with mandatory access control, but how will a normal untrained user set these up properly? How will we prevent them from screwing up the secure default settings?

    32. Re:Summary For The Lazy by Chelloveck · · Score: 3, Insightful

      Seriously, add a red ring around all executables, or something more subtle, just something that isn't duplicated by the icons for data.

      Sure... But only if you can first give me unambiguous definitions of "executable" and "data". Into which category does a Word document fall? How about an HTML file? An arbitrary file without a filename extension?

      Simplistic "solutions" like this have gotten us where we are now. A warning is popped up whenever the user tries to do anything useful with the computer. "Oooh, that file might be dangerous, do you really want to open it?" Give the user a half dozen of those a day and you've trained him to just blindly click "Yes, dammit!" to the security dialogs.

      And that doesn't even begin to address the bigger issue, which is that users are easily tricked into running programs that they shouldn't. "Wow! Some random person just emailed me a picture of Natalie Portman naked in hot grits! Let me just double-click that self-extracting ZIP..." Or, more subtle, "Wow, that Comet Cursor looks really cool. Let me just click 'yes' to all these security warnings, because I really do want to install and run it."

      --
      Chelloveck
      I give up on debugging. From now on, SIGSEGV is a feature.
    33. Re:Summary For The Lazy by BalkanBoy · · Score: 3, Insightful

      Isn't that just another way of saying, ignorance is bliss? :)

      --
      'A lie if repeated often enough, becomes the truth.' - Goebbels
    34. Re:Summary For The Lazy by nick.ian.k · · Score: 1

      How would they know if the user interface makes no distinction?

      A visual distinction imparts little to no knowledge without context. If the end user doesn't understand what an executable is, the user interface making a distinction becomes meaningless. "There's a red ring around these pictures that launch my word processor, image editor, and web browser. Those all do different things. How are they similar? What gives?" is a more likely reaction.

    35. Re:Summary For The Lazy by Sancho · · Score: 1

      Really the easiest way to do that these days is to but a VM, install it, configure it appropriately for the program you want to run, create a new image, install an OS, install the program within the OS, and finally run it. That takes money and significant skill and time and is simply too onerous for the normal user. Only you shouldn't have to do this. The OS should protect programs from each other, and unless the program needs it, it should not ever be able to see outside of its own memory space. Ideally, it shouldn't be able to see outside its own area for storing files and temporary data. This alone would go a long way towards preventing data leaks from malware.

      Of course, the user needs to know not to allow the program to elevate privileges. That's where the onerous tasks you mention come in. Make the user type, "I understand the risk. Let this program have full and complete access to my computer." for each program which wants higher privileges. Preface that with a very short explanation that unless the software is from a trusted (and most likely a reputable business) source, that it should not be given these elevated privileges.

      Of course, you run into the same problems we always run into. Programs are written poorly, so lots of them will require this interaction. If a user is hit with this enough, s/he will just disable those prompts, and we're back to square one.

      VMs themselves are onerous enough that the users who need them the most will never, ever bother to use them.

    36. Re:Summary For The Lazy by 99BottlesOfBeerInMyF · · Score: 3, Informative

      Sure... But only if you can first give me unambiguous definitions of "executable" and "data".

      For the most part, that distinction is clear, although a few programs blur the lines, we should probably be asking if that is a useful thing to do or just a security mess from lousy design.

      Into which category does a Word document fall? How about an HTML file?

      With properly coded applications, both should be data if stored locally anyway. When accessed via a browser, we should establish a convention. I see no reason for word or HTML files to do anything outside of the sandbox of the program opening them.

      An arbitrary file without a filename extension?

      That's easy, data... until you change the file to be executable and assign it a proper extension.

      Simplistic "solutions" like this have gotten us where we are now. A warning is popped up whenever the user tries to do anything useful with the computer. "Oooh, that file might be dangerous, do you really want to open it?"

      That's not a simplistic solution, nor even a solution in most cases. It is just a way for the manufacturer to transfer blame for security failures. Most don't even seem to be intended to increase overall security. That doesn't mean you can't make good security changes or simplify things in ways that make things easier for users. Seriously, what we have now is not working.

      And that doesn't even begin to address the bigger issue, which is that users are easily tricked into running programs that they shouldn't.

      This is, in my opinion, a misstatement of the problem. The problem is not that users run programs that they shouldn't. It is that users want to run programs they don't trust, but without significant risk. They can do it today using VMs, but surely OS manufacturers should be able to come up with a more convenient method of letting people run potentially dangerous software in a safe way. The main problem now is users have to take a gamble. I want to play this game, if it is a game, so I'll guess it isn't malware and give it a try. The OS should be telling them it is malware or if it is unknown, should be telling them what it is trying to do, before it does it. You'd think this incredibly common use case would be a priority by now, but for the most part only Windows has a big trojan problem and they also have a monopoly so why should they care?

    37. Re:Summary For The Lazy by UnknownSoldier · · Score: 4, Insightful

      > Well then the solution's simple. Give people a license to use a computer.

      Riiiiiight, just like a driver's license prevents traffic accidents, a gun license prevents shootings....

      A license is not an indicator of any safety, wisdom, or experience.

      You can't regulate stupidity or intelligence.

    38. Re:Summary For The Lazy by 99BottlesOfBeerInMyF · · Score: 3, Insightful

      The only way to fix this is with mandatory access control, but how will a normal untrained user set these up properly? How will we prevent them from screwing up the secure default settings?

      The normal user should probably not have to set hem up at all. Rather, ACLs should be certified by security companies who review the software looking for problems and malware and then feed that data to the OS. These could be free and community driven like ClamAV is now, payware, like Norton and the like, or supplied by the OS vendor. Ideally, the user should be able to subscribe to them and weight them as they like.

      I don't see any reason why MAC can't be transparent to the user, except in weird edge cases. Users should only have to do anything when software is not pre-installed, not identifiable from one of the services I describe, and wants to exceed a strict sandbox that untrusted software defaults to. For normal users, that should pretty much mean they never have to interact with setting up an ACL and only be prompted if they are dealing with malware. They can learn if they see such a prompt, something fishy is going on and they should not run it (the default) and maybe look into the source of the software more closely. For advanced users that want to run custom software or company specific software, well they are advanced and can deal with it.

    39. Re:Summary For The Lazy by mingot · · Score: 4, Insightful

      Replying to myself here, and to all above who have proposed solutions: The same day they make an OS/Computer on which a user can't screw himself is the same day they come out with unbreakable DRM. It's the same game, really.

    40. Re:Summary For The Lazy by HighBit · · Score: 1

      I think it may be more simple than that. People are just lazy, and learning takes effort. For some people, learning takes less effort and is therefore more fun. (Not saying learning can't be fun for everyone, just saying it's easier for learning to be fun for some people.)

    41. Re:Summary For The Lazy by Anonymous Coward · · Score: 1, Funny

      Whoa there, tiger. Don't you mean "whoa there, leopard"?

      Or "whoa there, snow leopard"?

    42. Re:Summary For The Lazy by MasterVidBoi · · Score: 2

      What is executable and what is data?

      What about a word processing document that supports a macro language, or a bundle of HTML+JavaScript+resources (one of those buzzword-compliant local web 2.0 RIA/flex/flash/AIR application thingies). In these cases, the user is implicitly opening an executable elsewhere on the system to handle the documents, and now you're trusting that application to properly validate and sandbox those document/programs.

      OK, so you can also flag documents that contain executable data. But how is the system supposed to know what kind of documents those are.

      An XML file? Well, each one of the nodes in that list are actually an opcode for some funny format...

      Is a postscript file document or executable?

      Documents and Executables are, in the general case, exactly the same thing. Trying to split them out and tell the user which one any given icon will be an interesting challenge. You should get right on it.

    43. Re:Summary For The Lazy by Macgrrl · · Score: 4, Insightful

      Well then the solution's simple. Give people a license to use a computer. A computer is infintely more complex than a car, yet you need a driver's license for a car.

      It'll happen sometime after they make it compulsory to have a license to have children - which lets face it - are several times more complex than either a car or a computer.

      --
      Sara
      Designer, Gamer, Macgrrl in an XP World
    44. Re:Summary For The Lazy by Anpheus · · Score: 2

      What about excel files? The whole point of an Excel file is to manipulate data, sometimes pull it from a database or a file.

      I bring that up because this is how a minority of people use Word documents as well.

    45. Re:Summary For The Lazy by commodoresloat · · Score: 1

      the root of the problem is far, far deeper :( And by "deeper" you mean "between the keyboard and the chair"
    46. Re:Summary For The Lazy by virgil_disgr4ce · · Score: 1

      Well, no, by deeper I meant "with society, culture and the education of that society/culture."

    47. Re:Summary For The Lazy by nawcom · · Score: 0

      Mac (idk what you meant by MAC) OS X (Darwin) is bsd-based, so it has similar logging that Linux does, via syslog (/var/log/messages, /var/log/system.log, /var/log/secure.log, etc) and uses Console.app as an easy frontend for reading all of them. I'm sure Ubuntu (i assume you are using GNOME?) has a gtk frontend for it in the System category someone where.

    48. Re:Summary For The Lazy by Anonymous Coward · · Score: 0

      Helluva lot of people do not know what the words "application", "file" or "operating system" mean. I like the idea of highlighting something according to what it is (I'd imagine a halo colour as you mouse over it, like an elevator button lit up), but then I remember the people I have shown how to use PowerPoint:

      Me: "You can use the arrow-down key to go to the next slide, or you can use..."

      Them: "Stop there! That's all I need to know."

      To summarise, I like your idea. I hope it catches on. There are a lot of stupid people out there.

    49. Re:Summary For The Lazy by KURAAKU+Deibiddo · · Score: 2, Insightful

      Basically, there isn't a huge difference between how Mac OS X handles log files (apart from Leopard using bzip2 for compression, instead of the gzip that Hardy Heron uses). Logs are in /var/log on both operating systems, and provided that you're using the default Gnome UI on Ubuntu, you can use the Gnome System Log viewer to view them.

      You can pull this up by going to System > Administration > System Log, or by typing gnome-system-log into Terminal.

      For more information on logging in Ubuntu (with pictures, no less), you might take a look at either this random Google search result or this one. The first has more screen grabs for illustration. ;)

      On Mac OS X, you'd use Console, which can be found in Applications > Utilities.

    50. Re:Summary For The Lazy by Hal_Porter · · Score: 1

      Won't matter. Most malware is installed via the user while installing the latest screensavers, emoticon packs, and browser toolbars. Nothing will ever be able to defeat the uneducated user.

      So you're saying not to protected the educated users because uneducated ones exist? Bear in mind that most corporate users are probably uneducated by the network admin is anything but, and an uneducated user with no admin rights can't do much damage.

      The fact is the customers who know about security are corporate ones and they are quite able to forbid people from installing junk, by a mixture of technological measures like doman security policies and administrative ones like having their boss tell them not to install stuff themselves or they will fired. From the point of view of this sort of organisation, an OS with security features is secure. They don't care about uneducated users, because those users are not admin

      --
      echo -e 'global _start\n _start:\n mov eax, 2\n int 80h\n jmp _start' > a.asm; nasm a.asm -f elf; ld a.o -o a;
    51. Re:Summary For The Lazy by LO0G · · Score: 1

      Every modern OS protect programs from each other, they can't see outside their own memory space without.

      As to your 2nd suggestion... An application is sandboxed so it can only see it's own area for storing files. An interesting concept. Let's see how it plays out...

      So if I create a web page in emacs it gets saved in emacs own area. So far so good.

      What happens when I try to publish the page to my web server? My ftp client has it's own area and it can't see the emacs area.

      Crud, I'm screwed.

      How do you make it so that one application can use the output of another application and still isolate the applications from each other?

    52. Re:Summary For The Lazy by jhol13 · · Score: 1

      Wiping the user directory is not a bad thing. Slowly corrupting random files is.

      Then your backups will contain either outdated or erroneous information, or both.

      Users really should have a way to run programs with extremely little permissions ("no overwriting of files, no reading of 'sensitive area', no sockets to net, chroot, runas(nobody), ...").

      Unfortunately there is no desktop OS doing that (at the moment).

    53. Re:Summary For The Lazy by JohnBailey · · Score: 1

      If you prevent a user from installing applications that get to do things like put themselves in start up or have the ability to hide themselves from the user or start on their own without user intervention then you've done half the battle right there. Or If you do something to prevent the user from shooting both feet off, they will use their feet to shoot both hands off. Worst case scenario, friend/work mate/relative can fix it. People have an amazing ability to learn what they need to. If User "x" decides they want to run some thinly disguised malware, they will put great effort into learning how to disable the security measures to run it. The danger is not immediate, so it is irrelevant.
      --
      It is difficult to get a man to understand something when his job depends on not understanding it.
    54. Re:Summary For The Lazy by jhol13 · · Score: 1

      I disagree.

      Well, yes, it is the same game, but there is a solution.

      In DRM case the user wants to see the contents without breaking his computer, the content distributor tries to "break" the computer.

      The random-nice-program-in-the-net case is basically same.

      So a solution which allows the user to see content/program output and which disallows the program from doing anything (else) would solve both cases. The solution is also called a "sandbox".

    55. Re:Summary For The Lazy by JohnBailey · · Score: 1

      Of course, the user needs to know not to allow the program to elevate privileges. That's where the onerous tasks you mention come in. Make the user type, "I understand the risk. Let this program have full and complete access to my computer." for each program which wants higher privileges. Preface that with a very short explanation that unless the software is from a trusted (and most likely a reputable business) source, that it should not be given these elevated privileges. And here we have the point of failure. The user will get very quick at typing this phrase or someone will write an app that fills it in automatically for them, and it will be one of the first things they install on any computer they use. And they will still not read the warning. And I know from personal experience that a siren doesn't work either. I have a pack of cigarettes in front of me right now. On the front, taking up almost half of the surface of the pack is a notice in large black text "Smoking kills". On the back, "Smoking can cause a slow and painful death" Neither deter me from smoking, although I did entertain switching to a brand that causes low birth weight. In order of effectiveness... Make it impossible to do. Make it complicated to do, hopefully with the real risk of buggering up their OS install. Or at least the impression of a real risk. Make it easy to do but requiring permission from user. Do nothing. The last two are tied in joint third place.
      --
      It is difficult to get a man to understand something when his job depends on not understanding it.
    56. Re:Summary For The Lazy by Anonymous Coward · · Score: 0

      This is a great idea, because it fixes the "enumerating badness" problem with current security software like virus scanners.

    57. Re:Summary For The Lazy by Tom · · Score: 1

      Won't matter. Most malware is installed via the user while installing the latest screensavers, emoticon packs, and browser toolbars. Nothing will ever be able to defeat the uneducated user. But you can leverage what intelligence the user does have.

      For example, you can have a profile of what a screensaver, a theme set, a music player, etc. is allowed to do. On installation, the software identifies itself as what it is (according to a limited list of possibilities), and the user is asked for confirmation. Then the software is sandboxed according to the appropriate profile.

      So a screensaver would say "I'm a screensaver", and be allowed to, well, lock the screen and display stuff on it. If it tries to read any files besides its own config, it'd get killed. If it tries to identify itself as, say, a "text editor" in order to be allowed to read your files, even an uneducated user could say "er, what? I wanted a screensaver".

      User's aren't really stupid. We, the tech people, just don't give them a chance to act in any non-stupid way.

      --
      Assorted stuff I do sometimes: Lemuria.org
    58. Re:Summary For The Lazy by You+ain't+seen+me! · · Score: 1

      It'll happen sometime after they make it compulsory to have a license to have children - which lets face it - are several times more complex than either a car or a computer. Not in my town they're not.
    59. Re:Summary For The Lazy by MickDownUnder · · Score: 1

      I think you have a fundamental mis-understanding of the nature of malware today.

      It may be comforting to you to think that malware is still made by idiots and targeted towards idiots.

      Today there is government backing behind malware, and it is a lot more sophisticated than you give it credit for. I guarentee, even amongst the Slashdot crowd, there's a large percentage of comprimised machines, and these machines are all silently waiting ready to participate in botnet attacks at the nod of a shadey government head. Many owners of botnets are guns for hire, loosely affiliated with government agencies and use their network only very occasionally to sniff out the odd bank account to suppliment income they attain from government agencies.

      Just take a look at what happened to Estonia for example...

      http://www.guardian.co.uk/world/2007/may/17/topstories3.russia

      I think its a safe bet a large number of governments have botnets at their disposal, and many would be suprised by the percentage of machines out there that have been comprimised.

      Back in the 60's when the components that make up the internet were designed, the main concern was designing a network of computers that could communicate even when under attack during a time of war. Today governments have the exact opposite concern.

      The only defense mechanisms that work against malware today are distributed ones, individuals have no hope.

      With Macs becoming popular people really should be worried about malware, it's a safe bet they have already been targeted and infiltrated. Thinking that only Windows gets targeted because it's users are foold and hackers hate Bill is really quite stupendously naive.

    60. Re:Summary For The Lazy by Anonymous Coward · · Score: 0

      "...letting idiots manage their population the only way they know how to: let the idiots be idiots and see which ones pull it through. They're either very lucky, or not that idiotic if they manage to not kill themselves." It's worked for rats! And look how they prosper!
    61. Re:Summary For The Lazy by Corwn+of+Amber · · Score: 1

      Ensure that the non-executable data gets stored in a place that will NOT accept anything executable.

      Only let signed executables run. Signed == you md5 all compiled code to let it run.

      mandatory code-signing for kernel extensions (so only certified kernel extensions can run), sandbox policies for Safari, Mail, and third-party applications (so these applications cannot do anything to the system), and some lower-level changes, such as hardware-enforced Non-eXecutable memory and address space layout randomization."

      Look! Vista has all those! And there is no malware on Vista now right?

      No, no. If you want to secure a system, do it right, like Microsoft in Singularity...

      And if you want a secure system, use OpenBSD. With its meaningless market share forever, that one will never ever have malware written for it...

      --
      Making laws based on opinions that stem up from false informations leads to witch hunts.
    62. Re:Summary For The Lazy by Eighty7 · · Score: 1

      Riiiiiight, just like a driver's license prevents traffic accidents, a gun license prevents shootings....
      Yes, exactly like that. Many deaths are prevented by excluding high risk people such as felons/pre-teens from owning guns/driving.

      For the record I disagree with the GP's point, but yours is not a valid counterargument. Of course deaths still occur regardless. The question is whether a license will reduce the number.
    63. Re:Summary For The Lazy by Chelloveck · · Score: 1

      The OS should be telling them it is malware or if it is unknown, should be telling them what it is trying to do, before it does it. You'd think this incredibly common use case would be a priority by now, but for the most part only Windows has a big trojan problem and they also have a monopoly so why should they care?

      Unfortunately, what you propose wouldn't be useful. Okay, let's say you download a program. The OS by default marks it "untrusted" and raises flags whenever it tries to do something potentially harmful. "{PROGRAM} is trying to write to C:\WINDOWS\foobar.dll. Allow or deny?" "{PROGRAM} is trying to use the Internet. Allow or deny?" "{PROGRAM} is trying to read your contacts file. Allow or deny?" How long before the user is trained to just click the freaking "Allow" button without reading the dialog? Hell, they already don't read the dialogs. The net result would just be more Vista "Allow or deny?" jokes, and no security improvement.

      But what if the OS could scan the program ahead of time and generate a list of potentially harmful actions that the program might take? Get all those individual "Allow or deny?" questions out of the way at once. How many people would just click "Allow" without reading it? I'm betting it'd be the huge majority of the people it's meant to help. How many read the EULAs right now? This sort of technical description of what the program might do would be just as long and just as dense as the average EULA. Yeah, yeah, okay already! Just let me use the damned thing!

      I maintain that users will want to download and use programs. You can warn them all you want, but when most of the stuff they download is legit, you're just annoying them. And training them to click "Allow" on any dialog, no matter what. When a piece of actual malware comes along, they'll allow it without thinking twice. Heck, probably without even thinking once.

      --
      Chelloveck
      I give up on debugging. From now on, SIGSEGV is a feature.
    64. Re:Summary For The Lazy by Anonymous Coward · · Score: 0

      Anyone who gives up liberties for security deserves neither security or liberty. -Thomas Jefferson.

      I don't think the founding principles of Apple will allow this. This would be a very bad move. A few here do not understand the fundamental differences about how apple deals with things. A good paralell is to look at how BMW is put together, then go look at a Ford Crown Vic. Neither one is particularly bad, just one does the job of transport in style and grace.

  2. prost fist by Anonymous Coward · · Score: 0

    hahahahah fgts RAEP

  3. BSD chroot jails for Safari? by Anonymous Coward · · Score: 0

    Sometimes the old ways are best. Sticking apps that deal with Internet facing untrusted stuff 24/7 in a chrooted jail is probably one of the best ways to ensure sanity if the app gets compromised. However, this would create usability issues, say if someone wants to upload a document or whatnot, although a secondary program could do that task.

    1. Re:BSD chroot jails for Safari? by Anonymous Coward · · Score: 0

      chroot() requires root, so Safari would have to be setuid... I forsee an attack vector along the lines of osascript -e 'tell app "Safari" to do shell script "whoami"';

    2. Re:BSD chroot jails for Safari? by RiotingPacifist · · Score: 1

      less drastic measures like SElinux or apparmour (or bsd equivelents) would probably be more user friendly. Simple stuff like if you connected to the network you can only read user files and write to none configuration user files wouldn't even need any tools.

      --
      IranAir Flight 655 never forget!
    3. Re:BSD chroot jails for Safari? by Anonymous Coward · · Score: 0

      SELinux is anything BUT user friendly. Sysadmins usually even turn it off, casual pc users would be infuriated.

    4. Re:BSD chroot jails for Safari? by initdeep · · Score: 1

      as a fedora user for a while, i agree.
      in fact when it was turned on by default in previous versions of fedora, the very first thing i did for my home stuff was disable it.

    5. Re:BSD chroot jails for Safari? by 99BottlesOfBeerInMyF · · Score: 1

      less drastic measures like SElinux or apparmour (or bsd equivelents) would probably be more user friendly.

      Apple's sandboxing framework is an MAC one, mostly a port of the one in TrustedBSD as I understand. They already use it to provide an extra layer of security around certain services. The hard part is applying it to third party applications in a user friendly way that does not undermine the security advantages or take control away from end users.

  4. signed kernel modules would be good for apple too by jonwil · · Score: 3, Informative

    Signed kernel modules would not just stop malware but it would stop some of the hacked (and custom written) kernel modules being used to get OSX to run on non apple machines (or being used to make the experience of using OSX on those machines better)

  5. deja vu? by neongrau · · Score: 5, Insightful

    Isn't that excactly the same stuff Microsoft talked about years ago and many ppl on slashdot cried "foul!" about it?

    But then again it all makes sense for Apple. The iPhone's App Store pretty much does all that. And when it works out Apple might just start an Mac App Store. No executable program launchable if it doesn't originate from the App Store. Or only in some considered insecure sandboxed VM. That could even work, but is that really what users want?

    1. Re:deja vu? by Anonymous Coward · · Score: 0

      And how well does that iPhone store limitation keep apps out of your browser?

      Just go to http://static.popcap.com/iphone/ and see how hard it is to run--though not install--an app on the iPhone.
      Next: someone finds a vulnerability in their javascript implementation for such an app to exploit.

      Just glossing over the first code that gets loaded seems to indicate that it phones home already, but I imagine that's part of some copy protection system rather than spying.

      BTW: the link works just as well on iPod Shuffles and PC's and I suppose Macs and Linux boxen too, only in IE there's a slight problem with alignment of the splash screen during initialisation. Firefox doesn't have the alignment problem, and in IE it disappears after the splash screen.

      There also seems to be a bug somewhere that makes it run at far too much CPU use sometimes, on the PC as well as in the iThings it was written for.

    2. Re:deja vu? by Ilgaz · · Score: 1

      http://developer.apple.com/releasenotes/Security/RN-CodeSigning/

      It has nothing to do with iPhone things store or Microsoft. It is YOU who sign the application, the developer, freely.

      I can't blame you for the misunderstanding, thanks to iPhone model for that.

    3. Re:deja vu? by magus_melchior · · Score: 1

      And when it works out Apple might just start an Mac App Store. No executable program launchable if it doesn't originate from the App Store. Or only in some considered insecure sandboxed VM. That could even work, but is that really what users want?
      Given that they really need developers targeting OS X, I highly doubt they would encourage Mac users to play the same game of chicken they've been playing with iPhone unlockers.
      --
      "We are Microsoft. You shall be assimilated. Competition is futile."
  6. Re:signed kernel modules would be good for apple t by Hierophant7 · · Score: 3, Insightful

    please, the mach kernel was hacked to bypass TPM, it'll be hacked to bypass driver-signing.

  7. Re:signed kernel modules would be good for apple t by omaha_boy · · Score: 0, Flamebait

    Better for Apple = Worse for consumer. Let's face it: after what they've done to the Mac experience in the last couple of years, Apple (cough, Computer) is more interested in selling iPods and other crap then keeping the Mac user friendly and intuitive. Signing execs and modules would only allow the engineers to let the Apple Gestapo lock down their OS rather than intuitively fixing the problem.

  8. Impossible by katch22 · · Score: 2, Insightful

    This doesn't make sense--I always thought Macs were impervious to the simple things that "plague" my Windows PC.

    1. Re:Impossible by joeytmann · · Score: 1

      yeah. who'd a thunk it?

      --
      Insert funny smart-ass comment here.
    2. Re:Impossible by Divebus · · Score: 1

      This doesn't make sense--I always thought Macs were impervious to the simple things that "plague" my Windows PC.

      They are. Any script kiddie could write a VBS script that essentially said "replicate myself to the Outlook address book then delete everything on the local hard drive" and Windows would happily follow those instructions without question. Hell, you wouldn't even need to preview or open the email for it to kick in. At least OS X hacks take a few brain cells to figure out - and have a loooooong way to go before reaching 140,000 deadly Windows vulnerabilities. They might eventually get one to work.

      MS-SQL databases killed by worms - IIS servers being infected and distributing self-propagating viruses through IE visitors - Outlook advertising millions of address books - zombie PC all over the world saturating the Internet with spam - Word documents infecting every Normal file it encountered... Not one human needed to respond to any of that. What we've got is a global Windows mess on our hands that's been going on for a decade. Shame on Microsoft.

      Here, someone sees a set of theoretical vulnerabilities for OS X (and some very limited reported sightings) that mostly require someone at the keyboard with the administrator password to activate them. Not bad considering OS X has been out and exposed to the same Internet for nine years (yes, I used OS X 10.0 Server). As per previous posts, that's just stupid users. Far different from the dopy non-security of classic Windows. As an IT guy, I got paid a lot to endlessly fix Windows specific problems. That doesn't excuse their existence. Now that I'm old and lazy, I've deployed Macs everywhere I can because I DON'T NEED TO FIX THEM ALL THE TIME.

      --

      Most of the stuff on /. won't survive first contact with facts.
  9. Sandbox? by Lilith's+Heart-shape · · Score: 1

    Why would a sandbox for Mail, Safari, etc. be necessary if the user isn't running these applications with root privileges?

    1. Re:Sandbox? by rsmith-mac · · Score: 2, Informative

      Because running as the user is basically just as good. The user doesn't care what a piece of malware has infected or destroyed, only that it has done so.

    2. Re:Sandbox? by owsla · · Score: 1

      Why would a sandbox for Mail, Safari, etc. be necessary if the user isn't running these applications with root privileges? Because the aforementioned trojan uses a local root exploit to gain root privileges. Thus, sandboxing still makes sense.
    3. Re:Sandbox? by Anonymous Coward · · Score: 0

      Because you still wouldn't like these apps to destroy your personal user data, which they have access to?

    4. Re:Sandbox? by Anonymous Coward · · Score: 0

      Because users have write access to data.

      How would you like a 'utility' to change the addresses in your address book, for example?

    5. Re:Sandbox? by cowscows · · Score: 2, Insightful

      Also, to me as a user, the single most important thing on my computer would be all my documents, which are accessible from my account. Sure, it's not great for my machine to be turned into an spam zombie or whatever, but reinstalling my OS isn't the worst thing in the world. It'd take me a couple hours at most. But recreating all the documents/photos/movies that I've got saved under my account would take much longer, and in many cases be impossible.

      I know that's what backups are for, and I've got backups of my important stuff, but the world is an imperfect place and not everything gets backed up.

      --

      One time I threw a brick at a duck.

    6. Re:Sandbox? by Lilith's+Heart-shape · · Score: 1

      That's what backups are for. :)

    7. Re:Sandbox? by UnderCoverPenguin · · Score: 2, Insightful

      Also, to me as a user, the single most important thing on my computer would be all my documents, which are accessible from my account.

      Unfortunately, for a sandbox to protect these documents will greatly limit the usefulness of applications running in a sand box.

      Of course, a web browser or chat client would be least limited. But if you had something legitimate to upload/send, then you are looking at poking holes in the sandbox. With email, even if you never send an attachment, or save a received attachment, it gets complex, because all those messages - and the address book - are valuable to the user. If you keep them in the sandbox, they are open to theft and corruption. If outside the sandbox, you are poking holes, again. Other applications (word processors, drawing tools, etc) have their own legitimate needs for reading/writing files.

      Ultimately, it gets down to a choice between protecting the users so much the computer becomes just a fancy TV, or letting the users make mistakes and hope you can afford to defend yourself for failing to protect them.

      --
      Don't try to out wierd me, three-eyes. I get stranger things than you, free with my breakfast cereal. --Zaphod Beeblebr
    8. Re:Sandbox? by cowscows · · Score: 1

      I fully agree. I'm not suggesting sandboxing my browser out of my files, that'd be far too limiting. I was only attempting to explain to the grandparent post why malware doesn't need root access to be problematic. I guess that wasn't really clear from my original comment.

      --

      One time I threw a brick at a duck.

    9. Re:Sandbox? by harlows_monkeys · · Score: 1

      Why would a sandbox for Mail, Safari, etc. be necessary if the user isn't running these applications with root privileges?

      Because root privileges are not necessary for malware that wants to:

      • Delete your files. All having root would add is that it could delete the system's files, too. For most people, their files are overwhelmingly more valuable to them than the system's files are.
      • Become part of a bot net.
      • Snoop your personal information and send it to spammers and scammers.
    10. Re:Sandbox? by TheRaven64 · · Score: 1

      That's what privilege separation is for. Don't allow the mail app to open arbitrary files, but do allow it to run a more privileged helper application that opens a file and passes it a file handle (possible over POSIX pipes and over Mach ports). The small app is much easier to verify, and the attacker needs to compromise this app (which the mail app can't write to) in order to gain access to arbitrary files on the system without the user's knowledge.

      The address book is already accessed via a framework and shared among applications. It would be relatively easy to modify this so mail was only allowed access to names and email addresses, for example, so you don't accidentally disclose the physical addresses and dates of birth of your friends to a worm.

      --
      I am TheRaven on Soylent News
  10. Old news is Old by Anonymous Coward · · Score: 0

    I feel that Slashdot and ZDNet (and probably the rest of the interbuttz) has beaten the Mac OS X security horse into nothing but mush...

  11. The "Anti-Lock Brakes" of OS design... by argent · · Score: 5, Insightful

    It's a local-only root privilege escalation exploit.

    If you're in a position to exploit this, you're already running code with full local user privileges.

    Once the system is penetrated, it's game over. You don't need to get root access, or Administrator access, or even break out of the "Reduced Security" sandbox to win basically everything that the guy writing the malware actually needs. Multiuser security is there to protect users from each other, not from themselves.

    Recent studies of anti-lock brakes and safety have discovered that ABS doesn't improve safety in general. It improves braking, by letting people brake faster and smoother, but people get used to it and enough people end up depending on ABS that they end up just braking later and when they need the extra edge from ABS they've already used it up.

    Before going off half cocked proposing more layers of complex software that has to work correctly to maintain system integrity (because if it's there, enough software developers will end up depending on it) how about looking at what features of systems promote malware distribution? Design applications so they are inherently safe, rather than filling them with holes and backfilling with kernel patches and warning dialogs?

    1. Re:The "Anti-Lock Brakes" of OS design... by drumbug1 · · Score: 1

      It's a local-only root privilege escalation exploit.

      No, it's not. I can't believe this keeps getting repeated. You can run it via SSH as long as someone is logged into the console.
    2. Re:The "Anti-Lock Brakes" of OS design... by Anonymous Coward · · Score: 0

      You don't understand the meaning of "local exploit", do you?

    3. Re:The "Anti-Lock Brakes" of OS design... by Anonymous Coward · · Score: 0

      Local console? Hence LOCAL exploit. I still can't believe people are missing that important fact...

      Stop trying to spread FUD. We've got enough of that already.

    4. Re:The "Anti-Lock Brakes" of OS design... by WiseWeasel · · Score: 1

      AND, if you know their login and password...

      --
      "I like systems, their application excepted", George Sand (French)
    5. Re:The "Anti-Lock Brakes" of OS design... by Anonymous Coward · · Score: 0

      AND, if you know their login and password...

      true dat. you are one wise weasel.
    6. Re:The "Anti-Lock Brakes" of OS design... by shoemilk · · Score: 1

      Recent studies of anti-lock brakes and safety have discovered that ABS doesn't improve safety in general. It improves braking, by letting people brake faster and smoother, Either it's you I don't trust or your studies. Do you know how ABS works? If you did, you'd know they are anything but smooth. In fact, if you ever did anything so simple as to listen to car talk, you'd know people call in thinking their cars are broken when the ABS kicks in.
    7. Re:The "Anti-Lock Brakes" of OS design... by argent · · Score: 1

      Do you know how ABS works? If you did, you'd know they are anything but smooth.

      I've used them. I'm not just a commentator, I'm one of the automotive lusers I'm talking about: I found myself braking shorter and depending on ABS to bring me to a smooth stop (yes, you can feel it when it kicks in, that's not what I mean by "smooth") if I happened to go outside the envelope. Then I read the report, realized they were talking about me and modified my behavior.

      Any security feature, be it ABS or sandboxes, must be judged in the context of how its presence modified human behavior.

  12. Address space layout randomization by owsla · · Score: 5, Informative

    Apple already does address space layout randomization in Leopard (Mac OS X 10.5)

    See "Library Randomization" on
    http://www.apple.com/macosx/features/300.html#security

    Notice that the new security features list also includes code signing and sandboxing. The technology is there, it's just not setup throughout the system.

    1. Re:Address space layout randomization by argent · · Score: 1

      Address space randomization and no-execute are useful tols.

      Code signing and sandboxing are nothing more than speedbumps, like the stupid security dialogs in Windows that are leaking into OS X.

      The places to strengthen are the front lines, because once the attacker's gotten into a place where he can modify applications or attack an OS sandbox he's already running local code and he's already gotten virtually everything he needs to **** you.

    2. Re:Address space layout randomization by EraserMouseMan · · Score: 1

      The technology is there, it's just not setup throughout the system.

      Is having a security tool and not using it system-wide any different from not having it at all?

    3. Re:Address space layout randomization by 99BottlesOfBeerInMyF · · Score: 1

      The technology is there, it's just not setup throughout the system. Is having a security tool and not using it system-wide any different from not having it at all?

      Yes. You can use it for high-risk applications.

    4. Re:Address space layout randomization by maxume · · Score: 3, Interesting

      UAC is as much about putting social pressure on application vendors to write applications that take advantage of the multi-user security as it is about backwards compatibility. It is more about both of those than it is about actual security.

      --
      Nerd rage is the funniest rage.
    5. Re:Address space layout randomization by argent · · Score: 1

      UAC is as much about putting social pressure on application vendors to write applications that take advantage of the multi-user security as it is about backwards compatibility.

      I'm not talking about UAC. I'm talking about all the stupid security dialogs that Microsoft has added to Windows over the years. I could have made this comment any time in the last decade... in fact I have. Many times.

      UAC is nothing more than the latest player to tread the boards of Microsoft's Security Theater.

    6. Re:Address space layout randomization by maxume · · Score: 1

      O.K.

      The only other security dialogs I ever see are popups indicating an executable has been signed by so and so and that I should be care when running it. I would be sort of surprised if Microsoft thought that was a big step towards security and not some feature that someone requested.

      --
      Nerd rage is the funniest rage.
    7. Re:Address space layout randomization by argent · · Score: 1

      Yes, those are also security dialogs. Yes, that was supposed to be a security feature.

      The first ones were in Internet Explorer and Outlook, asking if you wanted to open or download a file, and if you wanted to allow executable content to run.

    8. Re:Address space layout randomization by maxume · · Score: 1

      Is there some flaw in their signing implementation (I don't pay attention)?

      If they claimed that signed exes would keep users safe from threats, they were being ridiculous, if they claimed that they would help users, not so much.

      --
      Nerd rage is the funniest rage.
    9. Re:Address space layout randomization by argent · · Score: 1

      There's a flaw in the design. If a component is signed, that doesn't mean that it's safe to run, it just means that it's signed.

      An attacker could provide a signed executable that has a known flaw, and attack that after it was run. So even if an executable is signed, and it's from an untrusted source, you still have to pop up a dialog and make the user decide whether you're going to run it based on what you know about it. Most people are going to just say "yes", because Microsoft has trained them to say "yes" to everything otherwise they can't get any bloody thing done.

      So, basically, signed executables reduce security.

    10. Re:Address space layout randomization by Ilgaz · · Score: 4, Insightful

      On OS X, sandboxing is different. Please read couple of pages from Apple mailing lists before comparing it to its bad photocopy. OS X hasn't got a problem with Applications running under normal user account so there is no community to educate with stick (like MS does).

      Safari.app will be able to say "Here are my directories and the system calls I will make". So Safari won't even see a Framework or System folder. Way more detail at http://www.318.com/techjournal/?p=107

      On OS X Leopard, there are couple of deep level technologies already having sandbox technology (spotlight and bonjour) and Apple is preparing it for general developer use.

      OS X "stupid security" dialogue works well, so damn well that it is able to figure out Adobe AIR Applications user installed over the web. The "stupid dialogue" could be a life saver in future. I am not speaking about the Windows horrible copy.

      Code signing is not like the Verisign pyramid scheme on Windows, ANY Developer can sign their application free. People actually adopt it, even including Adium X like open source applications. There is no "Apple certified" or "Verisign Secure" junk, it is application signing which is meant to benefit the user and developer. By signing it, you just make sure your files aren't tampered after user trusts it so no lamers taking advantage of your application (and users trust). There are no other advantages, OS X treats your Application just like unsigned Applications. It is not the signing in Microsoft Windows. If user updates unsigned Application, OS will prompt if he/she wants to grant access since there is no way making sure that it is the same binary from very same developer user trusted at first place. If user updates a developer signed binary in a normal way and the signature is the same, it doesn't prompt.

      Read this for more info:
      http://adiumx.com/blog/2008/04/adium-application-security-and-your-keychain/

    11. Re:Address space layout randomization by argent · · Score: 5, Insightful

      I've been using UNIX for 30 years, I've worked on safety-critical software and in the control systems industry for 20 years, and I was solely responsible for network security for over a decade of that. I'm pretty familiar with this stuff.

      On OS X, sandboxing is different. Please read couple of pages from Apple mailing lists before comparing it to its bad photocopy.

      The problem is that it is not in principle possible to build a sandbox around an application like Safari that would both permit it to do the useful things it is supposed to do and prevent it from doing malicious things.

      * If Safari can make connections to websites, then Safari can make connections to botnet peers and engage in attacks on websites.

      * If Safari can send mail, it can send spam.

      * If Safari can read my keychain, it can read my website passwords and pass them to an attacker.

      * If Safari can open my bank's web page, it can transfer money out of my account.

      * If Safari can upload files, it can upload them places I don't want it to access.

      * If Safari can download files, it can "download" garbage over the files I value.

      * If Safari can do the things I need Safari to do, a compromised Safari can do the things I don't want it to do.

      A sandbox can not protect the things in my computer that I care about from the applications that manipulate them. The only sandbox that is secure is one that does not allow the application the ability to access any non-volatile resources on my computer, except those that are strictly restricted to the sandbox and not used by any other application. Oh, and it can't make network connections, except in very specific conditions... for example, the Java sandbox lets the application connect back to the originating site.

      THAT is a security sandbox.

      I don't think I would be happy running Safari or Mail under something like that.

      OS X "stupid security" dialogue works well, so damn well that it is able to figure out Adobe AIR Applications user installed over the web.

      But you want to run them, don't you, so you go ahead and approve them, and you are trained to approve these dialogs. I've watched that scenario play out time and time again, with the same people coming back to me saying "I clicked the wrong button again, I think I've got a virus".

      By signing it, you just make sure your files aren't tampered after user trusts it so no lamers taking advantage of your application (and users trust).

      I was building the tripwire configuration for my Cheswick-Bellovin bastion firewall back when Steve Jobs was still at NeXT. I know about the capabilities, restrictions, limitations, and drawbacks of far more pervasive and complete file security mechanisms than what Apple has implemented. Particularly the drawbacks...

      If an attacker is in a position to modify my applications, then there is nothing OS X can do to stop him, he has already got he keys to the kingdom. He already has remote root access, however achieved, and he's not going to hide a trojan horse inside Mail.app, he's going to hide it in /private/etc/somethingobscure, running as root, and use Mach injection to patch Mail.app on the fly.

      As for your linked story: "If you mess with the Adium binary in any way, you will invalidate the signature, and access to secure resources -- specifically keychain items where your passwords are stored -- will be disallowed by Mac OS X."

      That's a hell of a drawback. That by itself is enough to make me hold off installing Leopard until I've got time to look up how to disable that paranoid security theatre.

    12. Re:Address space layout randomization by SignOfZeta · · Score: 1

      Apple already does address space layout randomization in Leopard (Mac OS X 10.5)

      Also, Mac OS X has always enforced data-only pages, natively on PowerPC and with NX on Intel. The author of this article is quite misinformed, and possibly Steve Ballmer. (But if you've read this far into the comments, you're probably already aware.)
    13. Re:Address space layout randomization by Ilgaz · · Score: 1

      An attacker can modify your applications but you will get the warning from the OS when they want to access network as server or even try to read their own keychain entry.

      Current lamer (not even cracker) scene on OS X was therotically speaking about modification of binaries to inject their code, exploiting input manager functionality to attach to running code and do some tricks with their keychains (of course). Apple as OS vendor proactively did some stuff to prevent such lame but dangerous stuff.

      You must never forget what Apple ships for who. They don't market a highly technical user oriented OS, they try to keep it simple, secure and still satisfyingly configurable for high end technical users. There is no way someone can tamper a executable on my OS but on average Mac users machine (which they target), they will try doing it.

      It is pro-active measure without doing iPhone like stuff and they don't use the opportunity to do dirty tricks like MS did. They didn't tell developers "Here, secure applications for you but remember to pay $2000 to Verisign". They say "sign your apps freely so they aren't tampered by lamers".

      If user does get software from untrustable sources, does click "I agree" to ridicolous EULAs (check MS Silverlight, DivX), there is nothing Apple or any OS Vendor can do. The solution to it? iPhone comedy.

      The code injection prevention, watch of OS folders, watching for suspicious activity is a job of true heuristic antivirus. From a pure technical point of view (forget their stupid PR and suits) Intego VirusBarrier has some hope but there is nothing to match Kaspersky or F-Secure on OS X scene yet.

    14. Re:Address space layout randomization by melatonin · · Score: 1

      That's a hell of a drawback. That by itself is enough to make me hold off installing Leopard until I've got time to look up how to disable that paranoid security theatre.

      It's the difference between "the application Mail has been updated. Do you want it to allow access to your keychain items?" and not bugging you at all.
      --
      Moderators should have to take a reading comprehension test.
    15. Re:Address space layout randomization by Tom · · Score: 1

      The problem is that it is not in principle possible to build a sandbox around an application like Safari that would both permit it to do the useful things it is supposed to do and prevent it from doing malicious things. Of course it is. If you are willing to be strict and sacrifice a few "features". To offset your credentials, I've been doing security for a living for 10 years, including several years working on SELinux.

      * If Safari can make connections to websites, then Safari can make connections to botnet peers and engage in attacks on websites. Yes, provided all of this runs over HTTP, HTTPS or another built-in protocol.

      * If Safari can send mail, it can send spam. Safari can't send mail. If you click on a mailto: link in Safari, it will launch Mail.app. Mail will open the "new mail" window, possibly with some fields pre-filled. Note that the user still needs to actually send the mail. I'm not aware of any way for Safari to cause an actual mail to be sent out without further user interaction.

      * If Safari can read my keychain, it can read my website passwords and pass them to an attacker. True.

      * If Safari can open my bank's web page, it can transfer money out of my account. Nonsense for any real-world bank. With absolutely no exception, actual banks use additional security, such as TAN lists. Safari may be open to access (and send to an attacker) your balance, but if you can transfer money from your bank account without an additional layer of safety, you should change your bank, not your browser.

      * If Safari can upload files, it can upload them places I don't want it to access.
      * If Safari can download files, it can "download" garbage over the files I value. I'm not sure about the implementation of upload in Safari, so I can't say for sure whether it can choose files to upload or if that is, say, a Finder dialog.

      But the download argument is a strawman. In a sandboxed environment, you would have a specific download directory (you already do, but bear with me) and Safari would have write priviledges to that directory only. And if you put the files you value in your download folder, you're an idiot. :-)

      * If Safari can do the things I need Safari to do, a compromised Safari can do the things I don't want it to do. Yes, it could make every website you visit silently redirect to disney.com - but that's a far cry from the "total destruction" scenario you outline.

      Some of your claims are valid, some aren't. Roughly 50:50. A sandbox model would take care of many of the problems. Not all. It never claimed it would, either. But it definitely solves problems and is much, much better than doing nothing.

      --
      Assorted stuff I do sometimes: Lemuria.org
    16. Re:Address space layout randomization by Anonymous Coward · · Score: 0

      This is the real world, where computer users are given courses like this in order to feel satisfied - certifiably! - that they know the basics of computer usage. No-one passing this course is going to believe any of this discussion - it just defeats everything (well, one heck of a lot) being taught as the basic necessities.

      "The ICDL is recognised as an international standard for end-user computing skills and is endorsed by a number of universities, colleges and schools in S A. The ICDL provides an internationally recognised qualification in 140 countries. To obtain the ICDL, a student must pass seven modules. It certifies that the holder has the knowledge and skill needed to use the most common applications practically and productively.

      CECS is registered with the ICDL Foundation (registration number 60703) as a training centre since 2004.
      Visit http://www.cecs.org.za/activities/icdl.html

      PREREQUISITES
      You must be confident with the keyboard and mouse.

      MODULES
      The ICDL course consists of the following seven modules:
      * Module 1: Basic Concepts of IT
      * Module 2: File Management (Windows 2000)
      * Module 3: Word-processing (Word XP)
      * Module 4: Spreadsheet (MS Excel XP)
      * Module 5: Databases (MS Access XP)
      * Module 6: Presentation (MS PowerPoint XP)
      * Module 7: Communication and Information

      The detailed 30-page ICDL syllabus 4 is available on our website. The above modules cover both Beginners and Intermediate levels. Also, the ICDL has also been mapped to ISETT Seta Unit Standards and SAQA qualification 49077 (National Certificate: Information Technology: End User Computing). The mapping document can be found on our website.

      COURSE VENUE
      37 Harrison Street (corner Commissioner St), 3rd Floor FNB Nelson Mandela Building, Johannesburg, 2000

      COURSE FEE
      The course fee is R1710.00 (VAT Incl) and includes the following:
      * Training by an ICDL certified trainer
      * The complete ICDL syllabus
      * A detailed step-by-step manual
      * A Skills Log Book valued at R300.00
      * Sample exams for all seven modules
      * Access to our computers and the Internet on Fridays at no extra cost (conditions apply)
      * Setting up of a personalised e-mail address

      The course fee excludes the examination fee of R120.00 per module. You can elect to write four modules to receive the Start ICDL Certificate.

      A comparison with commercial ICT training companies reveals that the ICDL course will set you back at least R4000.00.

      REGISTRATION
      Registration is open and must take place before the starting date of the course. Complete the registration which can be found on our website, complete it and fax it with proof of payment to: 011-834-9054 or e-mail it to: courses@cecs.org.za

      COURSE CONTACT DETAILS
      Contact: Moipone Mpshe
      Tel: 011-834-3329
      Fax: 011-834-9054
      E-mail: courses@cecs.org.za
      Website: www.cecs.org.za

      ICDL BENEFITS
      * Raises the level of IT knowledge and competency of all computer users
      * Improve productivity at work
      * Reduces IT support cost
      * Enable employers to invest more efficiently in IT
      * Improve individual's job prospects and job mobility

      FOR WHOM IS THE ICDL?
      * Everyone - beginners to expert end-users
      * Those who wish to develop their IT skills in the workplace
      * Those who want to enhance their career prospects
      * Those who want to further their studies"

      **But not, evidently, those who need to live believing that neither their data nor work nor right to privacy and security is compromised by learning and using any of the above techniques

    17. Re:Address space layout randomization by argent · · Score: 1

      Safari can't send mail. If you click on a mailto: link in Safari, it will launch Mail.app.

      You're picking nits here.

      * If Mail.app can send mail, a compromised Mail.app can send spam.

      * If Safari can be used to send mail through your webmail servers, it can send spam through them.

      * If Safari can open my bank's web page, it can transfer money out of my account.

      Nonsense for any real-world bank. With absolutely no exception, actual banks use additional security, such as TAN lists.

      Picking nits again.

      * If you can make payments through your bank's web page, Safari can transfer money out of your account.

      In a sandboxed environment, you would have a specific download directory (you already do, but bear with me) and Safari would have write priviledges to that directory only.

      So "Save File as" is one of those "conveniences" you have to give up.

      You also have to give up using many plugins.

      that's a far cry from the "total destruction" scenario you outline.

      Straw man: I'm not outlining a "total destruction" scenario, I'm pointing out that a sandbox does not protect you from a compromised application.

      [A sandbox] is much, much better than doing nothing.

      There are other alternatives than deploying a sandbox or doing nothing, and a sandbox that leaves so many attacks open is something I would rather forgo because it will encourage application writers to depend on the sandbox rather than making the kinds of changes that REALLY need to be made. And that's where we need to concentrate on: fixing the applications to remove the really dangerous features... not things like "save as", but things like "Open 'Safe' files after downloading". I hope that if you use Safari you've checked that one's been turned off.
    18. Re:Address space layout randomization by argent · · Score: 1

      It's the difference between "the application Mail has been updated. Do you want it to allow access to your keychain items?" and not bugging you at all.

      According to the quoted site, it will do that every time I run the app.

      I would rather have it ask me when I update the application, which is a rare event, than have it silently trust a modified application because it has been signed with a key it trusts.

    19. Re:Address space layout randomization by argent · · Score: 1

      Current lamer (not even cracker) scene on OS X was therotically speaking about modification of binaries to inject their code, exploiting input manager functionality to attach to running code and do some tricks with their keychains (of course). Apple as OS vendor proactively did some stuff to prevent such lame but dangerous stuff.

      Ah yes, that's another piece of security theatre. You can still perform Mach injection on applications under Leopard, the technique is just changed slightly.

      There is no way someone can tamper a executable on my OS but on average Mac users machine (which they target), they will try doing it.

      There are many useful tools that non-technical users use that were broken by Leopard, and everything that Apple was trying to prevent by breaking those tools has been worked around.

      So, anyway, I assume that you're referring to people like rosyna as "lamers". I strongly disagree, but I'll keep your bias in mind.

      The code injection prevention, watch of OS folders, watching for suspicious activity is a job of true heuristic antivirus.

      Antivirus software is also security theatre. I don't use it, even on Windows, and the last time I had to remove a virus on any computer I own was in the early '90s.

    20. Re:Address space layout randomization by Tom · · Score: 1

      > Safari can't send mail. If you click on a mailto: link in Safari, it will launch Mail.app.
      You're picking nits here.

      * If Mail.app can send mail, a compromised Mail.app can send spam.

      Those "nits" are what makes all the difference. Seperation of programs and their duties is one very good step towards more security. Yes, a compromised Mail.app can send spam. But that gains you nothing if you compromised Safari.

      * If Safari can be used to send mail through your webmail servers, it can send spam through them. In theory, yes. In the real world, there are still a number of obstacles to take, including protections by the webmail providers and network delays that are likely to reduce your spam-rate beneath the amount useful.

      > Nonsense for any real-world bank. With absolutely no exception, actual banks use additional security, such as TAN lists.
      Picking nits again.

      * If you can make payments through your bank's web page, Safari can transfer money out of your account.

      Are you for real? There's a reason that banks use TAN lists, and that reason isn't "nits", it's what makes all the difference - again. And no, your claim doesn't become any more true just because you repeat it. I could give you the URL, account number and even password for my online banking account, and I can transfer money there, and yet you wouldn't be able to, because you still need a TAN number.

      You could try to run a man-in-the-middle attack, waiting until I actually make a transfer, serving me a faked website that says the transfer was successful, while in reality making a different one. That's technically possible, but entirely non-trivial and very likely to be discovered almost immediately by anyone even a tiny bit careful.

      In a sandboxed environment, you would have a specific download directory (you already do, but bear with me) and Safari would have write priviledges to that directory only.

      So "Save File as" is one of those "conveniences" you have to give up.

      You also have to give up using many plugins.

      Nope. One, what's to say against saving only into the download directory? You can copy files from there. It's a tiny bit less convenient, but not much.

      I don't know about many plugins that require write privileges to your file system. Care to name a few?

      Straw man: I'm not outlining a "total destruction" scenario, I'm pointing out that a sandbox does not protect you from a compromised application. Except that that is precisely what it's built to do, of course. As I said, I have some SELinux experience. I can easily write a policy for Firefox, for example, that effectively sandboxes it. In fact, I've done crap like that. With a proper policy, I can block everything you've written. And I don't even need a jail, chroot or other nonsense. I've given people root shells on SELinux machines and told them to try and break stuff. Not kids but security professionals and hackers at conferences. Don't try to tell me there's no protection from a compromised application when I've seen protection from a "compromised" root shell.

      There are other alternatives than deploying a sandbox or doing nothing, and a sandbox that leaves so many attacks open is something I would rather forgo because it will encourage application writers to depend on the sandbox rather than making the kinds of changes that REALLY need to be made. And that's where we need to concentrate on: fixing the applications to remove the really dangerous features... not things like "save as", but things like "Open 'Safe' files after downloading". I hope that if you use Safari you've checked that one's been turned off. Now that's a point we totally agree on. A sandbox - or almost any other security thing - is just bandaid we plaster around a broken software because we can't fix it. Fixing the crap that's creating the whole security nightmare should be first priority.
      --
      Assorted stuff I do sometimes: Lemuria.org
    21. Re:Address space layout randomization by argent · · Score: 1

      Yes, a compromised Mail.app can send spam. But that gains you nothing if you compromised Safari.

      Mail.app is also one of the applications being sandboxed... and a compromised Mail.app can do pretty much anything a compromised Safari can do, since Mail.app is able to display embedded images.

      In the real world, there are still a number of obstacles to take, including protections by the webmail providers and network delays that are likely to reduce your spam-rate beneath the amount useful.

      Like canceling your webmail account.

      Are you for real? There's a reason that banks use TAN lists

      How many banks actually use them? I suspect it must be fewer than you think.

      One, what's to say against saving only into the download directory? You can copy files from there. It's a tiny bit less convenient, but not much.

      That's one, and it's acknowledging my point. What's two?

      I don't know about many plugins that require write privileges to your file system.

      A lot of plugins are just alternate "hooks" into desktop applications.

      I've given people root shells on SELinux machines and told them to try and break stuff.

      You don't have to "break stuff" to take advantage of a compromised application. I've listed a number of attacks that a compromised Firefox and Mail.app can perform that you have agreed are credible (yes, you did agree that half the attacks I was describing were possible) that don't even require you to be able to "break stuff".

      A sandbox - or almost any other security thing - is just bandaid we plaster around a broken software because we can't fix it.

      And it gives the creator of the broken software an excuse not to fix it.

      Even if the firewall Microsoft is creating around IE wasn't leaky, it wouldn't prevent a compromised IE from being abused within the restrictions of the firewall, and it IS being used by Microsoft as an excuse NOT to fix the real problems.

    22. Re:Address space layout randomization by yabos · · Score: 1

      Actually, it's not completely implemented due to some problems they had with some components of the OS. Check here http://www.matasano.com/log/981/a-roundup-of-leopard-security-features/
      "The dynamic linker library (dyld) is not randomized. From what I can tell, ten different Leopard macs booted at ten different times will have the same offset to dyld."

  13. Re:Just by Windows by Selfbain · · Score: 1

    What's just by Windows?

    --
    Well, it has never been successfully tested.
  14. Solution! by Anonymous Coward · · Score: 0, Troll

    How to save Mac OS X from malware: wipe the disk and install Ubuntu.

    1. Re:Solution! by Anonymous Coward · · Score: 0

      How to save Mac OS X from malware: wipe the disk and install Ubuntu.

      but Ubunutu hasn't released a PPC version since version 6! ...ubuntu fanboi much?
    2. Re:Solution! by 0100010001010011 · · Score: 0

      Apple hasn't released a PPC Computer since 2006. Head in the sand much?

    3. Re:Solution! by fracai · · Score: 1

      And Apple hasn't shipped a PPC box since 2006.

      You're wrong anyway as Hardy is available for PPC: http://cdimage.ubuntu.com/ports/releases/8.04/release/

      Oh, you meant UbunUtu. Yeah, I haven't seen a PPC Ubunutu release in ages.

      --
      -- i am jack's amusing sig file
    4. Re:Solution! by Anonymous Coward · · Score: 0

      Mod parent up as post of the day. No, wait, post of the week. No, post of the month. No, hang on, post of the year. Know what? Just forget it.

      POST OF THE DECADE!

  15. Popularity brings the dummies by Shivetya · · Score: 4, Interesting

    It was always going to eventually happen. Given the increasing market share of OS X it was only a matter of time before the hackers got interested. Yet even they had to wait till a sufficient base of idiots got into OS X to make their job easier. I know people who significant other has trashed home PCs more than once opening attachments or running attachments even after all the pop ups. Note the more than once.

    People forget or get in a hurry. Its the hacker's job to exploit that nature. That makes it difficult for the owners of the OS because even if you require a password/etc to execute something many people will just do that, type in the password regardless. Its like the story of the young girl who was a latch key kid, told to never ever let people in the house while mom was gone. Yet she did three times and even denied it until shown the film showing these people being let in. Worse, she didn't recall because it was so automatic. She was distracted by something else and that focus let her pass over doing what was right.

    I look at it this way on my iMac, if that password prompt comes up and I didn't click initiate it from some update I know came from Apple or I was loading a package I downloaded I am going cancel the process. Yet I am quite sure my friends SO would dutifully type the password in. Can't be helped. Sometimes people cannot accept they did something wrong even when you show them

    --
    * Winners compare their achievements to their goals, losers compare theirs to that of others.
    1. Re:Popularity brings the dummies by Anonymous Coward · · Score: 0

      "Its the cracker's job to exploit that nature"

      There, I fixed that for you.

    2. Re:Popularity brings the dummies by Anonymous Coward · · Score: 0

      look at it this way on my iMac, if that password prompt comes up and I didn't click initiate it from some update I know came from Apple or I was loading a package I downloaded I am going cancel the process. Yet I am quite sure my friends SO would dutifully type the password in. Can't be helped. Sometimes people cannot accept they did something wrong even when you show them. And this is exactly what Vista does (UAC) -it's irritating and has faced a lot of flak - but security is the reason I still keep it on. If I didn't initiate something that needs admin access I know enough to cancel it! But if the Mac does it - it's ok. Windows does it - it sux! Anyway, this is a problem that any OS/App will have to face once it starts having enuf critical mass to attract the attention of crackers. It's the Mac now, maybe Linux later!
    3. Re:Popularity brings the dummies by Tom · · Score: 1

      I look at it this way on my iMac, if that password prompt comes up and I didn't click initiate it from some update I know came from Apple or I was loading a package I downloaded I am going cancel the process. Yet I am quite sure my friends SO would dutifully type the password in. Can't be helped. Sometimes people cannot accept they did something wrong even when you show them You can thank microsoft and their Vista abomination for that. Confirmation dialogs only work if they are used in moderation, otherwise behaviour will adapt to accept them as normal routine. OS X does a much better job (still not perfect) and when such a dialog pops up, it is usually expected because it's something like a software installation. When you get these "are you really sure that you're sure that you already told me twice that you're sure?" dialogs every 30 seconds, you stop thinking about them. Thank you, UAC.
      --
      Assorted stuff I do sometimes: Lemuria.org
  16. Don't say that! by Anonymous Coward · · Score: 0

    Make Mac OS X like Windows Vista But I read ON THIS VERY SITE that Windows Vista is the single worst operating system known to man! And then you turn around and say things like THAT? How could you? rsmith-mac...I thought we understood each other!
  17. Immigration? by tepples · · Score: 1

    And when it works out Apple might just start an Mac App Store. No executable program launchable if it doesn't originate from the App Store. Developers don't want to have to immigrate to the United States and pay an annual or per-application fee just to develop Macintosh applications. That would only serve to drive smaller developers to Ubuntu.
    1. Re:Immigration? by neongrau · · Score: 1

      While some developers might want to immigrate. I wouldn't as well. But why do you think only US developers are allowed to use the App Store? That was just for the closed Beta.

      And how do you know the pricing scheme of a purely theoretical Mac App store?

      And if that said App Store would have free accounts for qualifying Open Source licenses, wouldn't that be enough?

      Could you really trust a Closed Source application where the dev or company behind it wouldn't even pay a small membership fee (annual, one-time... whatever) just for authentication purposes and code signing?

    2. Re:Immigration? by wattrlz · · Score: 1

      ... And if that said App Store would have free accounts for qualifying Open Source licenses, wouldn't that be enough? ... Isn't that a huge if?
    3. Re:Immigration? by neongrau · · Score: 1

      sure it is, but i didn't start with making up Terms-Of-Service and pricings for something purely hypothetical.

    4. Re:Immigration? by tepples · · Score: 1

      sure it is, but i didn't start with making up Terms-Of-Service and pricings for something purely hypothetical. I was extrapolating from the existing iPhone developer program, just as people successfully extrapolated from Microsoft's XNA Creators Club to the iPhone developer program
    5. Re:Immigration? by UnderCoverPenguin · · Score: 1

      Could you really trust a Closed Source application where the dev or company behind it wouldn't even pay a small membership fee ... ?

      Please define "small fee".

      At the risk of dating myself, long, long ago, I was interested in creating software for the Mac. While I don't remember what the membership fee was, I do know I couldn't not, at the time, afford both the (annual) membership fee and the cost of the build tools.

      While I suspect Apple is currently more friendly to "small" developers than they used to be, how low a fee do really think they would be willing to charge for signing Joe Developer's program?

      Consider that signing a 3rd party's code is equivalent of saying "We trust this code". Now how much do you think they would charge?

      --
      Don't try to out wierd me, three-eyes. I get stranger things than you, free with my breakfast cereal. --Zaphod Beeblebr
    6. Re:Immigration? by neongrau · · Score: 2, Interesting

      i'm not a mac user vor very long, not even a year yet. after using linux and windows for more than 10 years but today you just download the apple dev tools, they're free. if you want to join their develops connection program then you would have to pay the same as when you want an msdn subscription when working as a windows developer.
      "trust this code" ? huh i never meant that to force anyone into submitting their sources if they don't want to.
      such a trust would require a full code review, doubtfully viable for anyone.

      but like 100 USD / EUR for a proper address verification should be ok. nothing more nothing less.

  18. Wait a minute... by clone53421 · · Score: 1

    The Mac system now has a large enough user base that malware is being written for it? Microsoft should be worried... what are they doing wrong, dang it?

    --
    Alexander Peter Kristopeit bought his basement from his mommy for one dollar.
    1. Re:Wait a minute... by IamTheRealMike · · Score: 1

      FWIW Firefox started getting attacked (for real, not by researchers) when it reached about 12% market share. Maybe that's the magic number.

  19. repository like linux? by Anonymous Coward · · Score: 0

    would having a trusted repository for some of these 3rd party applications help (to a certain extent)? at least the applications grabbed from the repository is *probably safe to run*.

    1. Re:repository like linux? by tepples · · Score: 1

      would having a trusted repository for some of these 3rd party applications help (to a certain extent)? How would smaller developers get their applications into the repository?
    2. Re:repository like linux? by wattrlz · · Score: 1

      The same way large devels do. Payola.

    3. Re:repository like linux? by IamTheRealMike · · Score: 1

      No, probably not. The repositories system used on Linux has huge, massive problems and offers basically no scalable protection.

      Here's the problem with using some central authority to bless software (which is what repositories are). Firstly, it has to be exclusive. If there's a user-friendly way to install software outside of the repository, you don't have any useful protection. You can't even train people to prefer software from the repository, because inevitably, somebody who can't be bothered with certification will just stick their program on their website, and they'll be completely trustworthy. So telling users "don't trust people outside the repo" will conflict with their actual experience and be confusing.

      If you make it exclusive you now have even bigger problems. Just imagine if Microsoft tried this. It's easy to see what could go wrong. For starters, the moment Microsoft flipped the "kill bit" for a program they'd get sued.

      Imagine that some shady outfit writes an MP3 player. It becomes moderately popular. Then it's discovered that the install whacks some adware on the system. Microsoft removes the download and revokes the program certificate (or whatever). The company sues, claiming that the adware was licensed and they didn't know the software would change its behavior over time depending on what it downloaded from the net.

      Let's say Microsoft caution them, the adware is removed, and the MP3 player is back. Let's also say that this MP3 player will download and play a little jingle from the makers website when it starts. Well now we have another problem - guess what, the MP3 player has a buffer overflow in it, and the companies website gets "hacked" (cough). 500,000 machines just got owned. The adware is back. Microsoft smack the MP3 player company again and pull the download for good. The next day, a buffer overflow is discovered in Safari.

      What do they do? Either they can flip the kill bit on Safari and pull the download, instantly reducing its market share on Windows to zero. Hello anti-trust lawsuits! Or they can have an inconsistent policy, opening themselves up to yet another anti-competition lawsuit from the MP3 player manufacturers.

      The moment you make some random group of people judge, jury and executioner over the rest of the software industry, you're gonna run into a sticky pile of problems. The Linux guys just haven't figured that out yet.

  20. How fast is Safari JavaScript? by tepples · · Score: 1

    And how well does that iPhone store limitation keep apps out of your browser? I would imagine that it keeps the apps slow because they have to go through the JavaScript interpreter. A program could stand to lose one or two orders of magnitude of execution speed even compared to an equivalent Java applet running in the JVM.
  21. mandatory code-signing? by iminplaya · · Score: 1, Insightful

    hardware-enforced Non-eXecutable memory?

    Unless you can could turn it off, it just sounds like DRM. Why we let third party stuff do anything to the OS is totally beyond me. Yeah, let's leave the cockpit door wide open.

    --
    What?
    1. Re:mandatory code-signing? by vux984 · · Score: 3, Informative

      hardware-enforced Non-eXecutable memory?
      Unless you can could turn it off, it just sounds like DRM.

      This isn't DRM. This is what prevents a stack overflow or buffer overrun from executing code. There is absolutely nothing evil or even potentially evil about it. Marking your data segments 'NX' means that they can't be executed, even if something 'bad happens'.

      mandatory code-signing?

      Again this isn't evil. I think it would be great if ALL code always had to be signed. It would pretty much kill morphic virii, and put a real dent in the spread of rootkits etc.

      The key to 'good' vs 'evil' with mandatory code-signing is who holds the keys. If I hold the keys to MY computer, then there is NOTHING WRONG with mandatory code-signing, because if there is something I want to run that hasn't been signed by [OS-vender] I can sign it myself to run on my computer, my network, my enterprise...

    2. Re:mandatory code-signing? by Anonymous Coward · · Score: 1, Interesting

      Next thing you know, everything will pop up the "This application is unsigned, do you want to sign it?" and users will learn to automatically click "Yes".

    3. Re:mandatory code-signing? by vux984 · · Score: 1

      Next thing you know, everything will pop up the "This application is unsigned, do you want to sign it?" and users will learn to automatically click "Yes".

      The entire point of 'driver signing' is that by default 'normal users' can't run it, can't install it, can't use it. The prompt will say it can't be run because its unsigned. period.

      Similar how when logging into a domain without a valid password, it says "No". It doesn't say "Those credentials aren't in the domain, do you want to be added to the domain as administrator?" Yet domain admins can still go in and add/remove users.

    4. Re:mandatory code-signing? by Tom · · Score: 1

      hardware-enforced Non-eXecutable memory?

      Unless you can could turn it off, it just sounds like DRM.

      Try the order "reading, understanding, replying" next time.

      non-executable memory has nothing whatsoever to do with DRM. It's a security feature that ensures that even if an attacker successfully overwrites some of your data in memory, he can't execute the code he's stuffed there (say, through a buffer overflow). It's a simple trick that kills about half of the current exploits just like that.

      I personally like OpenBSDs write-xor-execute (W^X) implementation a lot, where as soon as you write to a memory page, you can't execute code from it anymore. Again: About 50% of current exploits == dead and down.

      It's got a few downsides, as the ability to write-and-execute is used by some common tools that will break if they aren't adapted. gcc, for example, used (still uses? not sure) so-called trampolins, which (in a positive sense) exploited that ability.

      --
      Assorted stuff I do sometimes: Lemuria.org
  22. You are coming to a sad realization... by swschrad · · Score: 1

    which we don't need. if we make the malware AUTHORS more like Vista 64, they won't be able to infect anything else.

    Accept or Deny?

    --
    if this is supposed to be a new economy, how come they still want my old fashioned money?
  23. App Store vs. GPL by tepples · · Score: 2, Interesting

    But why do you think only US developers are allowed to use the App Store? That was just for the closed Beta. In how many countries is the iPhone developer program available as of today? I don't yet own an iPhone nor a Mac capable of running Leopard, so I can't sign up for the developer program myself to find out.

    And if that said App Store would have free accounts for qualifying Open Source licenses, wouldn't that be enough? If the popular GNU General Public License doesn't qualify, then no, that would not be enough. So far, Apple has not announced any plans to implement App Store terms compatible with the GPL.
  24. What is you can't? by Z_A_Commando · · Score: 1

    What is you can't? You can do all of the things listed in TFA, but you can't secure any system period. Unless it's buried in a room no one knows about that is completely undetectable and isn't connected to anything else. I'll take Redundant Questions for $200 Alex!

  25. Re:signed kernel modules would be good for apple t by Aphoxema · · Score: 2, Interesting

    That's a pretty bi-polar way to look at it. Apple might be making a killing off their iPods but surely for many people their cross-pollination is a gateway drug into Macs and Thinking Differently (even though by default OSX gives you no room for customization, you're practically expected and heavily advised to use the stock proprietary software and they'll try their damnedest to lock any third party stuff out of what they can. See: iPhone).

    They don't have to do anything to keep 'the Mac user friendly and intuitive' because OSX stands like a great monolith just begging you to try to mess with it and to see who's boss. Then you do, then things stop working, then you have to reinstall back to Graphite Monolith.

    I hate proprietary software but for some damned reason I love Macs. Maybe it's the mind control rays that Apple has put so much work into in their secret labs.

    That's it! Apple is like smoking! It's cool, it's addictive, it's rebellious, and you're sure to assault anyone who talks down to you for being into it with an ice pick.

    --
    "Most people, I think, don't even know what a rootkit is, so why should they care about it?"
  26. Wouldn't that be better for everybody? by wattrlz · · Score: 1

    Apple's OS becomes the paragon of security people think it is and Linux gets more devs. Everybody's happy.

  27. Code signing by Sloppy · · Score: 2, Insightful

    Isn't that excactly the same stuff Microsoft talked about years ago and many ppl on slashdot cried "foul!" about it?

    Where Microsoft went wrong with code signing, is that insist the code be signed by them, because the user or administrator is an enemy (i.e. might install a video driver that doesn't respect DRM).

    Code signing is harmless if the machine's administrator is the ultimate authority.

    The issue is: whose interests should the OS serve: the OS maker, the user, or (in the case of malware) anyone who manages to get their code onto the machine? If the OS designer answers that question correctly, then there's no problem with code signing (or other whitelisting approaches).

    Naturally, the author of TFA got it wrong:

    Most kernel extensions are from Apple anyway and for the few common 3rd party ones, they should be required to get a code signing certificate.
    Required by whom? A certificate from whom? And the amount of trust delegated to this CA is what?
    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    1. Re:Code signing by Sloppy · · Score: 1

      Where Microsoft went wrong with code signing, is that insist the code be signed by them, because the user or administrator is an enemy (i.e. might install a video driver that doesn't respect DRM).
      Oh, and judging by the iPhone, Apple's attitude is identical, so if they implement code signing for MacOS, I expect them to make the same mistake.
      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    2. Re:Code signing by IamTheRealMike · · Score: 1

      Microsoft has never attempted to require code signing for drivers. Users have always been able to override that.

      They tried to require it for easy, warning free install but unfortunately a lot of manufacturers attempted to game the system (ie, hide the warnings in some way or instructed the user to ignore them) - unsurprisingly, these very same vendors were the ones writing buggy crash-prone crap.

      Given that most users are their own administrators at home, I don't know who exactly you think should be signing the drivers. Ultimately, somebody has to act as an arbiter of quality and authenticity - it might as well be the OS manufacturer.

    3. Re:Code signing by UnderCoverPenguin · · Score: 1

      The issue is: whose interests should the OS serve: the OS maker, the user, or (in the case of malware) anyone who manages to get their code onto the machine?

      From the point of view of the OS maker's lawyers. the OS maker.

      IANAL, but as I understand the argument, in order to protect the user's interest, the OS must protect itself from the user, just in case he does something stupid, like authorize the installation of a malicious driver. Otherwise, said user might sue the OS maker, claiming "You put code signing in the OS to protect me from malicious code, so why did it not project me?"

      --
      Don't try to out wierd me, three-eyes. I get stranger things than you, free with my breakfast cereal. --Zaphod Beeblebr
    4. Re:Code signing by dhavleak · · Score: 3, Insightful

      Isn't that excactly the same stuff Microsoft talked about years ago and many ppl on slashdot cried "foul!" about it? Where Microsoft went wrong with code signing, is that insist the code be signed by them, because the user or administrator is an enemy (i.e. might install a video driver that doesn't respect DRM).

      Here's the list of Windows' trusted Root CAs: http://msdn.microsoft.com/en-us/library/ms995347.aspx. Only third-parties are on that list -- not Microsoft.

       

      Code signing is harmless if the machine's administrator is the ultimate authority. Take a look at CertMgr.exe (specifically, play around with the 'import' function). The administrator is the ultimate authority, and this is the case in XP/2003/Vista/2008.

       

      The issue is: whose interests should the OS serve: the OS maker, the user, or (in the case of malware) anyone who manages to get their code onto the machine? If the OS designer answers that question correctly, then there's no problem with code signing (or other whitelisting approaches). I agree. I think you have to admit that MS has addressed these concerns.

       

      Naturally, the author of TFA got it wrong:

      Most kernel extensions are from Apple anyway and for the few common 3rd party ones, they should be required to get a code signing certificate. Required by whom? A certificate from whom? And the amount of trust delegated to this CA is what? I'd say the author got it right. Your concern is valid, but it's orthogonal to the point of TFA. Code signing is a Good Thing and Apple might implement it -- that's the point of TFA. The third-party approach is the correct way to do it -- that's your point.

      What's sad is the number of people on /. that crucify MS without realizing that their implementation has already addressed all the things they are complaining about (and has done so from day 1).

    5. Re:Code signing by dhavleak · · Score: 1

      The issue is: whose interests should the OS serve: the OS maker, the user, or (in the case of malware) anyone who manages to get their code onto the machine? From the point of view of the OS maker's lawyers. the OS maker.

      IANAL, but as I understand the argument, in order to protect the user's interest, the OS must protect itself from the user, just in case he does something stupid, like authorize the installation of a malicious driver. Otherwise, said user might sue the OS maker, claiming "You put code signing in the OS to protect me from malicious code, so why did it not project me?" Actually the thinking is along very different lines. Think about what it takes to know if random-installer.exe you just downloaded is malware, or not:
      • Is the software from the vendor who claimed to have written it?
      • Can we track this vendor down and sue them, if the software turns out to be malware
      • If we're downloading s/w from a different site (bittorrent or download.com) how do we know it was not tampered with, before we downloaded it?
      Digital signatures are intended to address these problems:
      - The hash in the signature tells you the software has not been modified in any way.
      - The signature on the hash (using PKI) tells you that the vendor is indeed who they claim to be.
      - If the software still turns out to be malware -- you can contact the Root CA, ask them for the business registered with them under that name, and serve them notice.
    6. Re:Code signing by lseltzer · · Score: 1

      Mod parent down. His premise is just plain wrong. As others have pointed out, code doesn't have to be signed by Microsoft, just by someone with a class III code signing certificate issued by an authority in the appropriate trusted root, meaning all of the major CA's.

    7. Re:Code signing by jhol13 · · Score: 1

      Unfortunately signing does not help. At all.

      Or at least not as long as any of the signed modules contain a single security hole.

      Besides only administrator should be able to install modules, making him to sign them will not stop anything, just makes things harder.

    8. Re:Code signing by dhavleak · · Score: 1

      Unfortunately signing does not help. At all. As I mentioned in another post, signing ensures the following:
      - The identity of the vendor for random-installer.exe
      - That the bits have not been tampered on their journey from the vendor to you (needed because you could have got the bits via bittorrent, website download, usb drive, etc.)
      - The vendor is traceable (through their registration with the certificate authority) so if their software is indeed malware, they can be brought to book.

      Or at least not as long as any of the signed modules contain a single security hole. That's a separate issue. Obviously signing is not a panacea, and you still need due diligence (thread models, pen testing, attack surface reduction, etc.)

      Besides only administrator should be able to install modules, making him to sign them will not stop anything, just makes things harder. The administrator is not the one who has to do the signing -- it's the software vendor who signs this. If you're not aware of that, it's possible you don't understand how code signing works. Secondly, you need to consider that most users (parents, grandparents, etc.) simply won't know if a certain software is safe to install -- they simply don't have the knowledge to make that decision. This makes it easy for them by essentially not requiring them to make a decision at all.
    9. Re:Code signing by tepples · · Score: 1

      code doesn't have to be signed by Microsoft, just by someone with a class III code signing certificate issued by an authority in the appropriate trusted root The only trusted root CA for kernel-mode code signing under Windows is VeriSign, the most expensive CA. Besides, a lot of free software developers are sole proprietors (read: "individuals"). Can a sole proprietor obtain an affordable class III cert, or does there have to be a partnership, corporation, or LLC?
    10. Re:Code signing by jhol13 · · Score: 1

      The administrator is not the one who has to do the signing If the administrator cannot sign (or install an unsigned stuff) then we have a "trusted" platform. I heavily doubt anyone wants that.

      A traceable vendor helps nothing as proved by ActiveX (for example there existed a Microsoft signed ActiveX program with security holes and Microsoft did not revocate their key).

      A better approach is having software repositories (like e.g. in Ubuntu).

    11. Re:Code signing by dhavleak · · Score: 1

      The administrator is not the one who has to do the signing If the administrator cannot sign (or install an unsigned stuff) then we have a "trusted" platform. I heavily doubt anyone wants that. Sigh... the administrator can sign unsigned stuff and install it if he/she wants to.

      A traceable vendor helps nothing as proved by ActiveX (for example there existed a Microsoft signed ActiveX program with security holes and Microsoft did not revocate their key). There's a difference between malware and insecure software. By your logic we'd need to revoke the keys for Safari, Quicktime, Flash and much much more.

      A better approach is having software repositories (like e.g. in Ubuntu). Why is this better?? Ubuntu repositories are inherently insecure. The MD5 hashing algo is prone to collisions, which means a malicious party could hack into a repository and alter an update to do something nasty, and make it still have the same checksum. Nobody downloading the update will know that it changed -- it will pass the integrity check because the hash was the same.
    12. Re:Code signing by jhol13 · · Score: 1

      If the administrator can sign then the whole "needs to be signed" is nothing more than an "ok to press" and therefore will not help a thing.

      There's a difference between malware and insecure software. Sure. The point is that the malware does not need be signed and it still can get the rights of the signed program. Tracing the originator of the malware therefore becomes impossibile. BTW, I am quite confident that even if the malware creator could be traced it would help nothing, it would just lead to a "front" or faked information or "China".

      This far there have been extremely few hacked repositories, several orders of magnitude less than insecure programs (signed or not).

    13. Re:Code signing by dhavleak · · Score: 1

      If the administrator can sign then the whole "needs to be signed" is nothing more than an "ok to press" and therefore will not help a thing. Dude -- you don't know what you're talking about. The administrator would need to acquire a code-signing certificate from one of the certificate authorities listed here: http://msdn.microsoft.com/en-us/library/ms995347.aspx, and use it to sign the installer. A lot of corporations actually choose to do this for their own internal applications. An end user is free to do that as well, but usually would not go through the hassle. The point remains, that the end user with admin credentials does have this option.

       

      The point is that the malware does not need be signed and it still can get the rights of the signed program. Tracing the originator of the malware therefore becomes impossibile. That's not what code-signing is supposed to guard against. Code signing guarantees authenticity, traceability, and that the bits have not been tampered with. You need other measures as well to reduce the holes viruses can attack -- such as address space layout randomization, non-executable memory, source annotations, attack surface reduction, etc. (many more techniques.. several listed in TFA itself). And you still should run a firewall and antivirus. Apologies for flaming, but I think instead of arguing, you should read up on the rationale behind these technologies, and how they work. No single technique will make computing secure. All of them are needed to work in tandem.

       

      BTW, I am quite confident that even if the malware creator could be traced it would help nothing, it would just lead to a "front" or faked information or "China". That's why the list of Certificate Authorities is not endless. Only CA's that do due dilligence when providing a signing certificate will be included in the root of trust. Again -- the administrator is free to make additions if she/he wants to.

       

      This far there have been extremely few hacked repositories, several orders of magnitude less than insecure programs (signed or not). The point is, it's possible to hack into it and put in a tampered binary that passes md5 checking scrutiny. It is not possible to fake a digital signature -- unless you have some ungodly supercomputer generating signing keys for a trial and error approach until you find a key that works. And even that approach can take years with the current state of supercomputing. Or, you can try to find a flaw in the algorithm and implementation for hashing or key-pair generation. Both options are essentially non-options.
    14. Re:Code signing by lseltzer · · Score: 1

      Untrue. Do you make this up or did someone tell you and you're just credulous about it?

      Go into the Internet Options control panel, Content tab, click the Certificates button, then the Trusted Root Certification Authorities tab.

      You'll see numerous roots there, many of which are supported for code signing. For instance, Comodo, Entrust, GeoTrust, Equifax, GlobalSign, etc. There are lots.

    15. Re:Code signing by lseltzer · · Score: 1

      And you can buy a personal code signing cert.

    16. Re:Code signing by jhol13 · · Score: 1

      You are inconsistent. If the administrator can get a signing key so can the malware creator. The CA's cannot do such a diligence which would ensure only nice people, no fronts, in practice.

      You do not need to hack digital signatures, you need to find a security hole in a signed program. As we know, those are plentiful and none of the measures you give have stopped exploits.

      Those two flaws make the whole system completely useless.

      Repositories can be hacked in theory, but in practice it has happened extremely rarely. I'll change my view if they start to be broken constantly. Sure, they should have moved away from MD5 long ago, but there is no reason why they could not do it now.

    17. Re:Code signing by dhavleak · · Score: 1

      You are inconsistent. If the administrator can get a signing key so can the malware creator. The CA's cannot do such a diligence which would ensure only nice people, no fronts, in practice.

      The CA just needs to verify that they are traceable. To that extent they get contact information and credit card billing information. Even if you manage to dupe them and get a code signing cert, the CA can revoke trust if you end up releasing malware signed with that cert. If they don't, they lose credibility, and will not be used by Apple, MS etc. for code signing.

      You do not need to hack digital signatures, you need to find a security hole in a signed program. As we know, those are plentiful and none of the measures you give have stopped exploits.

      And as I said, digital signatures are not intended to 'solve all security problems'. They are intended to make the vendor traceable, and give you a guarantee that the s/w was not tampered with. At no point did I, or Apple, or anybody, claim that digital signatures remove security holes. Instead of re-typing, let me just quote from my previous post: "You need other measures as well to reduce the holes viruses can attack -- such as address space layout randomization, non-executable memory, source annotations, attack surface reduction, etc. (many more techniques.. several listed in TFA itself). And you still should run a firewall and antivirus."

      Those two flaws make the whole system completely useless.

      Debunked above. Again, I urge you to read up on these techniques before arguing further. My apologies if I sound rude, but you don't seem to have a grasp of the issue.

      Repositories can be hacked in theory, but in practice it has happened extremely rarely. I'll change my view if they start to be broken constantly.

      In practice, malware for Ubuntu (linux in general) is non-existant, so you can do pretty much anything you want without much risk. MS doesn't have that luxury and Apple is slowly losing it as well. That's what promted this discussion -- TFA was about mechanisms to keep OS-X malware free. This topic has almost no bearing in the linux world at this point in time.

      Sure, they should have moved away from MD5 long ago, but there is no reason why they could not do it now.

      And do what with it??? Even if they move to SHA256 or something, the repositories are not secured until the hash is signed! There are so many mirrors for repositories. How do you know that the bits some mirror is providing are identical to the master? They could easily modify the source itself to do nasty things, and simply compute a new hash. The signing operation is what gives you the guarantee that the hash was not tampered with. Only the master's public signing key would need to be trusted, and automaticlly it would mean that you can have all the mirrors in the world, but none of them can ever make a change without invalidating the signature. Jeez.. read up on this stuff already instead of arguing for its own sake. You've already had to admit that repositories are insecure (albeit in theory) because of their reliance on MD5. Now if you read up on digital signatures hopefully you'll be able to make the next logical step and realize that in addition to a secure (collision-free) hashing function, you need to sign the hashes with a private key as well. Until then, repositories are not secure. And after that, repositories will be no different than Windows Update .

    18. Re:Code signing by tepples · · Score: 1

      And you can buy a personal code signing cert.

      Where? I used Google, but this query didn't appear to turn up anything relevant.

  28. Correction... by denzacar · · Score: 1

    iMpossible

    --
    Mit der Dummheit kämpfen Götter selbst vergebens
  29. Re:Just by Windows by Gewalt · · Score: 2, Funny

    If I look out my window, there's an apple tree. bBut perhaps that's not what OP meant. /shrug

    --
    Modding Trolls +1 inciteful since 1999
  30. Re:signed kernel modules would be good for apple t by TJamieson · · Score: 1

    Signed kernel modules would [...] stop some of the hacked (and custom written) kernel modules being used to get OSX to run on non apple machines (or being used to make the experience of using OSX on those machines better)

    Opinions on whether or not this is a good thing are varied.
    --
    For the last time, PIN Number and ATM Machine are redundancies!
  31. Oh stop with this nonsense! by Anonymous Coward · · Score: 0

    Mac OS X is immune from malware. The story is a hoax meant to scare people. The author probrably want to sell an antivirus program for the Mac, which of course is completely unneeded.

    Follow the money, people!

  32. Bad car analogy by DrYak · · Score: 3, Insightful

    Give people a license to use a computer. A computer is infintely more complex than a car, yet you need a driver's license for a car. Except that someone trying to drive a car without having learned it first will very probably lead to an accident which could even lead to several dead people include both him and innocent by standers.

    A car with an uneducated driver is a potential very powerful weapon.

    A computer used by an uneducated user... well at worst he'll screw his computer. Maybe piss off some innocent other web users with the spam mail that the zombied PC will spit. And even eventually might got some money stolen if too much personal data is spied.
    But unless the random guy is operating a computer controlling a nuclear core (and those already *are* selected and trained to be good at their job), it's very unlikely that the screw-up will result in deaths.

    That's why you won't see computer license any time soon, because the perceived risk (nobody will die at the end) is much lower than the perceived advantage (internet usage has become pervasive, it's so important and useful that anyone *must* have access to it).

    The only thing that you could remotely imagine is a tiered approach to internet security :
    the global net is accessible to anyone, but only common service are found on it. Special service are connected to a different network, which is more secure and more reliable but does necessitate special clearance.

    Think in terms of "Internet freely available for all, Internet2 & GEANT only for hospitals, nuclear reactors and those who pass some license".

    But you can't just shut people of internet because our society relies on it and anyway, nobody will die.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
    1. Re:Bad car analogy by Anonymous Coward · · Score: 0

      A car with an uneducated driver is a potential very powerful weapon.

      But what kind of weapon would a car with an educated driver make?
    2. Re:Bad car analogy by JohnBailey · · Score: 1

      But what kind of weapon would a car with an educated driver make? A more accurate powerful weapon.
      --
      It is difficult to get a man to understand something when his job depends on not understanding it.
    3. Re:Bad car analogy by Ihmhi · · Score: 1

      Except that someone trying to drive a car without having learned it first will very probably lead to an accident which could even lead to several dead people include both him and innocent by standers.

      A car with an uneducated driver is a potential very powerful weapon.

      A computer used by an uneducated user... well at worst he'll screw his computer.

      Solution: put four wheels and an engine on a computer.

  33. Re:signed kernel modules would be good for apple t by IamTheRealMike · · Score: 1

    The point of driver signing isn't to act as a copy protection mechanism. You can boot Vista64 in a mode that'll allow you to load any drivers. The point is to stop programs loading crap into the kernel without the users knowledge. If you have to put the OS into some kind of very obvious "unsafe mode" then the problem becomes much less serious. Can you imagine malware popping up a dialog explaining some complicated boot sequence to the user?

  34. Signed Kernel Extensions by psydeshow · · Score: 2, Insightful

    I don't care what kind of malware it might be, you can pry the CoolBook Controller extension from my cold dead hands!

    Third-party extensions by dodgy developers are often required to extend the lame control panels that Cupertino sees fit to bless us with. I shudder every time I install an update to smcFanController or CoolBook, but if I don't want my laptop running at 170F what other choice do I have?

    Signing isn't going to make the problem go away. I won't trust these random developers just because they have a certificate. If Apple engineers had time to certify the code itself, they would have time to fix the problems in OSX and firmware that require the use of third-party extensions in the first place.

  35. ba dump ump by fred+fleenblat · · Score: 3, Funny

    No word yet on MacOS 10.8 Cougar, to be designed with the "active" older woman in mind.

  36. Microsoft does not require ... by Anonymous Coward · · Score: 2, Informative

    Microsoft does not require that the code be signed by them. They simply require that the code be signed, by any certificate issued by a signing authority.
    All the code we develop for Windows is signed by us, and installs perfectly fine on Vista, and Microsoft has never seen a single line of our code.

  37. "local" != "physical" by argent · · Score: 3, Informative

    You can run it via SSH as long as someone is logged into the console.

    If you can ssh in, you already have local access.

    "Local" is the counterpart of "remote". A "remote exploit" is one that you can perform without already having local execution access on the machine.

    What you are talking about is "physical access".

    1. Re:"local" != "physical" by drumbug1 · · Score: 1

      What you are talking about is "physical access".

      Yup - I misread that as "physical" - settle down everyone...
  38. I posted this nearly two days earlier by hairyfeet · · Score: 1
    Yet it sat in "pending" until someone else (I am guessing a buddy of taco or zonk) could post it. In fact the last 8 of 10 sumissions have sat an average of two days before someone else posted the same story. Why do you ask for submissions if you only take them from friends? My karma has been excellent for ages,most of the time 60-80% of my posts are either informative or insightful,so it can't be because they think I am some sort of troll. So today I did get to learn a valuable lesson: don't bother submitting here.


    --
    ACs don't waste your time replying, your posts are never seen by me.
  39. That word, you keep using that word... by argent · · Score: 1

    (don't you mean Inconceivable?)

    Well, maybe not impervious, but OS X is water-resistant (to a depth of 15 meters) and fire-retardant (up to 451F, this may be reduced if fans are present).

  40. Network-worthiness by CarpetShark · · Score: 1

    Someday, it's going to get to the point where you're not allowed a computer on a network unless it's maintained and certified by an admin as network-worthy, just like you're not allowed a car on the road unless it's maintained and certified by a mechanic as road-worthy. Until then, we're all doomed to endless spam, and users complaining that they should be able to maintain a complex computer themselves without any effort.

  41. Re:signed kernel modules would be good for apple t by hobbit · · Score: 2, Informative

    by default OSX gives you no room for customization, you're practically expected and heavily advised to use the stock proprietary software and they'll try their damnedest to lock any third party stuff out of what they can. WTF? You must have missed the fact that XCode and all the other development tools come for free.
    --
    "Wise men talk because they have something to say; fools, because they have to say something" - Plato
  42. That's why the rest of us gave up submitting by Anonymous Coward · · Score: 0

    Years ago.

  43. Permissions Voodoo (!) has to be extended by Ilgaz · · Score: 1

    I think the "Repair Permissions" thing should be extended to check/repair/normalise user home directory permissions too.

    I am speaking about the "Reset home directory permissions" functionality inside Leopard DVD boot to be an option for disk utility. Also Disk Utility should alert users about SUID files whether they got BOM or not and label it clearly without creating panic. They say "These messages are true but not cause of concern". No, it is a very big concern. An unexpected SUID file on Unix is always a concern.

    BTW, people calling the permission repair process "voodoo" are generally very advanced users, system admins and advanced developers. It is not put for them at first place, it is for average end user. That average end user has potential to share his/her home directory with whole planet to make sure his/her friend gets a single document from his Documents folder. I am speaking about some functionality to revert them to sane permissions. I guess they already do some stuff via ACL on Leopard but one can't repair the ACL without booting from Leopard DVD which is a real pain.

  44. Only signed kernel extensions is not good by Ilgaz · · Score: 1

    "Mandatory code signing for any kernel extensions. I dont want to have to worry about kernel rootkits, hyperjacking, or malware infecting existing kernel drivers on disk. Most kernel extensions are from Apple anyway and for the few common 3rd party ones, they should be required to get a code signing certificate."

    It is possible to run old kernel extensions on OS X and many benefits from it. Kernel extensions have "minimum" and "maximum" version values. You can't expect every company to release Leopard signed version of their kernel extensions. Some are even out of business.

    Some ATI owners saved themselves with OS X 10.3.x kernel extension in Leopard (10.5.0) until Apple fixed the issues. Now imagine ATI 10.3.x extension required signing. Would be a great way to get "Apple delivers the drivers" template as reply.

  45. Re:signed kernel modules would be good for apple t by nawcom · · Score: 0

    There is no TPM to bypass. You need to force decrypt certain binaries. However, there is a TPM Project that Apple has under APSL. (iow, open source.)

  46. Re: Von Neuman is the problem by Douglas+Goodall · · Score: 1

    Are you stating that the concept of a stored program is where the security problem started and we should back up to that point and do something different? If so I want a patent on selling pictures of certain plugboard patterns that implement malware. And covering any processes that distribute those plugboard patterns to the users. I guess we don't really need compilers or assemblers if we are going to go back to plugboards. If Microsoft and Intel had the patent on plugs, this would have been the first fiat of the trusted computing initiative. Actually I thought that stored program computers was when things got interesting. Intel gdt/ldt entries with write protected code spaces was where things started getting clever, Aliased descriptors used to make code space look like data for use by the OS code loading routines was the soft spot. Things just went sour from there on.

  47. Sooooo....Slashdot users... by Evil+Kerek · · Score: 1

    Does this means you guys finally have to own up to the fact that the only reason Macs (and, therefore Linux) seem so secure is due to lack of desktop penetration? That is EXACTLY what we are seeing here. Macs start getting more popular, Macs start getting the attention of the malware writers, suddenly Macs have more vulnerablities than everyone thought (sort of like FireFox).

    My issue with all this is the false sense of security most of you push. The idea that open source is more secure because more people look at it (which is just hog wash). The idea that mac os was more secure because we'd never seen a large virus outbreak. Same thing with Linux. It's all an illusion and you do everyone a disservice but suggesting otherwise.

    None of these, as the Mac zealots are starting to see, actually prove that the systems are more secure. It just makes you feel better to say it.

    Let me be clear - sure I'm a windows users - it's where I make my money (again, because, duh, it has the most market/desktop penetration) I have no illusions about it - I don't think windows is awesome - in fact, I think it sucks. I don't really give a crap what platform I work on as long as I can make a good living. So save the accusations of fan-boism. It's not my views that have that problem.

    NONE of this software is safe once it's required to maintain any sort of backward compatiblity and/or needs to work easily for computer illiterate people. THAT is the reality that most people around here like to ignore.

    My .02

    EK

  48. That's easy! by 192939495969798999 · · Score: 1

    Just get a ma.. er, switch to lin... wait, what?

    --
    stuff |
  49. memory space by bussdriver · · Score: 1

    Drivers are a threat because they live within the kernel memory space. A strictly defined and enforced driver model would limit the extent bad or insecure drivers can run.

    A "good" driver can contain exploits and many likely do (remember the wifi driver problem?)

    Drivers cause a great deal of the crashes out there; even on windows machines.

    There are "old" mainframes that had hardware support for memory protection beyond the simple kernel / user model. Yes, if you move towards a more fine grained micro-kernel like system you WILL run slower, but its the price you pay for stability and better security. Virtual Machines are going in a odd-ball path towards this and people do not seem to mind their servers wasting tons of resources with the extreme overhead a VM involves-- so why can't we start trying these "old slow" techniques (which are more efficient) and have an OS that WORKS so good we don't need work-around "solutions" like VMs (most people using VMs are using it as a work around.)

    Its as if we are moving towards a microkernel which manages DRM and VMs-- and may evolve into the next gen BIOS.

  50. Re:signed kernel modules would be good for apple t by Aphoxema · · Score: 1

    I didn't say free, I said default. Windows gives you a bunch of fancy colors to choose from from or you can set your own for most elements. Almost every desktop dist of GNU/Linux gives you several themes to choose from for Gnome KDE or whatever and you can still set your colors for everything.

    OSX gives you two color schemes (if you count Graphite as a color) for a few things, lets you change the colors of some fields, and it gives you a whole bunch of backgrounds which most of it essentially look the same in different colors.

    That's WTF, though the latest version I've used is Tiger.

    --
    "Most people, I think, don't even know what a rootkit is, so why should they care about it?"
  51. VeriSign got the exclusive contract by tepples · · Score: 1

    They simply require that the code be signed, by any certificate issued by a signing authority. Trouble is that VeriSign got the exclusive contract to be the signing authority for Windows drivers, and VeriSign charges a lot more than hobbyist hardware hackers can afford.
  52. Freely? by tepples · · Score: 1

    It is YOU who sign the application, the developer, freely. "Freely"? Commercial CAs charge significant amounts of money per year, and as I understand the Apple release note that you linked, most of the benefits of code signing aren't available to people who act as their own CA.
    1. Re:Freely? by Ilgaz · · Score: 1

      No, you get confused by the Windows App/file signing. In OS X way of things, a "signature" means a developer signing the application to make sure it is not tampered. Nothing else. There are no commercial signing companies to sign ones application even.
      It is way of saying "here is the original compile and package of my application signed by me, the developer, look after it". Nothing else.
      MS and Verisign idea is completely different. Even Sun Java signing is different.

  53. What's the difference? by tepples · · Score: 1

    The entire point of 'driver signing' is that by default 'normal users' can't run it, can't install it, can't use it. The prompt will say it can't be run because its unsigned. period.

    Similar how when logging into a domain without a valid password, it says "No". It doesn't say "Those credentials aren't in the domain, do you want to be added to the domain as administrator?" Yet domain admins can still go in and add/remove users.

    Trouble is that home users are already administrators, who can add users to a machine. So why can't they add drivers for homemade devices to a machine?
    1. Re:What's the difference? by vux984 · · Score: 1

      Trouble is that home users are already administrators, who can add users to a machine. So why can't they add drivers for homemade devices to a machine?

      They should be able to do so. They should be able to sign drivers and then add them. Just like they can add a user.

      And just like adding a user, they would never be prompted to automatically do this simply because they entered a random userid/password into the login.

      That's my point. You have to go through the process of adding a user if you want to add a user; you should similiarly have to go through the process of signing code.

  54. Re:signed kernel modules would be good for apple t by Hierophant7 · · Score: 1

    touche, sir.

  55. Re:signed kernel modules would be good for apple t by hobbit · · Score: 1

    What you said is "they'll try their damnedest to lock any third party stuff out of what they can."

    This is simply not true.

    --
    "Wise men talk because they have something to say; fools, because they have to say something" - Plato
  56. User mode != kernel mode by tepples · · Score: 1

    Go into the Internet Options control panel, Content tab, click the Certificates button, then the Trusted Root Certification Authorities tab.

    I seem to remember reading that the certificates listed in Trusted Root CAs and Trusted Publishers are used for user mode, not kernel mode. I guess stuff that was in the kernel in Windows XP has to be either a driver in user space (User Mode Driver Framework) or a UI Automation client (because UMDF doesn't handle input devices) in newer Windows.

  57. Re:User mode != kernel mode - so what? by lseltzer · · Score: 1

    >>I seem to remember reading that the certificates listed in Trusted Root CAs and Trusted Publishers are used for user mode, not kernel mode.

    Untrue once more. In fact, I know you're wrong with respect to kernel mode drivers. Do you have an actual reference or are you just going to assert that such information exists?

  58. "Test Mode" in all four corners of the desktop by tepples · · Score: 1

    I'll quote the parts of the Kernel Mode Code Signing Walkthrough that I'm referring to. (Caution: It's a .doc file. Windows XP WordPad will open it after giving several dozen warnings about failure to load graphics conversion filters, and you won't see figures. I haven't tried it in OpenOffice.org.)

    True, you can install a self-signed cert onto the test computer: "the test computer must have the certificate for the CA that issued the package's test certificate installed in the computer's Trusted Root Certification Authorities certificate store." But in order to use such certificates, you must "Enable the kernel-mode test-signing boot configuration option" and that causes Windows to "Display[] a watermark with the text 'Test Mode' in all four corners of the desktop, to remind users the system has test-signing enabled." How practical is it to use a computer that has the text "Test Mode" in all four corners of the desktop as one's primary computer?

    1. Re:"Test Mode" in all four corners of the desktop by lseltzer · · Score: 1

      First, that's just for 64-bit Vista. And nothing in it says that you have to use VeriSign. What point were you trying to make?

    2. Re:"Test Mode" in all four corners of the desktop by lseltzer · · Score: 1

      Forget the VeriSign point, i guess you had conceded that one.

      The Kernel Mode Code Signing stuff you discuss here is just for 64-bit Vista. The point of it is that all code in the kernel has to be signed and, in normal non-test mode, signed by a certificate issued by a trusted CA. Where in the quote you supplied does it say that those trusted roots are not the ones listed in the dialog box I mentioned?

      Or if you want to change the subject to bitching about Kernel Mode Code Signing in Vista 64 you can go ahead and do that, but it's a completely different topic.

  59. Package management by Anonymous Coward · · Score: 0

    Two words: Package Manager.