Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Words From Bastille Developer Jay Beale

Posted by timothy on Mon Jul 17, 2000 05:51 PM
from the honey-did-you-remember-to-secure-the-linux-box? dept.
How secure do you feel? Occams Razor points to "A great interview with [Jay Beale,] the Lead developer, about the Linux Bastille project." Beale talks about the direction that Bastille has taken, and seems fairly pragmatic about the Linux security model and computer security in general. A nugget: "... to fully secure a system, you really have to grind it into dust, scatter the pieces to the wind, and hope that Entropy does [its] part. Since you can't do this, you make tradeoffs."
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.
(1) | 2
  • Re:In my experience... by Anonymous Coward (Score:1) Monday July 17 2000, @02:23PM
  • Re:Universities by Anonymous Coward (Score:1) Monday July 17 2000, @02:49PM
  • In my experience... by Anonymous Coward (Score:2) Monday July 17 2000, @02:12PM
  • Re:Bastille gripes... by mosch (Score:2) Monday July 17 2000, @05:27PM
  • Re:Completely Unnecessary by embobo (Score:1) Monday July 17 2000, @01:15PM
  • Re:Completely Unnecessary by embobo (Score:1) Monday July 17 2000, @02:21PM
  • Re:other distros? by mikpos (Score:1) Monday July 17 2000, @02:50PM
  • Re:But the real question is... by luge (Score:1) Monday July 17 2000, @05:12PM
  • by luge (4808) <[gro.yugeit] [ta] [todhsals]> on Monday July 17 2000, @03:03PM (#926385) Homepage
    Why name a security product after a fort whose only claim to fame is that it was stormed by a bunch of peasants?
    Seriously, it sounds like a cool product, but a) no debian yet so no help to me :( and b) really, a better name :) My suggestion would be Gibraltar, or maybe (once they get IDS set up) "Invading Russia in Winter."
    ~luge
  • Re:The real question is... by Sick Boy (Score:1) Monday July 17 2000, @01:16PM
  • Re:Bastille gripes... by Zagadka (Score:1) Monday July 17 2000, @04:16PM
  • Re:Bastille gripes... by Zagadka (Score:1) Monday July 17 2000, @05:35PM
  • Bastille gripes... (Score:5)

    by Zagadka (6641) <zagadka AT xenomachina DOT com> on Monday July 17 2000, @01:06PM (#926389) Homepage
    I installe Bastille a few days ago. It's a great idea... a security "hardener" for Linux. There are a few things about it that kind of bugged me though.

    On thing that bugged me is the fact that it doesn't make it easy for you to choose what kind of security you're really looking for. For example, all I'm really concerned with on my home machine is network security. I don't want people connecting from a remote location and doing nasty things. On the other hand, I don't care about people who have physical access to the machine, because I have physical security to prevent that. Bastille ended up chmod'ing a bunch of executables so only root could use them. This ended up breaking numerous things, including the Helix updater. I couldn't even run ifconfig as a normal user after running Bastille. At least it generates pretty thorough logs, so I was able to undo the "damage".

    The other thing is that it doesn't do any checks of what's turned on in your kernel. I was pretty sure I didn't have the firewall support compiled in, so I was pretty surprised that Bastille didn't complain. Some investigation showed that the scripts it installed to secure the network connection were all failing because of this. This is especially dangerous, because without actively checking, some users will think their system has been secured when it really isn't.

    Over time, I'm sure Bastille will get better. In the meantime there are some quirks though, so be careful.
  • ROFL! by Mr Z (Score:1) Monday July 17 2000, @01:49PM
  • Bastille Security by jjr (Score:1) Monday July 17 2000, @01:09PM
  • Re:Dont Forget About the Most Neglected Security T by craw (Score:1) Monday July 17 2000, @04:52PM
  • Re:Bastille gripes... by craw (Score:2) Monday July 17 2000, @02:02PM
  • by pen (7191) <slashdot3@digdug.cx> on Monday July 17 2000, @12:57PM (#926394)
    Security is inversely proportional to convenience.

    --

  • Re:Dont Forget About the Most Neglected Security T by Signal 11 (Score:2) Monday July 17 2000, @02:35PM
  • Re:Dont Forget About the Most Neglected Security T by Signal 11 (Score:2) Tuesday July 18 2000, @05:39AM
  • Re:Completely Unnecessary by Luke (Score:1) Monday July 17 2000, @01:28PM
  • Re:Completely Unnecessary by Luke (Score:1) Tuesday July 18 2000, @05:46AM
  • Re:You're only as secure as your neighbors by finkployd (Score:2) Monday July 17 2000, @02:35PM
  • Re:But the real question is... by disappear (Score:1) Monday July 17 2000, @03:53PM
  • Re:Just a few days late! by disappear (Score:1) Monday July 17 2000, @03:56PM
  • Re:In my experience... by disappear (Score:1) Monday July 17 2000, @03:58PM
  • Re:But the real question is... by DeanT (Score:1) Monday July 17 2000, @04:12PM
  • Re:Perfictly secure linux, whats the point? by nchip (Score:1) Tuesday July 18 2000, @12:50AM
  • Re:In my experience... by Tony-A (Score:1) Monday July 17 2000, @11:38PM
  • Re:If he used OpenBSD... by dmp (Score:1) Monday July 17 2000, @08:48PM
  • Re:In my experience... by tiny69 (Score:2) Monday July 17 2000, @08:05PM
  • Re:Universities by Zurk (Score:1) Monday July 17 2000, @01:49PM
  • Re:other distros? by Zurk (Score:1) Monday July 17 2000, @01:54PM
  • Re:Completely Unnecessary by Zurk (Score:1) Monday July 17 2000, @02:00PM
  • Re:other distros? by Zurk (Score:1) Monday July 17 2000, @03:54PM
  • by thogard (43403) on Monday July 17 2000, @03:20PM (#926412) Homepage
    You used CERT to find out where the holes are. CERT is years behind bugtraq [securityfocus.com]
  • Re:A better way of saying it... by anticypher (Score:2) Monday July 17 2000, @02:25PM
  • by anticypher (48312) <anticypher&gmail,com> on Monday July 17 2000, @01:26PM (#926414) Homepage
    First step to securing a system is to secure the admin.

    Then go to work securing the system.

    Its a motto I've been living by, but it can be very frustrating at times when all someone wants is a big security switch. I tell them its the one marked [| O], the | means insecure, the O means Oversecure.

    the AC
  • Re:Dont Forget About the Most Neglected Security T by jovlinger (Score:2) Tuesday July 18 2000, @04:06AM
  • Re:other distros? (Score:3)

    by casret (64258) on Monday July 17 2000, @01:32PM (#926416)
    That is a dangerous assumption. Nowadays with the growth of broadband and always on connections, its important that all machines are secure.

    In fact I would say that since desktop machines are administered as well or as closely as server machines, its more necessary to have easy ways to secure it.

    Many insecure desktop machines are used to cover the tracks of crackers, as well as to launch DDoS attacks.
  • by zorgon (66258) on Monday July 17 2000, @01:28PM (#926417) Homepage Journal
    Good point. In part you are describing a minor problem with documentation. Poor or less-than-complete (to use less judgmental terms) documentation is even now something that is not addressed well by developers, both in the closed and open source models. I'd think Satan will be handing out ice skates before Joe Hacker will say "Naw, I don't feel like coding on this project, I'll write documentation instead." (note to knee-jerk responders -- not everyone who uses an open source product can (or wants to) read the code to figure out what it's supposed to do). Of course, now nobody is expected to read what documentation is present because it goes without saying that it's not what you need to know ... sigh...

    WWJD -- What Would Jimi Do?

  • Re:Dont Forget About the Most Neglected Security T by 23 (Score:1) Monday July 17 2000, @06:08PM
  • Re:Bastille gripes... by normiep (Score:1) Tuesday July 18 2000, @04:39AM
  • by normiep (68432) <pblaer@panix.com> on Monday July 17 2000, @01:17PM (#926420)

    Bastille ended up chmod'ing a bunch of executables so only root could use them. This ended up breaking numerous things, including the Helix updater. I couldn't even run ifconfig as a normal user after running Bastille. At least it generates pretty thorough logs, so I was able to undo the "damage".

    This is all part of network security though. The purpose of doing this kind of "damage" isn't just protecting you from local users. The idea is that if an outsider cracker manages to compromise a user account (which is much easier than getting root directly) you want to prevent them from then using internal exploits to gain root.

  • Not to mention... by G-Man (Score:2) Monday July 17 2000, @03:02PM
  • A quote... by ptbrown (Score:1) Monday July 17 2000, @05:29PM
  • What's he doing here? by Super_Frosty (Score:1) Monday July 17 2000, @01:08PM
  • The real question is... by Super_Frosty (Score:1) Monday July 17 2000, @01:11PM
  • Re:The real question is... by Super_Frosty (Score:1) Monday July 17 2000, @02:00PM
  • You're only as secure as your neighbors by goingware (Score:2) Monday July 17 2000, @02:10PM
  • by goingware (85213) on Monday July 17 2000, @01:50PM (#926427) Homepage
    When I was at Apple [apple.com] in 1990 I was raising hell about security holes in A/UX. The thing shipped with no-password guess access enabled by default, and I could become root on the thing in about 30 seconds after a bit of practice if I could log in at all.

    While my complaints about A/UX fell on deaf ears in the A/UX team, the people who maintained the Unix machines for Apple employees to use (yes, some Apple employees do use Unix, they even used to have a Cray running Unicos) invited me to play capture /flag.

    In the root directory of some of the multiuser machines was a file named flag that was not writeable. The objective was to write into it and then tell the admins how you did it.

    When I started the current contents was "such and such a department rules". I guess I would have written "Mike was here" or something.

    While I was able to crack A/UX 2.0 every which way, I never could capture /flag.

    My understanding is the security holes got fixed in A/UX 3.0. It's a dead product now.

    The way I found the security holes was to start methodically working through the CERT advisories [cert.org] and checking which ones A/UX was not compliant with. When I'd find one and they'd refuse to fix it, I'd file a bug report and send some emails around with explicit details of how you can break root because they weren't listening to CERT.

    If you administrate a computer on a network, you should go through the CERT advisories yourself and tighten up your system.

  • Re: on the way + help appreciated by peterw (Score:2) Monday July 17 2000, @05:44PM
  • Re:Completely Unnecessary by aetius2 (Score:1) Tuesday July 18 2000, @03:58PM
  • Re:Bastille gripes... by carleton (Score:1) Monday July 17 2000, @04:40PM
  • Pushover by xant (Score:2) Monday July 17 2000, @01:45PM
  • No, Not if the Decryption would Self-Incriminate by Sir_Winston (Score:2) Monday July 17 2000, @04:45PM
  • It's Not Released, But He *Didn't* Have to Decrypt by Sir_Winston (Score:2) Monday July 17 2000, @07:01PM
  • by Sir_Winston (107378) on Monday July 17 2000, @01:50PM (#926434)
    I'm always disappointed that there's not a greater effort to provide data security through an easy-to-implement optional encrypted file system. Yes, you can get the patch from Kerneli.org to accomplish this, but this really isn't enough. The first line in the Howto on kerneli is: "This process requires the kernel source code, knowledge of compiling this code, and a lot of patience."

    There should be a distribution--and maybe there is, can anyone point us to it?--which offers the encrypting file system as an option during install. Most of the install process for the more friendly distros already have all the install options laid out in fairly easy-to-use dialogs and what not, but it would go a long way toward insuring privacy if an encrypting file system were a standard install option in a big distro. With relaxation of crypto export regulations, it's becoming increasingly possible for the big US Linux companies to do this, and of course most non-US distros could have been doing it already.

    The fact is, most *nix OSes are already much more secure from cracking exploits and viruses than Windows can ever dream of being; something like Bastille is just icing on the cake. But the next step in security, and in ensuring our privacy, is having an encrypted file system as an option in widely used distros, or in widely used/easy to apply add-on products. A standard complaint when someone suggests this is the increased overhead--but with modern microprocessors, the overhead is barely noticeable--I'd know because I use encrypted file systems in Windows on a measly old K6-2 400, with overhead barely visible at all. Just try using an efs on a processor made in the last 2 years, and you'll see it's pretty snappy. Running programs from encrypted drives does sometimes have noticeable, but not deadly, overhead, but accessing data stored on those drives (logs, writings, multimedia files, etc.) is hardly slower than accessing it on non-encrypted drives. And this is my experience under Windows, I can only imagine that under Linux performance would be far superior.

    Just an attempt to point out that there's more than one issue in security; securing from crackers is far more well addressed, in almost all operating environments, than security for stored data. These days the U.S. and U.K. governments, and many others, are cracking down on expression of unpopular ideas and distribution of IP-infringing source and executables, and if they come to search your computer and find an encrypted file system, you're better off than if they find that copy of a DeCSS sort of proggie you wrote, or that article you thought you published anonymously but they managed to trace back to you, or the opinion you expressed about a company which has now decided to sue you for libel, or that copy of the webpage you uploaded which calls school officials and classmates the misguided bastards they really are.
  • Just a few days late! by intmainvoid (Score:1) Monday July 17 2000, @01:37PM
  • The price of *security* is eternal vigilance by Gurlia (Score:2) Monday July 17 2000, @04:51PM
  • What I like about Bastille by Brave Little Toaster (Score:2) Monday July 17 2000, @01:45PM
  • Re:The price of *security* is eternal vigilance by RFC959 (Score:2) Tuesday July 18 2000, @04:18AM
  • Re:You're only as secure as your neighbors by RainBrot (Score:1) Monday July 17 2000, @03:54PM
  • Re:Perfictly secure linux, whats the point? by RainBrot (Score:1) Monday July 17 2000, @03:58PM
  • Re:Dont Forget About the Most Neglected Security T by RainBrot (Score:1) Monday July 17 2000, @04:14PM
  • Re:Bastille Security by RainBrot (Score:1) Monday July 17 2000, @04:20PM
  • Re:A simpler way of saying it... by RainBrot (Score:1) Monday July 17 2000, @04:23PM
  • Confidentiality is only one aspect of security. by RainBrot (Score:2) Monday July 17 2000, @03:24PM
  • Mandrake == Redhat? by tunesmith (Score:1) Monday July 17 2000, @01:19PM
  • by casp_ (136507) on Monday July 17 2000, @11:21PM (#926446)
    Ok, let me explain (I'm the person from Mandrake Jay is talking about)...

    Mandrake has its own security system, which was called Msec, and was renamed to Usec (Unix Security) because many people asked for Msec to not only work on Linux-Mandrake, but also on any kind of Unix system...

    Msec was coded too quickly, it was a bunch of shell scripts, hardening your system security and doing some security check using a cron job;
    unfortunately, it was unmaintainable...

    So Usec was coded with maintainability in mind,
    using two XML databases, one for security points (see questions, with predefined answer for default security level, etc etc ), and another database with defined actions for each answer to each questions...

    All of that was coded in a library called libbus,
    that can be easily used by frontends.

    Finally, Usec and Bastille-Linux decided to merge into one project called BUS ( Bastille Unix Security );

    The point is that we keep all of the Usec stuff,
    excepted backend, and that we use the Bastille-Linux perl backend, which many people have put a lot of work in ( Bastille-Linux backend support, as an exemple, transaction, and any change can be backed out. )

    All the Bastille-Linux security hardening point will be present in Bastille Unix Security, the security points just need to be rewriten in the XML databases (a lot is already done right now)
  • Perfictly secure linux, whats the point? by elegant7x (Score:2) Monday July 17 2000, @02:23PM
  • Re:Universities by elegant7x (Score:2) Monday July 17 2000, @02:31PM
  • What exactly is the point of this? by horis (Score:1) Tuesday July 18 2000, @01:36AM
  • other distros? by /dev/synk (Score:2) Monday July 17 2000, @01:00PM
  • Re:Universities by tie_guy_matt (Score:1) Monday July 17 2000, @02:27PM
  • Re:A better way of saying it... by Chris Hind (Score:1) Monday July 17 2000, @01:41PM
  • Re:If he based his dist on Debian... by oingoboingo (Score:1) Monday July 17 2000, @11:04PM
  • Universities by KeyShark (Score:1) Monday July 17 2000, @12:57PM
  • Re:Universities by KeyShark (Score:1) Monday July 17 2000, @01:37PM
  • Re:Universities by DavidOgg (Score:1) Monday July 17 2000, @06:26PM
  • Re:A simpler way of saying it... by DavidOgg (Score:1) Monday July 17 2000, @06:36PM
  • Re:No, Not if the Decryption would Self-Incriminat by DavidOgg (Score:1) Monday July 17 2000, @06:47PM
  • Re:What happened to /. Saturday night? by DavidOgg (Score:1) Monday July 17 2000, @06:49PM
  • Re:What's he doing here? by Segfault 11 (Score:1) Monday July 17 2000, @03:21PM
  • Maybe I'm paranoid, but... by vslashg (Score:1) Tuesday July 18 2000, @03:15AM
  • by angry old man (211217) on Monday July 17 2000, @05:34PM (#926462)
    Bagh. Everyone knows that CERTs don't have holes in them. Lifesavers have holes, not CERTs.

    In my day, we didn't have any fancy schmancy Bastille scripts to harden our systems. If we wanted a secure VAX system, we wrote our own scripts to do it. If we didn't know how secure it was, then we called our friend Kevin M. to come over and test it out. Nowadays, all you lazy Silicon Valley kids couldn't secure up a computer if it was turned off. You wouldn't know a secure computer from a circuit breaker and my friend Kevin M. can't help you because he can't come within 10' of a computer. The lazy government didn't like him testing the security of their computers, and threw him in prison!

  • An uninspiring name, no? by Norm Conquest (Score:2) Monday July 17 2000, @02:56PM
(1) | 2