module

VNC Keyboard Remote Code Execution

Disclosed
2015-07-10
Created
2018-05-30

Description

This module exploits VNC servers by sending virtual keyboard keys and executing
a payload. On Windows systems a command prompt is opened and a PowerShell or CMDStager
payload is typed and executed. On Unix/Linux systems a xterm terminal is opened
and a payload is typed and executed.

Author

xistence xistence@0x90.nl

Platform

Unix,Windows

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/multi/vnc/vnc_keyboard_exec
msf exploit(vnc_keyboard_exec) > show targets
...targets...
msf exploit(vnc_keyboard_exec) > set TARGET < target-id >
msf exploit(vnc_keyboard_exec) > show options
...show and set options...
msf exploit(vnc_keyboard_exec) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.