Slashdot Mirror


Securing Mac OS X Tiger

Stephen de Vries writes "Mac OS X is one of the most secure default installations of any OS. But it is still possible to lock the OS down further, in order to meet corporate security guidelines or to securely use network services. Corsaire has released a guide to Securing Mac OS X Tiger (long pdf) which addresses the new security features introduced through Tiger and presents some security good practice guidelines."

130 comments

  1. I once tried to secure a tiger by DrMrLordX · · Score: 5, Funny

    I put a tiger on a leash once.  It didn't work.  Don't try this at home, kids!

    1. Re:I once tried to secure a tiger by korba · · Score: 1

      You should try the cage. I works for me.

    2. Re:I once tried to secure a tiger by commodoresloat · · Score: 1

      I believe there's still a job opening at the Mirage in Vegas for someone who can do this right.

    3. Re:I once tried to secure a tiger by kcarlin · · Score: 5, Funny

      You should try the cage. I works for me.

      Does the tiger let you out for walks?

      --
      Free Adam Smith! (Or best offer.)
    4. Re:I once tried to secure a tiger by Anonymous Coward · · Score: 0

      Yeah, a scroll of taming works better.

      Though, rather than a tiger, I much prefer the tame minotaur I managed to get one time. Wow, that thing was mean. It used to kill shopkeepers in 1 or 2 turns.

    5. Re:I once tried to secure a tiger by Afrosheen · · Score: 1

      Great for bikers, it's a helmet-optional job.

    6. Re:I once tried to secure a tiger by fafaforza · · Score: 1

      Mike? Mike Tyson? That you?

  2. "long pdf"? by Anonymous Coward · · Score: 4, Funny

    Ah, good Slashdot.... Now it warns us that TFA is "long", even.
    But of course, I don't think anyone ever tries to RTFA, so the thoughtful gesture is lost on us....

    1. Re:"long pdf"? by ergo98 · · Score: 2, Interesting

      Ah, good Slashdot.... Now it warns us that TFA is "long", even.

      There have warnings accompanying long related articles for time eternal - some people come here primarily for discussion (sort of like an online book club). The article is a "necessary nuisance" for this bunch, hence the disclaimer. For those who actually come for information it isn't so much of a concern.

      Now since I'm here for discussion, what's the deal with .pdf's? It seems to be a running belief that putting one's poorly thought out, poorly edited words into pdf forms makes it professional - just like the big boys! It reminds me of the idiotic days when a couple of big boys put flash intro pages, with the nonsense scrolling/zooming in text that became so cliched. Suddenly every small shop did the same, as if this cargo cult would make them a big shop. Really was silly.

    2. Re:"long pdf"? by Eric(b0mb)Dennis · · Score: 1

      I think I suffered from "Didn't RTFB (read the 'explitive' blurb) and clicked on the link before I saw "long pdf"

      Adobe reader, good gosh.. you now know why it took me so long to make such a small comment

      --
      Excuse me, I don't mean to impose, but I am the ocean
    3. Re:"long pdf"? by artemis67 · · Score: 1

      ...but does it have pictures?

    4. Re:"long pdf"? by Gropo · · Score: 0, Offtopic
      It seems to be a running belief that putting one's poorly thought out, poorly edited words into pdf forms makes it professional - just like the big boys!
      Well how does THIS make you feel?
      --
      I hate Grammar Nazi's
    5. Re:"long pdf"? by ergo98 · · Score: 0, Offtopic

      Jesus...it's like I'm a published author now! I think I'm going to print that out, frame it, and put it on the wall in the entryway!

    6. Re:"long pdf"? by Anonymous Coward · · Score: 0

      Is this supposed to be a joke?

      Article about Mac OS X.
      Every Mac running OS X can open PDFs.
      Word isn't that common on Mac OS.

    7. Re:"long pdf"? by ergo98 · · Score: 0, Offtopic

      Is this supposed to be a joke?

      I'd say the same about your reply.

      Information published on the web is generally published in a crazy format called HTML (at a MINIMUM in both, so those who want to take it offline can resort to PDF without hindering accessibility). Or are you reading Slashdot in PDF documents?

  3. Re:Most secure? by Henriok · · Score: 1

    That's why it says that it's "one of the most" not "the most".

    --

    - Henrik

    - when the Shadows descend -
  4. Re:Most secure? by Anonymous Coward · · Score: 0

    "one of the most" - not THE most. At least read the post, let alone the article

  5. Re:Most secure? by Anonymous Coward · · Score: 0, Offtopic

    Durr, I make really quick but completely vacuous and inane posts to a new story to get karma.

    Durr.

  6. Does default matter? by Poromenos1 · · Score: 4, Insightful

    If you're going for corporate security, you're probably going to look at every aspect you need to lock down. Security by default matters for 90% of desktop users, but don't you disable services/add firewalls as soon as you set up your OS?

    --
    Send email from the afterlife! Write your e-will at Dead Man's Switch.
    1. Re:Does default matter? by Meshach · · Score: 2, Insightful

      I think the idea is that IT departments could save some time / money if out of box operating systems didn't have so many default holes. Also there will be a more forgiving margin of error

      --
      "Maybe this world is another planet's hell"
      Aldous Huxley
    2. Re:Does default matter? by Dylan+Zimmerman · · Score: 1

      Having a secure default install means that the admins don't have to do nearly as much work to secure it. This means that you can get away with fewer administrators, and therefore, it has the potential of being cheaper for a company to get an OS that starts out secure.

      A company would be foolish not to consider the security of the default install of an OS and comparing it with the security of others.

    3. Re:Does default matter? by Anonymous Coward · · Score: 0
      Security by default matters for 90% of desktop users, but don't you disable services/add firewalls as soon as you set up your OS?

      Yep, it's also why I can run Solaris on my servers and only worry about patching them every 6 months to a year. I disable all unnecessary services to remove the avenue of a remote attack. If you probed most of my servers you'd find SSH running (TCP wrapped to my workstation's IP) and the service it offers (for example a chroot'd BIND server). I rarely keep myself up at night worrying that someone is going to exploit my Solaris servers through an exploit in some obscure X package since they don't even run X.

    4. Re:Does default matter? by Anonymous Coward · · Score: 1, Insightful

      but don't you disable services/add firewalls as soon as you set up your OS?

      No, because these things should be done by default by the OS vendor.

    5. Re:Does default matter? by prichardson · · Score: 4, Interesting

      The thing that I notice about Windows security in corporate environments is that even when it's so restrictive that using your computer becomes almost impossible, there are still ways around it.

      I've seen very secure corporate environments using OS X where everything works splendidly (including roaming profiles actually carrying _all_ of your settings with you). Also, the security manages not to get in the way of day-to-day activity.

      --
      Help I'm a rock.
    6. Re:Does default matter? by aristotle-dude · · Score: 1

      You can only lock down an OS to a certain degree without impeding productivity of users. If the OS is insecure by default, locking it down could affect the functionality of the software users run on the machine. However, if you have a pretty secure system to start with your software is likely to function as it normally would.

      --
      Jesus was a compassionate social conservative who called individuals to sin no more.
    7. Re:Does default matter? by Mononoke · · Score: 1
      This means that you can get away with fewer administrators...
      Which is the biggest roadblock keeping OSX from becoming popular in the corporate environment. Are you going to specify Macs if it means certain downsizing of your department in the near future? Are your fellow IT staff going to let you get away with it?
      --
      NetInfo connection failed for server 127.0.0.1/local
    8. Re:Does default matter? by Halfbaked+Plan · · Score: 3, Insightful

      You're nuts if you think 'the biggest roadblock' is some tacit conspiracy by IT staffers.

      --
      resigned
    9. Re:Does default matter? by sld126 · · Score: 4, Informative

      You're ignorant of the default services for OS X client.

      They're all turned off.

      Even on the server version, only SSH is turned on by default.

      Do you really need a firewall until you turn on any services? Most users will never do this. And they have a GUI for the firewall that allows holes for most typical services with just a check box.

      --
      You're just jealous because the voices only talk to me.
    10. Re:Does default matter? by akac · · Score: 2, Insightful

      I don't think that makes any sense, frankly.

      Corporate IT departments prefer working on applications, servers, and such. They abhor "help desk" duty which is what setting up drive images, desktops, and scuh.

      So frankly, the IT department usually doesn't give a care what the desktop users use - its the help desk department that does.

    11. Re:Does default matter? by jsebrech · · Score: 1

      The thing that I notice about Windows security in corporate environments is that even when it's so restrictive that using your computer becomes almost impossible, there are still ways around it.

      It comes from the basic approach to security that is different in windows from pretty much any other system. Other systems assume the user has no administrative privileges, and require positive credentials to gain those privileges.

      Windows assumes the user is also the administrator, and you must remove privileges from that administrator to make the user just a user. Because you strip away privileges (and often leave no mechanism in place to temporarily regain them) you both make the user less powerful than he should be, and more powerful than you want him to be (because you can be assured that some privilege was forgotten along the way and is still in there).

      And please don't tell me how you can create regular users in windows too. They are mostly useless unless you spend a LOT of time tinkering, and the system is certainly not set up like that by default, so for most people it is wholly irrelevant.

  7. CIA still using OS X? by OneOver137 · · Score: 2, Interesting

    I remember they did a write up last year about securing OS X Panther.

    1. Re:CIA still using OS X? by OneOver137 · · Score: 4, Informative

      Oops, guess it was the NSA

    2. Re:CIA still using OS X? by Been+on+TV · · Score: 4, Informative

      NSA did a pretty good writeup of Securing Mac OS X Panther Server earlier this year. One can still apply all the recommendations to Tiger Server.

      --
      The future is in beta
    3. Re:CIA still using OS X? by mclaincausey · · Score: 1

      I could tell you, but then I'd have to klil you...

      --
      (%i1) factor(777353);
      (%o1) 777353
  8. Nice to see you... by Anonymous Coward · · Score: 5, Funny

    Nice to see Roy Horn has recovered enough to post on slashdot.

  9. Secure swap space by guildsolutions · · Score: 5, Informative

    One of the features that this article highlights is the Secure swap space, which allows you to have your swap space encrypted so that it cannot be read either unintentionally or intentionally. FileVault is fairly secure for storing business documentation, etc also. Article is well worth a read for any mac user, and non mac user who may have macs in their environment

    1. Re:Secure swap space by Anonymous Coward · · Score: 0

      Restate a couple of points from the article in the comments, recommend that people read it, and suddenly you're +5 Informative?

    2. Re:Secure swap space by cammoblammo · · Score: 1

      Come on... for most people around here, an article summary is informative!

      --

      Cogito, ergo sig.

  10. Re:Most secure? by Anonymous Coward · · Score: 0

    Oh good god. I appreciate RTFA as a strech, but not even RTFQYQFTS (Read the f'ing quotation you quoted from the summary) - that's a new /. low

  11. 41 Pages is not long by Anonymous Coward · · Score: 0

    When I read 'long pdf" I thought it was at least 400 pages. 1-50 pages is short, 50-400 pages is a bit long 400-infinity is long.

  12. Re:Learn about Apple's misdeeds and mischief by Anonymous Coward · · Score: 1, Insightful

    Wow, bundling iTunes (a program which lets you load MP3s onto an iPod) with an iPod. What blatant disregard for the consumer, who is powerless to install other iPod interface software or buy a different MP3 player.

  13. Re:Securing my Anus by Anonymous Coward · · Score: 0

    I knew he was a Canadian.
    I knew it.

  14. staying secure by jacklexbox · · Score: 3, Insightful

    Security still depends on the user of the software, even the most secure system can be opened WIDE up if someone chooses (or chooses without knowing) to make it so. You can have everything encrypted, but if your password is easily guessable then your encryption is weak. This goes with the thought that "A system is only as secure as it's weakest point."

  15. Wait for it... by bradleyland · · Score: 5, Funny

    Law enforcement agencies annouce that "OS X Tiger" stands in the way of forensic investigation. Story at eleven.

    1. Re:Wait for it... by mcgroarty · · Score: 4, Interesting
      When you encrypt files with Windows, a copy of the file's key is encrypted against the key of each user with access to the file. With Windows, there are several additional keys that all keys are encrypted against, reputedly for law enforcement activities. (I can't find anything backing up the law enforcement claim apart from conspiracy nutcake sites, but the fact remains that the unexplained extra keys do exist.)

      Anyone know if filevault's key is encrypted against anything apart from the user's key and the optional recovery key?

  16. Read before you sudo rm -rf / by JonTurner · · Score: 5, Informative

    Mildly funny, but also a bit irresponsible without a warning:

    Folks, sudo puts you into superuser mode and executes a command, rm. rm removes files, in this case, all of them.

    Unless you enjoy completely rebuilding a system and losing all your data files, don't run this command.

    Another tip: never enter console commands you don't understand.

    1. Re:Read before you sudo rm -rf / by eneville · · Score: 3, Insightful

      An especially never enter console commands on /. rated anything other than informative, even that is a bad idea. Never enter a console command without first reading the man page, yes it's long and could be a bore, but its not as boring as restoring from backups (if you have backsups of some important directory that you forgot about).

    2. Re:Read before you sudo rm -rf / by Anonymous Coward · · Score: 0

      >>please die
      >>
      >>die die die

      WTF?

    3. Re:Read before you sudo rm -rf / by Milton+Waddams · · Score: 1

      "Another tip: never enter console commands you don't understand."

      Poppycock! Recklessly fucking up your computer is the only way you'll learn anything!

  17. More securing OS X links/pdf's etc by Anonymous Coward · · Score: 5, Informative

    http://www.nsa.gov/snac/

    http://www.net-security.org/dl/articles/Securing_M ac_OS_X.pdf

    http://eq.rsug.itd.umich.edu/software/radmind/

    http://homepage.mac.com/hogfish/PhotoAlbum2.html

    Best tip (not a flame) - simply don't run any Microsoft software, support open or other vendors software please, also W3C standards, thanks.

  18. Next time... by Farrside · · Score: 4, Funny

    Grab it by the toe.

    Wear good earplugs.

  19. -1 Redundant by Anonymous Coward · · Score: 0

    all you did was say "the article has this and this in it. read it if you use macs." +5 for that? what's informative about that?

  20. Windows password hash storage by cortana · · Score: 2, Interesting

    I didn't see any mention of disabling this dangerous feature in the article.

    By default, OS X stores your password as a nice secure hash. However, it also stores it using Windows' shitty hash method, that takes approximatly 0.000000001 seconds to brute force with John the Ripper.

    So it's advisable to somehow disable this functionalty.

    1. Re:Windows password hash storage by Rosyna · · Score: 1

      Where is it storing the password as a Windows hash? As of 10.3 all new account passwords are stored using a ShadowHash (and not crypt) and if you change your password in the accounts prefpane and it was previously stored via crypt, it'll be upgraded to ShadowHash.

    2. Re:Windows password hash storage by cortana · · Score: 1

      IIRC, /var/db/samba/hash/$USER. This was on my brother's OS X 10.3 (Panther) machine.

    3. Re:Windows password hash storage by kekeruusperi · · Score: 3, Informative

      In Tiger, when enabling samba sharing, you have to choose which accounts to use and you are also warned about storing the passwords in a less secure way.

    4. Re:Windows password hash storage by Smurf · · Score: 2, Informative

      You may be recalling incorrectly...

      Otherwise, you may be happy to know that on Tiger there is no "hash" subdirectory in /var/db/samba, only a file called secrets.tdb.

      Maybe it's stored somewhere else. Or maybe Apple fixed this vulnerability in Tiger (your experience is with Panther anyway).

    5. Re:Windows password hash storage by zhiwenchong · · Score: 2, Informative

      Yes, this was an issue but it was resolved.
      Apple fixed this in one of the recent Software Updates. It was mentioned in the release notes.

    6. Re:Windows password hash storage by Anonymous Coward · · Score: 5, Informative

      Cortana: "By default, OS X stores your password as a nice secure hash. However, it also stores it using Windows' shitty hash method, that takes approximatly 0.000000001 seconds to brute force with John the Ripper"

      On Tiger, this is not true. In Tiger, one has to explicitly check a checkbox for each user, and enter that user's password, to allow those users to use Windows sharing. The sheet with these checkboxes states:

      "Sharing with Windows computers requires storing your password in a less secure manner. You must enter the password for each account that you want to enable."

      So, Windows file sharing is there, but Apple has not exactly made it easy to enable it.

      Given this UI, I guess that there is no way to secure this weakness in Windows file sharing without breaking compatibility.

    7. Re:Windows password hash storage by cortana · · Score: 1

      Yeah, I'm glad to see that Apple improved this in 10.4.

  21. Mac Mini and suck-ness... by Anonymous Coward · · Score: 0, Offtopic

    I totally agree. I love my mini... well, let me ammend that: I love OS X and the way the mini looks. The base model (originally) only had 256 mb of RAM. Now normally that wouldn't be the biggest deal in the world, but when coupled with a 4200 RPM hard drive, you get some serious slow-downs whenever it hits the swap file.

    Best ways to make a mini better:

    Get either an external firewire drive with a huge cache or a 7200 RPM internal 2.5" drive (the speeds for external firewire beat the stock internal drive, how pathetic is that?!)

    Upgrade the RAM

    Change the minijumper on the logic board to overclock the processor

    It's a great machine after that. Apple shouldn't have crippled it the way they did.

  22. Doesn't work, please advise... by Anonymous Coward · · Score: 1, Funny

    I tried it and nothing happened, the hard drive is going though, how long does it ta.....

    Seriously, given the inferiority of Microsoft software, it would do the world a favor if someone would "rm-ed" their stuff worldwide.

    We Mac users keep waiting for that certain virus to do the job.

    Prison isn't as bad as it's made out to be, you'll be out in 5 years on good behavior.

  23. Re:You should also run Apple's bundled secure scri by hawaiian717 · · Score: 2, Interesting

    No, it doesn't. It just marks as deleted all the inodes for all the files on your disk. Do this, then give the disk to someone with EnCase, and watch them promptly recreate every file on your disk.

    --
    End of Line.
  24. Re:Most secure? by g00n · · Score: 0, Flamebait

    correct me if i'm wrong, but i think NetBSD beats OpenBSD on this.

  25. Re:You should also run Apple's bundled secure scri by Pneuma+ROCKS · · Score: 1

    Ok, it's running. Then wh...#$(#*$)#*$)#)$

    --
    Favorite quote: "
  26. Re:"long pdf"? Not missed much... by justsomebody · · Score: 2, Interesting

    Believe me, you haven't missed anything.

    Yeah, 41 pages long. If you ever read "basic secure your Linux box", well, that's it. I'm dissapointed that a real Mac problem was not addressed. It allows you world writable Applications directory, and .app folder copied by user can be tainted anytime by anyone modifying one single file from terminal.

    It contains:
    Setting password, Displaying warning, locking your firmware (well, this one is the only deviation from "Lock your box for real world dummies"), enabling ACLs, changing user home directories from 022 to 027, tcp_wrappers, xinetd, and other services, file vault, encrypted disk images...

    Basicaly the only positive thing I got from reading it, was how insecure default OSX (talking about DEFAULT here, not what is possible. Mac line was always "Just works") really is. It is more or less as secure as Windows 98 with few bugs taken out and few new entred.

    --
    Signature Pro version 1.13.2-3 release 83.5 beta3try7 after-breakfast edition
  27. Re:Most secure? by Anonymous Coward · · Score: 0

    You would be incorrect, friend. While NetBSD is a very secure operating system, OpenBSD believes in proactive security, that is, fixing problems before they become problems. They regularly undergo code audits and otherwise focus on clean, secure code. More information is available here: http://openbsd.org/security.html

  28. Re:You should also run Apple's bundled secure scri by justsomebody · · Score: 2, Interesting

    Yeah, right. At what cost? Count downtime and all service costs.

    Windows has the same feature, so what?
    On Linux you can install libtrash or any other kind of protection, which is much nicer than any filesystem default, so what?
    On VAX all the versions were collected, so what??

    It is downtime and service needed that counts not someone with EnCase. Problem is that you can do rm / by default and not what it does and not wheter Mac is holy or not.

    --
    Signature Pro version 1.13.2-3 release 83.5 beta3try7 after-breakfast edition
  29. Re:That's all well and nice ... by lullabud · · Score: 2

    Want to trade for a slow intel piece of crap?

  30. Re:Learn about Apple's misdeeds and mischief by Troglodyt · · Score: 0

    That's not offtopic, you're trolling.. How is outsourcing a bad thing? I thought you americans were promoting globalisation, but I guess that's only when you're not the ones getting screwed over. Thanks for the link though, I didn't know if I should laugh or cry when I read this: "Although the legal limit on pay to foreign workers in the USA is around $60,000[...]".

  31. Quicker way to secure a Mac by lullabud · · Score: 2, Funny

    Unplug the power. I mean, we all know the most secure computer is the one that's turned off, right? And of course it should be locked up in a safe in a deep dark cavern protected by a dragon or something.

    1. Re:Quicker way to secure a Mac by Anonymous Coward · · Score: 0

      useless posts yeah. They just simply rock.

    2. Re:Quicker way to secure a Mac by steeviant · · Score: 1

      I don't need a dragon, my computer is already protected by a Tiger.

      It was protected by a Jaguar, but they're a bit passe these days.

  32. Metadata in the PDF by grondin · · Score: 4, Interesting
    "martin" created this PDF document in MS Word 7 (using Acrobat 6 for Windows) on 8/19/05 at 7:07 am. The following meta-data was left in the PDF:
    <?xpacket begin='&#212;&#170;&#248;' id='W5M0MpCehiHzreSzNTczkc9d'?>
    <?adobe-xap-filte rs esc="CRLF"?>
    <x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='XMP toolkit 2.9.1-13, framework 1.6'>
    <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax -ns#' xmlns:iX='http://ns.adobe.com/iX/1.0/'>
    <rdf:Desc ription rdf:about='uuid:3e9566a3-e8e6-4d67-b622-3d681f9c54 d2' xmlns:pdf='http://ns.adobe.com/pdf/1.3/' pdf:Producer='Acrobat Distiller 6.0.1 (Windows)'></rdf:Description>
    <rdf:Description rdf:about='uuid:3e9566a3-e8e6-4d67-b622-3d681f9c54 d2' xmlns:xap='http://ns.adobe.com/xap/1.0/' xap:CreatorTool='PScript5.dll Version 5.2.2' xap:ModifyDate='2005-08-19T13:07:33+01:00' xap:CreateDate='2005-08-19T13:07:33+01:00'></rdf:D escription>
    <rdf:Description rdf:about='uuid:3e9566a3-e8e6-4d67-b622-3d681f9c54 d2' xmlns:xapMM='http://ns.adobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:e3821de7-3fc1-4e6a-a7b1-268 6024123c0'/>
    <rdf:Description rdf:about='uuid:3e9566a3-e8e6-4d67-b622-3d681f9c54 d2' xmlns:dc='http://purl.org/dc/elements/1.1/' dc:format='application/pdf'><dc:title><rdf:Alt><rd f:li xml:lang='x-default'>Microsoft Word - 7 - Securing Mac OS X 10 4 Tiger v1.0.doc</rdf:li></rdf:Alt></dc:title><dc:creator> <rdf:Seq><rdf:li>martin</rdf:li></rdf:Seq></dc:cre ator></rdf:Description>
    </rdf:RDF>
    </x:xmpmeta>
    1. Re:Metadata in the PDF by Anonymous Coward · · Score: 0

      So?

    2. Re:Metadata in the PDF by Sjobeck · · Score: 0

      That is sort of one teeny tiny bit funny, since he obviously could be using Tiger, without needing expensive Acrobat installed, to do the same.

  33. Re:Learn about Apple's misdeeds and mischief by Saven+Marek · · Score: 1

    This is terrible and must be stopped.

    I bought a printer two weeks ago. IT TOO CAME BUNDLED WITH A DRIVER.

    I notice I was powerless to install another driver to work it, this bundling meant I was not able to get a driver for my Canon from Epson, HP, Netscape, Pioneer or DeWalt.

    This is a monopoly!

  34. Re:Most secure? Says: mi2g by Anonymous Coward · · Score: 4, Informative

    London-based mi2g Intelligence Unit on Tuesday released a report that says Mac OS X and Berkeley Standard Distribution (BSD) Unix are the "world's safest and most secure 24/7 online computing environments." Linux operating systems offer the worst track record, according to mi2g, with Windows coming in second.

    http://www.macworld.com/news/2004/11/02/mi2g/index .php

  35. Long answer... by sld126 · · Score: 1

    No.

    --
    You're just jealous because the voices only talk to me.
  36. Move your keychain file to a removable disk by sdpinpdx · · Score: 4, Informative

    You can specify any keychain file as your default, and it can be anywhere. If that's a CF card in the PCMCIA slot, your keychain is removable. Thumb drives also work, of course, but the CF card doesn't protrude beyond the case.

    1. Re:Move your keychain file to a removable disk by Anonymous Coward · · Score: 0

      One problem:

      Currently available Mac laptops don't come with CF readers or PCMCIA slots...

    2. Re:Move your keychain file to a removable disk by Horst+Graben · · Score: 2, Insightful

      That is incorrect - both the 15" and 17" PowerBook G4 come with a PC card slot.

  37. Re:Most secure? Says: mi2g by laffer1 · · Score: 2, Insightful

    This is very interesting. The article points out that small businesses and individuals get cracked more than big organizations. It also points out that more people use Windows and Linux than Mac OS X and BSD. I wonder if the numbers take that into account. Are the Linux statistics balanced with the windows counts, etc?

    I think there might be two problems with the information assuming the numbers are normalized on installs vs succesful compromises. First, Mac OS X is the most widely sold UNIX like OS in the world. Its hard to believe that OS X and BSD counted together is more than Linux. Most other surveys put them at about the same percentage. If you look at servers then linux would blow out OS X and probably BSD. Desktops i think linux would do better than BSDs aside from OS X. Second, it would be nice to see data on how well trained the sys admins were on the systems. Many people don't know linux well enough to properly secure it. An OSX destkop ships in a safer default than most linux distros. In fact, if you look at the bloated distros they ship with several programs that do the same thing. (KDE and Gnome along with software) 4 browsers, 3 email clients, probably 20 text editors, etc. OS X server and Linux are both a pain in the ass for different reasons. I think they give a false sense of security because of the user interface. (graphical and not distros like gentoo or debian that don't include x11 by default) Windows has the same problem. If you meet a windows admin who's never touched the registry then you know they are an idiot. Likewise, if someone hasn't touch a config file in /etc or used a terminal on OS X server or linux they are an idiot. BSD people have no choice :)

    Obscurity only goes so far. I'd also like to know what caused the linux distros to get attacked. Was it a kernel flaw, service issue, common open source software? For example, many operating systems come with a webserver now (apache or iis). Is there a pattern on services?

    I write this on a redhat EL 3.0 workstation install. I've noticed that i get about the same number of security updates in a month for my windows box and this redhat machine. Today i had to install 5 patches to redhat. (last patched a week ago) and i patched windows a few days ago and had 3. My ibook g4 laptop with tiger on it has had about 7 security patches in the last month and countless new versions of software like quicktime, itunes, etc. I've always wondered if apple hides security updates in new versions of software and doesn't tell anyone. My point is that all my operating systems seem to require the same amount of security patching in desktop scenarios. My FreeBSD file server and webservers tend to need 1-2 patches a month as part of the userland and then new versions of software add up for say 20-25 portupgrades a month. And that does not include apache, mysql or php which i manually compile and install.

    Numbers without more background are not that helpful.

  38. Good guide overall by Durandal64 · · Score: 2, Informative

    I skimmed through it, and it's pretty thorough. Great for lab admins to have handy. I do wish they would have mentioned something about chroot for SFTP though.

    1. Re:Good guide overall by netsrek · · Score: 2, Informative

      the standard chroot methods for openssh work under OS X, and if you build the binaries yourself, you don't need all the Frameworks that the Apple version requires.

      The problem with chrooting on 10.4 now is that Apple's network home mounting method borks if you have /./ in the path, so you have to do static mappings.

      small world Durandal. :)

      (dhaveconfig/netsrek)

      --

      i don't read slashdot anymore.
  39. Re:Most secure? Says: mi2g by Anonymous Coward · · Score: 0

    mi2g Intelligence Unit on Tuesday released a report
    Tuesday the ?? November 2004. Got any measure of the malware released since then? After Windoze & Lunix have finished sluggin' it out the OS-X+BSD death rate is right in line with market share, no better, no worse. I'd like to think the users could make it better, but it ain't so

  40. But not just OS X by Anonymous Coward · · Score: 0

    Solaris too, and even everyone's favorite: Windows

    http://www.nsa.gov/snac/downloads_os.cfm?MenuID=sc g10.3.1.1

  41. Three thumbs up by teaenay · · Score: 4, Interesting
    As a Security Architect for a major bank in my country and an "I don't do windows" user at home (OS X, linux), I found this document to be a brilliant guide to securing an OS X client.

    I had already applied some of the security recommendations, such as enabling security on Open Firmware, but I've just learned there are a plethora of other security options available on Mac OS X 'out of the box'.

    There are options in Tigers security preferences that allow swap space to be encrypted and to avoid passwords being accessible in the clear when stored in memory and swapped to disk. Kernel core dumps can be be disabled for similar reasons.

    Password policies! I had no idea Tiger could do that.

    After going through this article and learning a bit more about how KeyChain works, I've started creating my own keychains to store 'Secure Notes' and I've finally accepted that Safari does do 'auto-logon' securely in the way it uses KeyChain.

    This is a very good article.

    1. Re:Three thumbs up by macshome · · Score: 2, Interesting

      Password policies! I had no idea Tiger could do that.

      It can starting with 10.3. I have an older article about it on my site here. The article is from 10.3, but really just more of it works now on 10.4. Also look at the site for my login times script that uses pwpolicy to imitate the login hours policy that other OSes offer admins.

      Last year at MacWorld SF, I put together a pwpolicy GUI in AppleScript Studio for a live demo. I also did a minor bit of pwpolicy scripting at WWDC this year. If you have an ADC membership you can watch that preso. It was fun when the demo Mac started to fall apart while I was trying to code...

    2. Re:Three thumbs up by teaenay · · Score: 1

      I just had a look quick look ADC Site, but I don't know where to find the demo. Can you point me at the right location?

    3. Re:Three thumbs up by macshome · · Score: 1

      Just log into the ADC site and then the 2005 WWDC sessions is the link in the top right corner. There are only three prominent links on the page, Store, Downloads, and WWDC sessions.

    4. Re:Three thumbs up by tim1724 · · Score: 1

      That only works for people who attended WWDC. No one else can view WWDC session stuff.

      I have an ADC Select membership and there is no WWDC option on the ADC site for me. (It only lists ADC Store, Downloads, and My Account)

      In past years there was a way to buy access to the WWDC session videos and stuff after WWDC was over. This year there doesn't appear to be an way to do so.

      --
      -- Tim Buchheim
  42. That's what converted me to *nix. by Anti-Trend · · Score: 1

    What you're saying is true (I'm sorry I spent my mod points, you're surely due some). This has been frustrating me about Windows since I was an NT4 admin years back. On the recommendation of a certain famous web designer, I tried out Linux.That really opened up my eyes to the beautifully simple approach Unices take towards multiuser security.

    --
    Working in a DevOps shop is like playing in a band made up entirely of keytarists.
  43. Easy as any O/S to secure... by Nick+Driver · · Score: 4, Insightful

    Without even R'ing the FA, I can tell you that truly securing the Mac OS is just as easy as truly securing any other OS.

    1) Unplug it from any network.
    2) Strictly control whoever gets physical access.
    3) ???
    4) Security!

    Seriously... after watching some dipshit try over 4,000 times within the span of a couple hours to attempt buffer overflows on every listening port on my honeypot last Friday afternoon, before I finally blacklisted his entire class C from my router, I've come to the same conclusion that the DoD has... that NO computer connected to the Internet can be made secure... period... that you should only connect disposeable devices to the public Internet.

    I even wonder if I'm not the bigger dipshit for sitting there watching this idiot half the afternoon, throwing the kitchen sink at my poor machine in vain, before pulling the plug on him and banishing his whole netblock.

    1. Re:Easy as any O/S to secure... by aristotle-dude · · Score: 1
      How about reading the article before commenting? What does "no open port by default" mean to you?

      To me, it means that you can put a mac on a network in the default configuration and have a 100% secure configuration.

      With OS X, you can get security with the following:
      1. Setup regular accounts for other users who share your computer. keeping admin account to yourself and not enabling root.
      2. There is no step 2.

      This prescription works for anyone other than say the NSA or CIA.

      --
      Jesus was a compassionate social conservative who called individuals to sin no more.
  44. Re:That's all well and nice ... by iceanfire · · Score: 1

    the same "piece of crap" that apple is switching to?
    face it: microsoft may suck, but intel (and amd) has given a pretty nice performance/price ratio compared to apple hardware. Maybe it's cause the power pc wasn't manufactured in massive quantities? I don't know.

  45. Another paper on securing Mac OSX by Anonymous Coward · · Score: 0
  46. Open Ports by Nick+Driver · · Score: 2, Interesting

    What does "no open port by default" mean to you?

    An OS without *any* open ports can still be vulnerable, by merely having a TCP/IP stack connected to a public network. Even if the stack merely can only respond to ICMP packets (no tcp or udp ports open, nor any other IP protocols enabled), it can still theoretically be vulnerable to DoS attacks via ICMP.

    TFA makes no mention whatsoever of disabling ICMP.

    1. Re:Open Ports by aristotle-dude · · Score: 1
      Stop spreading FUD to the uninitiated. You are either trolling or you know just enough to be dangerous. A DoS is a Denial of Service which may temporarily block access to a network or worst case crash the stack possibly forcing a reboot. Big deal. I believe I was responding to exploits which could be used to "run" code.

      Nobody is going to DoS a workstation anyway. Come on let's be realistic here.

      --
      Jesus was a compassionate social conservative who called individuals to sin no more.
  47. Re:You should also run Apple's bundled secure scri by hawaiian717 · · Score: 1

    Yes, the downtime is a problem. The point I was trying to make is that doing a sudo rm -rf / or its equivalent on any system isn't secure, your files aren't really gone. A lot of people (maybe not people here, but in general) don't realize that. Buy a used hard drive on eBay sometime and see what you can find.

    --
    End of Line.
  48. Non-free encryption is untrustworthy. by jbn-o · · Score: 1

    Is FileVault a free software program? I ask because parts of MacOS X are proprietary and parts are free software; if the program is non-free software, then I'd be curious to know how anyone could answer the question about how it encrypts in such a way that the answer would be informative.

    1. Re:Non-free encryption is untrustworthy. by cmdrbuzz · · Score: 1

      FileVault is just an Automounted encrypted AES-128 disk image.
      In order to get the whole sequence mostly invisible to the user, they re-wrote the login code to enable the disk image to be mounted before your KeyChain was available (as the KeyChain is stored on the encrypted image.

      Parts of FileVault (the image mounter and stuff) are in Darwin and thus you can see the source, however hdiutil and hdid (control most of disk image subsystems) are not available as Apple considers them competitive advantages.

  49. Re:That's all well and nice ... by lullabud · · Score: 1

    Does that mean you want to trade?

  50. question marks in your signature by Sjobeck · · Score: 0

    That is a kind of humorous signature you got yourself there, but should there be question marks following the words "tap"? Does not seem like tapping a keyboard.

  51. What is Interesting: by Zx-man · · Score: 1

    is the fact, that it could be replaced with FreeBSD securing guide, but not vice-versa. Hmm.

  52. Re:mod parent down: clueless alarmism by duck_oil · · Score: 2, Informative

    That is not funny. Would you like it if a random /. reader came to your home and erased your data? DO NOT RUN THIS COMMAND!!

  53. Re:Most secure? Says: mi2g by Vapor8 · · Score: 1

    That report is almost a year old, and is based on data "spanning a period from November, 2003 to October 2004".

    Sorry, when it comes to security, I like fresh data...

    That report might have been accurate at that very moment in time, but the area of information security is so dynamic, that older reports, such as this one, while insightful, shouldn't be used as a barometer for the present or the future.

  54. Re:You should also run Apple's bundled secure scri by justsomebody · · Score: 1

    But, what if normal user can do it due to the lack of security? Like on OSX.

    Although your comment was correct in every aspect, it also failed in every other viewpoint.

    It is not the question of security if files are gone or not (if this would be the question then your comment is 100% correct), real question here is "Can they dissapear (even temporarily) due to lack of security and couse loss or downtime?"

    --
    Signature Pro version 1.13.2-3 release 83.5 beta3try7 after-breakfast edition
  55. Re:You should also run Apple's bundled secure scri by hawaiian717 · · Score: 1
    I'm not disagreeing with your point; I think we're reading the original post differently. The way I read it, sudo rm -rf / was given as a (joke) method of securing the files on your computer from anyone breaking into them.

    Like any other Unix system, you should take care who gets sudo access. In the case of OS X, and Admin user can use sudo, while a Standard account can not.

    --
    End of Line.
  56. Laptop Security by Anonymous Coward · · Score: 0

    I own 4 laptops and definitelly my OS X is the most secure.

    Laptop Security - Anti-theft Tracking and Data Protection: http://www.stealthsignal.com/

  57. Disabling ssh password logins by ekc · · Score: 1
    I have long since disabled password logins in favour of public key, due to all the scripting probing going on these days...or at least I thought I had. I had set PasswordAuthentication in /etc/sshd_config to no, but was alarmed to discover a coworker logging in with his password the other day.

    Knowing that this was a new development in Tiger, I compared the new config file with an older one from Panther and noticed the line #UsePAM no. Uncommenting this finally disabled passwords, which implies that the default must not be no as indicated. Very odd...

  58. Re:You should also run Apple's bundled secure scri by justsomebody · · Score: 1

    Yep, exactly as I said. You are just as 100% correct, as you are 100% wrong. Result depends on starting viewpoint.

    Question here is if default user (usualy users don't create more separate accounts) is admin:) and if "sudo rm" is possible by default.

    Maybe you didn't get it, but joker (as you described parent poster) was aiming at the same sentence (and the same flaw, default user being admin by default, I'm not saying you can't restrict this account) as I did:)
    Transcribed from original /. article
    Stephen de Vries writes "Mac OS X is one of the most secure default installations of any OS.

    MOST SECURE DEFAULT INSTALLATIONS???

    I hope you get the (joke??? default security flaw???) problem.

    In any other *X "rm -rf /" would delete some files just as on OSX, difference is that "sudo rm" is OSX only. Any other *X would delete all user files, not disk. Main difference is how you handle things. If you use filesystem that does not delete files, but just stores a copy then not even "sudo rm -rf /" can't do any damage. This is off course problem laid on admin that takes care of the computer. In all my years being involved in security, I can say you only one thing. "There are two kinds of security parameters, default setup and admin" which takes you to this conclusions.
    1.If default setup is good, then some lazy or incompetent admin can make a fairly secure installation.
    2.If default setup is bad thenall responsability lies on admin. (default OSX can be defined in this group, and since most of the OSX users are not guru admins, well here is your answer)
    3.If admin is competent (:and not lazy:) then talking about which OS is more secure is more or less impossible

    Now, why this book was written by incompetent person?

    Personaly, if you ask me how secure is default linux (which is preffered server installation in my case), pretty much about almost fairly secure (for servers I install CentOS) for users, not even thinkable for servers. Why? As long as you use any kind of widely distributed services you are prone to be hacked. Few basic lessons:
    1.Obfuscate service names, for example defining apache version in httpd.conf is just a first step to the real approach. Asking server who he is is not the only way to get its version. Any portscanner will report you correct result
    2.Use as much of chrooted and user based services as possible
    3.Use different than default services

    Why OSX lags in security and why it is not a good solution to be used on servers?
    1.No role based security (for example selinux)
    2.No container based security (Solaris or xen)

    Perfect server install would contain not one OS but service based OS instances that correspond to master kernel and are controlled by master role based parameters (this is already possible with xen and selinux, and it will be as default setup on linux from very soon). (Solaris doesn't need xen as much as linux, because it already has containers, but containers are still one step behind xen OS instances).

    Now to users (remember, I'm talknig about DEFAULT)
    Basic OSX is just as secure as Windows 98. I can make you (in about 5 minutes) a little script that destroys your computer in a state where it is unusable (and to a state you've never seen Windows behave so badly). Almost every OS has its flaws, but I still can't do that as easy (as on OSX) on either Linux or WindowsXP (well I can do that on XP but it will at least need reboot to take effect, nothing easier if default user is admin. Just name some system files to be removed on reboot. It is a typical registry option needed by setup to replace system or used files at reboot because they were locked in the active session. Practicaly you don't do anything illegal, you just use the fact that user is admin and merge a little registry nodes, if user is not admin you can still affect it by the fact that IE service runs with admin privileges, but it is not as simple as it should be. By default user wou

    --
    Signature Pro version 1.13.2-3 release 83.5 beta3try7 after-breakfast edition