[NT] DameWare Passes Weak File Encryption Key in the Clear
From: SecuriTeam (support_at_securiteam.com)
To: firstname.lastname@example.org Date: 25 Mar 2004 16:45:04 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
- - - - - - - - -
DameWare Passes Weak File Encryption Key in the Clear
<http://www.dameware.com/> DameWare Mini Remote, "A lightweight remote
control intended primarily for administrators and help desks for quick and
easy deployment without external dependencies and machine reboot".
DameWare Mini Remote has been found to contain a vulnerability that would
allow an attacker to hijack content sent by DameWare supposedly in a
secure manner (encrypted).
* DameWare Mini Remote Control version 184.108.40.206 and prior
DameWare Mini Remote Control passes a Blowfish encryption key over the
wire in the clear. It is bad enough that they appear to be using Blowfish
in Electronic Codebook Mode; but they compound their errors by the
following two vulnerabilities:
1) The DameWare Mini Remote Control offers the capability to transfer
files between the host and client encrypted using 128-bit Blowfish
Encryption. Their first mistake is using a poor random bit generator to
create their encryption key. After identifying the key in the clear I was
able to surmise that the lack of cryptographic expertise of the DameWare
developers was systemic and checked to see if they were using the built-in
rand() function to generate the key. It did not take long to exhaust the
small space of the Windows' linear congruential generator (LCG) in rand()
to discover the following hypothesized loop for generating their file
unsigned char dw_f_key;
dw_f_key[i] = rand();
2) A more serious mistake is that they actually pass the file encryption
key in the clear over the wire. This can be seen by analyzing packets
between host and target. In a packet just prior to the file being sent the
second to the last string of 16-bytes is the file encryption key.
The information has been provided by <mailto:email@example.com>
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: firstname.lastname@example.org
In order to subscribe to the mailing list, simply forward this email to: email@example.com
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.