Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for protecting window and electronic equipment

A window and hook function technology, applied in the field of system security, can solve problems such as undermining system security and affecting user experience, and achieve the effect of enhancing self-defense and improving user experience

Inactive Publication Date: 2016-08-10
ZHUHAI BAOQU TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art. If a malicious program uses a virtual mouse to click to exit the anti-virus software, the malicious program can break through the defense system of the anti-virus software, destroy the system security, and affect the security of the anti-virus software. user experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for protecting window and electronic equipment
  • Method and device for protecting window and electronic equipment
  • Method and device for protecting window and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] figure 1 It is a flowchart of the method for protecting a window in Embodiment 1 of the present invention, such as figure 1 As shown, the method of this embodiment may include:

[0022] Step 101, use the hook function to hook the user sending input function, and obtain the process name of the currently operating mouse and the process name of the top-level window when the user sending input function is called.

[0023] In this embodiment, the user sends the input function as the NtUserSendInput kernel function, and the click action of the mouse will call the NtUserSendInput kernel function;

[0024] In this embodiment, using the hook function to hook the user to send the input function can be: in SSDT (System Services Descriptor Table, system service descriptor table), find the function address of the NtUserSendInput kernel function, use the function address of the hook function to replace the SSDT The function address of the NtUserSendInput kernel function, so that th...

Embodiment 2

[0049] figure 2 It is a schematic structural diagram of the device for preventing the virtual mouse from operating the window according to the second embodiment of the present invention, as shown in figure 2 As shown, the device in this embodiment includes: a hook module 201, a process name acquisition module 202, a path acquisition module 203 and a processing module 204;

[0050] Hook module 201, for utilizing the hook function to hook the user to send the input function;

[0051] In this embodiment, the user sends the input function as the NtUserSendInput kernel function, and the click action of the mouse will call the NtUserSendInput kernel function;

[0052] The hook module 201 includes a search unit and a replacement unit;

[0053] The search unit is used to find the user sending input function address in the system service descriptor table;

[0054] The replacement unit is used to use the hook function address to replace the user sending input function address found...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a method and device for protecting a window and electronic equipment. The method comprises the steps that a hook function is used for hooking a user send input function, and when the user send input function is called, a current operation mouse process name and a top layer window process name are obtained; if a window for simulating mouse operation anti-virus software is judged out according to the current operation mouse process name and the top layer window process name, and a current operation mouse process path is obtained according to the current operation mouse process name; according to the current operation mouse process path, a file searching and killing interface of the anti-virus software is called, a corresponding file status is obtained, and if the file is in an unknown status or the risky status, calling of the user send input function is rejected. According to the method and device, the phenomenon that a rogue program enables the anti-virus software to exit by simulating mouse clicks can be avoided.

Description

technical field [0001] The invention relates to the technical field of system security, in particular to a window protection method, device and electronic equipment. Background technique [0002] With the continuous development of Internet technology, malicious programs such as viruses and Trojan horses emerge in an endless stream. Anti-virus software can be used to eliminate threats such as computer viruses, Trojan horses, and malicious programs to protect system security. However, when the anti-virus software is running normally in the system, it can protect the system from being exploited by malicious programs and protect the safety of users' property. At present, the user can exit the anti-virus software by clicking the mouse. As long as the user exits the anti-virus software, the system will lose its protection. [0003] In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art. If a malicious...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/56
CPCG06F21/566
Inventor 李文靖
Owner ZHUHAI BAOQU TECH CO LTD