Wmiprvse.exe is forbidden, so that others' PR cannot be elevation of permission.

Source: Internet
Author: User

Prohibit elevation of PR

First, analyze the principle of PR elevation from the source code.
Some of the source code is as follows:



Pr is obtained by searching wmiprvse.exe to obtain the SYSTEM permission.
Execute any command to add a user.

Method 1

Load K8ShellNoExecExe. sys. This prevents various overflow tools from Elevation of Privilege by executing commands on WEBSHELL.


Method 2

Disable wmiprvse.exe to make others' PR unable to escalate Permissions


File Location:
C: \ WINDOWS \ system32 \ wbem \ wmiprvse.exe
C: \ WINDOWS \ system32 \ dllcache \ wmiprvse.exe

Processes (case sensitive) that are not killed by ntsd: WMIPRVSE. EXE


1. Run in CMD
Reg add "HKLM \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Image File Execution Options \ wmiprvse.exe"/v debugger/t reg_sz/d debugfile.exe/f
Method to restart wmiprvse.exe process:
Run in CMD
Reg add "HKLM \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Image File Execution Options \ wmiprvse.exe"/f
2. solution:
Wmiprvse.exe is a system service process. You can end the task and the process disappears naturally.
Disable the Windows Management Instrumentation Driver Extensions Service or manually
For details, right-click Windows Management Instrumentation in desktop-my computer-Management-services and applications-and choose disable.
After I use it, I feel that the second method is better. However, If you disable the Windows Management Instrumentation Service, you may encounter unexpected problems.
Command release method: copy the following command to paste the input, and press enter to confirm. You can,
Reg add "HKLM \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Image File Execution Options \ wmiprvse.exe"/f

It is declared that disabling wmiprvse.exe does not affect the normal operation of the system.
I wonder if you have noticed

Related Article

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.