Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Ask Jon And Jay About Bastille Linux

Posted by timothy on Tue Oct 31, 2000 01:30 PM
from the or-I-shall-taunt-you-a-2nd-time dept.
You've heard about Bastille Linux 'round these parts before (on July 17 of this year) -- it's a set of scripts bundled to create (in combination with a base install of a distribution like Red Hat) a much more secure box than would be the default. The basic philosophy behind Bastille seems to be "It shouldn't be difficult to lock down your Linux box." Now, here's your chance to ask Bastille gurus Jon Lasser and Jay Beale about the project.You'll want to check out the project's main page, first, and also some of the security articles Jay's written as well as the additional information on his personal page. (And if that Lasser fellow's name is familiar, it should be -- he's also the author of the excellent Think Unix reviewed a few weeks ago.) So post your questions below, and Jay and Jon will soon respond in depth.
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • Re:Question by AFCArchvile (Score:1) Tuesday October 31 2000, @08:46AM
  • Re:Question by Hairy_Potter (Score:1) Tuesday October 31 2000, @08:46AM
  • Think Security? by sherpajohn (Score:2) Tuesday October 31 2000, @09:42AM
  • Re:Ok, you closed some holes in RedHat by iamsure (Score:2) Tuesday October 31 2000, @09:54AM
  • Building a new distro.. by iamsure (Score:1) Tuesday October 31 2000, @09:57AM
  • RH 7.0? by junkmaster (Score:1) Tuesday October 31 2000, @10:09AM
  • Re:Ok, you closed some holes in RedHat by cetan (Score:2) Tuesday October 31 2000, @11:23AM
  • Is it difficult to target 180+ linux distros by mr (Score:2) Tuesday October 31 2000, @10:14AM
  • moving towards a more secure linux by brokeninside (Score:2) Tuesday October 31 2000, @10:14AM
  • Bastille Architecture by brokeninside (Score:1) Tuesday October 31 2000, @10:15AM
  • Not at all by Bastian (Score:1) Tuesday October 31 2000, @11:26AM
  • Traditional methods? by ca1v1n (Score:2) Tuesday October 31 2000, @11:36AM
  • Re:Think Security? by jjb (Score:1) Wednesday November 01 2000, @11:42AM
  • Securing Linux the Bastille Way by MrEfficient (Score:2) Thursday November 02 2000, @08:54AM
  • by FeeDBaCK (42286) on Tuesday October 31 2000, @08:50AM (#661623) Homepage
    Actually this is a quite common question among those in the know. Why *DO* the Distribution makers enable services by default that can potentially leave the system wide open to script kiddies? Especially with the droves of Windows users whom are trying Linux for the first time and are not always up on the latest sendmail/wu-ftpd/bind/whatever exploit of the week. Creating a more secure environment from the get-go should definitely be in the eyes of the ditro-makers. I applaud Bastille for their work in helping make the Internet a safer place to be.
  • Re:This is not a perfect world. by AFCArchvile (Score:1) Tuesday October 31 2000, @08:50AM
  • Debian? (Score:5)

    by luge (4808) <[gro.yugeit] [ta] [todhsals]> on Tuesday October 31 2000, @08:51AM (#661625) Homepage
    Do you guys have any plans to do something similar for Debian, or have others approached you about it? I'd love to apt-get install bastille, and have it do something similar to what I've heard it does for RH. Anyway, even if you don't, keep up the good work.
    ~luge
  • Re:Why is Bastille Necessary? by TWX_the_Linux_Zealot (Score:1) Tuesday October 31 2000, @08:51AM
  • MD5 Checksum? by Parity (Score:2) Tuesday October 31 2000, @10:33AM
  • Firewall script by Anonymous Coward (Score:1) Tuesday October 31 2000, @08:55AM
  • Re:Not such a good name for a distro... by A coward on a mouse (Score:1) Tuesday October 31 2000, @10:49AM
  • Spreading the Bastille by mikeraz (Score:1) Tuesday October 31 2000, @10:53AM
  • Re:Ins't this reinventing the wheel? by Enahs (Score:1) Tuesday October 31 2000, @10:54AM
  • by pb (1020) on Tuesday October 31 2000, @10:56AM (#661632)
    First, if you want a default installation that's "hardened from the get-go", either run OpenBSD, or a non-UNIX that has no services.

    However, I don't see why this is really necessary. It's the sysadmin's job to secure his boxes, which is generally done after installation. First, you only select the services you need, then you tighten things up. Bastille just speeds this process up, and helps out novices a lot. Also, the OpenWall security patches (for the Linux kernel) are quite nifty; also, on ext2, chattr is pretty sweet if you're really paranoid. :)

    It would be nice if a distro had a "Secure" option during installation, but basically they're just catering to the masses. Maybe you want to run 'ping'; maybe you're behind a firewall. Maybe you're not on the internet. Maybe you want to have all your services running in default configurations at startup, so you can tweak them later...

    Basically, it's just easier to let the admin decide what to do with the box, and making it less secure makes that process easier for them as well. Most people don't know or care about security. And remember, just as the best form of birth control is still abstinence, the best form of network security is still the 'air-gap'.
    ---
    pb Reply or e-mail; don't vaguely moderate [ncsu.edu].
  • Vigilance by Enahs (Score:2) Tuesday October 31 2000, @11:56AM
  • Re:Not a hard interview by Enahs (Score:1) Tuesday October 31 2000, @12:00PM
  • Jon: your education in the humanities by Anne Marie (Score:1) Tuesday October 31 2000, @10:56AM
  • Oops, I think I got a little confused... by Nailer (Score:1) Tuesday October 31 2000, @12:01PM
  • Re:Why is Bastille Necessary? by rafa (Score:1) Tuesday October 31 2000, @12:38PM
  • Any opinions regarding Linux permissions? by Nailer (Score:1) Tuesday October 31 2000, @12:53PM
  • What kind of users do you target? by gunga (Score:2) Tuesday October 31 2000, @12:58PM
  • How does this compare to TrinityOS? by smoothdave (Score:1) Tuesday October 31 2000, @01:02PM
  • Ins't this reinventing the wheel? by Hairy_Potter (Score:1) Tuesday October 31 2000, @08:32AM
  • Re:Ins't this reinventing the wheel? by Cheesemaker (Score:1) Tuesday October 31 2000, @08:38AM
  • Inclusion in distros? by OdinHuntr (Score:2) Tuesday October 31 2000, @08:38AM
  • Configuration (Score:5)

    by FeeDBaCK (42286) on Tuesday October 31 2000, @08:56AM (#661644) Homepage
    In what way does Bastille differentiate between different types of installs? Does it prompt the users about services? Will it shut off my apache service if I plan on making this machine a web server?

    What third party tools do you install/recommend to help with the hardening of the system? Tripwire? tcpserver?

    Do you incorporate any form of checking when doing your install to ensure that the box has not already been compromised, such as checking for common trojans/backdoors?
  • Ok, you closed some holes in RedHat by Hairy_Potter (Score:1) Tuesday October 31 2000, @08:58AM
  • Question (Score:3)

    by JCCyC (179760) <jcastro@vialink.comELIOT.br minus poet> on Tuesday October 31 2000, @09:00AM (#661646) Journal
    What were the top 3 most asinine security holes you ever encountered on a GNU/Linux distro?
  • Re:my question by FeeDBaCK (Score:1) Tuesday October 31 2000, @09:03AM
  • Very funny... by Enahs (Score:1) Tuesday October 31 2000, @11:06AM
  • Heh... by Enahs (Score:1) Tuesday October 31 2000, @11:08AM
  • Re:Not such a good name for a distro... by Chalst (Score:2) Tuesday October 31 2000, @11:10AM
  • Re:Linux and Time by -stax (Score:1) Tuesday October 31 2000, @11:11AM
  • Re:my question by Enahs (Score:1) Tuesday October 31 2000, @11:12AM
  • Role specific script? Wizard? by seantrue (Score:2) Tuesday October 31 2000, @01:07PM
  • Re:Question by -stax (Score:1) Tuesday October 31 2000, @11:15AM
  • by Skapare (16644) on Tuesday October 31 2000, @01:17PM (#661655) Homepage

    How will Bastille allow users to treat their computer and network security as a "process" (as Bruce Schneier is quoted to say). Are there tools to help users deal with security "events"?

  • Shouldn't be the sysadmin's job when there is none by Ungrounded Lightning (Score:2) Tuesday October 31 2000, @01:20PM
  • Bastille Day by magnetx11 (Score:1) Tuesday October 31 2000, @01:24PM
  • by mosch (204) on Tuesday October 31 2000, @01:55PM (#661658) Homepage
    Given the world's largest cluestick with which you could assault every single SysAd on the planet, what clues would you distribute, other than the use of bastille, and the knowledge that there's life outside computers?

    --
    "Don't trolls get tired?"
  • Re:Bastille Linux by Chas (Score:1) Tuesday October 31 2000, @02:23PM
  • User Education by Codeala (Score:1) Tuesday October 31 2000, @02:38PM
  • Re:Shouldn't be the sysadmin's job when there is n by pb (Score:2) Tuesday October 31 2000, @03:53PM
  • by matman (71405) on Tuesday October 31 2000, @08:38AM (#661662)
    I have two questions actually.

    The first: do you plan to make a non distribution specific hardening program/system/script? If so, how? It would be neat to have a consensus between distributions on file locations, etc to make this easier; do you plan on working with other distributions to come up with some sort of common interface or environment?

    The second: do you plan on including any kernel based capability, IDS, or ACL addons? A good default use of these features would greatly increase the security of linux in general, but they are prohibitively complex for most users. Thus, these are great things to have taken care of by the system - do you plan on working on something to control these things (semi)automatically?
  • by DG (989) on Tuesday October 31 2000, @08:39AM (#661663) Homepage Journal
    In a perfect world, the Bastille scripts would be unecessary, because the default installation of the distribution would have been hardened from the get-go.

    Why do you feel that various distributions are so insecure by default? What are the most common mistakes they make? What kinds of changes need to happen at Red Hat to make your scripts unneeded?

  • Re:ooo by Signal 11 (Score:1) Tuesday October 31 2000, @08:41AM
  • Add-ons & Such by Fender21 (Score:1) Tuesday October 31 2000, @08:42AM
  • Bastille Linux (Score:5)

    by Wubby (56755) <tduvallyNO@SPAMduvally.com> on Tuesday October 31 2000, @09:16AM (#661666) Homepage Journal
    Did you guys consider your own distro? Why, why not and will you create a full Bastille distro.

    (One minor wishlist item: could you fix the Curses thing for sparc) Sorry, just had to sneak that in.

  • by Coz (178857) on Tuesday October 31 2000, @09:21AM (#661667) Homepage Journal
    A two-part question:

    What features do you feel are missing from Bastille as it stands today, and aren't in the roadmap you have for the immediate future?

    What elements of system security do you feel should be part of the "core" (if not the kernel) of the operating system, and why (in your opinions) aren't they there already?

  • This is not a question. by dbarclay10 (Score:2) Tuesday October 31 2000, @09:28AM
  • How do you check actual safety of your distributio by Anonymous Coward (Score:1) Tuesday October 31 2000, @09:29AM
  • Re:Configuration by Anonymous Coward (Score:1) Tuesday October 31 2000, @09:31AM
  • Parent should be modded down... by F.Prefect (Score:1) Tuesday October 31 2000, @05:06PM
  • Bastille for Debian by mr. fabulous (Score:1) Tuesday October 31 2000, @06:32PM
  • Target audience (Score:3)

    by DreamerFi (78710) <.john. .at. .sinteur.com.> on Tuesday October 31 2000, @09:33PM (#661673) Homepage
    Bastille is a great project, but ultimately it targets people who sort-of know what they are doing. How do you feel about projects like the NetBSD/i386 Firewall Project [dubbele.com] who (whilst having all sources available) targets people who have no clue other than "I need security" by giving them a firewall that has an install that's about as simple as one can make it? Is this just a matter of defining the target audience different?
  • Why not Debian? by Tamriel (Score:1) Tuesday October 31 2000, @11:52PM
  • by AFCArchvile (221494) on Tuesday October 31 2000, @08:42AM (#661675)
    ...especially if you want to convey security. Do you remember your late 18th century European history? Right. The Bastille in France was invaded and destroyed, prisoners were liberated, and the monarchy was overthrown by that terrible harbinger of death, La Guillotine.

    I'd hate to see any Bastille Linux-oriented viruses or trojans. Maybe there will be one which triggers on July 14th of every year and echoes on the screen: "Liberté! Egalité! Fraternité!"

    For more historical stuff on Bastille Day, check out this link to the French Embassy [info-france-usa.org].

  • security by Sakke (Score:2) Tuesday October 31 2000, @08:43AM
  • Re:Not a hard interview by Protozoa (Score:1) Tuesday October 31 2000, @08:44AM
  • by FeeDBaCK (42286) on Tuesday October 31 2000, @08:45AM (#661678) Homepage
    I believe that the concept is not to attempt to replace OpenBSD, but rather to create a way to harden Linux. Most distributions leave themselves wide open for some script kiddie to root your box before you even get the chance to completely set it up. By creating a distribution that is more secure out of the box, it allows for a lessened chance of the machine being compromised prior to hardening. OpenBSD is not perfect. It *is* secure in its default install and is audited very rigorously. I applaud the OpenBSD team for their great pains in increasing security and awareness. I believe where Bastille really gets their merit is the situation where a person feels more comfortable using linux as opposed to a system that they may not be as familiar. I would feel more comfortable in securing a linux box than I would some other OS because I am more familiar with linux. This also solves a problem wherein a PHB decides that you're going to use that new lienucks thingy I have been hearing about. Not all decisions of what OS to use for a particular job are decided by someone who has a clue. Sometimes we just have to make best with the tools we are given. I think Bastille does an excellent job of doing this and making us feel a little better about the inherent insecurities of linux versus other systems.