I have used two methods to prohibit the operation of specified programs, not the hash rules. Method 2 can be referred to. Generally, if there is no prompt, most people don't know what's going on...
Method 1: Group Policy (can specify running or specify prohibiting running)
The function of disabling programs in Group Policy: Run the "gpedit.msc" command to open the Group Policy console, expand "User Configuration - Administrative Templates - System" in it,
The policies of "Only allow running licensed Windows applications" and "Do not run specified Windows programs" on the right can help you a lot.
When the user tries to run an unallowed program, a dialog box of "......The restriction is canceled. Please contact the system administrator." will pop up.
Method 2: Image hijacking
For example, running QQ actually starts ctfmon, and the system will have no prompt.
You can also consider starting a VBS or BAT to perform password verification before running the specified program.
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\qq.exe" /v debugger /t reg_sz /d "C:\WINDOWS\system32\ctfmon.exe" /f
[ Last edited by exzzz on 2009-1-12 at 10:19 ]