5
$\begingroup$

Today, this site shows 24 thousand users in Cryptography. It runs in parallel with and is associated with StackOverflow boasting 6 million users. This site then clearly creates some leverage and impact for the cryptographic community, with the power to influence and shape minds. It can then somewhat shape the nature of cryptography in general.

I suspect that most users have not met each other, and probably use ids unique to this site so cannot be otherwise tracked in the wider Interweb. I realise that some people do post under their real names. There is also no vetting or background checking of new users. Anyone can join with a made up id and fake email address. They can then shape discussions and steer advice towards certain individualistic goals.

Even with my limited cryptographic knowledge, I perceive certain forces trying push agendas. It seems to me that there is a subtle movement towards certain approved cryptographic primitives and protocols. Rather than encouraging cryptographic diversity, there seems to be a drive towards a mono culture with all the adherent risks. Potatoes turned out poorly for the Irish. I suggest that AES be a similar contemporary potato for example. I can't tell, but as another example, there might be similar steerage with elliptic cryptography.

Since this is an issue of security, privacy and data protection, what is the probability that this site falls within the scope of the NSA Bullrun program? Are there any steps that Stack Exchange can take to mitigate the possible risk posed by intelligence agents / contractors steering this community? Hundreds of millions of dollars buys many internet café postings and online identities. There's some appropriate quotation about more things in Heaven and Earth...

I ask this specifically here as this is the only Stack Exchange site that a government would care about. It is a perfect target for counter intelligence programs. I also see this question as too important for Meta as it strikes directly at the heart of everything posted here.

$\endgroup$
11
  • 2
    $\begingroup$ Interestingly enough, I have been accused of being an intelligence agency plant for suggesting one use the NSA designed SHA512 instead of some other brand new hash function $\endgroup$ – Richie Frame Jun 11 '16 at 0:02
  • 7
    $\begingroup$ Why bother? This site is overwhelmingly focused on algorithms and primitives, instead of where the real vulnerabilities are. The lowest hanging fruit of exploitable vulnerabilities are in how those primitives are implemented, and the complex protocols, systems, and people that they are embedded in and used by. Why bother 'steering the conversation' here when the conversation here is irrelevant and/or harmless? $\endgroup$ – J.D. Jun 11 '16 at 1:38
  • 1
    $\begingroup$ @RichieFrame So why did you suggest it? $\endgroup$ – Paul Uszak Jun 11 '16 at 2:08
  • $\begingroup$ @J.D. In my short time here, this site is NOT focused entirely on algorithms and primitives. Far from it. There is a strong "steer" towards telling people what they should /should not use. I've seen users warned off rolling their own TRNGs, using one time pads and writing their own encryptions. There appears to be an orthodoxy that is not seen in other IT forums. If I run a business and want to use triple Whirlpool wrapped around an Enigma machine, few here would countenance it. Why not? Would you tell McDonalds how to fry burgers? We'd tell them to use AES though. $\endgroup$ – Paul Uszak Jun 11 '16 at 2:23
  • 5
    $\begingroup$ You are focusing on algorithms and primitives exactly like the rest of this site - i.e. should you use AES or OTP, should you roll your own TRNG or use Fortuna, should you use this hash function or that - these are all questions about which primitives and algorithms to use. Worrying too much about such matters while neglecting the far greater risks of implementing and using those primitives in a complex system is a little like obsessing over what kind of fancy lock to install in your front door when all your windows are wide open and the walls are made of tissue paper. $\endgroup$ – J.D. Jun 11 '16 at 2:36
  • 1
    $\begingroup$ I had made a suggestion of a construction I would be more comfortable with, as many well reviewed problem free implementations exist, and the algorithms are well understood and have stood up to intense scrutiny for a very long time. The problems inherent to MD hashes were not an issue for the construction. $\endgroup$ – Richie Frame Jun 11 '16 at 5:17
  • 2
    $\begingroup$ We need a new tag: tinfoil-hat $\endgroup$ – cygnusv Jun 14 '16 at 15:54
  • 2
    $\begingroup$ I was recently framed as from GCHQ, for pushing the convenience of asymmetric cryptography using certificates rather than undulterated Quantum Key Distribution; blast, my evil plan is foiled! $\endgroup$ – fgrieu Sep 22 '17 at 20:26
  • 2
    $\begingroup$ @fgrieu But do you realise how ironic your comment is? You're championing certificates vs. independent quantum cryptography, yet Verisign will immediately issue 100 fake certificates when a National Security Letter lands on their desk. And you're actively supporting the system that allows this to happen. You're playing directly into the NSA's hands, deliberately or otherwise. Democracy should be hard and inconvenient. Oppression is easy. $\endgroup$ – Paul Uszak Sep 22 '17 at 21:27
  • 4
    $\begingroup$ @Paul Uszak: Like you, and most sensible persons, I do not trust the general CA hierarchy. Clearly, so many people can forge a certificate, and get away with it, that this green lock shown by my browser on top of this page must be considered breakable by competent or well-introduced adversaries. But I do not dismiss all certificates as unsafe: using a private CA, they are a secure and convenient way to authenticate things. $\endgroup$ – fgrieu Sep 22 '17 at 22:36
  • 1
    $\begingroup$ "Just use TLS with current key sizes"... but in honesty to keep that vibe in this forum and the whole green earth the NSA would just need a few paid accounts / professors / NISTs to steer everyone in that direction. $\endgroup$ – daniel Oct 6 '17 at 12:50
