Rapid7 Vulnerability & Exploit Database

QEMU Monitor HMP 'migrate' Command Execution

Back to Search

QEMU Monitor HMP 'migrate' Command Execution

Disclosed
12/02/2011
Created
02/08/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(s)

  • bcoles <bcoles@gmail.com>

Platform

Linux,Unix

Architectures

cmd, aarch64, armle, x86, x64

Development

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;