From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 3616 invoked from network); 20 Jan 1999 19:32:17 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 20 Jan 1999 19:32:17 -0000 Received: from hotmail.com (f63.hotmail.com [207.82.251.197]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id OAA16831 for ; Wed, 20 Jan 1999 14:06:35 -0500 Received: (qmail 12074 invoked by uid 0); 20 Jan 1999 19:06:06 -0000 Message-ID: <19990120190606.12073.qmail@hotmail.com> Received: from 24.0.139.66 by www.hotmail.com with HTTP; Wed, 20 Jan 1999 11:06:06 PST X-Originating-IP: [24.0.139.66] From: "Designer 7" To: axp-list@redhat.com Subject: Re: Security (was Re: Wanna Buy My Alpha?) Date: Wed, 20 Jan 1999 11:06:06 PST Mime-Version: 1.0 Content-Type: text/plain I have to say, I almost totally agree with you. The part about risk assessment (just rephrasing what you seem to be saying), and compromise between services and security... well said. Also, the part about physical security.... very true too. However, as anyone working in the security field would know, these days, the philosophy of "security thru obscurity" simply carries too high of a risk, even if you're protecting yourself from so called "kiddie scripts." (i've personally never heard of that phrase) With all the information available on the internet, and the ease of access these days, the kid in the garage cracker can easily go beyond using a few well known hacks. It's easy enough to find step-by-step instructions on building a bomb on the internet, is it that much harder to go beyond some simple scripted attacks? Also, even though I have no statistics to prove anything (nor do statistics necessarily prove anything)... but the increase number of attacks in the past few years (mostly proportional to the increase population on the net)... should also raise a few concerns. You now have a greater population of crackers, this could mean many things. First, you should suspect that you have a greater variety of cracker personalities (if you're profiling your attacker). This could mean very persistent and intelligent kids. Second, collaborative cracking attacks... this we've seen quite a bit last year already. With such collaborative efforts, do you think they will all simply use scripted attacks? With the exchange of ideas and methods, I would think they could easily go beyond your simple scripted attacks. Also, some of the recent attacks I'm aware of involve sniffers. So even if you're on an Alpha, if you run something like telnet, or non-anonymous ftp with a user account over a public network, you're screwed. About a year ago, I had just gotten a cable modem service, and was running a windows 95 box on it. I had ftp running so that I could transfer files from work with an non-anonymous account, with user and password different from my higher security accounts. I just wanted to keep warez people from uploading to every anonymous ftp site, but still be able to ftp myself a few files from work (low security docs). Well one day, someone somehow was able to execute a change in the win95 registry remotely, subsequently gaining anonymous ftp access. They then uploaded an executable containing a virus. And that was it... clearly the work of some kid screwing around. Fortunately, I never executed the virus, and during a standard virus scan, it was found and deleted. I later checked my logs and via some social engineering with the ISP, found out it was some college kid living in southern california. I contacted the kid to tell him I knew it was him, he got a little scared, and was surprised that anyone could track him down. He apologized, almost sounding like he pissed in his pants... so I figure it was enough and since no real damage was done, nor did i have anything important on my win95 box, I let him go... actually, he and I keep in touch and are more or less buddies. Anyways, the point is, your typical college kid found some way to change the win95 registry remotely... that to me is a pretty sofisticated attack... well, at least it still beats me as to how he did that. I've never seen this attack in the standard security bulletins... maybe I missed something, but at least to me, this is beyond running a few standard scripts. Ok.. this is getting way off topic... anyone wanting to discuss security with me, just email me directly,... I think I've had enough of this discussion on the list. D. >>Why Alpha? A couple of my development projects need 64bit support. >>Most of the rest is security thru obscurity -- few to none of the >>script kiddie hacks work on Alphas (they rely on one or more of x86, >>little-endian, 32bit). This lets me be a little more sloppy in my >>security maintenance and still keep a working system on the public >>Internet. > >There has been a little debate on the list lately becuse of this >statement. I'll defend it too :) > >It is sort of true that using an Alpha over Intel is security through >obscurity. > >However, I'll tell you what .. if I wanted root on most anyone's machine >bad enough, I could probably get it.. even people that follow CERT >religiously and who patch every known hole in the software and OS. > >How? The hardware is probably insecure. I walk into your house, sit at >the console and boot to a floppy. I have root. I mount your partition, >change /etc/shadow, and reboot. You are hosed. If you have a BIOS password >it'll take me a few more minutes to pull the CMOS RAM battery .. but >if I have the console, I basically have root. Most people have little, if >any, home security. > >Now, I don't want to get off on a security tangent here.. but this is a >parallel to Intel/Alpha security issues. > >Most attackers who will break into your home don't give a crap about root. >They'll take the machine itself, pawn it off and they don't need root. >Most attackers who want root, won't break into your home. > >Therefore to keep someone from getting root on your box, you don't need to >live on a military base and keep your machine in a bank vault. Physical >compromise isn't a likely attack scenario for most people. > >Similarly, for many servers, scripted attacks are the only ones they have >to worry about. For the guys that can get into any box because they write >the scripts to begin with, they will have more interesting targets. They >aren't in the attack scenario.. script kiddies running around with the >new 0-day DoS attack are the ones that will likely hit your machine. > >Using an Alpha stops them. > >If you're protecting nuclear launch codes, you're working in a different >model .. if you're just trying to run a box to keep a smooth internet >connection going, and don't necessarily have secrets to hide, protecting >from script kiddies is fine, so long as you don't make for yourself some >intelligent enemies and change your threat model all around again. > >Myself, I have known vunerabilities in software that I use. I accept these >vunerabilities because the only two users of the machine are myself and >a trusted friend (who has root via sudo anyhow .. so if he really wants >to get flashy and get a root shell through a 'sploit instead .. who >cares?). So, I don't worry about local attacks .. instead I keep remote >access tied down. SSH happens to be the only way in from unknown networks, >and telnet w/ OPIE is as good as it gets for trusted networks.. all other >daemons are firewalled. And, really, OPIE would be good enough for me .. >but I like playing with crypto so I set SSH up just to do it. A different >threat model than if I had a hundred and twenty users to worry about. > >Real security is about balancing use vs. security.. because, if you pursue >"security" (paranoia is a better word) fully, you'll bury your box under >30 feet of concrete and steel with no network connection and no users (not >even yourself). Because as long as there _is_ a way in, there is a >possibility for unauthorized access. > >It's all about threats and acceptable models for an application, folks.. >not some imaginary end of "absolute security" .. it doesn't exist.. for >reasons closely tied to stuff like Godel's Incompleteness Theorem or >Turing's Halting Problem.. its just something you have to live with. > >Now, I better cover this now, because someone invariably says it .. the >OTP is an absolutably secure cryptosystem, yes. But an OTP doesn't help >you when an attacker takes some .. compromising pictures .. of your >secretary or attorney, or .... and gets her to steal the pad. Its only >absolutably secure in a given model, namely in a model where eavesdropping >on the ciphertext and even some (or all) knowledge of the plaintext is >the only attacks. An OTP gives no message authentication .. if you're >worried about that sort of thing, you need to use a MAC too.. it doesn't >help against bribery or torture. > >You have to pick your likely threats. > >Michael J. Graffam (mgraffam@idsi.net) ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com