10
$\begingroup$

Crypto.SE is definitely not a perfect target for counter-intelligence. While I would be pretty confident NSA and others will trawl all of SE for certain keywords in context, focusing on Crypto in an effort to steer people towards weaker or more easily compromised algorithms would be a vast waste of effort.

While there are some notable cryptographers on this site, and their involvement is often to help support and encourage others, I haven't seen any who would use SE as an alternative to proper peer review. You literally aren't going to persuade people to use algorithm 'X' here if they haven't had it reviewed for suitability for their application (and yes, for general usage, that review could be as simple as approval by government.)

I am very much in favour of the Stack Exchange way of supporting communities, helping develop improvements in various areas etc., but I am under no illusions as to the role SE fills. It does not replace professional level panels, review, conferences etc.

But over the top of all that - there are so many better places for any agency to compromise encrypted comms that this suggestion just makes no sense.

$\endgroup$
7
$\begingroup$

Rather than encouraging cryptographic diversity, there seems to be a drive towards a mono culture with all the adherent risks.

First of all, note that a more heterogeneous infrastructure would be more likely to be hacked. It's just that the impact would be smaller than successful attacks on a mono-culture.

Mono-culture vs heterogeneous-culture is a tricky subject. The problem is that cryptography is hard. Getting it rightly deployed sometimes seems even harder. Yes, we should be encouraging new ideas, but with cryptography (just like many other complex topics) the person trying to do so should understand all the crypto-analysis.

I'm not seeing a lot of "pushing agenda's". What I do see is a lot of good non-popular algorithms being discussed. On the other hand, I also see a lot of people trying new stuff without proper training (autodidact or otherwise) trying out new algorithms and protocols. Those people are generally steered towards standard algorithms and protocols. There is nothing strange about that.

Note that "don't invent your own" is not just our opinion, it's also the opinion of for instance Bruce Schneier. Now if you want to accuse Bruce of being an NSA shill go right ahead but I don't think many will take that seriously.

There are also few people here that try and defend things like Dual-DRBG or even the Intel RAND instructions. If there were any shills you would expect a few remarks on those, even if anonymously.

Finally, AES (and indeed Keccak, the algorithm for SHA-3) was created by a Belgian team of cryptographers and chosen by NIST. It has been extensively analyzed. The thing is that many people would rather trust that than some other scheme.

$\endgroup$
5
  • 1
    $\begingroup$ Wait, there's a reason why I shouldn't defend Intel RAND instructions? $\endgroup$ – SEJPM Jun 14 '16 at 18:52
  • 1
    $\begingroup$ RDRAND is nice and fast so it's pretty nice to augment existing randomness. Probably not wise to use it on its own, though. ;) $\endgroup$ – forest Mar 23 '18 at 2:59
  • $\begingroup$ @forest Why not? $\endgroup$ – Paul Uszak Mar 31 '18 at 21:07
  • $\begingroup$ @PaulUszak Because if you use it as the sole source of entropy, you are boned if it is compromised or producing predictable randomness (whether because of malice or poor design). If on the other hand you use it to augment your system entropy, the entropy will be as strong as the strongest source. $\endgroup$ – forest Apr 1 '18 at 1:02
  • $\begingroup$ And because AMD have screwed it up noticeably more than once. It's possible Intel have screwed it up, but not in such an obvious way. $\endgroup$ – SAI Peregrinus Apr 16 at 14:26
