Application of hooks: program run monitoring

Source: Internet
Author: User

Program Introduction:

Use this program:

1. You can monitor the program running on your computer and record the time and name of the program that was running on your computer;

2. You can prevent the execution of programs that you specify, such as not to play games.

3. This program needs to be added to the registry to run when the system is started, to achieve the purpose of monitoring. The registry probably is not unfamiliar, is here:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Record format of the program:

2003-02-03 17:31:25-[System startup-windows XP 5.01.2600]

2003-02-03 17:31:29 "Cabinetwclass"-> "My Computer"

2003-02-03 17:31:59 "red alert"-> "Red Alert" (Turn off Disable program)

2003-02-03 17:32:19 "Minesweeper"-> "Minesweeper" (Turn off disabling programs)

2003-02-03 17:32:35 "Opusapp"-> "Microsoft Word"

2003-02-03 17:32:50-[System Shutdown-0 days, 0 hrs, 1 mins, secs]

2003-02-03 17:35:37-[System startup-windows 4.10.2222]

2003-02-03 17:35:53 "Minesweeper"-> "Minesweeper" (Turn off disabling programs)

2003-02-03 17:36:05 "Cabinetwclass"-> ""

2003-02-03 17:36:31 "red alert"-> "Red Alert" (Turn off Disable program)

2003-02-03 17:36:56 "Explorewclass"-> ""

2003-02-03 17:37:07-[System Shutdown-0 days, 0 hrs, 1 mins, secs]

Only 3 files are required to run a program:

Hwhpapp.exe executable file

Hwhpdrv.dll dynamic link library with hooks installed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.