News for hackers. Stuff that matters.
Re:Show HN: Puree – Password-based Uniform-Random-Equivalent... by cyberbanjo on Sunday June 07, 2020 @03:44PM (#23450130)
That sounds interesting, how do you do that?
Re:Show HN: Puree – Password-based Uniform-Random-Equivalent... by xwdv on Sunday June 07, 2020 @04:47PM (#23450661)
The key is to encrypt the entire drive, then lightly overwrite all ones in the volume with zeros in one pass, such that with some forensic tools you can deduce if the original bit was previously 1. When you want to access the data, you set those bits back to one, then decrypt the drive with the original encryption algorithm.

The first two bits (or any two bits you want really, it’s just convention to use the first two) on the volume must always be 0 and 1. First write both bits to 0 hard multiple times, then write the second bit to 1 and lightly write it to zero. These two bits will serve as a control for the forensic tool to determine the difference between a hard zero and a soft zero, and thus figure out the rest of your volume.

If an unknowing person simply looks at the drive by regular software means, the computer will simply show a drive of all zeros.

Re:Show HN: Puree – Password-based Uniform-Random-Equivalent... by Thorrez on Sunday June 07, 2020 @06:18PM (#23451429)
Is there any evidence that that actually works? Or are you joking too?
Re:Show HN: Puree – Password-based Uniform-Random-Equivalent... by xwdv on Sunday June 07, 2020 @10:22PM (#23452979)
Oh it works, there’s definitely ways to retrieve past writes from a hard drive. You think just zero writing it out once is enough? Why do you think DoD standards call for no less than 3 writes when erasing a drive? Be careful.
Re:Show HN: Puree – Password-based Uniform-Random-Equivalent... by Thorrez on Monday June 08, 2020 @02:06AM (#23454029)
>there’s definitely ways to retrieve past writes from a hard drive.

Please provide some evidence.

> You think just zero writing it out once is enough?

I definitely think a single zero write on a disk drive is enough (or at least that it's as good as 3 writes or 100 writes). There's no evidence anyone has ever recovered a file that was overwritten by zeros a single time on any hard disk drive from the last 20 years.

https://en.wikipedia.org/wiki/Data_remanence#Feasibility_of_...

https://news.ycombinator.com/item?id=511568

Hmm, it looks like the site is down now. Well, here's a copy of the content:

https://www.techpowerup.com/forums/threads/the-great-zero-ch...

I might have to run my own Great Zero Challenge v2.

> Why do you think DoD standards call for no less than 3 writes when erasing a drive?

I think you're referring to an old DoD standard. Prior to 2007 the DoD recommended that. Now they don't recommend that, and only recommend degaussing or destruction of the drive.

https://en.wikipedia.org/wiki/Data_remanence#Standards

Old one:

https://it.ouhsc.edu/policies/documents/infosecurity/DoD_522...

New one:

https://files.meetup.com/7887332/107-009-005_Exhibit_B.pdf

Re:Show HN: Puree – Password-based Uniform-Random-Equivalent... by steelframe on Sunday June 07, 2020 @04:16PM (#23450411)
Per-volume zero-based one-time pad (PVZBOTP). It's a common technique used by almost all Fortune 500 organizations these days. The tl;dr is that you generate an encrypted volume that, when XOR'd with a volume consisting entirely of zeroes, produces the original plaintext volume.
Re:Show HN: Puree – Password-based Uniform-Random-Equivalent... by dpc_pw on Monday June 08, 2020 @02:21AM (#23454072)
probably the best joke in HN today :)
Re:Show HN: Puree – Password-based Uniform-Random-Equivalent... by hailwren on Sunday June 07, 2020 @06:12PM (#23451357)
I laughed.
Re:Show HN: Puree – Password-based Uniform-Random-Equivalent... by m3kw9 on Sunday June 07, 2020 @03:49PM (#23450171)
It was a joke