6
$\begingroup$

I am very jealous of your optimism regarding the influence of this site. My personal feeling is that mounting a long-term Sybil attack on this forum would be an astounding waste of the NSA's time and money.

Besides, most of the concrete recommendations on practical cryptography (i.e. not purely theoretical stuff) that appears on this site comes from textbooks and research papers on cryptography, so unless the NSA is also mounting a Sybil attack on the program committees of IACR conferences I think we're probably alright.

$\endgroup$
2
  • $\begingroup$ I'm not actually suggesting that the NSA is specifically targeting this forum or that the science here is bad, but consider. I'm actually a contractor on £30K/yr paid to monitor many crypto sites. Then under multiple ids, I undermine efforts for alternative diverse cryptography and steer newcomers towards the singular AES which is now opaquely hardware based and under the complete influence of US government. Whilst NSA might not have broken AES, it has narrowed the field of attack to one target. And what if government then forces a hardware SHA3? One cipher, one hash, one potato. $\endgroup$ – Paul Uszak Jun 11 '16 at 2:06
  • 7
    $\begingroup$ @PaulUszak One cipher, one hash, one potato. – Mind you, AES (aka Rijndael) is a Belgian potato… not a bunch of US-native fries cooked up by a 3-letter agency. $\endgroup$ – e-sushi Jun 11 '16 at 4:02
3
$\begingroup$

Let's get our facts straight.

First, Counterintelligence is generally an inward-looking effort to protect information and activities from spies. Think of it as industrial hygiene. Counterintell looks for people who are playing for the other team in your organization. They also look for such people who are somehow involved with your agency, bureau, office, etc., coming from the outside. It is difficult to imagine a situation in which France's principal intell agency, for example, would go onto this website to search for someone in their operation who was working for North Korea. It is not absolutely impossible to come up with some peculiar scenario to make this plausible, but it is hardly likely.

You did not mean counterintelligence. You meant the spreading of disinformation, which is the intentional dissemination of false information.

Secondly, BULLRUN. If we believe what the press reported, it was, and perhaps still is, a decryption program. Active and passive attacks against encryption are not required to access the traffic on this site. We are not talking about hacking a server or breaking traffic but about joining a website. Moreover, psychological operations do not seem to be in BULLRUN's domain at all. Again, BULLRUN does not apply to your questions. What your questions point toward does not have to do with either counterintelligence or BULLRUN.

Moreover, you basically made an unfounded allegation that intell types of some stripe are "steering this community." You are concerned that some kind of abuse is going on, and you wonder whether StackExchange is doing anything to mitigate adverse effects. No one wants any abuse to happen, so your questions initially seem important, but are they actually founded upon anything? I rather doubt it.

Having many eager sets of eyeballs, this website prevents misinformation and disinformation by the involvement of professionals and a plethora of interested users who come with various skill sets into cryptography.

However, three interesting questions tangential to yours are: one, do national-level agencies use this website to identify and follow people who can help them answer their priority intelligence requirements in cryptography? Two, how could that be done? Three, does StackExchange do anything reasonably effective to reduce that risk by protecting users and their data?

$\endgroup$
3
  • $\begingroup$ Good answer, but I do exactly mean your para. 2: disinformation. Perhaps I'll edit... $\endgroup$ – Paul Uszak Jan 27 at 13:06
  • 1
    $\begingroup$ @PaulUszak Thanks Paul! I am glad you are back! $\endgroup$ – Patriot Jan 27 at 13:17
  • $\begingroup$ Thanks, but you know me - don't chat here. I prefer to keep my swearing and ranting private. But, we can do the other thing as before. $\endgroup$ – Paul Uszak Jan 27 at 13:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .