How secure is the encryption offered by ubuntu (using the disk utility)? What algorithm is used underneath it?
If someone could at least provide a link to some documentation or article regarding that I would be very grateful.
Reference:

How secure is the encryption offered by ubuntu (using the disk utility)? What algorithm is used underneath it?
If someone could at least provide a link to some documentation or article regarding that I would be very grateful.
Reference:

In a word: sufficient.
This is block-level encryption, so it is filesystem-independent.
Ubuntu's transparent encryption is done through dm-crypt using LUKS as the key setup. The built-in default for cryptsetup versions before 1.6.0 is aes-cbc-essiv:sha256 with 256-bit keys. The default for 1.6.0 and after (released 14-Jan-2013) is aes-xts-plain64:sha256 with 512-bit keys.
For older versions of cryptsetup:
And with newer versions of cryptsetup:
plain or plain64 is fine), and half of your key is used by XTS, meaning your original key must be twice as long (hence 512-bit instead of 256-bit). plain truncates that to 32-bit. Certain chaining modes such as XTS don't need the IV to be unpredictable, while modes like CBC would be vulnerable to fingerprinting/watermarking attacks if used with plain IVs.Other options not used by default
Altogether, this makes for a pretty tight system. It isn't the absolute best system theoretically possible, but it's pretty close. You should be able to trust it in any reasonable circumstances as long as your password is sufficient. Your attacker will almost certainly choose brute-forcing the password as his preferred attack method.
aes-cbc-essiv:sha256, but then there are also other possible advanced encryption modes (XTS, LRW), key sizes (256, 384, 512) and IV generation algorithms (plain, plain64, benbi - the 64-bit "big-endian 'narrow block'-count", starting at 1, ESSIV), thus my comment to OP asking for clarification which specific mode he has in mind. If you know about advantages and disadvantages of these too, I'd appreciate it. Cheers! ;)
– TildalWave
Jul 22 '13 at 06:10
aes-cbc-essiv:sha256.
– tylerl
Jul 22 '13 at 06:25
According to the following link, and other sources I have read elsewhere, the default encryption used by Ubuntu for full disk encryption is AES-256:
How secure is an encrypted LUKS filesystem?
# cryptsetup luksDump /dev/sda5and include your results, you might get more to your exact case relevant answers. Thanks! – TildalWave Jul 22 '13 at 05:15Version: 1 Cipher name: aes Cipher mode: xts-plain64 Hash spec: sha256 Payload offset: 4096 MK bits: 512 MK salt: c5 9d 4c 49 a9 ae aa b8 07 18 d3 37 2b 90 4f c1 36 64 02 f0 8e 4e 34 49 70 a9 be ab f5 aa 41 32 MK iterations: 145473 UUID: 377c50cd-b0a1-41bb-93cc-570a7ae99756
Key Slot 0: DISABLED Key Slot 1: ENABLED Iterations: 2016492`
– asgs Mar 17 '22 at 10:49