ignore security and it'll go away

vnc.html

vnc.html
Posted Nov 26, 1999
Authored by w00w00, Conde Vampiro

[w00giving '99 #4]: VNC is a software package that permits a user to view a remote desktop in real-time. To protect intruder to access the remote desktop, VNC has a password protection. This encryption is done using 3DES, but this encryption is very poor and can be attacked (through brute-force).

tags | remote
MD5 | db9eddc3778f64db3cf2e419a90e9b38

vnc.html

Change Mirror Download
<!DOCTYPE HTML PUBLIC "html.dtd">
<HTML>
<HEAD><TITLE>[w00giving '99 #4] VNC 3.3.2 R6</TITLE></HEAD>
<BODY>
<PRE>
<A HREF="http://www.roses-labs.com/">http://www.roses-labs.com</A>
Discovered and authored by: Conde Vampiro (Roses Labs)

INTRODUCTION

VNC is a software package that permits a user to view a remote
desktop in real-time. It's a very nice GNU tool that runs on Windows
(9x/NT) and *nix (Linux, BSD).

To protect intruder to access the remote desktop, VNC has a
password protection. This encryption is done using 3DES, but this
encryption is very poor and can be attacked (through brute-force).

PROBLEM ONE

When we install the VNC server on a Windows box, we can find the
password encrypted at the following registry keys (look for "password"):
\HKEY_CURRENT_USER\Software\ORL\WinVNC3
\HKEY_USERS\.DEFAULT\SOftware\ORL\WinVNC3


When we introduce a password of arbitrary length, the VNC server
will encrypt our password, but it will drop (null) all bytes after 8.
This is demonstrated here:

Imput password -> micasaesazul
Key -> 23 82 107 6 35 78 88 7
Encrypted password -> 1f f1 6f 1a cc 34 64 f0

Imput password -> micasaesroja
Key -> 23 82 107 6 35 78 88 7
Encrypted password -> 1f f1 6f 1a cc 34 64 f0

In both cases, the VNC server interpretted the password as
"micasaes." Eight characters is small.


PROBLEM TWO
When the VNC server encrypt a password it always uses the same
fixed key, so the output password are always the same.
For example, if we imput "conde" as password, the output
password is: df 6b 7e e8 94 26 d8 b5.

Imput password -> conde
Key -> 23 82 107 6 35 78 88 7
Encrypted password -> df 6b 7e e8 94 26 d8 b5

Imput password -> 2621
Key -> 23 82 107 6 35 78 88 7
Encrypted password -> 73 05 1d 22 49 b6 05 1c

The VNC server always use this key ("23 82 107 6 35 78 88 7") in
[at least] the current version.

New contributors: Conde Vampiro and Roses Labs (<A HREF="http://www.roses-labs.com/">http://www.roses-labs.com</A>)
</PRE>
<BR><HR><BR>
<CENTER>
<A HREF="http://www.w00w00.org/advisories.html">Back to Advisories</A>
<A HREF="http://www.w00w00.org/">Back to the main page</A>
</CENTER>
</BODY>
</HTML>

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close