Virtual Machine Remote Control (protocol)
a pile of garbage which is modified VNC with NTLM and Kerberos authentication. Ain't that fun?
The Kerberos portion of this protocol requires an AD to be present on the server itself, so we will be only covering NTLM itself as no one wants to bother setting up an buggy piece of shit server daemon on an AD out of all things.
Used in Virtual Server 2005.
When a VMRC client and server exchange information, the exchange of packets will be as follows:
Legend: S ==
Server, C ==
- S → C: RFB 003.006
- C → S: RFB 003.006
- S → C: Authentication packet.
- C → S: NTLMSSP_NEGOTIATE
- S → C: NTLMSSP_CHALLENGE
- C → S: NTLMSSP_AUTH
Depending on how successful the authentication is, it can either:
- S → ❌: Server terminates connection to client
- S → C: Select Security Type packet with the Security Type set to 0x00.
If you got the second result, go to the Post Authentication section.
|This section (Authentication) is a stub.|
You can help the Computernewb Wiki by expanding or deleting the section (Authentication).
- S → C: [0x00, 0x00, 0x00, 0x0y]
The `y` denotes the authentication method used:
- 0x00: None (unused?)
- 0x04: NTLM (NTLMSSP_NEGOTIATE flags set to 0xA208B207.)
- 0x05, reconnect, followed by 0x04, 0x05, 0x06, explained below
- 0x06: Negotiate (No idea what this is... the client calls it NTLM but the structure is way different.)
0x05, always will connect twice if detected, and changes the authentication method to:
- 0x04: NTLM (NTLMSSP_NEGOTIATE flags set to 0xA2088207.)
- 0x05: Kerberos.
- 0x06: NTLM/Negotiate (NTLMSSP_NEGOTIATE flags set to 0xE2088297.)
|This section (Post Authentication) is a stub.|
You can help the Computernewb Wiki by expanding or deleting the section (Post Authentication).
- C → S: Select Security Type packet with the Security Type set to 0x01.
- S → C: "Share desktop flag" with what seems to be a length of 0x0e followed by "Virtual Server"