News for hackers. Stuff that matters.
Re:Strengthening our efforts against the spread of non-conse... by IAmEveryone on Monday January 10, 2022 @09:25PM (#29886509)
A perceptual hash is immune against the sort of manipulation you mention. One method I’ve implemented myself is recording changes in brightness along a path in the image. Inverting colors would work, but also make the image somewhat worthless. Flipping would also work, but is usually protected against by adding the flipped hash as well.
Re:Strengthening our efforts against the spread of non-conse... by quacksilver on Monday January 10, 2022 @09:46PM (#29886709)
True. I am not sure exactly what hash is being used (though others seem to indicate md5)

I have heard from colleagues in the past that consumers of illegal pornography used to (or possibly still do) commonly apply a negative filter or hue shift to images to avoid hash matches and flesh tone detection. This helps when combined with other stuff if someone scans their disk or they get raided and have too much stuff for law enforcement to look through properly. They then set up their screen or display settings to counteract the filter when viewing it.

Thankfully I have no experience with illegal pornography and definitely don't want to gain any, so hopefully I will never be able to confirm that firsthand.

Re:Strengthening our efforts against the spread of non-conse... by dcallies on Tuesday January 11, 2022 @06:23PM (#29899915)
It’s somewhere in the FAQ at https://stopncii.org/faq/, but It’s PDQ for photos (https://github.com/facebook/ThreatExchange/tree/main/pdq) and MD5 for videos. PDQ is resistant to some modifications (it focuses on the ones that come from regular usage, such as changing the format from gif to jpg, or a filter changing colors or brightness), but it’s not as resistant to modifications as you could get by training dedicated classifiers or other approaches that you might do with the original media or by storing more context, which StopNCII chose not to do.