Re: Ext4 data structures integrity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Wed, Sep 28, 2011 at 8:16 PM, Andreas Dilger <adilger@xxxxxxxxx> wrote:
> On 2011-09-28, at 9:19 AM, "Kasatkin, Dmitry" <dmitry.kasatkin@xxxxxxxxx> wrote:
>> I work on integrity protection subsystem IMA/EVM (linux/security/integrity).
>> The target is to protect against offline modifications.
>> Using block re-mapping I was able to implement simple attack which
>> allows to circumvent IMA integrity verification.
>> In order to prevent this kind of attack, it is necessary to run fsck every boot.
>>
>> I want to know if there is a better way to prevent such attacks...
>
> There is work currently being done to add checksums for detecting filesystem corruption (see list archive). However, if the attacker can binary edit the underlying disk device then they can also edit the checksums (crc32c) at the same time.
>
> The only secure way to handle this would be a crypto checksum with a secret key.

This something came to my mind after reading previous sentence about crc32c...

>At that point you may as well just use a whole crypto/backed filesystem?
>

Yes... I know...

Thanks!

- Dmitry


> Cheers, Andreas--
> To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux