Re: Encrypted file system without initial password:

From: Kasper Dupont (kasperd@daimi.au.dk)
Date: 03/14/02


From: Kasper Dupont <kasperd@daimi.au.dk>
Date: Thu, 14 Mar 2002 14:53:26 +0100

Lee Sau Dan wrote:
>

Lee, I'm afraid you misunderstood Bo's question.

> >>>>> "Bo" == Bo Jacobsen <bjc@image.dk> writes:
>
> Bo> I have tried using the encrypted filesystem that comes with
> Bo> SuSE 7.3. It works OK but my question is, can one make it boot
> Bo> without asking for the password.
>
> So, where is the password stored? How does the system figure out the
> password? That's the highest VULNERABILITY of your system. Any hack
> who can gain root privilege will be able to find out the password and
> hence will be able to access all the files stored on that filesystem
> in plain text.

This was not a question about potential root exploits. No
question was asked about what could be done when the system
is up and running. The question was about what could be done
before and during boot of the system. BTW getting root
priveleges on the runing system doesn't imply getting the
password. But it obviously gets read access to all files.

>
> Bo> I just need to be sure that as long as one is not able to
> Bo> login, my data is relatively safe.
>
> Unable to login doesn't imply unable to break in.
>
> Even if you "touch /etc/nologin", thereby making 'login' refuse to log
> anyone in, a buffer overflow attack on the telnetd (if it is running
> and has a buffer overflow bug) could still grant the hack root
> privilege from remote!
>
> Bo> Without encryption, even a
> Bo> novice user can just boot from another media (or move the disk
> Bo> to another pc), manually mount a partition and read it.
>
> You could disable booting on other media through some CMOS/BIOS
> settings. These settings can then be password-protected in the BIOS
> menus. Any post 1993 Intel x86 PC system has a BIOS that provide
> these functions.

He actually asked how to make it more difficult to read
the disk even if it was moved into another computer. The
CMOS settings would not help there.

>
> Of course, if one discharges the CMOS to erase these settings, he can
> still boot a floppy. But this guy won't be a "novice user" by any
> standard.
>
> Moreover, as mentioned again and again, without physical security
> (inside a safe or a highly secured room) on the machine, every
> software-based security measure would be useless.

Not useless, but dependend on the attackers capabilities.
In theory any capable programmer could bypass this
software. But in practice it is can be very hard, and can
actually stop novice attackers.

>
> Bo> Maybe someone knows the answer, or have some suggestions ? I
> Bo> know that in cunning hands, no data is safe, but I just need
> Bo> to make sure that it's not to easy to get access to it.
>
> Wouldn't locking the machine in a secure room and disconnecting it
> from the Internet be a more straightforward solution?

That would imply that it is currently connected to the
internet. Who said that it is?

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:razor-report@daimi.au.dk



Relevant Pages

  • Re: how do you get the GUI after login?
    ... switch users to 'root' ... check that you settings are correct for your monitor and videocard ... to have a graphical login screen at you next boot: ... Stuart Sears RHCE, RHCX ...
    (RedHat)
  • Re: Allocating Internal Flash as Root
    ... folder representing theflash. ... is causing theflashto be mounted, not as the root, by like a storage card. ... have set all the registry settings that I could find in the help ... I boot up the system. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Encrypted file system without initial password:
    ... >> type the password to the encryption engine on each boot. ... / on an encrypted filesystem. ... root fs and create a new root fs. ...
    (comp.os.linux.security)
  • [Trouble Ticket #190335] AutoReply: freebsd-questions Digest, Vol 246, Issue 26
    ... please edit your Subject line so it is more specific ... you need to open a root xterm or even a root shell, ... boot manager is installed for this mirror and I would like to remove it ... was that NFS mount managwed ...
    (freebsd-questions)
  • Re: Error 0x800A0046
    ... Boot to Safe Mode,, access the built in Admin account, open the System Configuration Utility, disable all HP Services and Startup items. ... the "change settings" option was greyed so I couldn't choose it. ... Enables the download and installation of Windows updates. ... [CallerId = AutomaticUpdates] ...
    (microsoft.public.windowsupdate)