Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

QEMU Monitor HMP 'migrate' Command Execution

Disclosed
Dec 2, 2011
Created
Feb 8, 2022

Description

This module uses QEMU's Monitor Human Monitor Interface (HMP)
TCP server to execute system commands using the `migrate` command.

This module has been tested successfully on QEMU version 6.2.0
on Ubuntu 20.04.

Author

Platform

Linux,Unix

Architectures

cmd, aarch64, armle, x86, x64

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/misc/qemu_monitor_hmp_migrate_cmd_exec
msf exploit(qemu_monitor_hmp_migrate_cmd_exec) > show targets
...targets...
msf exploit(qemu_monitor_hmp_migrate_cmd_exec) > set TARGET < target-id >
msf exploit(qemu_monitor_hmp_migrate_cmd_exec) > show options
...show and set options...
msf exploit(qemu_monitor_hmp_migrate_cmd_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.