This article is a mirror article of machine translation, please click here to jump to the original article.

View: 2|Reply: 0

[Windows] Use Process Monitor to monitor the registry (check for system settings changes)

[Copy link]
Posted on1 minute ago | | | |
Requirement: Windows computers frequently shut down, and after running for a while, system proxy settings were closed. I don't know which process is causing the problem, so I used Process Monito to troubleshoot the problem.

Process Monitor

Process Monitor is an advanced monitoring tool for Windows that displays file systems, registry, and process/thread activity in real time. It combines the features of two classic Sysinternals tools, Filemon and Regmon, and adds many enhancements, including rich and lossless filtering, comprehensive event attributes (such as session IDs and usernames), reliable process information, a complete thread stack supported by each operation integration symbol, simultaneous recording to files, and more. Its powerful and unique features make Process Monitor the core tool in your system troubleshooting and malware hunting toolkit.

Download Address:The hyperlink login is visible.
Direct download:The hyperlink login is visible.

Monitor the registry

Idea: When the system proxy is frequently closed, first modify the value in the Software\Microsoft\Windows\CurrentVersion\Internet Settings node, then call the wininet.dll function to trigger it. This means we can monitor which process is modifying the registry content.

Extract the ProcessMonitor.zip compressed package and run the Procmon64.exe program as administrator. The shortcut keys are as follows:

  • Ctrl + E to start and pause packet capture;
  • Ctrl + L to open the filter;
  • Ctrl + X to clear data;

Open the filter and configure it as follows:

Path -> contains -> Software\Microsoft\Windows\CurrentVersion\Internet Settings
Operation -> is -> RegSetValue

As shown below:



Click OK to confirm, then start packet capture. Use a C# program to simulate and modify the system proxy configuration, as follows:
Set up the system IE proxy using .NET/C#
https://www.itsvse.com/thread-9495-1-1.html

You can see that the process that successfully modified the system proxy was captured, as shown below:





Previous:[Repost] Routing next to sing-box, transparent proxy configuration tutorial
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com