# VMware backdoor I/O ports

If you want to use **!ioin** and **!ioout** commands in a VMware nested-virtualization environment, you should know that VMware uses I/O port **0x5658/0x5659** as a [backdoor ](https://sites.google.com/site/chitchatvmback/backdoor)for its internal connection between VMware tools and VMM.

If you want to monitor all I/O ports for IN and OUT, then as we grab all IN/OUT vm-exits, then the VMware tools will crash, but if you need a special port or any port other than **0x5658/0x5659**, then there is no problem.

When VMware tools crashed, you can continue with VM and HyperDbg without problem, but special features relating to VMware tools will no longer work.

For example, the screen will not be scaled to minimize and maximize and guest to host and host to guest copy/paste features will not work.

We didn't observe such behavior in other nested-virtualization environments other than VMware.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hyperdbg.org/tips-and-tricks/nested-virtualization-environments/vmware-backdoor-io-ports.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
