Slashdot Mirror


Debian Hardened Aims For Security

larryg writes "Debian Hardened is a new project that wants be an official Debian sub-project. It aims to provide a complete tree of hardened kernel and software packages for a standard Debian distribution, without changing to another like Adamantix and making easy the hardening of any machine running Debian GNU/Linux. The hardened kernels use the grSecurity patch and some of the Adamantix kernel patches; also, its packages are compiled with the ProPolice/SSP gcc extension and some libraries to prevent and trace buffer overflow attacks. Also, and as a second project, we are working on some enhacements against the Linux Entropy Pool engine, using an external TRNG (True Random Numbers Generator) device which uses thermal noise and also the atomic decay from a Geiger counter, making true unpredictable random numbers."

167 comments

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

    Cant wait to use it with my Lexar JumpDrive loaded with security sofware against hackers.

    1. Re:Cool by nbert · · Score: 1
      Cant wait to use it with my Lexar JumpDrive loaded with security sofware against hackers.

      Do these feature a Geiger counter?

  2. Hardened Gentoo by Anonymous Coward · · Score: 5, Interesting

    Doesn't provide as many choices or the technological /security understanding of Hardened Gentoo
    (not to mention the very similar name)
    http://hardened.gentoo.org

    1. Re:Hardened Gentoo by Aardpig · · Score: 4, Insightful

      Doesn't provide as many choices or the technological /security understanding of Hardened Gentoo

      While I confess to being a hard-core Gentoo nut, isn't choice often the mother of all fuck ups? What's wrong with doing one thing and doing it right?

      --
      Tubal-Cain smokes the white owl.
    2. Re:Hardened Gentoo by gl4ss · · Score: 4, Insightful

      soo.. what you're telling me is that just by using gentoo you gain magical insight into understanding secure systems and how security is built from ground up?

      gentoo is nice and all, but it certainl doesn't make it's users magically understand the underlying system. btw, just because you can copy and 'discuss' compiler flags on a forum doesn't make yourself an expert on building fast software or make you understand what kind of speed ups are even technically possible and of all things it doesn't make you magically understand how software is executed at run time or the operating system built so you could see that saying stuff like "my mozilla has no ps/2 support" doesn't really show you in good light.

      one choice in reducing possible user fuckups is reducing easy user choices("do you want to have a theoretical speedup by disabling using shadow file y/n?").

      --
      world was created 5 seconds before this post as it is.
    3. Re:Hardened Gentoo by Stevyn · · Score: 4, Insightful

      Because people disagree what is the right way of doing it. I share some frustration that the choice offered of using linux makes some things more complicated than on a windows machine. But in the end, it just generate more competition, which is what has been killing the software industry for the past few years. Actually the industry has been fine, it's the consumers who are getting shafted.

    4. Re:Hardened Gentoo by MadMethod · · Score: 4, Informative

      Ok, how about this go to http://debianhardened.sourceforge.net/ and read all the documentation they have (hint, there isn't any), then go to http://hardened.gentoo.org and read all the docs we've put there and notice that, indeed there is a difference and one would gain a higher understanding of security

    5. Re:Hardened Gentoo by hsidhu · · Score: 1

      on a side note though can some one please let me know how lids and the grsecuirty patches differ from each other with regards to what they do?

    6. Re:Hardened Gentoo by savagedome · · Score: 4, Insightful

      isn't choice often the mother of all fuck ups

      I read this in of the /.'s sig: "Freedom of choice is what you have. Freedom from choice is what you want". I think it applies to the general populace and is relevant here.

    7. Re:Hardened Gentoo by big+tex · · Score: 3, Funny

      Ok, how about this go to http://debianhardened.sourceforge.net/ and read all the documentation they have (hint, there isn't any),

      OK, that's what we call 'security through obscurity'. See no evil, hear no evil, all that.

      --
      I think I need a new sig here.
    8. Re:Hardened Gentoo by sirsnork · · Score: 4, Insightful

      Or maybe, just maybe the project is a ALPHA status and is very new and has only been active for 2 weeks so no one has had a chance to write any documentation?

      --

      Normal people worry me!
    9. Re:Hardened Gentoo by OverlordQ · · Score: 1

      Ok, how about this goto Debian Hardened and read the status (hint, hint 3 - Alpha). Now goto Gentoo and read the status and then notice that, indeed there is a difference between alpha and stable code and therefor one would gain a higher understanding of code maturity.

      --
      Your hair look like poop, Bob! - Wanker.
    10. Re:Hardened Gentoo by drinkypoo · · Score: 3, Informative

      In case you were wondering, it's a Devo quote, from the song "Freedom of Choice". Are we not men? D E V O.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    11. Re:Hardened Gentoo by OverlordQ · · Score: 1

      Re-read the first sentence of the summary. I'll emphasise the relavent text just in case you missed it the first time:

      Debian Hardened is a new project that wants be an official Debian sub-project.

      It's been going a whopping 2 weeks. What the hell do expect?

      --
      Your hair look like poop, Bob! - Wanker.
    12. Re:Hardened Gentoo by gl4ss · · Score: 1

      how about this: it's a new project.

      besides, documentation doesn't seem to make people understand the use flags and things like if theres any difference in -O3 and -O666 so how it will help here? the people will read them? as if.

      a pre-hardened system needs to be that, hardened. most of use it is to people who don't entirely know what they're doing(otherwise they could just harden up a distro of their choosing).

      (disclaimer: gentoo is a great distro but it doesn't grant magical insight about the kernel or gcc to the users who have no real ambition to understand them, and neither will hardened gentoo provide magical insight to it's users just because there's options and documentation available)

      --
      world was created 5 seconds before this post as it is.
    13. Re:Hardened Gentoo by SWroclawski · · Score: 1

      Actually, "Are we not men? We are DEVO" is from the song Jocko Homo.

      (ugg waiting for the trolls to pick up on that..)

    14. Re:Hardened Gentoo by Trejkaz · · Score: 1

      Those same users probably don't give a wet toss about security anyway.

      --
      Karma: It's all a bunch of tree-huggin' hippy crap!
    15. Re:Hardened Gentoo by drinkypoo · · Score: 1

      Believe it or not, I'm aware of that. I guess I should have put it on a separate line or something so it didn't look so much like I was trying to connect the lyrics.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    16. Re:Hardened Gentoo by mrchaotica · · Score: 2, Interesting

      While I agree that Gentoo won't create deep insight and turn you into Stallman himself, the reason people claim this is that you have to have a certain amount of understanding just to install the damn thing.

      You have to admit that reading the N-thousand-word Gentoo Handbook (heh, I remember when it was just the install guide) teaches you a bit more than the "next, next, next, done!" of Red Hat or Mandrake. I know I certainly didn't know what the hell was going on when I used Mandrake (let alone Corel Linux, my first distro -- Mandrake was my second, and Gentoo my third), but I really did learn a lot just between booting up with the liveCD and making my computer usable.

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    17. Re:Hardened Gentoo by Bullet-Dodger · · Score: 2, Interesting

      Damn people always have to go ruin a good flame-war with 'facts' and being 'reasonable'.

    18. Re:Hardened Gentoo by Anonymous Coward · · Score: 0

      The name of this project makes me chuckle and I wonder why...

      If I recall the correctly the trusteddebian project had to change it's name (now Adamantix) to avoid legal problems with debain proper. My guess/prediction it will be a matter of a week or two before this project probably gets shutdown or is forced to change names by the debain folk.

      What really eludes me about this project is why would it be so hard to not just use a grsec kernel (or Gentoo Hardened's own 2.4.x kernel as it appears they are doing) on an Adamantix install. Adamantix attempts to follow and share patches with deb already. The project was founded on similar goals in mind so it seems to me that there efforts would be better spent working with the Adamantix developers. If (the current/former HardenedDebian does otherwise I just fail to see the point.

      Also when debian proper is ready to start a hardened branch I assume they will do this in cooperation with the Hardened Gentoo and the Adamantix folks incorporating all technologies.

    19. Re:Hardened Gentoo by bluefoxlucid · · Score: 3, Interesting

      D:SbD has only been active about as long, and is in beta (almost production) stage. Of course, we're just supplying information about the systems that are out there; what impact they have; why they're good; and how to use them. In essence, D:SbD is just "this is what you do to implement a secure system without pissing the user off with tons of extra crap and breakage."

      It's done the way it is because I can't myself implement these things; and I'm not forking Debian. It'd be easy enough to rebuild the whole system, track down the holes, and make sure everything works and is handled so the user sees nothing. Problem is, I'd have to rebuild each and every package to get PIE, SSP, and PT_PAX_FLAGS. Wrong approach.

      Forking Debian into a generally usable distribution that is 100% suitable as a drop-in replacement for 100% of the current Debian installations is two things: excess work for me, and pointless. It's pointless because if everyone can safely use it anyway, then it should just BE Debian. This is not me trying to make a name for myself; it's all of us trying to make things better.

      Because of the approach these people are taking, I don't honestly see their project escaping alpha. If they do, they'll either have done exactly what I said in the above paragraph; or they'll have a couple of changes that don't really do anything useful. You have to work with them, not against them.

    20. Re:Hardened Gentoo by crotherm · · Score: 1


      Use the source, Luke!

      That certainly would give Hardened Debian users a greater understanding...

      --
      "Those who make peaceful revolution impossible, make violent revolution inevitable" - JFK
    21. Re:Hardened Gentoo by karniv0re · · Score: 1

      And the band Lagwagon did their own version from their album Let's Talk About Leftovers

    22. Re:Hardened Gentoo by Reteo+Varala · · Score: 1

      No offense toward Gentoo, which does come with a nice collection of ebuilds, but Debian's far easier to audit than Gentoo, since the Debian logging defaults are downright massive compared to just about all other distributions I've tried (inclusing Slackware, Redhat, SuSE, Gentoo, and even LFS).

      Now, in my mind, there's little that can help security along than the ability to see when a problem occurred, and view it from several different angles. Perhaps syslog can say something? Maybe userlog tells a different story? Perhaps /var/log/snort/alert? Or maybe even /var/log/squid/access.log?

      All the debian server packages that I've ever seen come with logging functionality turned on by default, and if you have another computer, it wouldn't be too hard to set logs to be remoted. You can boast the wonders of all the hardening tools you want, but logs are the lifeblood of security. Any method of keeping trouble out can be circumvented, but with good logging practices, attention can be drawn to events that could point to the flaw that was exploited.

      Now, maybe I'm wrong, perhaps Hardened Gentoo does pick up on the logging department. But Debian has it without the hardened version.

      Security is a process, not a product.

    23. Re:Hardened Gentoo by Reteo+Varala · · Score: 1

      I've got a better site for Hardening Debian:

      http://www.debian.org/doc/manuals/securing-debia n- howto/

    24. Re:Hardened Gentoo by Anonymous Coward · · Score: 0

      'Or maybe, just maybe the project is a ALPHA status'

      Or maybe this is Debian Quality, like the "Bug-squashing parties" they resort to near a release? Which is a joke, from a software engineering perpsective. Nah. Debian is overrated.
      You go read Debian documentation and tell me if it's of good quality. Compare with BSDs, for instance.

    25. Re:Hardened Gentoo by Anonymous Coward · · Score: 0

      Right you are. Either this thing is regarded as important (see: OpenBSD) an integrated on Debian, or I just don't see the point.
      Again, this is yet another example on the lame security viewpoint Linux developers take.

  3. Second project by merlin_jim · · Score: 1

    If its a second project, where are the links to that? I don't feel like poring through your sourceforge site to find it... not that I have a ton of hope that it'll be in there.

    sourceforge is designed so that authors of software can find resources easily. I've never been able to figure out their interface without getting a migraine, however...

    Hardened debain is meh to me. However, TRNG hacking is something I'd love to see! Where's the linkage at???

    --
    I am disrespectful to dirt! Can you see that I am serious?!
  4. www.lids.org by hsidhu · · Score: 4, Interesting

    How is this going to be different than just installing Woody and applying the lids kernel patch to your particular kernel and locking the system down that way?

    1. Re:www.lids.org by Progman3K · · Score: 2, Informative

      I s'pose you'd put some code in there that would look for stack overwrites and such and such...

      --
      I don't know the meaning of the word 'don't' - J
  5. why need a distro for that? by techefnet · · Score: 4, Insightful

    why would you need a distro for securing your machine? you should just secure your favorite distro yourself :)

    1. Re:why need a distro for that? by OmegaBlac · · Score: 2, Insightful
      why would you need a distro for securing your machine? you should just secure your favorite distro yourself :)
      My first though was laziness, but thats a lil harsh. I guess some people like certain things, in this instance security, to be automated for them. Some people also may have a difficult time trying to read documentation and understand the process of installing those security patches.
    2. Re:why need a distro for that? by Anonymous Coward · · Score: 0

      This isnt a new distro, it's hardening Debian.

    3. Re:why need a distro for that? by CableModemSniper · · Score: 2, Insightful

      Not everyone has time to be a security expert. And not everyone likes for instance, the OpenBSD way of doing things(Not that OpenBSD is the only secures OS). Maybe I like Debian. Maybe I worry about Sercurity but I don't have all this time to recompile everything with bounds-checking etc.

      Its for the same reason we have distributions period. Why doesn't everyone do LFS and assemble their own userland and tools?

      Of course I did just notice your smiley, so I don't think you were completely serious ;)

      --
      Why not fork?
    4. Re:why need a distro for that? by bluefoxlucid · · Score: 2, Interesting

      Some things have to be done at compile time, or need extra administrative work. Sometimes though, that work is a one-time cost, and so can be handled by the distribution. These types of things are possible with Hardened Gentoo, and are focused on with D:SbD.

      You should realize that adding Stack Smash Protection or real PT_PAX_FLAGS (as opposed to utilizing the non-standard abuse of the standard EI_PAX field), or producing ET_DYN executables that can be freely moved around by PaX can't just be done by a user, unless he rebuilds his distribution. In that case, why not just use Gentoo? It's designed around building from source, it's most obviously BETTER for building from source.

      There are many non-source based distros. These of course would be better for some users than Gentoo. They'd also likely have issues with being built from source (more difficult, or breaks the package manager); plus the user would need to locate things that break with the protections himself and not use those for those. This is why a distribution should come secure.

      These little "Security hardening enhancements" will never ammount to anything. The whole distribution needs a full rebuild to really take advantage of them. PaX for example will do nicely, as long as nothing kills EI_PAX (like strip sometimes likes to) for broken binaries, and as long as you don't mind missing out on randomizing the executable base. SSP and PIE/ET_DYN are just impossible to "drop in" to a live distro.

    5. Re:why need a distro for that? by stevey · · Score: 1

      Whilst it's possible using the Excellent Securing Debian manual it's best for all users if the distro is setup with sane defaults.

  6. What about Windows? by bholub · · Score: 2, Funny

    Why not just get Windows XP; I mean, didn't you guys hear MS when they said they were focusing on security now???

    --
    I farted
  7. Debian could use that as a spam headline! by Anonymous Coward · · Score: 5, Funny

    Hard3n y0ur Debian/w0ody t0day!

    1. Re:Debian could use that as a spam headline! by natrius · · Score: 1

      Makes sense. Debian woody has aged quite a bit. It might start having trouble with uptime.

    2. Re:Debian could use that as a spam headline! by Deliveranc3 · · Score: 2, Funny

      Your computer is subject to adware and spyware.

      A giant corperation is tracking your every click!.

      We can solve all your problems with compatibility, heck you don't even need x86 anymore and what's more it's free FREE FREE!


      Linux advocates sound like really crazy late night sales people.

  8. Re:Why the fuss? by iamatlas · · Score: 0, Redundant

    I know, cheap joke, if it can even be called "joke", but it was already modded redundant which I just don't understand. But, as you point out wishing for an unfunny mod, there are flaws in the system.....

  9. Interesting....... by AcidFnTonic · · Score: 3, Interesting

    Being a slackware guy myself, I still would very much like to inspect this branch when released....

    I still think the less you have the more secure it is.... as long as what you have isnt bloated. Thats why in my opinion slackware is great on security.

    So if this thing is more than one iso image ill be rather skeptical since debian tends to be a very large distro...

    --
    Sometimes the majority just means all the morons are on the same side.
    1. Re:Interesting....... by OmegaBlac · · Score: 5, Informative
      I still think the less you have the more secure it is.... as long as what you have isnt bloated.
      I agree.
      So if this thing is more than one iso image ill be rather skeptical since debian tends to be a very large distro...
      You only need to download 1 Debian ISO to install it. There even is a minimal iso version for network installs. The default Debian install is the bare miniumum. Hardly if any services are running on a default Deb install. Yes Debian has the largest selection of packages, but no one is forcing anyone to download all the ISOs just to install Deb. Just install and apt-get away what you need!
    2. Re:Interesting....... by ldspartan · · Score: 1

      I've done so many (well, 10 or so) base installs of off floppies... what fun. Two decent floppies and a copy of ntrawrite is all you need!

      --
      Phil

    3. Re:Interesting....... by Ben+Hutchings · · Score: 1
      The default Debian install is the bare miniumum. Hardly if any services are running on a default Deb install.

      If I remember correctly, a base installation of woody enables various debug services plus SMTP service through exim and allows access to them from anywhere through any interface. I don't feel like doing an installation now just to check that though.

  10. Sarge... by Anonymous Coward · · Score: 0

    is now getting the attention of the security team. What are the possibilities of getting this release with Sarge, instead of Woody (actually, in addition to Woody, not instead of)?

    If this release becomes available for Sarge, and I can use KDE as a graphical front end while setting up the installation, I'd give it a shot, and if I found it usable, I'd donate to keep the project going.

    I've had some trouble with the Debian installer, so I used Mepis to install Debian, and commented out all the unstable servers in the sources list, so it is slowly becoming a testing-only install. It's going to be a web/mail/dns server, so locking it down is what I'm trying to learn right now (ran apache for a couple of years on an rpm distro without problems).

    If the distro covers Sarge, and I can use it with kde for setup, then I'll find it useful for myself (yeah, I know, not supposed to run X on a server, but I'm only going to use it for setting up and getting used to it, X will be removed from the system before it faces the internet, unless I can get the hang of a front end for iptables, and only leave port 80, the dns and mail ports open, then I might leave X installed).

    Security-enhanced Debian sounds good to me!

    1. Re:Sarge... by julesh · · Score: 2, Informative

      Who says you shouldn't run X on a server? Just make sure you have -nolisten tcp in the server setup. And for good measure, block the ports it uses.

    2. Re:Sarge... by edbarrett · · Score: 2, Informative
      Just make sure you have -nolisten tcp in the server setup.

      Which is the default in Debian.

    3. Re:Sarge... by TractorBarry · · Score: 0

      If you want a decent graphical front end for setting up iptables I can recommend guarddog.

      http://www.simonzone.com/software/guarddog/

      It certainly did a good job of helping me set up the firewall on my little "learning" server after which I (temporarily) turned off my routers firewall and did a quick test with "shields up" at:

      https://grc.com/x/ne.dll?bh0bkyd2

      This showed only the ports I wanted open to the internet were in fact open but I can still do other stuff on my local network.

      Now I've just got to work out what the feck the entries in the iptables config file mean ;)

      --
      Sky subscribers are morons. They pay to be advertised at !
    4. Re:Sarge... by Anonymous Coward · · Score: 0

      X has suid binaries. You want to minimise suid stuff on your system; it's a place where any hole equals root for an attacker. With -nolisten tcp, it merely takes a local attacker instead of a remote one.

      It's not the security hole it used to be, with -nolisten tcp and mit magic cookies and such, rather than 'xhost +'... but it's still reasonable security policy to not put X on your servers.

    5. Re:Sarge... by julesh · · Score: 1

      X has suid binaries.

      Not necessarily

  11. It's good for both, actually; by Progman3K · · Score: 5, Interesting

    Debian's team can implement it a certain way and whatever amazing thing they cook-up can be re-used by the Gentoo team!

    The goal is not a religious war, the goal is for you and I to get ahead.

    --
    I don't know the meaning of the word 'don't' - J
    1. Re:It's good for both, actually; by Anonymous Coward · · Score: 0

      I thought it was we all run linux and would like to get some head.

      Well, it's what I thought anyway...

  12. This could be a good thing in the future by Anonymous Coward · · Score: 2, Insightful

    IF it results in many of the security features that make Debian (and GNU/Linux in general) hard to use being moved over to a specially oriented project, and removed from the main one.

    For example, if you are setting up a single user box to access the internet with a modem (something that GNU/Linux should shine at) you often run into problems related to pppd requiring all sorts of obnoxious nonsense to get it to run as a regular user.

    Policies such as new accounts having their own group by default, and not being readable by all other accounts, make sense in the ISP, server, and in business settings in general. But tipping point is being reached, to where soon most people setting up Debian are setting it up to use it at home, not to run a business or train themselves to get business related job skills. Things like pam have to go to where they belong, and not get in the way of the rest of us.

    1. Re:This could be a good thing in the future by Anonymous Coward · · Score: 0

      Firstly, excuse the paraphrasing, I'm not going to quote the entire steaming turd of a post just to ridicule it.

      This could be a good thing in the future.... if it results in many of the security features that make Debian hard to use...being removed from the main project

      Good for who exactly? 12 year old Romanian script kiddies? Microsoft? Your troll buddies?*

      New accounts having their own group by default, and not being readable by all other accounts...doesn't make sense for home users.

      Congratulations, you've just reinvented Windows 95! That's just what Linux needs!

      * I am assuming the parent post is a troll simply because I do not believe that anybody could be that retarded and still remember to breathe, let alone use a keyboard.

  13. Re:Why the fuss? by merlin_jim · · Score: 1

    I would've used Overrated. 2 is too nice for that joke ;)

    But redundant... come on, do you really believe that someone else has already made that joke? With maybe only 5 non-troll posts?

    --
    I am disrespectful to dirt! Can you see that I am serious?!
  14. Enhacements against the Linux Entropy Pool engine? by Anonymous Coward · · Score: 5, Interesting

    Has anyone ever,ever,ever compromised a computer or encrypted document by predicting the output of a random number generator?

    Would the time not be better spent looking for the next OpenSSH/SSL hole?

    I'm not trolling, most security flaws come from everyday apps rather than esoteric problems.

  15. New pickup line for geeks... by vettemph · · Score: 5, Funny

    Wanna mount my hardened woody?

    --
    The government which is strong enough to protect you from everything is strong enough to take everything from you.
    1. Re:New pickup line for geeks... by vettemph · · Score: 5, Funny

      ....Hardened Woody set for release!

      --
      The government which is strong enough to protect you from everything is strong enough to take everything from you.
    2. Re:New pickup line for geeks... by mod_parent_down · · Score: 1

      Oh No, I found a bug!

    3. Re:New pickup line for geeks... by Anonymous Coward · · Score: 0

      If your Woody gets hacked would we say you've been Bobbited?

  16. TRNG by Rakishi · · Score: 1

    A professor of mine mentioned how they tried TRNG back in the day using vacuum tubes however due to the output not having a set distribution (fluctuations caused some numbers to come up more often than others and they couldn't predict which) it wasn't all that useful. I guess that in non-statistical applications this flaw isn't really that damaging, sounds interesting.

    1. Re:TRNG by julesh · · Score: 1

      Thermal junction noise (e.g. from a noisy diode) has a predictable distribution dependent on the temperature of the junction. All you need to do is measure the temperature with an additional circuit and use this reading to compensate for the distribution in order to get your standard uniform distributed numbers in the range 0.0 to 1.0.

  17. Question: Stability? by Progman3K · · Score: 1

    Is a hardened version more or less stable?
    I have no first-hand experience, so... Anyone?

    --
    I don't know the meaning of the word 'don't' - J
    1. Re:Question: Stability? by OmegaBlac · · Score: 1, Funny
      Is a hardened version more or less stable? I have no first-hand experience, so... Anyone?
      Download the Paris Hilton video, get some lotion, and find out for yourself. Oh wait...you were talking about Debian nevermind...


      I swear some people just make it too easy ;)
  18. wtf? Hey moderators.... by Mad_Rain · · Score: 2, Funny

    Debian could use that as a spam headline!:
    Hard3n y0ur Debian/w0ody t0day!


    That was funny. C'mon, laugh.

    --
    "What do you think?" "I think 'What, do you think?!'"
    1. Re:wtf? Hey moderators.... by sm3ggy · · Score: 1

      Hilarious. Hah..hah.. hah :/

  19. Not that this is like Fark or anything, but by Progman3K · · Score: 1

    how-come no one has made any sexual jokes with "hardened" ?

    --
    I don't know the meaning of the word 'don't' - J
    1. Re:Not that this is like Fark or anything, but by OmegaBlac · · Score: 1
      how-come no one has made any sexual jokes with "hardened" ?
      Could it be that they are actually RTFA?
    2. Re:Not that this is like Fark or anything, but by damiam · · Score: 1
      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    3. Re:Not that this is like Fark or anything, but by chip_s_ahoy · · Score: 2, Funny

      You try to make a joke with that and you don't bring in "Woody". Weak.

      I call mine "Sarge".

      My distro, I mean.

  20. SE Linux by datadriven · · Score: 0

    Is the grSecurity patch the same thing as SE Linux?

    1. Re:SE Linux by Anonymous Coward · · Score: 0

      No.

  21. good trend by Chuck+Bucket · · Score: 2, Informative

    I liked this back when Gentoo did it, and I think this is a great trend; having a completely security minded Linux OS (since BSD has been there forever ;))

    personally I'm really interested in the Security-Enhanced Linux that the NSA is working on. To have something that complete is really intriquing. Now if they don't have something like apt to keep it steady I dunno...but you have to admit it's got 'wow' factor written all over it!

    BCDFY^&D&S^F

    1. Re:good trend by LittleLebowskiUrbanA · · Score: 4, Insightful

      I kind of get a kick out of all of the anti US gov't people on /. using something the NSA developed and gave back to the community.

    2. Re:good trend by drinkypoo · · Score: 4, Interesting

      If you look at the SElinux download page you can read the following tidbit:

      The Linux 2.6 kernel already includes the extended attribute (EA) support, the Linux Security Module (LSM) framework, and the SELinux module, but the changes to the SELinux module that have not yet been upstreamed can be obtained from here.

      In other words, SElinux comes with the kernel.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    3. Re:good trend by drinkypoo · · Score: 4, Insightful

      I prefer to discard only the bathwater. Baby can stay. I get a kick of the NSA giving back to the community that hates them...

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    4. Re:good trend by Anonymous Coward · · Score: 0

      I would really like to see the mainstream Linux distributions all adopt the proven security extensions and exploit mitigation techniques. Complaints of incompatibilities would quickly vanish if all distros integrated these technologies. Don't bother flaming and whining about performance losses -- in an era of gighertz PCs these arguements are just beyond absurd.

    5. Re:good trend by Anonymous Coward · · Score: 0

      When they wouldn't because it were from the NSA someone would call them irrational, paranoid, zealot, etc.

      Then again, i get a kick out of US people using LIDS which was developed by a Chinese person. Probably a commie prick. ..

    6. Re:good trend by ratamacue · · Score: 1

      As if it couldn't possibly have been developed through voluntary association, rather than by force?

    7. Re:good trend by k98sven · · Score: 1

      Yeah, guilt by association is fun.

      Since your computer most likely contains parts made in China, I suppose you're a strong supporter of the communist regime there?

  22. They'd need more drastic changes by bluefoxlucid · · Score: 5, Interesting

    I'm a Hardened Gentoo user; although, I only use a subset of all the hardened herd's efforts :) I actually do understand what I'm doing, though, and am trying to spread that understanding myself. I am in no way affiliated with [Hardened] Gentoo or Debian.

    At any rate, these people don't understand that they'll need more drastic changes. Why not bring attention to http://d-sbd.alioth.debian.org/ while you're at it? This is my project, just a demonstrational effort to bring these things to the attention of the Debian maintainers.

    The idea isn't to have a hardened "Enhancement," but rather to incorporate anything you can put in that won't hurt. For example, you can compile glibc, gnome, and bash with SSP/ProPolice, and nothing else will use ProPolice but those. Those programs also won't be hurt by ProPolice. We can extend this to, "Compile any program or library that won't break with it with SSP." The user will never notice; but it'll stop a range of attacks.

    My point is that you need to aim low. A hardened system like Hardened Gentoo or Adamantix will supply you with *everything* -- PaX, SSP, ET_DYN binaries, rediculously complicated MAC systems, firewalling maybe, network sniffers, etc. A non-hardened distribution should look at each of these, determine which don't change the end user's experience (administrator included), and implement them. This is "Do what's easy" rather than "Do EVERYTHING we possibly can," but it's still better than just being lame in the area of security.

    1. Re:They'd need more drastic changes by OmegaBlac · · Score: 1, Funny
      I'm a Hardened Gentoo user
      Ah, first you Gentoo users are bragging about your compile times and speed of your distro now you all are bragging about your use of Viagra? So it was you that responds to those viagra email spam!
    2. Re:They'd need more drastic changes by Anonymous Coward · · Score: 0
      ..I am in no way affiliated with [Hardened] Gentoo or Debian.
      ..Why not bring attention to http://d-sbd.alioth.debian.org/ while you're at it? This is my project, just a demonstrational effort to bring these things to the attention of the Debian maintainers.
      (emphasis mine)

      You have a subdomain for your project @ debian.org and at the same time claim to have no affiliation? Yeah, right. Not that it really matters much to me but still ;P
    3. Re:They'd need more drastic changes by bluefoxlucid · · Score: 1

      I'm not a part of the debian team. Check out Alioth and you'll find that you too can get a subdomain at debian.org, if you can make a debian-related project.

      When I said I have no affiliation, I meant that I don't work with them, I'm not governed by their rules, I don't control them, and they don't control me. The project offers them suggestions and is worked around Debian, as they showed some interest (Mandrake, SuSE, and Slackware did not). Doesn't mean I'm a Debian elitest propagandist or that I work for them.

    4. Re:They'd need more drastic changes by Anonymous Coward · · Score: 0

      Heh, I didn't know about Alioth and it seems like a really cool service. The link you provided was broken btw but if anyone else is curious here's one that works. I'm mostly a Slackware user though, but this may come in handy if I ever do some work on Debian (and I probably will, at some point).

      Thanks for the tip & clarification, greatly appreciated :)

    5. Re:They'd need more drastic changes by bluefoxlucid · · Score: 1

      Wow, what the heck? Slashdot must have altered my link man; I looked at the address, and was like, "What the hell? There's a linux.slashdot?"

      Sorry about that :)

  23. Adamantix? by Anonymous Coward · · Score: 0

    Okay, deriving Linux from Linus + UNIX, I can see. Who knew Adam Ant would get into free OS hacking though?

    1. Re:Adamantix? by XanC · · Score: 0, Offtopic
  24. Securing Debian Manual by CFrankBernard · · Score: 1

    http://www.linuxsecurity.com/docs/harden-doc/html/ securing-debian-howto/ Are Javier Fernández-Sanguino Peña and/or Alexander Reelsen involved in Debian Hardened?

    1. Re:Securing Debian Manual by javifs · · Score: 1

      I'm not fully involved in that project for the moment since I'm already bogged down by other work. I've had some e-mail coversations with Lorenzo in order to first know _what_ would the project mean as I (like others) wouldn't like to see another fork (just what happened with Adamantix) but would like to see the work done at Adamantix be brought up into Debian proper and this could be a good opportunity. Notice that some of this work (such as their kernel patches and PaX utilities) is already available in Debian.

      Recompiling the whole distribution with a gcc-enabled SPP (with the Debian packages developed by Steve Kemp for example) is a complex issue and needs some deep internal changes that we have yet to discuss. Doing so in source-based distributions (like with Hardened Gentoo) is easier, after all, AFAIK they don't provide binaries for 11 architectures like Debian does.

  25. HOW? by Progman3K · · Score: 1

    >Because people disagree what is the right way of doing it. [...] linux makes some things more complicated than on a windows machine.

    That's what makes growth. And more people every day are choosing Linux over Windows. Face it, Windows is NO picnic either, especially when you consider the quality of Microsoft's software!

    >[...] it just generate more competition, [...] it's the consumers who are getting shafted.

    Consumers do not get shafted by having choice, that is illogical. Choice is to the consumer's advantage.

    --
    I don't know the meaning of the word 'don't' - J
    1. Re:HOW? by Stevyn · · Score: 3, Insightful

      I think you misunderstood. I meant that users get shafted with there are just a few large companies competing, but it is better to have lots of smaller organizations writing FOSS. For most users, the advances in FOSS haven't affected them in the past few years. OSS projects like firefox and gaim are starting to become popular for the every day folk and that's the advantage to the consumer I was referring too.

  26. Re:Deban could use it by Wonko · · Score: 4, Informative

    Take for example the fact that I can remotely shutdown a debiaTake for example the fact that I can remotely shutdown a debian machine over ssh with the "halt" command. A RedHat distro had that little feature blocked

    Why exactly is this a bad thing? Have you never had to shutdown or reboot a remote server? I know I've had to do both at least a few times... Although rebooting would be much more common, and it would probably be safer as well :p.

    On my Debian machines you seem to need to be root to do it. If someone I don't know is logged in over ssh as root on one of my boxes the last thing I am worried about is his ability to shut it down :p.

  27. Securing Debian Manual by CFrankBernard · · Score: 2, Informative
  28. Who are these people? by ConsumedByTV · · Score: 5, Informative

    First off, who are these guys?

    Debian already has a security project, a few of them actually.

    I looked at google for either of these guys names and unless I am mistaken, this is what I got: developer one and developer two.

    Interesting that anyone else that they haven't ever used those names to contribute to say at least a single debian security mailing list, or say ANY debian lists?

    Even more interesting is that they don't seem to have much but a slashdot plug and they are accepting donations.

    I am not impressed. Working with the debian security team is the way to go.

    Steve Kemp is one of the main guys heading up the debian audit project, these guys should be working with him. Not for some other project.

    The official debian project for this is the debian audit project.

    Hell advertising that they use SSP enabled GCC! Steve makes those packages for use with debian already!

    --


    "Not my manner of thinking but the manner of thinking of others has been the source of my unhappiness." - M
    1. Re:Who are these people? by bluefoxlucid · · Score: 1

      iceslab:/home/bluefox# grep -i guard /bin/cat iceslab:/home/bluefox# No guard symbol, cat was compiled without SSP. bluefox@icebox ~ $ grep -i guard /bin/cat Binary file /bin/cat matches I compiled mine with -fstack-protector :) Debian makes SSP enabled GCC available, but it doesn't use it for its packages.

    2. Re:Who are these people? by bluefoxlucid · · Score: 1

      CRAP, I clicked "Submit" instead of "Preview" >/ Repost :(

      iceslab:/home/bluefox# grep -i guard /bin/cat
      iceslab:/home/bluefox#

      No guard symbol, cat was compiled without SSP.

      bluefox@icebox ~ $ grep -i guard /bin/cat
      Binary file /bin/cat matches

      I compiled mine with -fstack-protector :)

      Debian makes SSP enabled GCC available, but it doesn't use it for its packages.

      The above comment should be moderated down if the "Informative" came from the "SSP enabled GCC" comment, as the poster is wrong.

    3. Re:Who are these people? by stevey · · Score: 1

      The SSP packages for Debian I've put together are available online here - and can be installed easily.

      I'd love to see a project like this for Debian but I'm loathe to splinter off another group as Adamantix did. (They can no longer call themselves 'trusted Debian' for naming reasons).

      To be effective it has to be a real part of Debian, and it's not clear at all that these people are.

    4. Re:Who are these people? by stevey · · Score: 2, Informative

      Debian by default does not ship with an SSP enabled GCC.

      I've made packages available, and others have too - but by default the patch isn't applied to Debian's compiler.

      Please see bugs 233208 and 213994 for details.

    5. Re:Who are these people? by Anonymous Coward · · Score: 1, Informative

      The following post on debian-legal tells that they might want to become a Debian subproject.
      href="http://lists.debian.org/debian-legal/2004/09 /msg00 235.html

      Hi Martin,

      El mar, 14-09-2004 a las 17:40, Martin Michlmayr escribió:
      > * Lorenzo Hernandez Garcia-Hierro [2004-09-08 16:26]:
      > > I want to know if i can use the trademark "Debian" on the name of a
      > > project that i've started , "Debian Hardened" which i want to see as
      > > an official Debian sup-project.
      >
      > I personally feel that this name has the same problems that "Trusted
      > Debian" has - it suggests that "normal" Debian is not secure. In any
      > case, I think you should post your question to debian-project rather
      > than -legal since -project is more appropriate and might get more
      > feedback.

      A "normal" Debian is secure, depending on how the sysadmin works with
      the packages and how he confgiures them.

      But, if you have, for example, ProPolice/SSP compiled packages, there
      wouldn't be anyway to exploit a buffer overflow condition in the
      package.

      That's the same with kernel packages...you can choose a better secure
      kernel or a simple one, the difference is just what you want to choose:
      secure or not secure as the other...

      Security stays OK until somebody breaks it, and you can't predict when
      it will happen (and also you can't predict how it will happen!).

      I want to see Debian Hardened as an official Debian subproject, it's not
      a "better, more secure" un-official version of Debian, it's just a
      hardened tree of official Debian packafes for official Debian versions!

      (Also i'm working with a friend to make some enhacements for the Linux
      entropy pool engine, using an external TRNG device).

      Cheers,
      --
      Lorenzo Hernandez Garcia-Hierro

    6. Re:Who are these people? by bluefoxlucid · · Score: 1

      Heh, I saw something like that when I ran sid or something, I thought. *shrug* Hey, keep up the good work though.

  29. TRNG by dmiller · · Score: 3, Informative

    The crap about Geiger counters seems to indicate the author seems more interested in studly buzzwords than actually developing practical solutions. A soundcard with nothing plugged in is a perfectly acceptable source of entropy, the problem is just in accurately estimating the rate. Also, many chipsets and an increasing number of CPUs include hardware random number generators which can be used too.

  30. Should be.. by artlu · · Score: 0, Flamebait

    relatively easy. They can contain all the packages and kernel upgrades via apt/dpkg, thus, limiting the software as well as the upgradability of the machine. Similar to Microsoft....

    gShares.net

    --
    -------
    artlu.net
  31. Re:Deban could use it by chris_mahan · · Score: 1

    Ssh should be able to do anything you can do at the console.

    If you are afraid ssh will be compromised, then don't use ssh.

    --

    "Piter, too, is dead."

  32. And later with the Sarge!!! by Anonymous Coward · · Score: 0

    Really really hardened Sarge!

  33. selinux? by starseeker · · Score: 3, Interesting

    I'm curious as to why they chose the particular tools they did. I don't know too much about these issues, but from what I understand the NSA's selinux patches are a very robust and powerful set of tools. IIRC Redhat has been integrating it into their systems. It may be that this isn't the best choice, but I'd be curious if someone who knows them well could give us a rundown of why some solutions might be better/worse.

    One issue with selinux I (think) I understand is that in order for applications to run properly you need to have predefined rules which allow them to do what they need to do (the nature of MAC is they can't do anything except what is explicitly allowed, as I understand it). This is possible for servers, which do only a few jobs repeatedly, but for a desktop machine with hundreds of potential applications to fire up and more being developed such a burden becomes huge. A normal user would end up turning off MAC in order to use the computer the way they want to, unless each application they want or may want to use already has a default ruleset present. I would be really happy to see this happen - various distributions collaborate on default rules for large numbers of applications, so end users could actually use systems that are seriously hardened. I know it's probably overkill, but given what casual Windows users on the network have done over the years (as well as unsecured Linux boxes and other OSes, for that matter) I think if some combination of projects could deliver a usable desktop machine with mandatory access control and any other features which might defend their box while letting it be useful would be a Very Good Thing. One thing is for sure - too little security does more harm to the internet community than having more protection than you need.

    --
    "I object to doing things that computers can do." -- Olin Shivers, lispers.org
    1. Re:selinux? by IamTheRealMike · · Score: 2, Insightful
      This is possible for servers, which do only a few jobs repeatedly, but for a desktop machine with hundreds of potential applications to fire up and more being developed such a burden becomes huge ... I would be really happy to see this happen - various distributions collaborate on default rules for large numbers of applications, so end users could actually use systems that are seriously hardened

      No, the solution for SELinux is for the application developers themselves to write policy.

      Last time I discussed this with the guys on #selinux, they appeared to think that being non-experts, "regular" developers could not write SELinux policy. I think this is the wrong way to go for several reasons:

      • Attempting to maintain policy centrally for desktop systems is going to be a disaster - the policy will always be out of date or wrong because no matter how much testing they do, the policy maintainers cannot know every operation the program may wish to take. Current testing seems rather basic - does it start? If I play with it for a few minutes, does anything appear obviously broken? etc etc. Software that breaks in mysterious ways will be the result. Only the developers of the software can write accurate policy IMHO - this opinion is in direct contrast to some of the current SELinux developers however.

        You'll have the same mess people have with broken and out of date packages in fact.

      • Most apps won't have any policy at all

      • If SELinux policy is so convoluted that you need tons of training in order to write it, it's pretty much doomed as a system we can use globally outside of niche "appliance" scenarios.

      Fortunately it's possible to install policy within packages like any other data file. So it just requires good community training, like anything else. When FC3 comes out with a basic SELinux implementation active by default I'd expect to see people play with it a lot more.

      Sometimes people get confused - SELinux isn't about preventing malware/spyware type stuff, though theoretically you could use it to help quarantine "alien" programs. It's about giving programs the least priviledge necessary to do their job, so if they are compromised (buffer overflowed etc) somehow, the damage that can be done is limited. It's a defence mechanism.

    2. Re:selinux? by bluefoxlucid · · Score: 1

      I'll keep this simple for you.

      SELinux is a large and complicated system. It takes a lot of work to maintain the policy. While this can be done distribution-side, the system administrator is still faced with administrative changes. For example, an SELinux system should not make root all powerful. Typically, to gain privilages, you log in as the user with access to the role you need; log into the role you want to use; su to root; and do your job. Sound fun?

      SE is a great system, but it brings with it the loathed feel of security: obfuscation of use. Many people associate "Security" with "Haha but it's hard as f**k to do anything!" I don't think that systems that add extra administrative duties should go into standard distributions; they're perfectly suited for security enhanced distros like Adamantix or full blown Hardened Gentoo.

  34. http://packages.debian.org/harden by Anonymous Coward · · Score: 4, Interesting
    debian packages: harden

    how is Hardened Debian going to be different from installing the harden* packages?

    1. Re:http://packages.debian.org/harden by Anonymous Coward · · Score: 0

      The official harden* packages are purely virtual. Their only purpose is to conflict with other packages which are insecure. In contrast Debian hardened wants to change the contents of the insecure packages.

      Their project page contains deb's for a a hacked (binary only??) 2.4.26 kernel image.
      http://sourceforge.net/projects/debianhardened

      BTW: Yesterday they write on debian-legal:
      http://lists.debian.org/debian-legal/2004/09/msg00 235.html

      Hi Martin,

      El mar, 14-09-2004 a las 17:40, Martin Michlmayr escribió:
      > * Lorenzo Hernandez Garcia-Hierro [2004-09-08 16:26]:
      > > I want to know if i can use the trademark "Debian" on the name of a
      > > project that i've started , "Debian Hardened" which i want to see as
      > > an official Debian sup-project.
      >
      > I personally feel that this name has the same problems that "Trusted
      > Debian" has - it suggests that "normal" Debian is not secure. In any
      > case, I think you should post your question to debian-project rather
      > than -legal since -project is more appropriate and might get more
      > feedback.

      A "normal" Debian is secure, depending on how the sysadmin works with
      the packages and how he confgiures them.

      But, if you have, for example, ProPolice/SSP compiled packages, there
      wouldn't be anyway to exploit a buffer overflow condition in the
      package.

      That's the same with kernel packages...you can choose a better secure
      kernel or a simple one, the difference is just what you want to choose:
      secure or not secure as the other...

      Security stays OK until somebody breaks it, and you can't predict when
      it will happen (and also you can't predict how it will happen!).

      I want to see Debian Hardened as an official Debian subproject, it's not
      a "better, more secure" un-official version of Debian, it's just a
      hardened tree of official Debian packafes for official Debian versions!

      (Also i'm working with a friend to make some enhacements for the Linux
      entropy pool engine, using an external TRNG device).

      Cheers,
      --
      Lorenzo Hernandez Garcia-Hierro

      Attachment: signature.asc

    2. Re:http://packages.debian.org/harden by OA · · Score: 3, Informative

      The official harden* packages are purely virtual. Their only purpose is to conflict with other packages which are insecure. In contrast Debian hardened wants to change the contents of the insecure packages

      Not exactly correct.

      It pulls in a documentation called harden-doc which goes through all the actions local admin should take to make the system secure. I think Javi is always putting good efforts to update it. This SGML source of this doc package is a part of the source tree creating dependency if I remember correct.

      The same document is available as "Securing Debian Manual".

      Cheers,

      Osamu

  35. awesome ... good job by hpavc · · Score: 1

    congradulations to hese folks. even if most of the work they do is ripping open packages and setting up more secure settings.

    such as providing a ... exim4.41+eximscan+clam+spamassasin ... out of the box

    a openswan package that works directly from a dialog script.

    not to mention a basic iptables front end like redhat has, where is the 'low, medium, high' trusted interface prompt upon install for debian?

    --
    members are seeing something, your seeing an ad
  36. Just in time for the new Stable release(...soon!) by OmegaBlac · · Score: 1

    Can you help stable my Sarge and bring it to full attention?

  37. Itch scratching, and audit by RedPhoenix · · Score: 2, Interesting

    At the risk of the post sounding like a discussion at a head-lice convention, everyone has their own personal itch to scratch.

    Several posts thus far, have questioned the viability of establishing yet another secure-debian project, similar to other existing projects, and have indicated that there would be a better use of available resources if everyone would just get along and work together (or at least, form under a single project). Fair enough.

    However, there are a whole range of reasons why diversity and natural selection w.r.t many competing projects can provide benefits over and above a single large project - organisational inertia, effective and efficient communication, and development priority differences, for example.

    'Organisational inertia' in particular, whereby the larger a organisation/project gets, the slower it can react to changing requirements, is a good reason why this effort-amalgamation can potentially be a bad thing.

    Each of these projects probably has a slightly different 'itch' to 'scratch'. There's no reason why, later on down the track, that the best elements of each of these projects cannot be merged into something cohesive.

    A good example is the current situation in Linux Auditing (as in C2/CAPP style auditing and event logging, not code verification) and host-based audit-related intrusion detection. Over time, we've had Snare (http://www.intersectalliance.com), SLES (http://www.suse.com), and Riks Audit Daemon (http://www.redhat.com). Each project had a slightly different focus, and each development team have come up with some great solutions to the problems of auditing / event logging.

    The developers of each of these projects are now communicating and collaborating, with a view to bringing a effective audit subsystem to Linux that incorporates the best ideas from each approach.

    BTW: How about auditing in this project? Here's a starting point:
    http://www.gweep.net/~malk/snare_debian.sh tml

    Red. (Snare Developer)

  38. True random numbers are impossible! by Anonymous Coward · · Score: 0

    If chaos theory tells us anything it's that true random numbers are impossible. Everything is determined by something.

    1. Re:True random numbers are impossible! by 808140 · · Score: 2, Interesting

      It seems Quantum Mechanics disagrees with you. Thank goodness, too. If every effect needed a cause, we'd be in a funny conundrum when considering the origins of the Universe, wouldn't we?

      It rather reminds me of St. Thomas Aquinas' proof of the existance of God using the logic of the unmoved mover (that as all things have cause, there must exist one seed without cause to begin the chain, and that seed is God). This mostly seems like bunk, today, what with the fact that cause can follow effect, Quantum Mechanics exhibits truly random behaviour, etc, etc.

    2. Re:True random numbers are impossible! by Anonymous Coward · · Score: 0

      Quantum Mechanics has a tough time agreeing with anything including its own self, since it is non-deterministic hence non-affirming by nature.

      That said, Causality is not to be ignored. Science is but its offspring. There can be no real science without it. Up until the previous century all progress in Science can be attributed to Causality.

      Which, ofcourse, makes you wonder about several aspects of QM. Let's not forget even Einstein wasn't quite happy about it.

      But as for St. Thomas Aquinas... Well he was wrong: he used Aristotelian Physics (Newtonian wasn't around at the time) for his examples.

      The famous (or infamous) Five Ways to prove God's existance (Summa Theologiae, Book I, Chapter I, Question II, Argument III) are plainly wrong.

      According to Aristotle nothing moves unless moved by an external force and it moves for as long as the external force applies. Newton disproved that. Indeed Newton wrote: "amicus Aristoteles, amicus Plato, magis amica veritas".

      IMHO, disregarding Causality is a mistake. You can get rid of God, but randomness cannot be deified.

  39. random + random = ? by Anonymous Coward · · Score: 0
    thermal noise and also the atomic decay from a Geiger counter
    If you're using one, why bother using the other?
  40. Rate of what? by Thinkit4 · · Score: 1

    Of random number generation? Sure some CPUs and chipsets have a thermal noise TRNG, but how much is still an ugly LCG seeded by the time?

    --
    -I am an elective eunuch.
  41. what's wrong with /dev/urandom by mo · · Score: 3, Insightful

    Does anyone have evidence where a system was cracked due to the lack of entropy from things like interrupt timing?

    I would think that there exists a limited number of people in the world who could exploit a diffie-helman exchange between systems using the usual sources of randomness on an x86 machine.

  42. Heh... by Anonymous Coward · · Score: 2, Funny

    I can imagine the newest spams: get your Woody hardened now...

  43. Re:Enhacements against the Linux Entropy Pool engi by bomb_number_20 · · Score: 3, Informative

    Does this count?

    --
    That's ok, Jesus likes me anyway.
  44. Re:Deban could use it by darkewolf · · Score: 3, Informative

    Being able to remotely shutdown or halt a machine is a godsend. The trick is to restrict SSH access-in from certain 'secure' IP addresses, and firewall the rest of them out. Secondly, I guess only allow root access from a non-root account (ie: no ssh'ing in as root).

    But I guess to each their own :)

    --
    "That is not dead which can eternal lie...."
    Nimheil
  45. Re:Why the fuss? by vettemph · · Score: 1

    Oh dear lord, where is the (-1, Unfunny) moderation at?

    Is (-1, Unfunny) eqaul to (+1, Funny)???

    PS- I would have modded you (+1,funny, wears crash helmet on short bus). ;)

    --
    The government which is strong enough to protect you from everything is strong enough to take everything from you.
  46. as *if*! by Llewyn · · Score: 5, Funny
    i suppose 'Debian Hardened' is not referring to the installation process... yegods! it was hard enough already!


    but seriously... as a debian user, i fully condone harder, faster, and stronger debians.

  47. Re:Enhacements against the Linux Entropy Pool engi by Anonymous Coward · · Score: 4, Informative

    No, in that case they did not use any random data (or "salt" as cryptographers call it) in the encoding at all.

    The problem was not the quality of the random number generation.

  48. Great! Linux vs. Linux by Anonymous Coward · · Score: 0

    Talk about an SCO conspiracy...

  49. Oh really? by mehaiku · · Score: 1, Funny

    So Debian made harder is news
    So many the installer abused
    It's hard enough as it is
    Much like taking a quiz
    I wish I could apt-get "ease of use."

  50. Re:Enhacements against the Linux Entropy Pool engi by strider44 · · Score: 3, Informative

    Definitely. There was a gambling agency that people ripped alot of money off from other people cause they seeded the generator with the amount of milliseconds since midnight and used a public lookup table to generate the random number. Not only is this a stupid way of doing it - it's only security through obscurity cause you only need a few queries to syncronise your clock with the agency's clock, but the idiots actually published their code!!!

    Now consider this example - random number generators are anything but secure.

  51. Re:harden what?? by 808140 · · Score: 3, Funny

    Security is like an erection: it can always be harder and longer lasting. That doesn't necessarily imply impotence (unless it comes from the aptly named Microsoft, haha).

  52. Re:Deban could use it by doorbot.com · · Score: 2, Insightful

    If someone I don't know is logged in over ssh as root on one of my boxes the last thing I am worried about is his ability to shut it down

    Actually, if someone I don't know is logged into my system as root, I'd prefer they simply shut the machine down. Then they can't do any (more) damage...

  53. grsecurity annoyance by BAILOPAN · · Score: 1

    An open source program I distribute uses a Just-In-Time compiler which modifies its own .data section in memory. grsecurity/pax don't like this and cause it to bail out. It's rather annoying as people then come to me that our software is broken. I guess my point is that people should know the effects of the security enhancements they choose before blindly saying "hey, this is a secure system, so I'll just install it." Or at the least they should how to administrate around it. Security doesn't mean anything if you're not qualified for it.

    --
    If you say "here goes my karma" I will bite you!!!
    1. Re:grsecurity annoyance by bluefoxlucid · · Score: 1

      Yes, you need to know how to disable your security stuff.

      Actualyl you distribute the binaries, right? Well, you could chpax/paxctl on them (if you build with PT_PAX_FLAGS, use both) and correct the problem yourself. Because the data is in the executable header, these changes will be persistent when you distribute it.

      if you pass source around, alter your build system to run chpax and paxctl both, and allow them to fail.

  54. grSecurity == greek Security? by MrLaminar · · Score: 1

    Because in that case, it must have a kick-ass budget.

  55. If you need a secure system... by Anonymous Coward · · Score: 3, Insightful

    ...just use OpenBSD, where security is not a patch or an afterthought.

    It might surprise some linux fanbois, but other OSs are better suited than their beloved linux for certain tasks.

    1. Re:If you need a secure system... by HSpirit · · Score: 2, Informative

      I agree entirely with this. Before jumping on the bandwagon, read here for a synopsis of what a secure *nix operating system is about.

  56. Re:Enhacements against the Linux Entropy Pool engi by yarbo · · Score: 2, Informative

    http://catlin.casinocitytimes.com/articles/1243.ht ml Someone once beat Keno 3 times in a row and won $620,000 by figuring out a weakness in the 'randomly' generated numbers.

  57. Re:Enhacements against the Linux Entropy Pool engi by cazzazullu · · Score: 1
    As far as I know random number generators are still algorithms that start from a certain number (the seed) and then generate a sequence of numbers that:
    - Doestn't repeat itself for a very long time
    - Doesn't have a distinct distribution if you plot them in an N-dimensional space relative to their rank-number (plot number x with value y on axis x modulo N for instance).

    There are however several disadvantages: You can easily recreate the sequence when you know the seed, there is always a maximum N whereafter there will be a distinct distribution, and these algorithms often are slow. Now a fast hardware-random number generator could solve all these problems: Your numbers are REALLY ALWAYS random. And this cannot be too difficult to make I guess, since a lot of quantummechanical effects you can observe in electronics are inherently random.

    --
    int main(void) {while(1) fork(); return 0;}
  58. Too much security by emiste · · Score: 3, Interesting

    Sometimes I get a feeling saying that people spend too much time thinking about security in the OSS world. Security is important, but as mentioned earlier, has a system's security for example ever been compromised because of insecure random number generation?

    It's just like the VPN softwares around. Take for example IPsec/FreeSWAN and OpenVPN. OpenVPN offers great security using SSL and TLS. Both those protocols are in the present time considered secure and it's fairly simple to setup.

    IPsec on the other hand, takes the concept of security to a whole new level. This affects the overall software, turning it into a pain to set up and understand. And in order to make full use of the security you have to understand how it works.

    I bet many security issues arises out of misconfiguration due to unnecessary complexity in the software. Keep it simple stupid is the way to go.

    My point is: isn't secure security enough? Does it have to be better?

    1. Re:Too much security by Anonymous Coward · · Score: 0

      I'm shocked that the parent post was labelled insightful.

      Security is not something which is "just there" in software. The best you can do is have layers so that -when- [not if; look at the numbers of vulnerabilities in common linux software recently] something breaks, damage can be minimized or even avoided.

      The parent mentions various VPN packages. They're both more secure than telnet... there's always room to improve security, although the core work ought to be done at -design- time.

      Excessive complexity can actually reduce security, regardless of the theoretical benefits; as pointed out in the parent, IPsec [under linux, at least] can be a total pain. Too much complexity adds the risk of the software not being used, or worse, being used in an insecure configuration with a false sense of security.

      Security is -not- the same thing as 'difficult to use' or 'slow' or whatever. Yes, some attempts at increasing security have those side effects; that does not mean they are intrinsic to security.

      However, the question "isn't secure security enough" is amazingly misleading; there are no secure commonly used operating systems, including OpenBSD. All that varies is the degree of insecurity.

    2. Re:Too much security by Reteo+Varala · · Score: 1

      Under normal circumstances, that would, in fact, be the case.

      However, sometimes security is more important than even availability; perhaps you are storing information on your computer that is the blueprints for some massive new technology that will revolutionize some industry. Obviously, you don't want someone breaking in on a bet, and leaving with something that might just destroy you financially.

      Or perhaps you're in one of two companies in a hotly contested industry; the last thing you need is the competition getting a whiff of your plans before you put them into action.

      Or perhaps you're an intelligence agency whose job is to get the dirt on other competing nations. Now, I'm not getting into the politics of the thing here, but there is a DAMN essential requirement that enemy agents aren't going to compromise your line of communication.

      The question is what you have to hide, who you're hiding it from, and the value of what you have to hide. And sometimes, even the most draconic of measures aren't enough.

  59. two questions by tmalsburg · · Score: 1

    1.) Shouldn't the normal Debian distribution be hardened?

    2.) Why does the "true" random number generator combine two sources of entropy? If one source delivers true unpredictable random numbers you don't need a second source. On the other hand if you combine two sources that are predictable the result will be predictable as well. Right?! So why two sources??

  60. Re:Why the fuss? by merlin_jim · · Score: 1

    Apparently, not only had you made the joke before, but we've had this conversation about you having made that extremely unfunny joke before... cause we both got modded down as redundant.

    I'm thinking you must have a vindictive mod or some such. You didn't piss off the anti-slash folks did ya?

    --
    I am disrespectful to dirt! Can you see that I am serious?!
  61. ok... by AgentAce · · Score: 1

    ...which uses thermal noise and also the atomic decay from a Geiger counter, making true unpredictable random numbers.

    unpredictable my ass...
    people should let go of this "chaos" fad and move on

  62. Re:Sarge...Guard Dog...iptables...&...runlevel by Anonymous Coward · · Score: 0

    Have Guard Dog installed, it's default on Mepis. Problem is, Guard Dog is more complicated than it should be. It actually works opposite of what it says, depending on what services you want to run, vs. what you want to work on the outside. Instead, or as alternate tabs, it should work simply as, allow port 80 incoming and outgoing, both tcp and udp, allow port 53 tcp, block all other ports, except from this subnet, etc.

    Guard Dog isn't laid out this simply, it's more complicated, and the way that it is explained, to what it actually does, are opposites, therefore it takes trial and error to determine if you are really blocking services you want to block, while allowing other services through that you really want through.

    Also, from what I see, Guard Dog doesn't work in runlevel 3, but I may be wrong on this. I also installed firehol, but I haven't tried configuring it yet. While I'll be running X to administer the box, when I'm not administering it, the box will be running in runlevel 3, not 5. If Guard Dog doesn't run in runlevel 3, it is of no use to me (not saying anything disparaging for those that find it useful, just not useful or intuitive for me).

    Also, if you search, you can find a few sites that will create config files for iptables, where you just input the ports you want open, subnets, etc. As to where to put the file after you download it after it is created...

  63. Re:Why the fuss? by iamatlas · · Score: 1
    Apparently, not only had you made the joke before, but we've had this conversation about you having made that extremely unfunny joke before... cause we both got modded down as redundant.

    Maybe they are moderators from an alternate reality in the quantum internet where I did make that joke, many, many times.

  64. Debian Hardened by Anonymous Coward · · Score: 0

    Debian Hardened, the RMS porn movie.

  65. SNARE in Debian (Re:Itch scratching, and audit) by javifs · · Score: 1

    As for SNARE in Debian, the only reason there are no available SNARE packages in Debian (version 0.9.1 in experimental) is just because of my lack of time in order to produce those. On top of that, there has been few interest and demand, if any, for SNARE packages in Debian by Debian users. For an example check the bugs reported in the BTS, and, yes, I've been also slow in fixing bugs there.

    If you would be willing to help co-maintain a set of packages for Debian we could probably review your packages and have them available in the unstable and, eventually, in the stable distribution.