linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Harkes <jaharkes@cs.cmu.edu>
To: linux-fsdevel@vger.kernel.org
Subject: Re: Hi
Date: Wed, 19 Feb 2003 12:00:24 -0500	[thread overview]
Message-ID: <20030219170023.GB2827@delft.aura.cs.cmu.edu> (raw)
In-Reply-To: <20030219153537.GB2516@arthur.ubicom.tudelft.nl>

On Wed, Feb 19, 2003 at 04:35:38PM +0100, Erik Mouw wrote:
> The way to solve this is to encrypt at the block level. In that way I
> can't even mount the filesystem when I don't have the correct key, so I
> can't get to the file metadata. Sure, I could guess you're using ext3,
> but that still leaves too many uncertainties (like directory layout and
> filesystem usage) for an attacker to be able to crack your key. A brute
> force attack will succeed (maybe not in the estimated lifetime of the
> universe), but it's a lot harder than a brute force known plain text
> attack.

It mostly adds a level of difficulty, you can try to break it based on
expected filesystem types and expected known values for these
filesystems. f.i. ext2 has a reserved inodes, on a relatively fresh
install there may be several blocks with only initialized inodes
scattered across the disk. Copies of the superblock. Unknown, but
identical plaintext at different locations on disk, this way you can
derive if there is some kind of permutation of the key based on the
block/offset within the disk.

MSDOS/VFAT or other filesystems without holes will have a lot of blocks
filled with zeros. And every filesystem has some redundancy which is
used during fsck, this redundancy is a possible point of attack.

The biggest disadvantage of a block level encryption is that you would
have one key for everything and all users can either access the
filesystem or not. With file level encryption each file can be encrypted
with a unique (per user or group) key.

Oh, and there is no reason for the filesystem to give you access to
pathnames or file attributes, directory data could be encrypted just as
well and accessible for specific users only.

Jan


  parent reply	other threads:[~2003-02-19 17:00 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-18 15:04 Hi Rajaram Suresh Gaunker
2003-02-18 16:34 ` Hi Erik Mouw
2003-02-18 23:07   ` Hi David Woodhouse
2003-02-19 14:54     ` Hi Juan Quintela
2003-02-19 15:22       ` Hi David Woodhouse
2003-02-19 15:37         ` Hi Juan Quintela
2003-02-19 15:40           ` Hi Erik Mouw
2003-02-19 16:09             ` Hi Juan Quintela
2003-02-19 15:35     ` Hi Erik Mouw
2003-02-19 15:44       ` Hi David Woodhouse
2003-02-19 16:49         ` Hi Erik Mouw
2003-02-19 17:00       ` Jan Harkes [this message]
2003-02-18 18:55 ` Hi Bryan Henderson
  -- strict thread matches above, loose matches on Subject: below --
2022-06-15 21:59 Hi Emerald Johansson
2018-12-19 20:08 HI Mrs Suzara Maling Wan
2015-10-20  1:45 Hi Judith Guest
2015-06-14  2:09 Hi Patricia Horoho
2013-12-21  8:18 Hi 906sl5glxg
2013-07-12  8:21 hi voady4cool
2013-01-03 17:04 hi keketa vieira
2011-10-28 11:10 Hi lisa hedstrand
2011-09-23 13:16 hi Mrs. Xue Chong
2010-11-06  8:24 hi Gabriel kante
2010-06-14 20:34 HI Dora Saki
2006-02-23 15:26 hi Edmund P. Hilton, V
2006-02-18  4:57 hi Bobbie M. Hancock
2002-09-15 23:57 hi Bety Lora
2002-09-08  5:10 hi Matthew Stapleton
2002-09-08 11:39 ` hi Matti Aarnio
2002-09-07 20:30 hi Angel GrefurT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030219170023.GB2827@delft.aura.cs.cmu.edu \
    --to=jaharkes@cs.cmu.edu \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).