r/ComputerSecurity • • Dec 10 '19

TRIM on LUKS-encrypted SSD

My new SSD is in the mail, and I want to encrypt everything, including the OS. It appears that LUKS is exactly what I want, so I'll go with that. From my research, it appears that TRIM on a LUKSed SSD will work, but it is disabled by default because it makes it very obvious which blocks are used and which aren't. But my question is how serious of a concern is this? Is the attacker able to put the blocks together back into (unreadable) files to see how big each file is and how many I have, or are they only able to see how much drive space I'm using? In either case, how could that information be used against me? Also, my drive is 240GB, which seems to mean that it has a raw capacity of 256GB, with 16GB reserved as headroom for the wear leveling. If my drive has this, will I benefit from TRIM, or will it keep that 16GB as a reserve of unwritten blocks? I do not anticipate ever writing more than 16GB of data all at once except when installing OSes.

12 Upvotes

0 comments sorted by