Slashdot Mirror


Just How Effective is System Hardening?

SkiifGeek, pointing to our recent coverage of what the NSA went through to create SELINUX, wants to know just how effective system hardening is at preventing successful attack, and writes "When Jay Beale presented at DefCon 14, he quoted statistics (PDF link) that Bastille protected against every major threat targeting Red Hat 6, before the threats were known. With simple techniques available for the everyday user which can start them on the path towards system hardening, just how effective have you found system and network hardening to be? The NSA does have some excellent guides to help harden not only your OS but also your browser and network equipment."

154 comments

  1. Ahh yes, by abolitiontheory · · Score: 5, Funny

    /. is just the place to come for advice on "system hardening."

    1. Re:Ahh yes, by sm62704 · · Score: 5, Funny

      "Trinity" from The Matrix hardened my system!

      Oh, you're talking about computer security? Never mind, then.

      --
      mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
    2. Re:Ahh yes, by abolitiontheory · · Score: 4, Funny
      Funny, all I got was,

      "The system is down."

      Am I gay?

    3. Re:Ahh yes, by larry+bagina · · Score: 0, Offtopic

      Do you go down on man(1)? I hope you check if a hard dick is dirty before mount(2)ing it!

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    4. Re:Ahh yes, by Anonymous Coward · · Score: 0

      Do you go down on man(1)? I hope you check if a hard dick is dirty before mount(2)ing it! Shut the fsck(1) up.
    5. Re:Ahh yes, by mseidl · · Score: 1
      Penetration is not fun without it being hard!
      I'm probably the only /. user that's had sex long enough to have a kid. I wish I had sex more than once though. It was kind of fun :(
      At least I can have a bumper sticker that says:

      "My kid compiles kernels at a 4th grade level"
    6. Re:Ahh yes, by Forge · · Score: 0, Offtopic

      If you have to ask then you are bisexual.

      --
      --= Isn't it surprising how badly I spell ?
    7. Re:Ahh yes, by larry+bagina · · Score: 1

      fsck(8).

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    8. Re:Ahh yes, by uniquegeek · · Score: 1

      0 and 1?

  2. Defense in Depth by Hyppy · · Score: 5, Insightful

    System hardening is just another layer of a "defense in depth" security posture. The more layers, the better. So, if an adversary manages to get through your site firewall, access lists, IPS, vlan segregation, virus scanner, etc, they still have to contend with a hardened local system in order to compromise data.

    System hardening is also very helpful against inside jobs, or against other systems on the network compromised through brute force or social engineering.

    1. Re:Defense in Depth by tgatliff · · Score: 4, Interesting

      I guess it depends on the type of system you are running, and how users interact with it. Most of what I do is building appliance based servers, so my focus is more on keeping users away from the shell, and limiting the number of services (http primarily) they can use. For me, adding SELinux to the mix on something like what I have would be allot more painful and time consuming to implement, and probably not worth the extra time...

      If you have to allow actually users to use a shell on that box, however, I would agree that a SELinux approach is critical because you cannot really determine where you will get attacked from...

    2. Re:Defense in Depth by Hyppy · · Score: 5, Insightful

      If you consider system hardening as more than just installing SELinux, you can see it helps secure more than just users with shell access.

      Many of the SNACs (or STIGs as I remember them being called) go into detail in such areas as setting the method for password hashing, setting policies for allowed authentication protocols, disabling authentication on time mismatches, and a plethora of other things.

      If nothing else, system hardening can be a "best practices" framework for your systems and/or network. I remember one of my systems administrators complaining to a security inspector that the system would not allow a log on if the security log was full instead of just overwriting old entries. He didn't realize that filling the security log with bogus crap could mask a real intrusion. Nobody knows absolutely everything, and not everyone has the time to sit down and understand every intricate detail. Using a system hardening approach, however, is a very good foundation to build your overall security posture.

      You say that you only allow http, but what happens when a vulnerability is found in code that you use for your http application? That's what defense in depth is all about. You may be able to knock down this wall, but there are 10 more behind it that are even bigger.

    3. Re:Defense in Depth by Jeruvy · · Score: 5, Insightful

      OS Hardening is exactly that, risk mitigation. If you know that you don't need to run certain processes or your can run them with reduced variables not only will your systems run with less risk, they can also be more stable. Less updates and patching, less dealing with new variables (because someone enabled some feature that was disabled), adding new functions only after approval and ensuring they meet your requirements. So yes, I'd say OS hardening is an essential part of your good security practices.

      --
      Jeruvy
    4. Re:Defense in Depth by jandrese · · Score: 4, Insightful

      On the other hand, denying logins because the security log is full is a great way to open up your box to DOS attacks, especially if you are judiciously logging everything.

      --

      I read the internet for the articles.
    5. Re:Defense in Depth by Hyppy · · Score: 5, Insightful

      Weigh it depending on your needs. Prioritize, without putting any two factors on equal footing. What is more important and least important out of these three: secure data, catching an intruder who may have accessed secure data, or having regular users log on during a DOS attack?

      That's one of the biggest hurdles today in security: striking a balance and prioritizing. Everyone can say "Usability and security are both important," but it takes time and thought to come up with a detailed analysis of the priorities during an actual attack.

    6. Re:Defense in Depth by SatanicPuppy · · Score: 1

      Just restrict your logging to failed logins for valid users on valid ports, and then jack up the login attempt delay.

      By far the majority of attacks are implemented using guesswork credentials.

      It's not much of a problem anymore, because storage space is so cheap. I set mine to log everything for a few months, just out of curiosity at the crap going around my ISP and even at the highest levels the logs were only taking up about 15% of my drive space; mostly automated brute force attacks.

      Once I restricted the logging to ports that were open, and valid users, it dropped to practically nothing.

      --
      ad logicam Claiming a proposition is false because it was presented as the conclusion of a fallacious argument.
    7. Re:Defense in Depth by Ryan+Amos · · Score: 5, Insightful

      SELinux is great for hardening a box. Unfortunately most sysadmins don't take the time to learn how it works and turn it off because they can't get something to work. Yes; it is a pain in the ass to deal with most of the time, but it's saved me from some big mistakes before as well.

      SELinux almost makes more sense in an appliance server; as the config is not likely to change much. Just assume the web interface is vulnerable (it probably is; if not through your code then some as-yet undiscovered vulnerability in the LAMP stack.) I'll admit, SELinux is a religion you've got to practice, but Unix filesystem permissions leave a lot to be desired (I don't like having to create a new group every time I want to set permissions on a subset of users, thanks.) There needs to be more in the 21st century, and while SELinux is not the best solution, it's a workable one.

      The goal of SELinux IMO is the realization that you will never get rid of all vulnerable code on your box. What you can do is limit the damage they can do when they get past the application layer security. Who cares if they can hack your sendmail server when it doesn't have access to read/write anything outside its config and spool directories?

    8. Re:Defense in Depth by jellomizer · · Score: 1

      If you need test the effectiveness of your harden OS then you are already in troble it is just the difference between troble and disaster. That being said it is not a Silver bullet of protection if the hacker has goten that far then you probably have some holes in your full IT Security concept that needs to be addressed. But like most security now adays it isn't as much about protection as it is saying I did my due diligence in being protected.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    9. Re:Defense in Depth by Anonymous Coward · · Score: 0

      System hardening is just another layer of a "defense in depth" security posture. The more layers, the better.
      That is just retarded. Those layers do not come for free. How many layers of gauze do you suppose you would have to wrap yourself in to stop a bullet? Once you do that, you are now immobilized. Now the attacker can walk up to you, douse you in gasoline, light you on fire, and watch you burn. He wins, and so do all of the gauze salesmen who took your money. The situation is not much different for the organizations who decide that they are going to take security seriously, shop all of the vendors, and order one of everything to get the famed "defense in depth".
    10. Re:Defense in Depth by dougmc · · Score: 1

      Nicely done -- you nailed it. Though I'd emphasize a little more what a pain selinux can be for a general-use system. The learning curve is relatively steep, and like many security measures, it often does get in the way of doing work, especially when you don't really understand it yet. And so yes, it does tend to get turned off.

    11. Re:Defense in Depth by Hyppy · · Score: 2, Insightful

      Your analogy makes no sense. So, you should just buy a firewall, and that's it? Or should you only have antivirus software, and that's it? Should you keep your admin password blank, because of the previously mentioned firewall? What is the one-stop answer to keep my network secure?

      There is no one-stop panacea for security. Anyone who says otherwise is either a snake-oil salesman, or a massive liability to any company that hires them.

    12. Re:Defense in Depth by dpilot · · Score: 2, Interesting

      I'd go one step further, and state that SELinux *can* be the enemy of defense-in-depth. To begin with, SELinux has been sufficiently difficult to get running properly that a common response is to just shut it off. So if you want defense-in-depth, and the other forms of defense are those that haven't been pre-configured into SELinux, you're essentially discouraged from using them. (If you think it's hard picking SELinux up off the shelf and using it, then try some fairly deep modifications to existing policies, and adding new policies.)

      Add the amount of general awe the people hold toward the NSA and SELinux, and there is a tendency for it to be not just A silver bullet, but THE silver bullet.

      That's not even to say anything necessarily bad about SELinux or the job it does, but there can be difficult circumstances created around it.

      --
      The living have better things to do than to continue hating the dead.
    13. Re:Defense in Depth by tgatliff · · Score: 1

      You certainly sound like a wonderful admin, and I can appreciate that...

      As far as logs, we traditionally have a series of items, such as hd data, temp data, etc that we automate with an srsync snapshot nightly. From there, we use a custom app we wrote to parse out key word data or repeatable trends we find interesting, such as error, failed login attempts, etc... Meaning, we also erase nothing, but let software processes smooth over the sheer volume of data for us...

      Also, as far as additional security items we could implement, I agree we definitely could go farther. The issue, however, is simply time and cost. Meaning, perfect security protection is nearly cost prohibitive, and since we have limited resources we try to pick a fine balance of security, detection, and functionality that works for us. Yes, it is quite possible that a security hole could be found and exploited in apache2, but considering its age and the fact that we do a nightly tree sync, in my opinion, it is a risk that my organization can take and be able to recover from..

      Thanks for the free advice, however, as I very much appreciate reading it... :)

    14. Re:Defense in Depth by indifferent+children · · Score: 1
      but Unix filesystem permissions leave a lot to be desired (I don't like having to create a new group every time I want to set permissions on a subset of users

      I'm not discouraging use of SELinux, but you can use Posix ACLs without SELinux. If flexible file permissions are the driving factor, SELinux is overkill.

      --
      Censorship is telling a man he can't have a steak just because a baby can't chew it. --Mark Twain
    15. Re:Defense in Depth by toadlife · · Score: 1

      Anyone who says otherwise is either a snake-oil salesman... Or a gauze salesman.
      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    16. Re:Defense in Depth by Anonymous Coward · · Score: 0

      There are still STIGs around, these are put out by DISA.

      SNAC guides are put out by NSA. A bit redundant to have both, but usually SNAC guides are better.

    17. Re:Defense in Depth by sjwest · · Score: 1

      OK there is one sendmail milter i might like to 'work', but since i run a more modern postfix server in chroot its not a major issue.

      By all means go neurotic, - yes sure we have all traced our ethernet cards and know what good and evil gets passed to it. Security should mean ok, not stop apache doing its stuff (modsec), or selinux blocking imap because its doings something normal.

      I (foolishly?) consider selinux a desktop service. Sorry im not a bible basher

    18. Re:Defense in Depth by Anonymous Coward · · Score: 0

      So, you should just buy a firewall, and that's it? Or should you only have antivirus software, and that's it? Should you keep your admin password blank, because of the previously mentioned firewall? What is the one-stop answer to keep my network secure?
      You arguing with the voices in your head or something? I never said anything to suggest any of that.

      There is no one-stop panacea for security.
      Well you got one thing right. You want to use that momentum and retract your idiotic statement about "[t]he more layers, the better" now? Or do you really stand by that?
    19. Re:Defense in Depth by Random+Walk · · Score: 1

      I write OSS software. Targeted at sysadmins, not Joe Random Users. And it requires some (actually not too much) knowledge of Unix filesystem permission. You wouldn't believe how many questions I get about the most simple things (like: you need exec permission on a directory to access files therein..). If people don't understand Unix file permissions, how can you expect that SELinux can be used effectively by them?

    20. Re:Defense in Depth by Hyppy · · Score: 1

      You are saying that layered security is idiotic, yet you don't support using only one layer. What's the magic number then, trollish AC?

    21. Re:Defense in Depth by Anonymous Coward · · Score: 0

      You are saying that layered security is idiotic
      No, go read again. Carefully this time. There is a distinction between using only one layer, using a layered approach, and using as many layers as possible(the more the better). The latter is idiotic. That was your position(that I really hoped was just a slip and not how you actually feel, but now I'm wondering). Blindly throwing more layers of crap on is not going to necessarily make you more secure. It will come with a cost. It may make you less secure.
    22. Re:Defense in Depth by Hyppy · · Score: 1

      You're launching into useless hyperbole. Everything can be harmful in excess. You seriously believed that I meant "if one is good, a billion is great?"

  3. Would be really handy by jimbobborg · · Score: 1

    if DISA put out a lockdown script for the various Unix flavors. The Gold Disk they have for Unix breaks shit. But dang if the Windows one works. What's up with that? It's a real pain manually doing this.

    1. Re:Would be really handy by Hyppy · · Score: 3, Insightful

      The DISA gold disk breaks Windows just as bad, believe me. The 100% Gold Disk Standard(tm) is only necessary for the highest security systems, which usually run software designed with gold disk hardening in mind in the first place.

    2. Re:Would be really handy by morgan_greywolf · · Score: 2, Insightful
      Well, the SRR for UNIX released last month is only supported on specific flavors:

      Solaris 2.5.1 through Solaris 10; HP-UX 11.0,HP-UX 11.11; Red Hat Enterprsie Linux 3 and 4; and AIX 4.3. FSO cannot guarantee the accuracy of these scripts if they are used on other UNIX versions.
      That means if you are running any other version/flavor, you're going to need to review the script and modify it as necessary.
    3. Re:Would be really handy by jimbobborg · · Score: 1

      All the SRR for Unix does is check for vulnerabilities. It makes no changes.

    4. Re:Would be really handy by Hyppy · · Score: 1

      Those are the only flavors, as far as I am aware, that the NSA has approved so far for government use in production environments.

    5. Re:Would be really handy by aproposofwhat · · Score: 1

      Well I guess my old Sparcstation's fucked, then - but then again it's only running my CERN proxy, so that's OK :P

      --
      One swallow does not a fellatrix make
    6. Re:Would be really handy by jandrese · · Score: 4, Interesting

      Where did you find a Windows Gold Disk that doesn't make a complete mess of the OS? I'd really like to get that because I've never gone through that process and still have the application the box is designed for work. In fact it's typically worse with Windows because when something gets a permission denied (especially on something like a Registry key), it won't be like Unix and spit out a message like "Error: File /foo/bar: Permission denied", instead your application will crash and spit out a message like "Error: failure" to the system log (and only if you're lucky will it put something in the system error log)". Since locking down windows means changing the ACL on just about everything on the system, it's almost impossible to track down what broke your application.

      --

      I read the internet for the articles.
    7. Re:Would be really handy by Hyppy · · Score: 1

      Completely agreed. One of my sections experimented with the DISA gold disk one time, turning it on in "high security" mode, and it took us 3 days with RegMon and a grab bag of other utilities to revert the system to just basic usable mode. Office XP wouldn't even open correctly!

    8. Re:Would be really handy by morgan_greywolf · · Score: 1

      Right, but the requirements are the same for the Gold Disk, no?

    9. Re:Would be really handy by cromar · · Score: 2, Informative

      You might try (on a test box) the security information/tools CIS (Center for Internet Security) has to offer. I have had good experience with the information for AIX (of all things). They provide automated tools for Windows and a few other OSs.

    10. Re:Would be really handy by Anonymous Coward · · Score: 0

      - Start sysinternals' regmon and or filemon
      - Start the application
      - Wait for it to crash
      - Stop regmon and or filemon and search their logs for 'acces denied'
      - Change permissions for offending entries and or files

    11. Re:Would be really handy by Anonymous Coward · · Score: 1, Funny

      "it took us 3 days with RegMon and a grab bag of other utilities to revert the system to just basic usable mode. Office XP wouldn't even open"

      That's because your system was secured from harmful applications...

    12. Re:Would be really handy by flyingfsck · · Score: 1

      Yup. Everything is more difficult on Windows and configuring a Windoze box for half decent security is well nigh impossible. Consequently, when I need to supply a secure Windows application, I use Wine on Linux.

      --
      Excuse me, but please get off my Pennisetum Clandestinum, eh!
  4. Concrete by Urger · · Score: 5, Funny

    I found encasing the system in steel reinforced concrete made the system much harder. Similar attempts to place end users in the same situation were not as successful.

    1. Re:Concrete by Hyppy · · Score: 3, Insightful

      If you reinforce the concrete properly to create a Faraday cage, you can protect against TEMPEST threats.

    2. Re:Concrete by abolitiontheory · · Score: 5, Funny

      concrete does end users quite nicely though.

    3. Re:Concrete by Anonymous Coward · · Score: 0

      Speak for yourself. I for one enjoy the peaceful isolation. Sure the first 30 years were pretty boring, but one day a few years ago I heard them laying some fiber next to me. I spent the next few months working on my telepathic interface. And I've been trolling slashdot ever since.

      -J. Hoffa, the most secure end user on the planet

    4. Re:Concrete by Chrisq · · Score: 2, Insightful

      I found encasing the system in steel reinforced concrete made the system much harder. Similar attempts to place end users in the same situation were not as successful. I don't know, the Maffia found it very effective in dealing with "security leaks".
    5. Re:Concrete by Smidge207 · · Score: 1

      Agreed. Especially since Windows uses the CE-ME-NT architecture. ::rolls-eyes::

      --
      Is it just my observation, or is eldavojohn an idiot?
    6. Re:Concrete by Anonymous Coward · · Score: 1, Funny

      Don't forget the amontillado.

  5. I don't know. by Anonymous Coward · · Score: 0

    And I don't care.

    1. Re:I don't know. by Anonymous Coward · · Score: 0

      Is slashdot becoming Yahoo! Answers?

  6. Easy by J3M · · Score: 5, Funny

    I use Ubuntu 8.04. It's hardy out of the box.

    --
    Aych tea tea pea colon slash slash slash dot dot org slash
    1. Re:Easy by Culture20 · · Score: 1

      Hardy... Har Har!

    2. Re:Easy by r_jensen11 · · Score: 1

      I use Ubuntu 8.04. It's hardy out of the box. Hardy har har...
    3. Re:Easy by Anonymous Coward · · Score: 0
  7. Is it just me? by Layer+3+Ninja · · Score: 4, Insightful

    Am I the only one that is a bit skeptical of downloading .msi packages from nsa.gov?

    --
    Power corrupts. Absolute power...is even more fun.
    1. Re:Is it just me? by Anonymous Coward · · Score: 1, Funny

      "We're from the government. We're here to help you."

    2. Re:Is it just me? by sticks_us · · Score: 1

      Oh, I don't know...

      There's a strong correlation between the libertarian/independent/freethinker community and the advocacy of Linux and other [F]OSS solutions.

      And yet, doesn't every Linux kernel (2.6 or better) use SELinux [1] ?

      --
      "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth
    3. Re:Is it just me? by AikonMGB · · Score: 1

      "We're here to protect you from the terrible secret of space?"

    4. Re:Is it just me? by been42 · · Score: 5, Insightful
      Am I the only one that is a bit skeptical of downloading .msi packages from nsa.gov?

      I'm not wary at all. Any access they might want into your Windows system was probably built in. I imagine they already have that kind of access to every Windows computer. Anything they can give you to help keep your Windows machine from turning into part of a North Korean botnet can only benefit both you and the government.

    5. Re:Is it just me? by Anonymous Coward · · Score: 0

      Anything they can give you to help keep your Windows machine from turning into part of a North Korean botnet can only benefit both you and the government. And why would we want to benefit the government of a foreign country (especially the USA)?
    6. Re:Is it just me? by mikji · · Score: 1

      Indeed, they've even admitted to "consulting" the nsa while designing it, have a look here: http://www.washingtonpost.com/wp-dyn/content/article/2007/01/08/AR2007010801352_pf.html

    7. Re:Is it just me? by Anonymous Coward · · Score: 0

      Ironically, the software you get straight from the NSA is probably the one without NSA backdoors. Software from third parties may have been compromised beforehand.

    8. Re:Is it just me? by street+struttin' · · Score: 1

      Anything they can give you to help keep your Windows machine from turning into part of a North Korean botnet can only benefit both you and the government. From the stuff I've been reading about storm and kraken, they're not doing a very good job of keeping windows machines off botnets...
    9. Re:Is it just me? by Anonymous Coward · · Score: 0

      It's for your own good, citizen.

    10. Re:Is it just me? by BigFlirt · · Score: 1

      http://support.microsoft.com/kb/255905 MSIs are an open format that you can take apart. Why would you be any more afraid of an .msi package than you would be an rpm or a bff or a jar for that matter?

    11. Re:Is it just me? by valdis · · Score: 1

      I was there while the LSM hooks into the Linux kernel were designed, and while SELinux got started (you guys think it's hard to use now, you should have seen the *first* few releases).

      Rest assured that although a good 1/2 to 2/3 of the work came from NSA staff, the people involved were competent, and understood the importance of peer review in security design. So the NSA guys didn't get any code or policy in there that didn't get reviewed by a good number of non-NSA people who had reason to expect and look for underhanded code.

      And strictly speaking, you *can* build a 2.6 kernel without SELinux - in fact, if you're using the AppArmor or SMACK or Tomoyo security modules, you need to build it without SELinux (basically, the composition of two different security models is not a well-understood field, and fraught with danger. Consider two modules, each of which denies access to the /sys file that disables the other... Whoops). What you can't easily opt out of is the LSM hooks (although even *that* is doable if you're clever and understand Kconfig).

  8. Very effective by hal9000(jr) · · Score: 4, Informative

    System and network hardening is very effective. By hardening, I mean doing things like removing unnecessary services and applications; configuring the remaining services to be as featureless as possible while still doing what you need; examining the remaining service and application configurations and making changes to improve reduce features and employ security measures like encryption, etc; utilizing what ever access controls are available in the most strictest sense.

    That is just a start. Now you also have to monitor the activity on the host or network to detect any changes or indicators of malicious behavior.

    Hardening is easier to do with servers because servers tend to have more stable configuration requirements and less user touch. Workstations and desktops are more difficult. You can lock down a windows host very tightly using the GPO and other OS tools. You can also buy other applications to fill gaps. Financial institutions, for example, often have very tight workstations. In most other organizations however, users are used to having more control and the pain of locking down a workstation compared to the outcry IT will receive normally leads to looser standards.

    1. Re:Very effective by Anonymous Coward · · Score: 0

      wow... 'looser' used in the correct manner on the internet

      mod parent up!

  9. Everyone knows... by neokushan · · Score: 4, Funny

    The best kind of security is obscurity! So batten down the hatches by ditching your fancy *nix/BSD servers and get those old Amigas you have stashed in a loft somewhere up and running. Bonus points for using a C64.

    --
    +1 IDisagreeSoHeMustBeATrollOrAnAstroturferOrAShill
    1. Re:Everyone knows... by Bert64 · · Score: 3, Interesting

      There were some security advisories for Amiga Unix a few years ago, Yes, Commodore made a unix variant of the Amiga which is extremely rare.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    2. Re:Everyone knows... by sm62704 · · Score: 5, Funny

      I use security through obsolescence. Nobody's going to crack my ENIAC clone!

      --
      mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
    3. Re:Everyone knows... by tobiasly · · Score: 1

      So batten down the hatches by ditching your fancy *nix/BSD servers and get those old Amigas you have stashed in a loft somewhere up and running.

      Judging by how well the NSA.gov website is (not) handling being Slashdotted, I'm guessing that's exactly what they did.

    4. Re:Everyone knows... by Anonymous Coward · · Score: 0

      this is /. nobody RTFA

    5. Re:Everyone knows... by idiotnot · · Score: 1

      Hey now, that Amiga if not being used as a Video Toaster, makes a pretty damn good BSD machine. :-)

    6. Re:Everyone knows... by DMUTPeregrine · · Score: 1

      Nobody reads it, but everybody clicks the link (or has prefetching on.)

      --
      Not a sentence!
    7. Re:Everyone knows... by telbij · · Score: 1

      Yeah, good luck running a dictionary attack on that bad boy.

  10. The Network guides are nice by Facekhan · · Score: 4, Interesting

    I've used the network equipment guides to harden routers and switches before and they are very handy.

    I can't speak to how well they withstand attacks after that but if you follow their instructions an nmap scan basically reveals no open services (ssh ports have their own access lists)

    I prefer the guides to tools like RAT because auditors get so out of date that you end up chasing down their rules to find out they don't even know about the last few years of security enhancements. Cisco's Output Interpreter is also good for advice on hardening your devices.

    1. Re:The Network guides are nice by Hyppy · · Score: 3, Interesting

      I've found the NSA Cisco hardening guides to be amazing. I could hand the guide to a help desk tech we were training to be a netadmin, show him how a console cable works, and he would have a functional and secure test network of a few devices running in no time.

    2. Re:The Network guides are nice by JFitzsimmons · · Score: 1

      Do you have a link to them?

      --
      Beware he who would deny you access to information, for in his heart he dreams himself your master. -Anonymous
    3. Re:The Network guides are nice by Hyppy · · Score: 4, Informative

      Ask and you shall receive...

      Cisco Routers
      Cisco Switches

  11. Everyday user? by MosesJones · · Score: 1, Interesting

    First off the article talked about Snort, which I can't quite see my wife using it then moved on to talk about the development lifecycle not a major part of her internet and PC experience. The NSA files, while useful, are huge (the Mac OSX 10.3 one is 2.5MB) and I can't see the everyday user trawling through that. Its only for Vista that it is really viable as it says use the MS settings as these follow the NSA guidelines.

    So in summary the only everyday users who could do this are those using Vista.... an unusual plug for Redmond from Slashdot.

    --
    An Eye for an Eye will make the whole world blind - Gandhi
    1. Re:Everyday user? by Torvaun · · Score: 1

      Slashdot doesn't really cater to the everyday user.

      --
      I see your informative link, and raise you a pithy comment.
    2. Re:Everyday user? by Hyppy · · Score: 2, Informative

      The Windows XP guide is also available, though they also point to the MS guides since they have become very good. If nothing else, a quick glance through the services to disable can be helpful.

    3. Re:Everyday user? by Aram+Fingal · · Score: 2, Informative

      I read through the NSA guide for OSX 10.3 and it's surprisingly basic. Most of it just repeats common advice on Mac security that you can get from a number of places. Some of it covers things that the average user wouldn't do like disconnect the microphone so that a spy can't hack in, activate it and listen in on your conversations. The one part which I thought was good was the section on when and how to use the Keychain.

  12. What happened to by Capt+James+McCarthy · · Score: 0

    The days of "Security through Obscurity?" I just wonder if it's more or less prevalent today then in years past.

    --
    There are no loopholes. It's either legal or it's not.
  13. There's no perfect safety ... by richg74 · · Score: 4, Insightful
    There is an often-repeated old story that is pertinent here:

    Two guys are out on a hike in the forest. They go around the corner of a rock outcropping, and are confronted with a grizzly bear, not far away, who immediately springs toward them. The first guy starts running away. The second yells after him, "You damned fool, you can't outrun a grizzly bear!" The first says, over his shoulder, "I know -- but I can outrun you."

    Your house doesn't have to be impossible to break into; it helps quite a bit if it's just harder than your neighbor's.

    1. Re:There's no perfect safety ... by Anonymous Coward · · Score: 3, Funny

      I heard that story from a Chinese, but the bear was a testicle-eating wild pig. Much better story

    2. Re:There's no perfect safety ... by jandrese · · Score: 2, Insightful

      The problem is when your site is "email.whitehouse.gov" and the other guy is "conglomerated-ironworks.com". One of which is going to be a much bigger target no matter how much extra security you have.

      --

      I read the internet for the articles.
    3. Re:There's no perfect safety ... by dpilot · · Score: 1

      But what if the bear is bored, not hungry. He doesn't want a meal, he wants the chase and the kill.

      To shift metaphors, I've heard that the way to handle canine attack is to get down on the ground and bare your neck. It's a submission symbol, and they generally respect it. Plus they can outrun and outbite you. Of course I've never tested this personally, and I've usually been able to intimidate dogs just by acting intimidating. (I once intimidated a pair of nasty looking German shepherds, until their owner came out with a gun and intimidated me.)

      --
      The living have better things to do than to continue hating the dead.
    4. Re:There's no perfect safety ... by WNight · · Score: 2, Funny

      Yeah, who'd hack the whitehouse? They've deleted all their own email and sensitive documents years ago. Now that ironworking company, that sounds interesting...

    5. Re:There's no perfect safety ... by Anonymous Coward · · Score: 0

      Two guys are out on a hike in the forest. They go around the corner of a rock outcropping, and are confronted with a grizzly bear, not far away, who immediately springs toward them. The first guy
      starts running away. The second yells after him, "You damned fool, you
      can't outrun a grizzly bear!" The first says, over his shoulder,
      "I know -- but I can outrun you."


      Your house doesn't have to be impossible to break into; it helps quite a bit if it's just harder than your neighbor's.

      This might be true were computer programs or black hats grizzly bears. But, try as one might, nothing is going to make a program, malicious or otherwise, satisfied at it's first victim, or it's 1024th. So, this is a fallacious argument in terms of computer security.
    6. Re:There's no perfect safety ... by jcgf · · Score: 1

      They can out run and out bite but if they have a collar on, you've won. Just grab the collar and put some weight into it, you'll find that you can hold their teeth away from you.

    7. Re:There's no perfect safety ... by daigu · · Score: 1

      Yeah, I've heard that story too. The problem is that bears have an instinct to chase something running from them - such as weaker bears. So, if the other hiker stands still and gets out of the way, he doesn't become part of the race where at least one human is going to lose.

    8. Re:There's no perfect safety ... by thanatos_x · · Score: 1

      Might I suggest an alteration...

      Two guys are walking around, one has hurt his leg. They run into a zombie. The one without injuries runs, leaving his friend behind.

      He now needs to outrun two zombies.

      For targeted attacks, yes, having better security means attackers will likely pick easier targets. Since botnets carry out a fair portion of attacks though, the average computer user having better security means everyone has better security.

      --
      I am not an expert. If I am misled in something, please correct me.
    9. Re:There's no perfect safety ... by Anonymous Coward · · Score: 0

      I don't have to outrun you if you are slathered in trout and honey. "faster than the other guy" only works on non-targeted attacks.

    10. Re:There's no perfect safety ... by legirons · · Score: 1

      How does that work if the bear can chase a million victims at once, like botnets can with PC vulnerabilities?

    11. Re:There's no perfect safety ... by Anonymous Coward · · Score: 0

      That's just a poor translation from the original Japanese. It was actually a tentacle wielding boar god. And the two guys were schoolgirls.

  14. How hard is it to get any real work done on locked by Joe+The+Dragon · · Score: 1

    How hard is it to get any real work done on super locked done system with out a lot of dead time waiting for IT to unlock what you need to get your job done?

  15. allow execution of only known good binaries by Anonymous Coward · · Score: 1, Interesting

    allow execution of only known good binaries

    one good tool out there is from solidcore.. it is being used in Point of Sale devices, ATMs and production servers in some big enterprises..

    works on windows* and unices..

    -Yv

    1. Re:allow execution of only known good binaries by tepples · · Score: 3, Interesting
      Anonymous Coward wrote:

      allow execution of only known good binaries But who declares a binary "known good"? And how well do you expect your method to scale down to home and small-office PCs?
    2. Re:allow execution of only known good binaries by Hyppy · · Score: 2, Insightful

      You can do that with group policy, but its very time-intensive. Basically, you whitelist your approved binaries by filename with a hash to ensure people don't just rename their game "explorer.exe"

    3. Re:allow execution of only known good binaries by Anonymous Coward · · Score: 0

      yes.. white-listing with full-scan is one approach with lots of overheads, but there are other techniques to avoid overheads...

      about who decides what is good.. is you decide it... get your software from only known good sources and then white-list all executables it has.. any executable not in white-list can be denied execution.. & this can be extended to even shell/perl/.. scripts

      -Yv

    4. Re:allow execution of only known good binaries by tepples · · Score: 1

      about who decides what is good.. is you decide it... get your software from only known good sources Right. In the case of a business, the IT administrator can sign binaries for use on production systems. But my question was this: how can one expect the median home user to determine what are "known good sources"?
  16. Re:How hard is it to get any real work done on loc by abolitiontheory · · Score: 5, Insightful

    A lot more work and a lot less dead time than waiting for IT to resurrect a completely fsck'd system, maybe?

  17. Re:How hard is it to get any real work done on loc by trolltalk.com · · Score: 2, Interesting

    You could always bring in a lappy and do like this guy did ...

    • 1. Find unsecured wireless router
    • 2. Secure it with your own ssid/password
    • 3. PROFIT - charge to "fix" the problem

  18. Re:Lunix bailout by big daddy gubment by bkr1_2k · · Score: 4, Informative

    The NSA doesn't really care about hardening your system, they care about their own, first and those of the other US government agencies after that. They produce these guidelines to be used by other agencies, and contractors for use on systems that the NSA will then purchase.

    As for backdoors, I don't know that they've created any code to secure the system, just produced a set of rules and guidelines that help people know what to secure and how.

    --
    "Growing old is inevitable; growing up is optional."
  19. Just because you're inept at systems management by apparently · · Score: 2, Insightful
    doesn't mean that an IT professional is inept at locking down systems without impacting a firm's ability to do business.

    How hard is it to get any real work done on super locked done system with out a lot of dead time waiting for IT to unlock what you need to get your job done?

    So kindly go fuck yourself with your condescending attitude.

  20. Re:How hard is it to get any real work done on loc by gbjbaanb · · Score: 1

    its really easy. What's difficult is to get "real" work done on a locked down system.

    Security hardening is all about removing unnecessary facilities. So obviously whatever is left is necessary for you to do your job, if not then the security guys/procedures didn't do their analysis well enough.

    Of course, what they think is necessary and what you think is "necessary" may not be quite the same thing....

  21. holy crap by Trailer+Trash · · Score: 1

    Am I the only one who is surprised that the nsa uses coldfusion?

    1. Re:holy crap by Anonymous Coward · · Score: 0

      No, I've demonstrated at one of my jobs how to rip off customer information from sites hosted on Windows using ColdFusion, if you can get a site hosted on the same machine. It was trivial. ColdFusion runs as System, IIS validates your user (authentication) and passes control to CF, CF grabs whatever (no authorization check, you don't need permission), if it's not CF it passes it wholesale. A site using an MDB as an e-commerce database with Windows NT permission protections... well, I owned the MDB, all those credit card numbers, I got financial.xls, employer didn't think it was an issue.

      I don't see why NSA uses ColdFusion. I haven't found attacks for the Linux version for lack of having it around to play with. The attack I had worked for shared hosting or anything else where you need authentication and have separated access (i.e. not every user has access to the same data).

  22. Best System Defense by Anonymous Coward · · Score: 0

    I have found one sure-fire method to secure a system and prevent ANY known or unknown attacks.

    Remove the black cable in the back with the prongy thingies. There, problem solved.

  23. Old Guides by Anonymous Coward · · Score: 0

    If you look at the browser guides, they are from 2003. Not very relevant today I would say.

  24. works ok for me by myxiplx · · Score: 3, Interesting

    Basic hardening of a windows system has stood us in good stead here. IE's locked down so sites can't run scripts. CD-ROM drives are disabled, users can't install USB thumb drives. All e-mails and internet access is filtered.

    It's not perfect by a long shot, but it's good enough that we've not had a sniff of a virus or malware outbreak in getting on for three years now. Hell, we don't even consider it necessary to install most MS updates straight away. We let other people do the testing, and roll them out via WSUS 3-6 months later.

    1. Re:works ok for me by Anonymous Coward · · Score: 0

      [quote]IE's locked down so sites can't run scripts.[/quote]
      They can, due to escalation via ActiveX, which in turn can be always used due to internal policy overrides. Not that this would be needed, there are a lot of buffer overflows in the CSS parser and DOM handling, heck even the FTP protocol implementation is left vulnerable.

      Long story short, with IE you have already lost in first place. What about using a real webbrowser instead? Especially Mozilla/Seamonkey has a very good deployment facility (though does not integrate with Group Policies).

    2. Re:works ok for me by Anonymous Coward · · Score: 0

      With that little functionality left on your workstations, did you consider using Thin Clients? If so, why did you choose to remain on PCs but lock them down instead?

    3. Re:works ok for me by bzipitidoo · · Score: 2, Insightful

      How many cases have you had of users not being able to do work, or being greatly inconvenienced and slowed thanks to those security measures?

      How about incidents where users bypassed security? Like, how have you disabled the CD? Went into the BIOS setup and simply disabled the IDE interface it's connected to? And why are you even using IE?

      You're a good way down the path of just not allowing the use of computers at all.

      --
      Intellectual Property is a monopolistic, selfish, and defective concept. It is "tyranny over the mind of man"
    4. Re:works ok for me by myxiplx · · Score: 1

      lol, not at all. Users work comes first, otherwise I'm not doing my job am I. Haven't had any complaints at all, every web page users need for their job works, we have enough game sites working to keep them happy over lunch, and the programs they need for their job work perfectly because their computers aren't full of crap.

      CD-ROM drives are disabled by disabling the windows device driver. Users don't have admin rights so they can't re-enable them. They used to be locked in the bios, with bios passwords. Never had a user try to work around that, but it's not a great solution. Disabling the driver is far neater.

      We're using IE because our Intranet software requires it, no choice in that. However, with security zones and javascript disabled it's surprising how secure you can make it.

      "You're a good way down the path of just not allowing the use of computers at all."

      LOL. Network security doesn't mean it stops users working. Done well they don't even notice it. Our computers are controlled by IT, the staff know that, but they also know that the computers are their to help them in their jobs, and any requests are generally accommodated pretty quickly by IT.

    5. Re:works ok for me by myxiplx · · Score: 1

      I love the way everybody assumes there's little functionality :) We have over 100 software programs in use, it's just users have to ask IT to configure them.

      But yes, we are looking at Thin Clients. Costs have finally come down to a point where they are competative with PC's, we're just waiting for the right SAN / NAS technology. We'll probably rolling them out to most people in 12 months. Unfortunately the CAD workstations won't work as thin clients yet.

  25. define "effective" by darkuncle · · Score: 3, Insightful

    system hardening is effective at defeating certain classes of attacks. that said, most security breaches are NOT due to fancy footwork with memcpy or other low-level wizardry. They're due to either:

    1) improperly designed trusts between systems (e.g. the Internet can't talk to my database server, but my webserver has full access; when my webserver is compromised, the contents of my database are toast as well). Networks designed to fail safely and gracefully, with liberal application of the principle of least privilege, help mitigate this kind of risk.

    2) stupid user tricks (I place social engineering in this category, along with phishing and the majority of email viruses). There is no technical solution for this essentially social problem - education helps, sane and safe defaults help tremendously (every unnecessary feature is an additional security risk, and the risk compounds as features are added), software policy approaches like ACL/MAC/UAC/RBAC help ... but in the end, users just want to do whatever it is they're using the computer for. If an attacker can convincingly pretend to be legitimate, or present a convincing enough temptation, users will bypass, override or disregard any level of protection. Vista's UAC is the canonical example here - great idea foiled by end users (granted, the implementation was almost guaranteed to train users to eventually ignore the constant repeated warnings).

    --
    illum oportet crescere me autem minui
    1. Re:define "effective" by bzipitidoo · · Score: 1

      I don't like the way security has been trumpeted and politicized since 9/11. Security is so all encompassing that anything can be characterized as a security issue. Security enhancement is the ultimate hammer for every problem. We have wasted a lot of time on a patchwork fix-as-we-go stance. In the other extreme, we've spent a lot of effort going for too much in OSes. SELinux is a case in point. Yeah, sure it can really lock down and separate things, but the overhead paid in administering the box, managing all those policies, isn't worth it. Not when for much less money, can just buy a separate box and use the old "air gap" method.

      If we could focus on fixing bugs and not see everything through the lens of security, we could gain a whole lot of reliability, and security without having explicitly sought more security. When microkernel architecture can't get any traction because ultimately usability and performance are more important, it suggests we're taking the wrong approach. We should be working on microkernels because of their promise to deliver a more stable, reliable OS at the same levels of performance as a monolithic kernel. The last thing we need is to ruin a microkernel OS by something like adding a "memory wipe" to the OS's memory management functions that spends precious CPU cycles on zeroing out memory every time it's allocated or freed. That sort of "security" too easily gets thought of as just a necessary part of microkernel architecture, with the result that people begin to think microkernels must by necessity run about 10% slower. Then there are the hordes of shysters that are only too eager to cover up problems by making the ludicrous claim that it'd reduce security to have things inspected. Voting machine vendors come to mind rather quickly on that point. QNX I believe emphasizes reliability, not security.

      --
      Intellectual Property is a monopolistic, selfish, and defective concept. It is "tyranny over the mind of man"
    2. Re:define "effective" by darkuncle · · Score: 1

      If we could focus on fixing bugs and not see everything through the lens of security ...


      This is exactly the approach that e.g. the OpenBSD dev team takes - all bugs are squashed with equanimity. They don't consider bugs to be "less critical" because they don't represent an apparent security threat or come with an obvious exploit. This kind of consistent code-review housecleaning has the nice side effect of avoiding many security holes before they are even discovered. (See http://www.openbsd.org/security.html for more on this philosophy.)

      But the point of my original post was that kernel architecture and other technical issues NOT our collective big problem when it comes to security: the most pernicious, most easily and frequently exploited, and most difficult to patch holes are human in nature. Whether it's social engineering (e.g. phishing) or bad architecture (unnecessary features, trusting in the firewall for all your security, etc; see my previous post), humans (both users and engineers/admins) are the biggest source of risk to infrastructures large and small (down to and including the home desktop user).

      Unfortuantely, there are very few technical solutions to problems in this space.
      --
      illum oportet crescere me autem minui
  26. Re:Lunix bailout by big daddy gubment by Anonymous Coward · · Score: 0

    The NSA's a bunch of perverts!

  27. Re:Hardening by icebrain · · Score: 1

    Am I the only one who first thought the article was referring to hardening systems against EMP effects from a nuclear event?

    --
    The meek may inherit the earth, but the strong shall take the stars.
  28. Marcus Ranum's got them beat... by argent · · Score: 1

    You can completely prevent unauthorized access with Marcus Ranum's ultimate firewall!

  29. Re:Ahh yes, ABSOLUTELY (Windows & *NIX too) by Anonymous Coward · · Score: 0

    It is, & even for Windows NT-based OS of modern variety (although there is a HUGE "Pro-*NIX" slant to this website)!

    See here:

    ----

    HOW TO SECURE Windows 2000/XP/Server 2003 & even VISTA, & make it "fun to do", via CIS Tool Guidance:

    http://www.security-forums.com/viewtopic.php?t=50567&sid=844e3c38a7f319ce1d05fd2ffd671294

    ----

    It just works... & CIS Tool is NOT JUST RESTRICTED TO Windows either (though that post url/thread above goes into way, WAY more you can do for Windows (or really *NIX too in some regards also), but also has models for Sun Solaris, various Linux distro variants, & BSD variants as well!

    Enjoy!

    APK

  30. Re:Lunix bailout by big daddy gubment by fuzzyfuzzyfungus · · Score: 4, Informative

    The NSA, and state entities in general, has an interest in increasing security, even though it sometimes makes its job less convenient. The reason is pretty simple: Insecure systems can be broken by anybody with sufficient knowledge and motivation, NSA, spammers, organized crime, foreign intelligence services, etc. Secure systems can be broken by a search warrant, only available to state entities.There are, I'm sure, a number of exceptions to this trend; but for something like computer security, the government's best interests are pretty clear.

    The rest of your post is probably trolling; but what the hell, I'll answer it anyway: SELinux added Mandatory Access Control abilities to Linux. These are very useful, and very powerful, security features and it is definitely good that Linux now has them; but it is hardly the case that any OS without them is necessarily insecure.
    As for the "handout" angle, SElinux was certainly a handout for Linux; but it was also the cheapest and most effective way for the NSA to make MAC widely available in a short period of time. The objective of the program was a handout of security from the NSA to other entities. The handout to Linux was just the easiest path to that objective.

  31. Re:Lunix bailout by big daddy gubment by AmaDaden · · Score: 1

    it was only until recently that Teh Lunix became a secure OS
    There is no such thing as a secure OS. Security is relative. People have been saying that Linux has less known security holes then Windows. Thus it is more secure. Does this have something to do with Linux not being the top OS? Of course, but that does not change the numbers. Linux is harder to hack.

    Your tax dollars at work, fixing a horribly insecure OS.
    This was basically work on the internal govt systems, you know the ones that hold all your personal information. They realized that with some work the could make an OS that is more secure then any of the ones they can currently get. Since they could not get their hands on the Windows code Linux was the obvious choice.
  32. Re:Lunix bailout by big daddy gubment by Anonymous Coward · · Score: 0

    The NSA doesn't really care about hardening your system, they care about their own, first and those of the other US government agencies
    No, the NSA is specifically tasked with protecting private US financial interests.
  33. Some people can build secure servers, not desktops by ChrisA90278 · · Score: 1

    Just How Effective is System Hardening? It can be very, very effective. But the problem is the average end user completely lacks the skills and time to do this and I'd say the average sysadmin is not much better off. But if you do take the take to read up and set up services runing inside (say) Solaris "containers" or on xen under link and get all you access lists set up and fire wall rules do at the IP address level you can build a very secure server. I've seen server farms run for years without a problem

    But the unsolvable problem is social enginerring and Trojans. When so guy is told that if he runs this program he will get access to free goatporn, he runs it and it seems to work but in doing so maybe he has in effect openned up his machine to remote access. No good way to fix this if thr attacker is good and uses ports that need to be left open, like https.

  34. short answer, NO by RiotingPacifist · · Score: 1

    Linux kernel has no integrated security it has some security layer that gives all security systems access (or it can, its recommended to compile without it if you dont use it as otherwise a rootkit could use it).

    SElinux sure it could have a NSA back-door, probably doesn't, but a lot of distros dont use SElinux instead they opt for apparmor, or nothing at all, or other security measures ( PAX, etc)

    --
    IranAir Flight 655 never forget!
  35. Re:How hard is it to get any real work done on loc by hal9000(jr) · · Score: 2, Informative

    If your IT admins locked the system down to the point that you can't get work done, they have failed and you, or your boss, have the obligation to raise the issue.

    Responsible IT departments will can configure your systems while still allowing you to work. mike

  36. Re:Lunix bailout by big daddy gubment by RiotingPacifist · · Score: 2, Informative

    Hardening has been around for years
    SELinux
    RSBAC
    PaX
    Grsecurity
    Bastille
    apparmor

    are not new, its just that they are finally getting into the mainstream distos, if you wanted a secure linux system you could of had one 5/10 years ago, its just you had to actually do it yourself.

    --
    IranAir Flight 655 never forget!
  37. the "Effect" by certain+death · · Score: 0

    It looks like the NSA site is taking a good slashdotting...it is mighty slow loading.

    --
    "My immediate reaction is "WTF? What kind of moron doesn't make things 64-bit safe to begin with?" Linus
  38. Yes, it's just you by Sloppy · · Score: 2, Insightful

    Am I the only one that is a bit skeptical of downloading .msi packages from nsa.gov?

    Probably. What risk does it introduce, which you didn't already have?

    .msi packages are only used by one OS. If you're using that OS, then you have already made the decision to blindly and fully trust a party who is utterly unaccountable to you, whose work cannot be audited by you or anyone you designate, and who has already demonstrated that they create their software to serve interests that directly conflict with your own. (And do you really think the maker of your OS wasn't already subject to possible coercion by NSA, prior to the CDs getting pressed?)

    The situation simply cannot get any worse from the perspectives of security and trust, so what is the downside? You might as well let NSA patch things to oppose their competitors' access. A machine with one master that is potentially hostile to you, is better than a machine with multiple masters that are potentially hostile to you.

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  39. Re:Ahh yes, ABSOLUTELY (Windows & *NIX too) by Anonymous Coward · · Score: 0

    Using '&' everywhere doesn't make your posts easier to ready, FYI.

  40. Re:Lunix bailout by big daddy gubment by Corwn+of+Amber · · Score: 1

    Not to troll, but MACs can and do break bad software in Linux, and prevent non-bad software from operating properly.
    Bad sofware = not malware, there is none in linux and every F/OSS project that includes any gets posted on Slashot Front Page. Bad Software on linux is Oracle, for one. And each, every, all Big Commercial Program. They're coded like the OS is a platform they must code around, so they refuse to run on "hardened" systems.
    Non-bad software operating non-properly : if it's not SELinux-aware, it WILL break at some point : "Resource refused, please crash." I'd happily try WINE on that.

    Not to mention that the NSA are the only ones who can write a SELinux policy. Or even modify it. SELinux : use at your own risk. But if any software asks for a resource that SELinux denies it, then, rewrite the program. It's much, much easier than tweaking an SELinux policy. It's like they're written in Malbolge, but harder to modify. At least you can disassemble what the Malgolge interpreter does, but SELinux is about as painful as SQL in MS Access : it's written right, but refuses to run, or to do what it's supposed to.

    SELinux is not "a hardened Linux". It's a different OS, one that is not 100% compatible with Linux software.

    The one platform I'm accepting to believe to be secure, like in "Hey, we solved security", is Microsoft Singularity. It's provably secure. Design by contract, analyze everything, deny by default, totally self-contained programs, you name it, it's in there.
    The other Secure Platform is OpenBSD. But there, it's secure "by default", not because it's designed around the concept of security. (Proof : it's a Unix, not an OS designed from scratch using secure languages, platform, toolchain, etc.)

    --
    Making laws based on opinions that stem up from false informations leads to witch hunts.
  41. Re:Lunix bailout by big daddy gubment by sgt+scrub · · Score: 1

    if you wanted a secure linux system you could of had one 5/10 years ago, its just you had to actually do it yourself.

    isn't that the way linux should be. having a guide line is exactly what you want when your starting out to do just that.

    as far as how effective it is, i'd have to say it is good stuff too bad few people are ready for it. it would be great if everyone was to the point hardening the system is their weak spot but it isn't. IMHO most Linux machines don't get owned because they are administrated by newbies that don't keep the system up to date. they are administrated by lazy admins that don't even try to use a good password. web based applications that have exploits in them can be thwarted with selinux et el but it don't do $h1t if the root password can be guessed after a two hour ssh brute force attack.

    --
    Having to work for a living is the root of all evil.
  42. Actual system hardening works nice... by bluefoxlucid · · Score: 1

    Back in 2000, some guy wrote a software patch to the Linux kernel called PaX that emulates an NX bit via marking data pages as "Supervisor" (requiring the kernel to approve TLB loads for them, basically). This quickly grew to include a policy about how a program can set memory protections (no write/execute memory), address space layout randomization, and a faster NX emulation mode; as well as support for multiple CPU architectures including those with hardware NX bits.

    A bit before that, Crispin Cowen of Immunix wrote StackGuard, which evolved into IBM's ProPolice via Hiraoki Itoh and Kunikazi Yoda of the Tokyo Research Lab, and then later into the -fstack-protector option in gcc.

    Years later, SELinux incorporated protections 'execmem', 'execstack', 'execheap', and 'execmod' to imitate the PaX policy. Linux also incorporated a lower entropy implementation of ASLR, and utilization of hardware NX on x86 in PAE mode where available. Microsoft, as part of the Glepnir project, incorporated a system to actually utilize a hardware NX bit, along with ASLR using a cryptographically weak random number generator.

    PaX still does the job best, with detection of ELF .text relocations and trampoline (nested function) emulation as well as stronger address space randomization. Still, it and all the others have an issue with Java and .NET platforms since they prevent runtime code execution-- and those JIT compilers generate code at runtime and execute it! They also link to native libraries (written in C...), which don't benefit from these protections (wow).

    The strongest middle-ground you have is strong ASLR and that's it. You could NX protect the stack and prohibit making it and the heap executable, and keep program code loaded from files non-writable; but you still need a write-execute mapping or a multiple-mapping pair where one mapping is writable and the other is executable (backed by the same physical memory). In any of these cases, defeating the ASLR will allow the attacker to locate these unprotected areas. Of course, you do restrict it down to just those areas...

    Once all this stuff comes into play, certain classes of attacks fail. These include anything requiring advanced knowledge of address space layout and/or the ability to inject your own executable payload (code) into the target. Buffer overflows and the like become a DoS, but nothing more.

  43. Re:Lunix bailout by big daddy gubment by failedlogic · · Score: 1

    I'd just add, there may be an interest in securing home-user systems. There's the issue of course, of SPAM, botnets and viruses. SPAM causes a lot of corporations and governments millions of dollars to filter (so in someway, through indirectly it might help the economy). Botnets and viruses usually effect unsecured home system which are then used to attack somewhat surreptitiously the targets mentioned before.

  44. Minus Keyboard and Mouse by Cryacin · · Score: 1

    Seems to have fixed the entire pesky security/virus vulnerability. That and removing the power cord from the back of the PC.

    Unfortunately production seems to have slowed by about 10%.

    --
    Science advances one funeral at a time- Max Planck
  45. Re:Lunix bailout by big daddy gubment by discogravy · · Score: 1

    only insofar as it's in the best interest of the nation that our "private US financial intersts" not hit rock bottom and die. There's no "keep wal-mart's servers up!" directives, I'm betting.

  46. Defense in depth by stanjam · · Score: 1

    Hardening is just one step. Alone it will do a little to increase your security stance. However it will not protect you from everything, especially the untrained user downloading bots onto your system. So yes, hardening can help secure your system against some attacks, but you are better off by far not stopping there. Use Defense in Depth, also known as a layered approach. Harden your system, use a firewall, use anti-virus/malware, intrusion detection, and educate all users about safe browsing habits.

    --
    Open Source: Eroding the Digital Divide
  47. Re:Lunix bailout by big daddy gubment by Anonymous Coward · · Score: 1, Informative

    "Since they could not get their hands on the Windows code Linux was the obvious choice." - by AmaDaden (794446) on Tuesday May 13, @12:04PM (#23391860) Oh boy, another "slashdot sheep" following the crowd, & the F.U.D. dept. @ this website, spreading around yet MORE "propoganda", without knowing what the hell he's talking about!

    NEWFLASH:

    Windows already had ACL level control down to the lowest levels ( & easily implementable via group policies &/or GUI tools in MMC.exe via snapins, regedit.exe, & explorer.exe also ) as well, in the OS since day #1 in Windows NT-based OS!

    (Whereas Linux did not ( just like Linux didn't have true threads @ kernel level, iirc, prior to kernel build 2.4x, into usermode initially & thus, it was NOT fully SMP ready ) & Linux had to have it later"bolted on" - all Linux had was chmod for example before SeLinux MAC was put in ).


    Please - Get informed first, before shooting your mouth off with yet more Linux/Pro-Penguin F.U.D. & misinformation!

  48. Re:Lunix bailout by big daddy gubment by Anonymous Coward · · Score: 0

    No, keeping Wal-Mart's servers safe from signals intelligence is exactly what I was talking about. This is part of the duel role that they serve: conduct signals intelligence, and protect US interests from signals intelligence work being done by the other guy.

  49. Re:Lunix bailout by big daddy gubment by AmaDaden · · Score: 1

    That's all well and good but it has nothing to do what what I just said. I'm not going to, and was not trying to, pretend to know about what kind of security measures Windows has that Linux does not have and vica verca. The point I was making was 1)Linux has had and does have less KNOWN issues. This makes it statistically secure, as opposed to time tested secure as we would like. Even if this is not true it does not matter because...2)No matter who had less issues they only OS they could fix was Linux because it was open. Windows could be near perfect but if they were unable to fix issues that could come up they would have their hands tied. The govt HATES stuff like that. They want to be in control, so they went with Linux. Plus it's clear from what was done they were ready to spend the time and money to make what ever they were using rock solid.

  50. Re: ENIAC clone by voxluna · · Score: 1

    Doesn't it suck having to apply your Windows Updates via punch cards?

    --
    "A witty saying proves nothing." -- Voltaire
  51. Re: ENIAC clone by sm62704 · · Score: 1

    Are you kidding? Punch cards are way too advanced a technology. You program your ENIAC by plugging and unplugging wires.

    And Windows? If I was running Windows, even my ENIAC clone wouldn't be secure!

    And als*7)87&*&(*&(*&)(*[no carrier]4$%^&^%[connect]ave to change a vaccuum tube once in a while.

    --
    mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest