News for hackers. Stuff that matters.
Re:VeraCrypt: Free, open source, disk encryption for Windows... by _d3Xt3r_ on Monday October 02, 2023 @12:57AM (#37734159)
> Performance is great, nearly "metal" SSD speeds.

But how does that compare the exactly, performance wise, against Bitlocker and LUKS? (assuming similar strength encryption algorithms are selected)

Re:VeraCrypt: Free, open source, disk encryption for Windows... by Ayesh on Monday October 02, 2023 @01:15AM (#37734265)
I haven't used BitLocker or anything else, so I can't really compare.

Veracrypt has a neat benchmark tool so you know the speed beforehand. I suppose most CPUs have native support for the popular algorithms, so the bottleneck really is the disk, not CPU itself or the software.

Re:VeraCrypt: Free, open source, disk encryption for Windows... by pulse7 on Monday October 02, 2023 @03:46AM (#37735062)
There is still an open issue in VeraCrypt (https://github.com/veracrypt/VeraCrypt/issues/136) because of which BitLocker is much faster on SSDs then VeraCrypt... But if you don't need those speads, VeraCrypt is still great...
Re:VeraCrypt: Free, open source, disk encryption for Windows... by huhtenberg on Monday October 02, 2023 @07:32AM (#37736837)
To nitpick - on _NVmE_ drives, not SSDs.

The principal difference is the native speed of raw IO - NVmEs are an order of magnitude faster than SSDs. TC/VC don't use hardware acceleration, so all the encryption work falls on the CPU. On a machine with a reasonably modern CPU, TC/VC run nearly at drive's native speed.

Re:VeraCrypt: Free, open source, disk encryption for Windows... by seanw444 on Monday October 02, 2023 @10:23AM (#37738527)
> TC/VC don't use hardware acceleration

I assume by that you mean it doesn't use the AES instructions? That's odd to me.

Re:VeraCrypt: Free, open source, disk encryption for Windows... by fluoridation on Monday October 02, 2023 @12:53PM (#37740890)
No, that's wrong. VeraCrypt uses AES-NI when available. It seems the source of the issue is the IO design of the driver, which causes unnecessary context switches when operating on a raw device.
Re:VeraCrypt: Free, open source, disk encryption for Windows... by seanw444 on Monday October 02, 2023 @01:53PM (#37741886)
Okay that makes more sense.
Re:VeraCrypt: Free, open source, disk encryption for Windows... by Ms-J on Monday October 02, 2023 @07:48PM (#37746060)
You can also explicitly disable the AES-NI in Veracrypt and use pure software implementation if you don't trust the hardware. I usually enable this option.
Re:VeraCrypt: Free, open source, disk encryption for Windows... by zeroimpl on Tuesday October 03, 2023 @07:56PM (#37759149)
This option always seems funny to me. If I didn't trust the AES-NI instruction, why I would I trust the XOR instruction?
Re:VeraCrypt: Free, open source, disk encryption for Windows... by seanw444 on Wednesday October 04, 2023 @10:43AM (#37765914)
You could probably imagine the possibility of state actors and Intel, for example, conspiring to backdoor AES instructions of specific targets. Maybe possible with the IME. Not accusing them of this, but it's not out of the realm of possibility. The only things using the AES instructions are important data needing to be encrypted.

On the other hand, trying to backdoor XOR would give you an astronomically higher amount of white noise. Finding important data mixed in with all the other things a computer XORs would be much harder.

Re:VeraCrypt: Free, open source, disk encryption for Windows... by fluoridation on Wednesday October 04, 2023 @11:04AM (#37766229)
The CPU would "just" need to look at all executable pages to find binaries of common AES implementations, and when it finds one it could wait for the key to be loaded and then exfiltrate it. It could also detect (although at greater effort, possibly much greater) when you're using it to compile AES and inject spying code into the output, even if the target is a different architecture.

If the attacker has access to your computer, you've already lost. If the attacker built your computer, it was never even a fight.

Re:VeraCrypt: Free, open source, disk encryption for Windows... by baxuz on Monday October 02, 2023 @05:43AM (#37735976)
Bitlocker is Microsoft's closed-source product. How can you be sure it doesn't have backdoors?
Re:VeraCrypt: Free, open source, disk encryption for Windows... by shim__ on Monday October 02, 2023 @06:20AM (#37736249)
That question is pointless if you're using windows
Re:VeraCrypt: Free, open source, disk encryption for Windows... by huhtenberg on Monday October 02, 2023 @07:22AM (#37736768)
In practice, it is most certainly not pointless.

Given two USB drives, one encrypted with BitLocker and another with TC or VC, chances of master key recovery by Microsoft are definitely not the same.

Re:VeraCrypt: Free, open source, disk encryption for Windows... by maccard on Monday October 02, 2023 @07:35AM (#37736859)
> In practice, it is most certainly not pointless .... chances of master key recovery by Microsoft are definitely not the same.

I don't think those two sentences hold water when put together. In practice, if your risk is master key leakage and theft of the encrypted data by microsoft, you shouldn't be using windows. If you suspect that, MS can have a kernel mode driver masquerading as anything else, and it can just siphon your master key whenever you enter it.

Re:VeraCrypt: Free, open source, disk encryption for Windows... by DarkmSparks on Monday October 02, 2023 @10:59AM (#37738991)
And now that ms auth is apparently mostly compromised, extend microsoft to any threat actor in the wild.

I like VC for the portability of the encrypted .tc files. Keep all my backups as tc files, and recovered from more than one failure using them.

Once had an issue where dropbox corrupted the duplicates, so dont use dropbox anymore.

Re:VeraCrypt: Free, open source, disk encryption for Windows... by Jerrrry on Monday October 02, 2023 @01:10PM (#37741184)
>ms auth is apparently mostly compromised

just gonna drop that like that aint a $10k+ implication, gonna need a src or ref thanks

unless you mean by 3letters, which dont exactly give their backdoors to randoms.

randoms aint coming across 3letter's backdoors, not active/modern ones anyway

Re:VeraCrypt: Free, open source, disk encryption for Windows... by lapinot on Monday October 02, 2023 @04:22PM (#37743904)
https://news.ycombinator.com/item?id=37702095

it's probably more than a $10k implication..