Prevent someone from modifying your registry
It’s possible for remote users to connect to your computer’s registry from across the network and make changes to your computer’s configuration. In some cases, this is a good thing—administrators can make needed changes or repairs to your system remotely. The ability for remote users to access and modify your registry remotely can, however, be a security risk, particularly if your local administrator account is compromised.
If you share a computer with other users, you might also be concerned that they could make unwanted changes to the registry. So protecting the registry locally is also a consideration. Auditing is a third line of defense that enables you to keep track of registry changes.
Warning
Be careful when modifying the registry. An incorrect change can render your system unusable. You should make a backup of the registry through the Backup accessory before making any changes.
Disable remote registry access and modification
When someone tries to connect to the registry remotely, Windows 2000 checks the permissions of the following registry key:
| HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SecurePipeServers\winreg |
If this key doesn’t exist, all users can access the registry remotely, subject to the permissions assigned to individual registry keys. Those permissions then determine what actions the remote user can take within the key (adding values, deleting values, deleting the key, and so on). If the key does exist, the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access