Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Alpha Axp OSF Security Problem
@ 1994-12-15 22:19 Cheryl Dematteis
  1994-12-15 23:32 ` Saul Tannenbaum
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Cheryl Dematteis @ 1994-12-15 22:19 UTC (permalink / raw)


I recently ran into a problem where our Sys Admin changed the root 
password on a machine I was doing some kernel developement on.

As a result I discovered a HUGE security problem with the Alpha Axp's.

There is a 'reset' button on the front of the machines which can be used
to reboot the machines.

I used this and then put the machine into single-user mode (now I'm
root).  Once this occurs, I can edit the /etc/passwd file to eliminate
the password for root, reboot the machine in multi-user mode...  

Now I can login as root without a password.



--
Cheryl K. DeMatteis					    cdematt@cs.ucr.edu
Graduate Student			        http://corsa.ucr.edu/~cdematt/
Department of Computer Science 				         (909)787-3392
University of California
Riverside, CA 92521



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Alpha Axp OSF Security Problem
  1994-12-15 22:19 Alpha Axp OSF Security Problem Cheryl Dematteis
@ 1994-12-15 23:32 ` Saul Tannenbaum
  1994-12-16 20:18   ` John Miller
  1994-12-16  6:25 ` Mike Iglesias
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 10+ messages in thread
From: Saul Tannenbaum @ 1994-12-15 23:32 UTC (permalink / raw)


In article <3cqfck$dlk@galaxy.ucr.edu>, Cheryl Dematteis (cdematt@corsa.ucr.edu) wrote:
> As a result I discovered a HUGE security problem with the Alpha Axp's.

> There is a 'reset' button on the front of the machines which can be used
> to reboot the machines.

> I used this and then put the machine into single-user mode (now I'm
> root).  Once this occurs, I can edit the /etc/passwd file to eliminate
> the password for root, reboot the machine in multi-user mode...  

> Now I can login as root without a password.

This isn't a bug, it's a feature. Among other things, it's how you
break into a machine for which you've forgotten or lost the root password,
though you wouldn't usually leave the root without a password.

Generally speaking, any machine that isn't physically secure - that is, 
one where you can get to the console and/or the reset butoon - isn't
secure at all.
-- 
-- 
Saul Tannenbaum, Manager, Academic Systems | "It's still rocket  
                stannenb@emerald.tufts.edu |    science" - Vint Cerf
Tufts University Computing and             |
                Communications Services    |


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Alpha Axp OSF Security Problem
  1994-12-15 22:19 Alpha Axp OSF Security Problem Cheryl Dematteis
  1994-12-15 23:32 ` Saul Tannenbaum
@ 1994-12-16  6:25 ` Mike Iglesias
  1994-12-16 14:10 ` E-Kai Tsai
  1994-12-16 15:55 ` ivie
  3 siblings, 0 replies; 10+ messages in thread
From: Mike Iglesias @ 1994-12-16  6:25 UTC (permalink / raw)


In article <3cqfck$dlk@galaxy.ucr.edu>,
Cheryl Dematteis <cdematt@corsa.ucr.edu> wrote:
>As a result I discovered a HUGE security problem with the Alpha Axp's.
>
>There is a 'reset' button on the front of the machines which can be used
>to reboot the machines.
>
>I used this and then put the machine into single-user mode (now I'm
>root).  Once this occurs, I can edit the /etc/passwd file to eliminate
>the password for root, reboot the machine in multi-user mode...  

You'll find the same "bug" with most Unix workstations (Sun, SGI, etc).
Setting a console password will prevent booting to anything other than
the default boot, usually multiuser.



-- 
Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     phone:       (714) 824-6926
Office of Academic Computing         FAX:         (714) 824-2069
Central Computing Support        


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Alpha Axp OSF Security Problem
  1994-12-15 22:19 Alpha Axp OSF Security Problem Cheryl Dematteis
  1994-12-15 23:32 ` Saul Tannenbaum
  1994-12-16  6:25 ` Mike Iglesias
@ 1994-12-16 14:10 ` E-Kai Tsai
  1994-12-16 15:55 ` ivie
  3 siblings, 0 replies; 10+ messages in thread
From: E-Kai Tsai @ 1994-12-16 14:10 UTC (permalink / raw)


Cheryl Dematteis (cdematt@corsa.ucr.edu) wrote:
: I recently ran into a problem where our Sys Admin changed the root 
: password on a machine I was doing some kernel developement on.
: As a result I discovered a HUGE security problem with the Alpha Axp's.
: There is a 'reset' button on the front of the machines which can be used
: to reboot the machines.
: I used this and then put the machine into single-user mode (now I'm
: root).  Once this occurs, I can edit the /etc/passwd file to eliminate
: the password for root, reboot the machine in multi-user mode...  
: Now I can login as root without a password.

  But the "reset" button can setup a passwd ,
 
  and V2.0 alos have security setup , if you only boot single , then edit
  passwd ,  but you still can't login with root !


