On Mon, Dec 20, 2010 at 7:04 PM, BMF <badmotherfs...@gmail.com> wrote:
> On Sat, Dec 18, 2010 at 7:13 PM, Craig Heffner <cheff...@devttys0.com> wrote:
>> The LittleBlackBox project contains a database of over 2,000 (and growing)
>> private SSL keys that are correlated with their respective public
>> certificates, and hardware/firmware versions. While most of these
>> certificates are from DD-WRT firmware, there are also private keys from
>> other vendors including Cisco, Linksys, D-Link and Netgear.
>
> Most of what I have read so far indicates that these secret keys can
> be used to sniff only administrative traffic to the device itself.
>
> I have a client who uses a bunch of WRV200's for corp VPN access. They
> are configured with a shared secret. Wouldn't they use DH with the
> built in private key to exchange the shared secret which would make
> the VPN traffic itself vulnerable?
When using DH for the exchange of the random values, the random value
is raised to the group base, ie, g^a (or g^b) where 'a' is one side's
random {16|32|x} bytes. The private key would be used to sign the
messages used in the exchange of the material. This scheme is referred
to as Ephemeral Diffie Hellman or DH2.

An intermediate with knowledge of a private key could play the role of
man in the middle since he/she could forge a signature. So the
security properties of the signature over the exchange would be
destroyed, and the system would be no more secure than standard DH.
And standard DH is vulnerable to MITM.

If the attacker is passive and cannot intercept the messages or assume
the role of MITM, then the confidentiality of messages are probably
safe. The bad guy would probably not be able to inject messages since,
for bulk encryption (ie, after key exchange), the protocol would
switch to a HMAC rather than digital signatures. But I would not feel
good knowing a private key used for signing was in the hands of a
[malicious?] third party.

Jeff

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Reply via email to