T1021.005: VNC
Adversaries may use Valid Accounts to remotely control machines using Virtual Network Computing (VNC). VNC is a platform-independent desktop sharing system that uses the RFB (“remote framebuffer”) protocol to enable users to remotely control another computer’s display by relaying the screen, mouse, and keyboard inputs over the network.
VNC differs from Remote Desktop Protocol as VNC is screen-sharing software rather than resource-sharing software. By default, VNC uses the system's authentication, but it can be configured to use credentials specific to VNC.
Adversaries may abuse VNC to perform malicious actions as the logged-on user such as opening documents, downloading files, and running arbitrary commands. An adversary could use VNC to remotely control and monitor a system to collect data and information to pivot to other systems within the network. Specific VNC libraries/implementations have also been susceptible to brute force attacks and memory usage exploitation.
Positive Technologies products that cover the technique
MaxPatrol SIEM knowledge base
mitre_attck_command_and_control: PT-CR-1839: VNC_Connection: A VNC connection was detected
mitre_attck_command_and_control: PT-CR-2318: Remote_Administration_Tools_Usage: A remote administration utility was used
Detection
ID | DS0029 | Data source and component | Network Traffic: Network Connection Creation | Description | Monitor for newly constructed network connections that may use Valid Accounts to remotely control machines using Virtual Network Computing (VNC). 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 using VNC. |
---|
ID | DS0009 | Data source and component | Process: Process Creation | Description | Monitor for newly executed processes that may use Valid Accounts to remotely control machines using Virtual Network Computing (VNC). For example, on macOS systems the |
---|
ID | DS0028 | Data source and component | Logon Session: Logon Session Creation | Description | Monitor for user accounts logged into systems that may use Valid Accounts to remotely control machines using Virtual Network Computing (VNC). For example, on macOS systems |
---|
Mitigation
ID | M1042 | Name | Disable or Remove Feature or Program | Description | Uninstall any VNC server software where not required. |
---|
ID | M1037 | Name | Filter Network Traffic | Description | 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. |
---|
ID | M1047 | Name | Audit | Description | Inventory workstations for unauthorized VNC server software. |
---|
ID | M1033 | Name | Limit Software Installation | Description | Restrict software installation to user groups that require it. A VNC server must be manually installed by the user or adversary. |
---|