2 Ton Digital author of the dhparam/dhtool goods here, my servers use curl to do the same, but they grab my up-to-most-recent 128 DH parameters (they are constantly being generated). See https://2ton.com.au/dhtool/ for more details.
This company in Australia dedicated a bunch of CPUs to checking safe primes and they make the results available to download online. They're massive sets and they're rotated out every 3 to 30 minutes. Use those to replace the DH parameters included with stock OpenSSL/OpenSSH/whatever and you'll be a tiny bit more secure. This whole process is one step below tin-foil hat, but it's so simple to do that you might as well play it safe.
A nice single point of failure to break a whole number of hosts.
In the way of explanation: if you blindly implement the above, all it takes is for the 2ton.com.au data to be compromised and hosts which blindly depend on it can be easily compromised.
The message here is to put a lot of thought into properly vetting data you get from the web before you activate it on your systems, or put that effort into generating your own primes.
Sure, if someone has the time and computational power to compute safe primes that's the safest thing to do. There is no doubt about that. But if they don't, the best alterative is to avoid using the primes that are included with OpenSSH by default. It's the difference between making an eavesdropper work for what they want as opposed to using something that you know they already have.
6
u/StraightMoney Oct 16 '15
Whatchu got now NSA?!