: --
: Cheryl K. DeMatteis					    cdematt@cs.ucr.edu
: Graduate Student			        http://corsa.ucr.edu/~cdematt/
: Department of Computer Science 				         (909)787-3392
: University of California
: Riverside, CA 92521



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Alpha Axp OSF Security Problem
  1994-12-15 22:19 Alpha Axp OSF Security Problem Cheryl Dematteis
                   ` (2 preceding siblings ...)
  1994-12-16 14:10 ` E-Kai Tsai
@ 1994-12-16 15:55 ` ivie
  1994-12-19  9:44   ` Pete Hendry
  3 siblings, 1 reply; 10+ messages in thread
From: ivie @ 1994-12-16 15:55 UTC (permalink / raw)


In article <3cqfck$dlk@galaxy.ucr.edu>, cdematt@corsa.ucr.edu (Cheryl Dematteis) writes:
> As a result I discovered a HUGE security problem with the Alpha Axp's.
> 
> There is a 'reset' button on the front of the machines which can be used
> to reboot the machines.
> 
> I used this and then put the machine into single-user mode (now I'm
> root).  Once this occurs, I can edit the /etc/passwd file to eliminate
> the password for root, reboot the machine in multi-user mode...  

Get real. Everyone knows that if you have physical access to a machine, all
bets are off. There are similar tricks you can do to VMS, too.
-- 
----------------+------------------------------------------------------
Roger Ivie      | Don't think of it as a 'new' computer, think of it as
ivie@cc.usu.edu |     'obsolete-ready'


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Alpha Axp OSF Security Problem
  1994-12-15 23:32 ` Saul Tannenbaum
@ 1994-12-16 20:18   ` John Miller
  0 siblings, 0 replies; 10+ messages in thread
From: John Miller @ 1994-12-16 20:18 UTC (permalink / raw)


Gads.  What would you do if you created a little catch-22 that hung the
system on boot?  Sometimes it's a good thing to be able to get into
your own system single-user from the machine room console.

I understand that you feel this is a security hole.  Someone might come along
and crash the system, get in and create a trap door for later use with no one
the wiser, except that the uptime would have changed and there would be an
unexplained system reboot.  If your system is open to unsavory types
and is poorly monitored, then fix that rather than blame the reset switch.

On the more extreme side, if bad guys can get into your machine room, hell
they could just bash everything, and go home with your disks and tapes.  The
rz disks on our DEC sable slide out in about 3 seconds.  Bye bye data!

There is a key that locks the access to the reset switch on the 2100.

John
-- 
"What's ahead?"



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Alpha Axp OSF Security Problem
  1994-12-16 15:55 ` ivie
@ 1994-12-19  9:44   ` Pete Hendry
  1994-12-19 17:02     ` Charles M Richmond
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Pete Hendry @ 1994-12-19  9:44 UTC (permalink / raw)


In article <1994Dec16.095518.35577@cc.usu.edu>, ivie@cc.usu.edu writes:
> In article <3cqfck$dlk@galaxy.ucr.edu>, cdematt@corsa.ucr.edu (Cheryl Dematteis) writes:
> > There is a 'reset' button on the front of the machines which can be used
> > to reboot the machines.

Better than power cycling it. Set a password and all's well.

> Get real. Everyone knows that if you have physical access to a machine, all
> bets are off. There are similar tricks you can do to VMS, too.

This is a stupid attitude. You can almost *never* trust all your users. What
about a situation such as a university (here for example) where we have over
700 students with access to our Alpha machines (and others) ? It is not
difficult to add security features to make a system as secure as possible
at the console. After all, there are a limited number of ways to attack a
console to gain access. Much easier to identify these points of attack than
with network attacks.

This is the same brain damaged attitude I got when I phoned DEC with another
security hole (which allows root access from the console). They claimed this
was also a 'feature', saying 'what if root loses his/her password?'. This is
stupid. If root is stupid enough to lose their password then they deserve a
bit of hassle (if not worse).

Machine security should address all aspects, especially everyday use which is
someone sitting at the console. People say that a secure machine is one which
is locked in a lead lined room with no network connections. Maybe they should
add, with no users either (and turned off?).

Pete


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Alpha Axp OSF Security Problem
  1994-12-19  9:44   ` Pete Hendry
