Remote Services: VNC

Adversaries may use Valid Accounts to remotely control machines using Virtual Network Computing (VNC). The adversary may then perform actions as the logged-on user.

VNC is a desktop sharing system that allows users to remotely control another computer’s display by relaying mouse and keyboard inputs over the network. VNC does not necessarily use standard user credentials. Instead, a VNC client and server may be configured with sets of credentials that are used only for VNC connections.

ID: T1021.005
Sub-technique of:  T1021
Platforms: Linux, Windows, macOS
System Requirements: VNC server installed and listening for connections.
Data Sources: Logon Session: Logon Session Creation, Network Traffic: Network Connection Creation, Process: Process Creation
Version: 1.0
Created: 11 February 2020
Last Modified: 23 March 2020

Procedure Examples

ID Name Description
S0484 Carberp

Carberp can start a remote VNC session by downloading a new plugin.[1]

G0117 Fox Kitten

Fox Kitten has installed TightVNC server and client on compromised servers and endpoints for lateral movement.[2]


GCMAN uses VNC for lateral movement.[3]

S0279 Proton

Proton uses VNC to connect into systems.[4]

S0412 ZxShell

ZxShell supports functionality for VNC sessions.[5]


ID Mitigation Description
M1047 Audit

Inventory workstations for unauthorized VNC server software.

M1042 Disable or Remove Feature or Program

Uninstall any VNC server software where not required.

M1037 Filter Network Traffic

VNC defaults to TCP ports 5900 for the server, 5800 for browser access, and 5500 for a viewer in listening mode. Filtering or blocking these ports will inhibit VNC traffic utilizing default ports.

M1033 Limit Software Installation

Restrict software installation to user groups that require it. A VNC server must be manually installed by the user or adversary.


Use of VNC may be legitimate depending on the environment and how it’s used. Other factors, such as access patterns and activity that occurs after a remote login, may indicate suspicious or malicious behavior with VNC.