Защита ресурсов Windows

Защита ресурсов Windows is a feature introduced in Windows Vista and Windows Server 2008. It is available in all subsequent операционных системах Windows, and replaces защиту файлов Windows. Windows Resource Protection prevents the replacement of critical system files, реестра keys and folders. Protecting these resources prevents system crashes.[1] The way it protects ресурсов differs entirely from the method used by Windows File Protection. [citation needed]

Обзор

Windows Resource Protection (WRP) works by registering for notification of file changes in Winlogon.[disputed – discuss] If any changes are detected to a protected system file, the modified file is restored from a cached copy located in %WinDir%\WinSxS\Backup.[2] Windows Resource Protection works by setting discretionary access control lists (DACLs) and списков контроля доступа (ACLs) defined for protected resources. Permission for full access to modify WRP-protected resources is restricted to the processes using the службу установщика модулей Windows (C:\Windows\servicing\TrustedInstaller.exe). Administrators no longer have full rights to system files; they have to use the SetupAPI or take ownership of the resource and add the appropriate Access Control Entries (ACEs) to modify or replace it. The TrustedInstaller account is used to secure core operating system files and реестра . keys.

Защищенные ресурсы

Функция защиты ресурсов Windows защищает большое количество типов файлов:

*.acm *.ade *.adp *.app *.asa *.asp *.aspx *.ax *.bas *.bat *.bin *.cer *.chm *.clb *.cmd
*.cnt *.cnv *.com *.cpl *.cpx *.crt *.csh *.dll *.drv *.dtd *.exe *.fxp *.grp *.h1s *.hlp
*.hta *.ime *.inf *.ins *.isp *.its *.js *.jse *.ksh *.lnk *.mad *.maf *.mag *.mam *.man
*.maq *.mar *.mas *.mat *.mau *.mav *.maw *.mda *.mdb *.mde *.mdt *.mdw *.mdz *.msc *.msi
*.msp *.mst *.mui *.nls *.ocx *.ops *.pal *.pcd *.pif *.prf *.prg *.pst *.reg *.scf *.scr
*.sct *.shb *.shs *.sys *.tlb *.tsp *.url *.vb *.vbe *.vbs *.vsmacros *.vss *.vst *.vsw *.ws
*.wsc *.wsf *.wsh *.xsd *.xsl

WRP также защищает несколько важных папок. Папка, содержащая только файлы, защищенные WRP, может быть заблокирована таким образом, чтобы только пользователь TrustedInstaller мог создавать файлы или подпапки в этой папке. Папка может быть частично заблокирована, чтобы администраторы могли создавать файлы и подпапки в этой папке. Важные ключи реестра, установленные Windows Vista, также защищены. Если ключ защищен WRP, все его подразделы и значения могут быть защищены.

WRP copies only those files that are needed to restart Windows to the cache directory located at WRP копирует в каталог кэша, расположенный по адресу %WinDir%\WinSxS\Backup. Critical files that are not needed to restart Windows are not copied to the cache directory, unlike Windows File Protection which cached the entire set of protected file types in the Dllcache folder. The size of the cache directory and the list of files copied to cache cannot be modified.[2]

Windows Resource Protection applies stricter measures to protect files. As a result, Windows File Protection is not available under Windows Vista. In order to replace any single protected file, Windows File Protection had to be disabled completely; Windows Resource Protection works on a per-item basis by setting ACLs. Therefore, by taking ownership of any single item, that particular item can be replaced, while other items remain protected.[требуется ссылка]

Программа проверки системных файлов также интегрирована с WRP. [3] В Windows Vista Sfc.exe можно использовать для проверки конкретных путей к папкам, включая папку Windows и загрузочную папку.

Методы замещения ресурсов

В Windows Vista и Server 2008 полный доступ к защите ресурсов Windows ограничен пользователем TrustedInstaller. Служба установщика модулей Windows может заменять ресурсы следующими способами:

Сообщение об ошибке генерируется, если приложения пытаются заменить ресурс WRP, используя другие методы. В таких случаях приложениям или установщикам отказывают в доступе к ресурсу. [5]

См. также

Ссылки

Источники

Источники иллюстраций

  1. Question book-new.svg · Лицензия файла уточняется (icon)
Соглашение О проекте Обратная связь
2026, Альфапедия. Список материалов:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25