@ 1994-12-19 17:02     ` Charles M Richmond
  1994-12-19 17:30     ` oberman
  1994-12-22 16:50     ` Jari Tavi
  2 siblings, 0 replies; 10+ messages in thread
From: Charles M Richmond @ 1994-12-19 17:02 UTC (permalink / raw)



It is easy to password the console. What is not so easy to understand is
the folks who who post glaringly foolish warnings/complaints when the real
problem is that Operator Head-Space adjustment is required. (-8

Charlie
-- 
*****************************************************************************
*  Charles Richmond 	Integrated International Systems Corporation        *
*  cmr@asoko.iisc.com	cmr@world.std.com				    *
*  Specializing in UNIX, X, Image Processing, and Communications.           *


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Alpha Axp OSF Security Problem
  1994-12-19  9:44   ` Pete Hendry
  1994-12-19 17:02     ` Charles M Richmond
@ 1994-12-19 17:30     ` oberman
  1994-12-22 16:50     ` Jari Tavi
  2 siblings, 0 replies; 10+ messages in thread
From: oberman @ 1994-12-19 17:30 UTC (permalink / raw)


In Article <3d3kli$837@dunlop.cs.strath.ac.uk>
pgh@cs.strath.ac.uk (Pete Hendry) writes:
>In article <1994Dec16.095518.35577@cc.usu.edu>, ivie@cc.usu.edu writes:
>> In article <3cqfck$dlk@galaxy.ucr.edu>, cdematt@corsa.ucr.edu (Cheryl Dematteis) writes:
>> > There is a 'reset' button on the front of the machines which can be used
>> > to reboot the machines.
>
>Better than power cycling it. Set a password and all's well.
>
>> Get real. Everyone knows that if you have physical access to a machine, all
>> bets are off. There are similar tricks you can do to VMS, too.
>
>This is a stupid attitude. You can almost *never* trust all your users. What
>about a situation such as a university (here for example) where we have over
>700 students with access to our Alpha machines (and others) ? It is not
>difficult to add security features to make a system as secure as possible
>at the console. After all, there are a limited number of ways to attack a
>console to gain access. Much easier to identify these points of attack than
>with network attacks.
>
>This is the same brain damaged attitude I got when I phoned DEC with another
>security hole (which allows root access from the console). They claimed this
>was also a 'feature', saying 'what if root loses his/her password?'. This is
>stupid. If root is stupid enough to lose their password then they deserve a
>bit of hassle (if not worse).
>
>Machine security should address all aspects, especially everyday use which is
>someone sitting at the console. People say that a secure machine is one which
>is locked in a lead lined room with no network connections. Maybe they should
>add, with no users either (and turned off?).

Get real! Give me physical access to a computer and I can break in. It's as
simple as that. Any good sysadmin class on any OS covers just how to do it as
should the system documentation. IF you expect a computer to be unbreakable
with physical access, you are living in a dream world. Building such a computer
would be a true disaster for the manufacturer. It is, as Digital called it, a
feature. It is present in avery multi-user OS I have ever worked with from
every manufacturer. And in many cases, it was clearly implemented very
deliberately with extra system variables and hooks to make it work.

You may not like this fact, but it is a fact and it's not likely to ever
change. Sysadmins would simply not accept it. I surly would not and I have
never lost a root password! But I have often had to break into abandoned
systems where no one knows the password for root or any other account.

If this is a problem, and in a student environment it might well be, look into
MIT Athena. While no workstation is secure, the system is very secure and there
has never been a break-in that didn't involve a lost/stolen password. It was
designed as it was for the simple reason that any time a person has physical
access to a system, he can control it completely.

Now that you have called everyone else stupid, I guess you should go off and
invent your own way of securing a system. I might suggest putting it in a
vault. That's what the government does. Not very usable, but it's the only way
I know of to keep a system truly secure.

R. Kevin Oberman			
Energy Sciences Network (ESnet)
National Energy Research Supercomputer Center (NERSC)
Lawrence Livermore National Laboratory (LLNL)
Internet: koberman@llnl.gov		+1 510-422-6955


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Alpha Axp OSF Security Problem
  1994-12-19  9:44   ` Pete Hendry
  1994-12-19 17:02     ` Charles M Richmond
  1994-12-19 17:30     ` oberman
@ 1994-12-22 16:50     ` Jari Tavi
  2 siblings, 0 replies; 10+ messages in thread
From: Jari Tavi @ 1994-12-22 16:50 UTC (permalink / raw)



In article <3d3kli$837@dunlop.cs.strath.ac.uk>, pgh@cs.strath.ac.uk 
(Pete Hendry) writes:
[stuff deleted]
|> Machine security should address all aspects, especially everyday use which is
|> someone sitting at the console. People say that a secure machine is one which
|> is locked in a lead lined room with no network connections. Maybe they should
|> add, with no users either (and turned off?).
|> 
|> Pete
|> 

Dear Pete,

If you feel that feature you referenced is major security problem in your 
environment, then you have always an option to setup special console
password to all the systems. Console password which has been forgotten can
be changed (or removed) only by field service engineer visiting your site
and replacing component on the system mother board.

Reason why console password is not active by default is the fact that most 
customer do not accept such functionality as default way to work.

If you feel that this level of security is not enough, you should consider 
upgrading to DEC OSF/1 AXP MLS+ version, which provides you:
	- secure console interface, special firmware involved
	- B1 level operating system
	- CMW (Compartment Mode Workstation) functionality
	- TrustedNET functionality

Many of the standard Alpha AXP systems can be upgraded to MLS+ by field service
engineer.

Best regards,

		Jari Tavi


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1994-12-22 16:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-15 22:19 Alpha Axp OSF Security Problem Cheryl Dematteis
1994-12-15 23:32 ` Saul Tannenbaum
1994-12-16 20:18   ` John Miller
1994-12-16  6:25 ` Mike Iglesias
1994-12-16 14:10 ` E-Kai Tsai
1994-12-16 15:55 ` ivie
1994-12-19  9:44   ` Pete Hendry
1994-12-19 17:02     ` Charles M Richmond
1994-12-19 17:30     ` oberman
1994-12-22 16:50     ` Jari Tavi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox