Hypothetically, what could an attacker achieve if they have a copy of of /etc/ssh/moduli?
Asked
Active
Viewed 3,192 times
1 Answers
18
Nothing. The attacker already has it: it is distributed with the OpenSSH source code. This file is used to define the group in which the Diffie-Hellman key exchange may run; the group description is public, it contains no secret value, and can be shared at will. OpenSSH includes several group definitions and selects one at random just because they are paranoid (which is not necessarily a bad thing, for a security product).
StackzOfZtuff
- 18,093
- 1
- 52
- 86
Thomas Pornin
- 326,555
- 60
- 792
- 962
/etc/ssh/modulifile, distributed through the normal channels for security updates (every Linux distribution has its own mechanism for that). Note that replacing that file does not entail changing the server key, so the update is painless for users. – Thomas Pornin Jan 06 '15 at 20:06