摘要 |
A safe input method and system are provided. The method includes: starting a virtual machine mode of a central processing unit when safe input is to be performed; in the virtual machine mode, switching a guest operating system into a non-root mode, and switching a virtual machine monitor allocated for a safe input protection program into a root mode; receiving, by the guest operating system, input data of a user, and transmitting the input data of the user to the virtual machine monitor; encrypting and saving, by the virtual machine monitor, the input data to be retrieved by an authorized program; generating, by the virtual machine monitor, false input data, and returning the false input data to the guest operating system; and shutting down the virtual machine mode of the central processing unit when it is confirmed that the safe input is completed. |
主权项 |
1. A safe input method, comprising:
starting, by a computer, a virtual machine mode of a central processing unit when safe input is to be performed; in the virtual machine mode, switching, by the computer, a guest operating system into a non-root mode, and switching, by the computer, a virtual machine monitor allocated for a safe input protection program into a root mode; receiving, by the guest operating system, input data of a user, and transmitting the input data of the user to the virtual machine monitor; encrypting and saving, by the virtual machine monitor, the input data to be retrieved by an authorized program; generating, by the virtual machine monitor, false input data, and returning the false input data to the guest operating system; and shutting down, by the computer, the virtual machine mode of the central processing unit when it is confirmed that the safe input is completed. |