Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

add IN instruction code snip#110

Open
omer872 wants to merge 3 commits intoUnprotect-Project:mainfrom
omer872:main
Open

add IN instruction code snip#110
omer872 wants to merge 3 commits intoUnprotect-Project:mainfrom
omer872:main

Conversation

@omer872
Copy link
Copy Markdown

@omer872 omer872 commented Oct 27, 2025

IN instruction

Authorship information

Technique Information

  • Technique title: IN
  • Technique category: Sandbox Evasion
  • Technique description: The IN instruction is a type of machine code instruction that is used to read data from an input port. This instruction can only be executed in privileged mode, such as in kernel mode, and an attempt to execute it in user mode will generate an exception. However, some virtual machine monitors, such as VMWare, use a special port called the VX port as an interface between the virtual machine monitor (VMM) and the virtual machine. If a malware executes the IN instruction in user mode on a VMWare virtual machine, it will not generate an exception, since the VX port allows the instruction to be executed without triggering an exception. This behavior can be used by the malware to detect the presence of a VMWare virtual machine.

Additional resources

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant