Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

MSRC4 v1.2.0.0 NOREG doesn't work with UVNC SC

Should you have problems with the DSM plugin, here's the place to look for help or report issues
Post Reply
bitbone
8
8
Posts: 9
Joined: 2006-07-03 11:09

MSRC4 v1.2.0.0 NOREG doesn't work with UVNC SC

Post by bitbone »

I just updated the MSRC4 NOREG Plugin from v1.1.8.0 to v1.2.0.0 (I took it from the UltraVNC-102-Bin.zip) and compiled a new SC Exe. Of course I updated the plugin on my side I'm using with vncviewer, too. When a user is connecting with that new SC exe the connection will not established and the error message "Connection failed - invalid protocol" appears on my screen.

I downgraded the MSRC4 Plugin back to the previous version and all worked fine again. So, is this a known bug? My command line still is "vncviewer -listen 80 -dsmplugin MSRC4Plugin.dsm" - nothing changed there.
UltraSam
Admin & Developer
Admin & Developer
Posts: 462
Joined: 2004-04-26 20:55
Contact:

Re: MSRC4 v1.2.0.0 NOREG doesn't work with UVNC SC

Post by UltraSam »

The 1.2.0 plugin is compatible with old key files so it should work.
(I've switched to new plugin but kept my old key files and it works)

Shouldn't your command be:
"vncviewer -listen 80 -dsmplugin MSRC4Plugin_noreg.dsm" ?

Have you updated the plugin to 1.2.0 on both sides ?
Last edited by UltraSam on 2006-07-04 10:06, edited 1 time in total.
UltraSam
bitbone
8
8
Posts: 9
Joined: 2006-07-03 11:09

Re: MSRC4 v1.2.0.0 NOREG doesn't work with UVNC SC

Post by bitbone »

I renamed MSRC4Plugin_noreg.dsm to MSRC4Plugin.dsm - so no mistake here. And yes, both sides have the updated Plugin. I've also tested it with a new 128 bit key file generated with v1.2.0 (on both sides of course) and it still doesn't work, but it does suddenly when replacing the v1.2.0 .dsm with the v1.1.8 .dsm file.

This user has probably the same problem:
[topic=7062][/topic]
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: MSRC4 v1.2.0.0 NOREG doesn't work with UVNC SC

Post by redge »

vncviewer -listen 80 -dsmplugin MSRC4Plugin_noreg.dsm
helpdesk.txt
[HOST]
-plugin -connect 123.123.123.123::80 -noregistry


remark
::port (any port outside of standard port of VNC need double colons)
standard port for VNC reverse connection are 5500 trough 5599
80 is standard port for http but non standard port for VNC.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
bitbone
8
8
Posts: 9
Joined: 2006-07-03 11:09

Re: MSRC4 v1.2.0.0 NOREG doesn't work with UVNC SC

Post by bitbone »

[HOST]
-plugin -connect 123.123.123.123::80 -noregistry
That's exactly the entry I'm using! So no mistake there, too.
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

Re: MSRC4 v1.2.0.0 NOREG doesn't work with UVNC SC

Post by scovel »

Can you set up the machine to generate a logfile from the plugin. Send me the log files from both sides.

Sean
bitbone
8
8
Posts: 9
Joined: 2006-07-03 11:09

Re: MSRC4 v1.2.0.0 NOREG doesn't work with UVNC SC

Post by bitbone »

Seems like this is now a known bug with some operating systems ([topic=7077][/topic])

It doesn't work for me when connecting from WinXP Pro SP2 to Win2k Pro SP4. I'll generate a logfile soon and send it to you.
bitbone
8
8
Posts: 9
Joined: 2006-07-03 11:09

Re: MSRC4 v1.2.0.0 NOREG doesn't work with UVNC SC

Post by bitbone »

Log Plugin:

Code: Select all

07/07/06 15:10:26 : StartUp
07/07/06 15:10:26 : NOREG MS RC4 NoReg Plugin,Sean E. Covel,Mar 12 2005,1.2.0.0,MSRC4Plugin_NoReg.dsm
07/07/06 15:10:26 : Trying to find the key file
07/07/06 15:10:26 : GetEnvVar (registry) programfiles = C:\Programme
07/07/06 15:10:26 : Looking at msrc4pluginkey
07/07/06 15:10:26 : GetEnvVar (getenv) msrc4pluginkey =  
07/07/06 15:10:26 : GetModuleFileName C:\Dokumente und Einstellungen\Administrator\Desktop\Remote Helpdesk\vncviewer.exe
07/07/06 15:10:26 : Looking for C:\Dokumente und Einstellungen\Administrator\Desktop\Remote Helpdesk\rc4.key
07/07/06 15:10:26 : GetParams. NothingNeeded
07/07/06 15:10:26 : GetEnvVar (getenv) dsmdebug = 1 
07/07/06 15:10:26 : dsmdebug = 1
07/07/06 15:10:26 : Set Params
07/07/06 15:10:26 : NOREG MS RC4 NoReg Plugin,Sean E. Covel,Mar 12 2005,1.2.0.0,MSRC4Plugin_NoReg.dsm
07/07/06 15:10:26 : InitVars
07/07/06 15:10:26 : GetCryptoVersion.
07/07/06 15:10:26 : Acquiring the Crypto Context.
07/07/06 15:10:26 : Crypto acquired a Crypto Provider Context. 
07/07/06 15:10:26 : Crypto Version = 2
07/07/06 15:10:26 : OS is 'Windows XP'
07/07/06 15:10:26 : Using provider ''
07/07/06 15:10:26 : Max Key Length 128
07/07/06 15:10:26 : GetEnvVar (registry) programfiles = C:\Programme 
07/07/06 15:10:26 : SetParams - StartUp.
07/07/06 15:10:26 : ***** VIEWER Application *****
07/07/06 15:10:26 : Trying to find the key file
07/07/06 15:10:26 : Trying to find the key file
07/07/06 15:10:26 : GetEnvVar (registry) programfiles = C:\Programme 
07/07/06 15:10:26 : Looking at msrc4pluginkey
07/07/06 15:10:26 : GetEnvVar (getenv) msrc4pluginkey =  
07/07/06 15:10:26 : GetModuleFileName C:\Dokumente und Einstellungen\Administrator\Desktop\Remote Helpdesk\vncviewer.exe
07/07/06 15:10:26 : Looking for C:\Dokumente und Einstellungen\Administrator\Desktop\Remote Helpdesk\rc4.key
07/07/06 15:10:26 : Using VERIFY_CONTEXT
07/07/06 15:10:26 : CryptAcquireContext |268492336| || || |1| |-268435456|
07/07/06 15:10:26 : Using VERIFY_CONTEXT
07/07/06 15:10:26 : CryptAcquireContext |268492340| || || |1| |-268435456|
07/07/06 15:10:26 : Found key at 
07/07/06 15:10:26 : Reading KeyBlob
07/07/06 15:10:26 : Importing ExponentOfOne KeyBlob
07/07/06 15:10:26 : Importing KEY KeyBlob
07/07/06 15:10:26 : Reading KeyBlob
07/07/06 15:10:26 : Importing ExponentOfOne KeyBlob
07/07/06 15:10:26 : Importing KEY KeyBlob
07/07/06 15:10:26 : Key File Read.
07/07/06 15:10:26 : Salting D key
07/07/06 15:10:30 : Shutting Down.
Last edited by bitbone on 2006-07-07 13:22, edited 1 time in total.
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

Re: MSRC4 v1.2.0.0 NOREG doesn't work with UVNC SC

Post by scovel »

I need the log files from both ends. Can you Email them to me?

Is it XP on both ends?

Sean
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: MSRC4 v1.2.0.0 NOREG doesn't work with UVNC SC

Post by redge »

7-zip unziped the UltraVNC-102-Bin.zip at both side
and copy exactly same filename/date/content of my own rc4.key to SCI

XP SP2 at both side
The MSRC4Plugin_NoReg 1.2.0.0 available inside uvnc 1.0.2 work
tested again between SCI and vncviewer 1.0.2 fully working :-)
Last edited by redge on 2006-07-07 18:21, edited 3 times in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

Re: MSRC4 v1.2.0.0 NOREG doesn't work with UVNC SC

Post by scovel »

There is a definite problem when Win 2000 is involved. I'll be looking into that as soon as I get some spare time.

Sean
scovel
100
100
Posts: 307
Joined: 2004-07-12 11:56
Location: CT, USA
Contact:

Re: MSRC4 v1.2.0.0 NOREG doesn't work with UVNC SC

Post by scovel »

I think there were 2 problems with the plugin and SC. The first was the encryption under 2000 was messed up. The second was that it wasn't asking for the password properly. Both were new problems I introduced in the code :( that were previously working.

Should be all set in 1.2.1


Sean
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: MSRC4 v1.2.0.0 NOREG doesn't work with UVNC SC

Post by redge »

[topic=7420][/topic]
Removed SALT for Windows 2000 bug.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply