News for hackers. Stuff that matters.
Re:FBI: Companies should help us ‘prevent encryption above a... by josu on Thursday June 04, 2015 @05:54PM (#9662393)
Remember that it's pretty much impossible to decipher a message, but it's trivial to tell if a message is encrypted or not.

Once you outlaw encryption all encrypted communications will be illegal and the people that use them terrorists.

This is how it begins.

Re:FBI: Companies should help us ‘prevent encryption above a... by woodman on Thursday June 04, 2015 @08:06PM (#9663058)
It isn't trivial actually. Detection would be a multipass process, the first pass would be a measurement of entropy, which would also flag compressed data (which would be very common). The second pass being magic number detection (file headers, can't be trusted). The third pass would likely be some sort of conformance test to every know compression format. The result of all this io intensive processing would not be a definitive answer.

If you want to get a taste of how difficult it would be to implement some method of detection, with a useful detection rate at scale, try to write some software that can detect localization encoding of strings on a binary stream. There is a reason why automatic translation of unknown localization doesn't really exist, there have been plenty of attempts, but nothing that results in a definitive answer.

I once wrote some software that would parse very poorly written csv files, it was one of the most frustrating projects I've ever done - and taught me the value of standards conformance. Basically, if the data source is non-cooperative, you aren't going to be able to reliably use the data.

Re:FBI: Companies should help us ‘prevent encryption above a... by kryps on Thursday June 04, 2015 @06:02PM (#9662427)
Re:FBI: Companies should help us ‘prevent encryption above a... by staunch on Thursday June 04, 2015 @06:11PM (#9662473)
Re:FBI: Companies should help us ‘prevent encryption above a... by zyxley on Thursday June 04, 2015 @06:14PM (#9662497)
I imagine it wouldn't be too hard to take encrypted text and transform it into something indistinguishable from the already unintelligible spam emails that pass through global networks en masse every day.
Re:FBI: Companies should help us ‘prevent encryption above a... by spacemanmatt on Friday June 05, 2015 @08:54AM (#9665174)
Some say this has already happened.
Re:FBI: Companies should help us ‘prevent encryption above a... by click170 on Thursday June 04, 2015 @06:23PM (#9662552)
Do you have any supporting evidence?

I believe it may be incorrect because in my (limited) understanding, good encryption is indistinguishable from random sequences of characters.

How can you tell a string of random characters is simply random, or is an encrypted message, unless said encryption includes some kind of header or marker information?

I may simply be wrong but I'm curious about the answer too.

Re:FBI: Companies should help us ‘prevent encryption above a... by ipsin on Thursday June 04, 2015 @07:06PM (#9662785)
You might say it's indistinguishable in a theoretical sense, but how are you planning on accessing this random sequence of characters?

Using software?

Why are you in possession of random data on a hard drive? A prosecutor will be happy to spin theories about what it might be.

How do you hide the possession of software you use to acess it? If you manage that, how do you hide the forensic evidence of "file access in random data consistent with evidence of hidden data or a hidden filesystem", in your OS or on your storage device?

I very much want to live in a world where these tools are legal. Otherwise, in the same sense as "lying to the FBI", they will be used as a weapon by law enforcement when none other is handy.

Re:FBI: Companies should help us ‘prevent encryption above a... by click170 on Thursday June 04, 2015 @09:25PM (#9663331)
I see your point, and agree about the kind of world that I want to live in, but if I may be allowed to play devils advocate for a moment:

Just spitballing here but what if the software decrypted something as a side effect of doing something else like watching a movie. After all, buggy software is everywhere, perhaps that is just a bug.

What if that random file was a test input for a software fuzzing test. Is that not a plausible enough excuse?

What if the system periodically accessed data files [that had random data] to verify their integrity, you never know when data corruption might sneak in after all.

I totally agree that anyone trying to plead this case in court would likely fail miserably but the though experiment is interesting.

Re:FBI: Companies should help us ‘prevent encryption above a... by indrax on Thursday June 04, 2015 @10:43PM (#9663576)
>Just spitballing here but what if the software decrypted something as a side effect of doing something else like watching a movie.

DRM movies are already encrypted. The DMCA does not seem to include an exception for law enforcement or intelligence gathering.

We just need an easy DRM format that allows content producers to licence and make available for viewing (but not arbitrary copying) custom content for specific viewers.

Re:FBI: Companies should help us ‘prevent encryption above a... by cortesoft on Thursday June 04, 2015 @06:25PM (#9662568)
They will start making random strings illegal
Re:FBI: Companies should help us ‘prevent encryption above a... by josu on Thursday June 04, 2015 @06:56PM (#9662743)
As absurd as this sounds, I agree. Just look at all the 09 F9 controversy.
Re:FBI: Companies should help us ‘prevent encryption above a... by tripzilch on Sunday June 07, 2015 @12:11PM (#9675210)
Then we will use a different random string!
Re:FBI: Companies should help us ‘prevent encryption above a... by josu on Thursday June 04, 2015 @06:58PM (#9662752)
I was talking about a encrypted message vs. a non encrypted message, I wasn't taking into account random strings of text. But who would send random strings of text if not terrorists?
Re:FBI: Companies should help us ‘prevent encryption above a... by bigiain on Thursday June 04, 2015 @08:38PM (#9663164)
For some values of "random strings of text", you could include compressed video from porn sites and bittorrent.

How much would you bet against "the bad guys" already using those as steganographic comms channels?

Re:FBI: Companies should help us ‘prevent encryption above a... by TazeTSchnitzel on Thursday June 04, 2015 @07:10PM (#9662808)
> but it's trivial to tell if a message is encrypted or not

No it isn't. Encrypted data is indecipherable from random noise.

Re:FBI: Companies should help us ‘prevent encryption above a... by AngrySkillzz on Thursday June 04, 2015 @07:34PM (#9662929)
Yeah, but most unencrypted data doesn't look like random noise. If you run a few statistics on a packet/file/whatever and it looks random, you can comfortably assume its probably encrypted.
Re:FBI: Companies should help us ‘prevent encryption above a... by woodman on Thursday June 04, 2015 @08:49PM (#9663202)
> ... you can comfortably assume its probably encrypted.

Or compressed, so you'd need to be able to detect every compression format ever created. I imagine that any time somebody serializes a succinct data structure [0], you're going to have to add a signature for that as well. I'm not confident that even an organization with the resources of the NSA would be able to keep up with that, you'd have to make illegal the writing of data structure libraries. Of course, the optimistic bureaucrat would see this as an opportunity for the creation of another federal entity, like the patent office, where code can be submitted for registration and approval. The Department of Circumlocution™.

[0] http://en.wikipedia.org/wiki/Succinct_data_structure

Re:FBI: Companies should help us ‘prevent encryption above a... by drodgers on Thursday June 04, 2015 @07:33PM (#9662921)
> Encrypted data is indecipherable from random noise.

Which makes it noticeably different from all other (plaintext) communication.

Re:FBI: Companies should help us ‘prevent encryption above a... by naveen99 on Thursday June 04, 2015 @10:39PM (#9663566)
Most communication is not plain text.