Re: (newbie) Question about core linux security
From: John Thompson (john_at_starfleet.os2.dhs.org)
Date: 02/12/04
- Next message: John Thompson: "Re: (newbie) Question about core linux security"
- Previous message: Jim Chisholm: "Re: (newbie) Question about core linux security"
- In reply to: Sam Joharay: "(newbie) Question about core linux security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 12 Feb 2004 01:00:03 GMT
On 2004-02-11, Sam Joharay <public_viewer@indiatimes.com> wrote:
> A friend of mine pointed this out to me
> (which I believe must be common knowledge
> though I'm kinda surprised by it):
>
> Claim: If you have physical access to a linux
> machine, you can gain root access. Furthermore
> you can create a user with any name which will
> have root access (thus leave a backdoor entry
> for remote root access).
Of course. Any time untrusted users have physical access to the hardware
you will have a security problem. Period. It doesn't matter if it's
linux, Windows, some big mainframe or whatever. Untrusted access to the
hardware is a security problem. Period.
If this is a realistic concern for you, secure the hardware and only allow
users to conect to it remotely, eg using an X terminal or thin client of
some kind.
> How to: Reboot the PC. Hit Ctrl-X when the login
> screen appears. You will get a command prompt
> that says "boot:"
> Type "linux 1"
Lilo allows you to password protect access to single user mode. This
offers some protection against unimaginative attackers, but it may be
enough of a deterrent for some situations.
>==============================================
>
> I want to know whether:
>
> a. this is a well known security flaw
Yes, see above.
> b. if there is someway to prevent this.
Yes, see above.
> c. is there anything that distinguishes a user thus
> created from the root user (in terms of privileges)
Any user with uid 0 will have root privileges. That's why intrusion
detection software spefically looks for other users with uid 0.
>=============================================
>
> If the claim is true (I have tried it on the redhat
> linux installation that I have) then IMHO, it means
> that a linux machine is only as secure as the lock
> that guards it.
The same is true of any other computer and operating system. You must
judge for yourself if the people who are likely to have physical access to
your computer can be trusted. If they can't be trusted, secure the
hardware and let them use an X terminal.
-- -John (JohnThompson@new.rr.com)
- Next message: John Thompson: "Re: (newbie) Question about core linux security"
- Previous message: Jim Chisholm: "Re: (newbie) Question about core linux security"
- In reply to: Sam Joharay: "(newbie) Question about core linux security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|