module

X11 Keyboard Command Injection

Disclosed
Jul 10, 2015
Created
May 30, 2018

Description

This module exploits open X11 servers by connecting and registering a
virtual keyboard. The virtual keyboard is used to open an xterm or gnome
terminal and type and execute the specified payload.

Author

Platform

Unix

Architectures

cmd

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/unix/x11/x11_keyboard_exec
msf exploit(x11_keyboard_exec) > show targets
...targets...
msf exploit(x11_keyboard_exec) > set TARGET < target-id >
msf exploit(x11_keyboard_exec) > show options
...show and set options...
msf exploit(x11_keyboard_exec) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.