Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

602 lines
25 KiB

  1. [version]
  2. signature="$CHICAGO$"
  3. ClassGUID={00000000-0000-0000-0000-000000000000}
  4. LayoutFile=layout.inf
  5. [Directories]
  6. ;
  7. ; ACLs for directories themselves
  8. ;
  9. ; LHS is directory: if starts with \ then relative to
  10. ; drive containing system, otherwise relative to sysroot
  11. ;
  12. ; RHS1 is ACL to put on directory itself; looked up in [ACL] section
  13. ; RHS2 is default ACL for files in that directory, looked up in [ACL section]
  14. ; If not present then files in that dir are not stamped with an ACL by default.
  15. ;
  16. @@:@@:"" = d1,f1 ; don't use \ or we think it's x:\ (which is bad)
  17. @@:@@:system32 = d1,f1
  18. @@:@@:system32\config = d2,f1
  19. @@:@@:system32\drivers = d3,f1
  20. @@:@@:system = d1,f1
  21. @@:@@:system32\ras = d4,f1
  22. @@:@@:system32\spool = d5,f1
  23. @@:@@:system32\spool\drivers = d5,f3
  24. @@:@i:system32\spool\drivers\w32x86\2 = d5,f3
  25. @@:@@:system32\spool\printers = d5,f3
  26. @@:@@:system32\spool\prtprocs = d5,f3
  27. @@:@i:system32\spool\prtprocs\w32x86 = d5,f3
  28. @@:@@:system32\dhcp = d3,f1
  29. @@:@@:repair = d11
  30. @@:@@:system32\drivers\etc = d3,f1
  31. @@:@i:system32\spool\drivers\w32x86 = d5,f1
  32. @@:@@:system32\viewers = d1,f1
  33. @@:@@:inf = d1,f1
  34. @@:@@:help = d1,f1
  35. @@:@@:fonts = d1,f1
  36. @@:@@:config = d1,f1
  37. @@:@@:Media = d1,f1
  38. @@:@@:Cursors = d1,f1
  39. @@:@@:system32\repl = d3
  40. @@:@@:system32\repl\import = d7
  41. @@:@@:system32\repl\import\scripts = d7
  42. @@:@@:system32\repl\export = d7
  43. @@:@@:system32\repl\export\scripts = d7
  44. @@:@@:security\templates = d7,f1
  45. \users = d8
  46. \users\default = d9
  47. \ = d10
  48. \temp = d10
  49. [FileOverride]
  50. ;
  51. ; Files that are not listed here get default for their directory
  52. ; The left hand side is the file name relative to sysroot. RHS is
  53. ; the ACL spec, which is looked up in [ACL]
  54. ;
  55. system32\autoexec.nt = f2
  56. system32\cmos.ram = f2
  57. system32\config.nt = f2
  58. system32\decpsmon.dll = f3
  59. system32\decpsmon.hlp = f3
  60. system32\hpmon.dll = f3
  61. system32\hpmon.hlp = f3
  62. system32\midimap.cfg = f2
  63. win.ini = f4
  64. [ExtraFiles]
  65. ;
  66. ; Use only for files that are not listed in layout.inf for some reason.
  67. ; LHS is path relative to sysroot (if not starting with \) or a full path
  68. ; for the drive with the system on it (starting with \)
  69. ;
  70. ; RHS is ACL.
  71. ;
  72. system32\wins\system.mdb = f1
  73. ;
  74. ; ACE codes:
  75. ;
  76. ; Index Permission Inherit
  77. ;
  78. ; 1 AccountOpsRWXD Containers
  79. ; 2 AdminAll Containers, Objects
  80. ; 3 AdminRWXD Containers
  81. ; 4 CreatorOwnerAll Containers, Objects
  82. ; 5 NetUsersDenyAll Containers, Objects
  83. ; 6 PrintOperatorsAll Containers, Objects
  84. ; 7 ReplicatorRWXD Containers, Objects
  85. ; 8 ReplicatorRX Containers, Objects
  86. ; 9 SysOpsAll Containers, Objects
  87. ; 10 SysOpsRWXD Containers, Objects
  88. ; 11 WorldAll Containers, Objects
  89. ; 12 WorldRWX Containers
  90. ; 13 WorldRWXD Containers, Objects
  91. ; 14 WorldRX Containers
  92. ; 15 WorldRX Containers, Objects
  93. ; 16 WorldRWX Containers, Objects
  94. ; 17 SystemAll Containers, Objects
  95. ; 18 PowerUsersRWXD Containers, Objects
  96. ;
  97. @s:[ServerACL]
  98. @s:;
  99. @s:; List of ACL profiles for server security
  100. @s:;
  101. @s:d1 = 2,13,4,10,17
  102. @s:d2 = 14,4,2,17
  103. @s:d3 = 15,4,2,9,17
  104. @s:d4 = 15,4,2,9,13,17
  105. @s:d5 = 15,4,2,9,6,17
  106. @s:d6 = 2,4,9,15,17,18
  107. @s:d7 = 15,10,2,7,4,17
  108. @s:d8 = 14,3,1,17
  109. @s:d9 = 12,4,17
  110. @s:d10= 2,13,4,10,17
  111. @s:d11= 2,17
  112. @s:f1 = 2,15,10,17
  113. @s:f2 = 2,13,10,17
  114. @s:f3 = 2,15,9,6,17
  115. @s:f4 = 11
  116. @@:[WorkstationACL]
  117. ;
  118. ; List of ACL profiles for workstation security
  119. ; Also used for member servers so this section
  120. ; appears in both versions of the inf
  121. ;
  122. @@:d1 = 2,13,4,17
  123. @@:d2 = 2,4,14,17
  124. @@:d3 = 15,4,2,17
  125. @@:d4 = 15,4,2,13,17,18
  126. @@:d5 = 15,4,2,17,18
  127. @@:d6 = 2,4,15,17,18
  128. @@:d7 = 15,2,7,4,17
  129. @@:d8 = 14,3,17
  130. @@:d9 = 12,4,17
  131. @@:d10= 2,13,4,17
  132. @@:d11= 2,17
  133. @@:f1 = 2,15,17
  134. @@:f2 = 2,13,17
  135. @@:f3 = 2,15,17,18
  136. @@:f4 = 11
  137. @@:@i:[BootFiles]
  138. @@:@i:;
  139. @@:@i:; x86 boot files and the root of C:
  140. @@:@i:;
  141. @@:@i:\ = d1
  142. @@:@i:\boot.ini = f1
  143. @@:@i:\ntbootdd.sys = f1
  144. @@:@i:\ntdetect.com = f1
  145. @@:@i:\ntldr = f1
  146. @@:@a:[BootFiles]
  147. @@:@a:;
  148. @@:@a:; amd64 boot files and the root of C:
  149. @@:@a:;
  150. @@:@a:\ = d1
  151. @@:@a:\boot.ini = f1
  152. @@:@a:\ntdetect.com = f1
  153. @@:@a:\ntldr = f1
  154. ;
  155. ; ACE codes for the registry
  156. ;
  157. ; Index Permission Inherit
  158. ;
  159. ; 1 AdminFull Containers
  160. ; 2 AdminR Containers
  161. ; 3 AdminRW Containers
  162. ; 4 AdminRWD Containers
  163. ; 5 CreatorFull Containers
  164. ; 6 CreatorRW Containers
  165. ; 7 WorldFull Containers
  166. ; 8 WorldR Containers
  167. ; 9 WorldRW Containers
  168. ; 10 WorldRWD Containers
  169. ; 11 PowerUserFull Containers
  170. ; 12 PowerUserRW Containers
  171. ; 13 PowerUserRWD Containers
  172. ; 14 SystemOpFull Containers
  173. ; 15 SystemOpRW Containers
  174. ; 16 SystemOpRWD Containers
  175. ; 17 SystemFull Containers
  176. ; 18 SystemRW Containers
  177. ; 19 SystemR Containers
  178. ; 20 AdminRWE Containers
  179. ; 21 InteractiveUserFull Containers
  180. ; 22 InteractiveUserRead Containers
  181. ; 23 InteractiveUserRW Containers
  182. ; 24 InteractiveUserRWD Containers
  183. ; 25 NormalUsersRW Containers
  184. ;
  185. [RegistryDACLs]
  186. r1 = 1 ; [AdminFull]
  187. r2 = 1,17 ; [AdminFull SystemFull]
  188. r3 = 8,1 ; [WorldR AdminFull]
  189. r4 = 8,1,5,17 ; [WorldR AdminFull CreatorFull SystemFull]
  190. r5 = 8,1,5,16,17 ; [WorldR AdminFull CreatorFull SystemOpRWD SystemFull]
  191. r6 = 8,1,5,16,13,17 ; [WorldR AdminFull CreatorFull SystemOpRWD PowerRWD SystemFull]
  192. r7 = 8,1,17 ; [WorldR AdminFull SystemFull]
  193. r8 = 8,1,15,17 ; [WorldR AdminFull SystemOpRW SystemFull]
  194. r9 = 8,1,16,13,5,17 ; [WorldR AdminFull SystemOpRWD PowerRWD CreatorFull SystemFull]
  195. r10= 8,1,14,5,17 ; [WorldR AdminFull SystemOpFull CreatorFull SystemFull]
  196. r11= 8,1,15,12,5,17 ; [WorldR AdminFull SystemOpRW PowerRW CreatorFull SystemFull]
  197. r12= 8,1,16,13,5,17 ; [WorldR AdminFull SystemOpRWD PowerRWD CreatorFull SystemFull]
  198. r13= 8,4,17 ; [WorldR AdminRWD SystemFull]
  199. r14= 8,24,1,5,17 ; [WorldR InteractiveRWD AdminFull CreatorFull SystemFull]
  200. r15= 8,17 ; [WorldR SystemFull]
  201. r16= 9,1,5,17 ; [WorldRW AdminFull CreatorFull SystemFull]
  202. r17= 9,1,16,13,5,17 ; [WorldRW AdminFull SystemOpRWD PowerRWD CreatorFull SystemFull]
  203. r18= 10,1,5,17 ; [WorldRWD AdminFull CreatorFull SystemFull]
  204. ;
  205. ; [Phase1RootKeys]
  206. ;
  207. ; [Phase2RootKeys]
  208. ;
  209. ; These sections list the root keys to be proccessed for
  210. ; security, on phase 1, and phase 2, respectivelly.
  211. ; These sections have the following format:
  212. ;
  213. ; [Phase1RootKeys]
  214. ; <Predefined key spec>, <Key path>, <DACL spec>, <Recurse flag>, <section name 1>, <section name 2>
  215. ;
  216. ; where:
  217. ;
  218. ; <Predef key spec>: A string associated with one of the predefined handles.
  219. ; It can be one of the following: HKLM for HKEY_LOCAL_MACHINE
  220. ; HKCR for HKEY_CLASSES_ROOT
  221. ; HKCU for HKEY_CURRENT_USER
  222. ; HKU for HKEY_USERS
  223. ; HKCC for HKEY_CURRENT_CONFIG
  224. ; This parameter is required.
  225. ;
  226. ;
  227. ; <Key path>: Path to a key to secure.
  228. ; The path is relative to a predefined key.
  229. ; If the key is a predefined key, then an empty string ""
  230. ; should be used as a key name.
  231. ; This parameter is required.
  232. ;
  233. ; <Recurse flag>: A flag that indicates if the DACL should be applied to
  234. ; the key and all its subkeys.
  235. ; It can be one of the following: 0... Apply to key only
  236. ; 1... Apply to key and subkeys
  237. ; If this parameter is not sopecified, or is invalid, '1' will
  238. ; be assumed.
  239. ;
  240. ; <DACL spec>: A string associated to the DACL to be applied to the key.
  241. ; It has to be one of the keys specified on [RegistryACL].
  242. ; This parameter is required.
  243. ;
  244. ; <section name 1>: This is an optional parameter.
  245. ; If present it indicates the section that contains the path
  246. ; to the subkeys (relative to <Key Path>) that should not be
  247. ; processed for security.
  248. ;
  249. ; The information in this section has the following format:
  250. ;
  251. ; [<section name 1>]
  252. ; <Key path 1>
  253. ; <Key path 2>
  254. ; .
  255. ; .
  256. ; .
  257. ;
  258. ; Where <Key path N> is relative to <Key path>
  259. ;
  260. ;
  261. ; <section name 2>: This is an optional parameter.
  262. ; If present it indicates the section that contains the path
  263. ; to the subkeys (relative to <Key Path>) that should get a
  264. ; DACL that is different than the one applied to <Key path>.
  265. ;
  266. ; The information in this section has the following format:
  267. ;
  268. ; [<section name 2>]
  269. ; <Key path 1> = <DACL spec 1>
  270. ; <Key path 2> = <DACL spec 2>
  271. ; .
  272. ; .
  273. ; .
  274. ;
  275. ; Where:
  276. ;
  277. ; <Key path N>: is a path to the key relative to <Key path>
  278. ;
  279. ; <Acl spec N>: A string associated to the DACL to be applied to the key.
  280. ; It has to be one of the keys specified on [RegistryDACLs].
  281. ; This parameter is required.
  282. ;
  283. ;
  284. ;
  285. [Phase1RootKeys]
  286. HKCU,"",1,r7,"HKCU.SKIP","HKCU.EXCEPTIONS" ; [AdminFull SystemFull WorldR]
  287. ;;;;;;;
  288. ;
  289. ; HKEY_CURRENT_USER (DEFAULT hive) sepcial keys
  290. ;
  291. ;;;;;;;
  292. [HKCU.SKIP]
  293. ;
  294. ; Subkeys of HKEY_CURRENT_USER that should not
  295. ; have security descriptors applied to them.
  296. ;
  297. [HKCU.EXCEPTIONS]
  298. ;
  299. ; Subkeys of HKEY_CLASSES_ROOT that should have a security
  300. ; descriptor applied to them and their subkeys, that is differnet than
  301. ; the one applied to their parent keys.
  302. ;
  303. "Software\Microsoft\NetDDE" = r2 ; [SystemFull AdminFull]
  304. "Software\Microsoft\Windows\CurrentVersion\Policies" = r12 ; [WorldR AdminFull SystemOpRWD PowerRWD SystemFull CreatorFull]
  305. "Software\Policies" = r7 ; [WorldR AdminFull SystemFull]
  306. [Phase2RootKeys]
  307. HKLM,"SOFTWARE",1,r18,"HKLM.SOFTWARE.SKIP","HKLM.SOFTWARE.EXCEPTIONS" ; [WorldRWD AdminFull SystemFull CreatorFull]
  308. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib",0,r4 ; [WorldR AdminFull CreatorFull SystemFull]
  309. HKLM,"SYSTEM",1,r18,"HKLM.SYSTEM.SKIP","HKLM.SYSTEM.EXCEPTIONS" ; [WorldR AdminRWD SystemFull]
  310. HKCR,"",1,r14,"HKCR.SKIP","HKCR.EXCEPTIONS" ; [WorldR InteractiveRWD AdminFull SystemFull CreatorFull]
  311. ;;;;;;;
  312. ;
  313. ; HKEY_LOCAL_MACHINE\SOFTWARE sepcial keys
  314. ;
  315. ;;;;;;;
  316. [HKLM.SOFTWARE.SKIP]
  317. ;
  318. ; Subkeys of HKEY_LOCAL_MACHINE\SOFTWARE that should not have a security
  319. ; descriptor applied to them.
  320. ;
  321. "SOFTWARE\Classes"
  322. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib"
  323. [HKLM.SOFTWARE.EXCEPTIONS]
  324. ;
  325. ; Subkeys of HKEY_LOCAL_MACHINE\SOFTWARE that should have a security
  326. ; descriptor applied to them and their subkeys, that is differnet than
  327. ; the one applied to their parent keys.
  328. ;
  329. "SOFTWARE\Policies" = r7 ; [WorldR AdminFull SystemFull]
  330. "SOFTWARE\Program Groups" = r9 ; [WorldR AdminFull SystemFull SystemOpRWD PowerRWD CreatorFull]
  331. "SOFTWARE\Secure" = r10 ; [WorldR AdminFull SystemOpFull SystemFull CreatorFull]
  332. "SOFTWARE\Microsoft" = r18 ; [WorldRWD AdminFull SystemFull CreatorFull]
  333. "SOFTWARE\Microsoft\Command Processor" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  334. "SOFTWARE\Microsoft\NetDDE" = r2 ; [SystemFull AdminFull]
  335. "SOFTWARE\Microsoft\Ole" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  336. "SOFTWARE\Microsoft\Rpc" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  337. "SOFTWARE\Microsoft\Rpc\ClientProtocols" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  338. "SOFTWARE\Microsoft\Rpc\NameService" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  339. "SOFTWARE\Microsoft\Rpc\NetBios" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  340. "SOFTWARE\Microsoft\Rpc\ServerProtocols" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  341. "SOFTWARE\Microsoft\Secure" = r10 ; [WorldR AdminFull SystemOpFull SystemFull CreatorFull]
  342. "SOFTWARE\Microsoft\Windows" = r17 ; [WorldRW AdminFull SystemOpRWD PowerRWD SystemFull CreatorFull]
  343. "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  344. "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" = r5 ; [WorldR AdminFull SystemOpRWD SystemFull CreatorFull]
  345. "SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions" = r12 ; [WorldR AdminFull SystemOpRWD PowerRWD SystemFull CreatorFull]
  346. "SOFTWARE\Microsoft\Windows\CurrentVersion\Telephony" = r6 ; [WorldR AdminFull SystemFull CreatorFull SystemOpRWD PowerRWD]
  347. "SOFTWARE\Microsoft\Windows NT" = r12 ; [WorldR AdminFull SystemOpRWD PowerRWD SystemFull CreatorFull]
  348. "SOFTWARE\Microsoft\Windows NT\CurrentVersion" = r12 ; [WorldR AdminFull SystemOpRWD PowerRWD SystemFull CreatorFull]
  349. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  350. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Compatibility" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  351. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\DiskQuota" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  352. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  353. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\drivers.desc" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  354. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  355. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\EFS" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  356. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Embedding" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  357. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\File Manager" = r6 ; [WorldR AdminFull SystemFull CreatorFull SystemOpRWD PowerRWD]
  358. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Font Drivers" = r3 ; [WorldR AdminFull]
  359. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontCache" = r3 ; [WorldR AdminFull]
  360. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontMapper" = r3 ; [WorldR AdminFull]
  361. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  362. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  363. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\GRE_Initialize" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  364. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  365. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  366. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\MCI" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  367. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\MCI Extensions" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  368. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Midimap" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  369. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Network" = r6 ; [WorldR AdminFull SystemFull CreatorFull SystemOpRWD PowerRWD]
  370. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards" = r5 ; [WorldR AdminFull SystemOpRWD SystemFull CreatorFull]
  371. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  372. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  373. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  374. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones" = r7 ; [WorldR AdminFull SystemFull]
  375. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Type 1 Installer\Type 1 Fonts" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  376. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  377. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" = r5 ; [WorldR AdminFull SystemOpRWD SystemFull CreatorFull]
  378. "SOFTWARE\Microsoft\Windows NT\CurrentVersion\WOW" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  379. ;;;;;;;
  380. ;
  381. ; HKEY_LOCAL_MACHINE\SYSTEM sepcial keys
  382. ;
  383. ;;;;;;;
  384. [HKLM.SYSTEM.SKIP]
  385. ;
  386. ; Subkeys of HKEY_LOCAL_MACHINE\SYSTEM that should not have a security
  387. ; descriptor applied to them.
  388. ;
  389. "SYSTEM\Clone"
  390. "SYSTEM\ControlSet001"
  391. "SYSTEM\ControlSet001"
  392. "SYSTEM\ControlSet002"
  393. "SYSTEM\ControlSet003"
  394. "SYSTEM\ControlSet004"
  395. "SYSTEM\ControlSet005"
  396. "SYSTEM\ControlSet006"
  397. "SYSTEM\ControlSet007"
  398. "SYSTEM\ControlSet008"
  399. "SYSTEM\ControlSet009"
  400. "SYSTEM\ControlSet010"
  401. [HKLM.SYSTEM.EXCEPTIONS]
  402. ;
  403. ; Subkeys of HKEY_LOCAL_MACHINE\SYSTEM that should have a security
  404. ; descriptor applied to them and their subkeys, that is differnet than
  405. ; the one applied to their parent keys.
  406. ;
  407. "SYSTEM\CurrentControlSet" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  408. "SYSTEM\CurrentControlSet\Control" = r5 ; [SystemOpRWD WorldR AdminFull SystemFull CreatorFull]
  409. "SYSTEM\CurrentControlSet\Control\SecurePipeServers\winreg" = r1 ; [AdminFull]
  410. "SYSTEM\CurrentControlSet\Control\Session Manager\Executive" = r11 ; [WorldR AdminFull SystemOpRW PowerRW SystemFull CreatorFull]
  411. "SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" = r7 ; [WorldR AdminFull SystemFull]
  412. "SYSTEM\CurrentControlSet\Control\GraphicsDrivers" = r7 ; [WorldR AdminFull SystemFull]
  413. "SYSTEM\CurrentControlSet\Control\Lsa" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  414. "SYSTEM\CurrentControlSet\Control\PriorityControl" = r16 ; [WorldRW AdminFull SystemFull CreatorFull]
  415. "SYSTEM\CurrentControlSet\Control\ProductOptions" = r4 ; [WorldR SystemFull AdminFull CreatorFull]
  416. "SYSTEM\CurrentControlSet\Control\TimeZoneInformation" = r11 ; [WorldR AdminFull SystemOpRW PowerRW SystemFull CreatorFull]
  417. "SYSTEM\CurrentControlSet\Control\Windows" = r8 ; [WorldR AdminFull SystemFull SystemOpRW]
  418. "SYSTEM\CurrentControlSet\Enum" = r15 ; [WorldR SystemFull]
  419. "SYSTEM\CurrentControlSet\Hardware Profiles" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  420. "SYSTEM\CurrentControlSet\Hardware Profiles\0001" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  421. "SYSTEM\CurrentControlSet\Hardware Profiles\0001\Software" = r18 ; [WorldRWD AdminFull SystemFull CreatorFull]
  422. "SYSTEM\CurrentControlSet\Hardware Profiles\0001\System" = r13 ; [WorldR AdminRWD SystemFull]
  423. "SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  424. "SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Control" = r5 ; [SystemOpRWD WorldR AdminFull SystemFull CreatorFull]
  425. "SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Enum" = r5 ; [SystemOpRWD WorldR AdminFull SystemFull CreatorFull]
  426. "SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\Services" = r5 ; [SystemOpRWD WorldR AdminFull SystemFull CreatorFull]
  427. "SYSTEM\CurrentControlSet\Services" = r5 ; [WorldR AdminFull SystemOpRWD SystemFull CreatorFull]
  428. "SYSTEM\CurrentControlSet\Services\EventLog" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  429. "SYSTEM\CurrentControlSet\Services\WinTrust" = r7 ; [AdminFull SystemFull WorldR]
  430. "SYSTEM\Select" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  431. "SYSTEM\Setup" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  432. ;;;;;;;
  433. ;
  434. ; HKEY_CLASSES_ROOT sepcial keys
  435. ;
  436. ;;;;;;;
  437. [HKCR.SKIP]
  438. ;
  439. ; Subkeys of HKEY_CLASSES_ROOT that should not
  440. ; have security descriptors applied to them.
  441. ;
  442. [HKCR.EXCEPTIONS]
  443. ;
  444. ; Subkeys of HKEY_CLASSES_ROOT that should have security descriptors
  445. ; that are different than the ones applied to the parent key.
  446. ;
  447. "helpfile" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  448. ".hlp" = r4 ; [WorldR AdminFull SystemFull CreatorFull]
  449. @*: [UpgradePhase1RootKeys]
  450. @*: ; This section specifies the security descriptors to be applied to
  451. @*: ; certain keys on the upgrade case.
  452. @*: ; The format of each line in this section is the same as the format
  453. @*: ; defined for [Phase1RootKeys] section
  454. @*: ;
  455. @*:
  456. @*:
  457. @*:
  458. @*: ;;;;;;;
  459. @*: ;
  460. @*: ; HKEY_CURRENT_USER (DEFAULT hive) sepcial keys
  461. @*: ;
  462. @*: ;;;;;;;
  463. @*:
  464. @*: [UPGRADE.HKCU.SKIP]
  465. @*: ;
  466. @*: ; Subkeys of HKEY_CURRENT_USER that should not
  467. @*: ; have security descriptors applied to them.
  468. @*: ;
  469. @*:
  470. @*: [UPGRADE.HKCU.EXCEPTIONS]
  471. @*: ;
  472. @*: ; Subkeys of HKEY_CLASSES_ROOT that should have a security
  473. @*: ; descriptor applied to them and their subkeys, that is differnet than
  474. @*: ; the one applied to their parent keys.
  475. @*: ;
  476. @*:
  477. @*:
  478. @*:
  479. @*: [UpgradePhase2RootKeys]
  480. @*: ; This section specifies the security descriptors to be applied to
  481. @*: ; certain keys on the upgrade case.
  482. @*: ; The format of each line in this section is the same as the format
  483. @*: ; defined for [Phase1RootKeys] section
  484. @*: ;
  485. @*:
  486. @*:
  487. @*: ;;;;;;;
  488. @*: ;
  489. @*: ; HKEY_LOCAL_MACHINE\SOFTWARE sepcial keys
  490. @*: ;
  491. @*: ;;;;;;;
  492. @*:
  493. @*: [UPGRADE.HKLM.SOFTWARE.SKIP]
  494. @*: ;
  495. @*: ; Subkeys of HKEY_LOCAL_MACHINE\SOFTWARE that should not have a security
  496. @*: ; descriptor applied to them.
  497. @*: ;
  498. @*:
  499. @*:
  500. @*: [UPGRADE.HKLM.SOFTWARE.EXCEPTIONS]
  501. @*: ;
  502. @*: ; Subkeys of HKEY_LOCAL_MACHINE\SOFTWARE that should have a security
  503. @*: ; descriptor applied to them and their subkeys, that is differnet than
  504. @*: ; the one applied to their parent keys.
  505. @*: ;
  506. @*:
  507. @*: ;;;;;;;
  508. @*: ;
  509. @*: ; HKEY_LOCAL_MACHINE\SYSTEM sepcial keys
  510. @*: ;
  511. @*: ;;;;;;;
  512. @*:
  513. @*: [UPGRADE.HKLM.SYSTEM.SKIP]
  514. @*: ;
  515. @*: ; Subkeys of HKEY_LOCAL_MACHINE\SYSTEM that should not have a security
  516. @*: ; descriptor applied to them.
  517. @*: ;
  518. @*:
  519. @*: [UPGRADE.HKLM.SYSTEM.EXCEPTIONS]
  520. @*: ;
  521. @*: ; Subkeys of HKEY_LOCAL_MACHINE\SYSTEM that should have a security
  522. @*: ; descriptor applied to them and their subkeys, that is differnet than
  523. @*: ; the one applied to their parent keys.
  524. @*: ;
  525. @*:
  526. @*: ;;;;;;;
  527. @*: ;
  528. @*: ; HKEY_CLASSES_ROOT sepcial keys
  529. @*: ;
  530. @*: ;;;;;;;
  531. @*:
  532. @*: [UPGRADE.HKCR.SKIP]
  533. @*: ;
  534. @*: ; Subkeys of HKEY_CLASSES_ROOT that should not
  535. @*: ; have security descriptors applied to them.
  536. @*: ;
  537. @*:
  538. @*: [UPGRADE.HKCR.EXCEPTIONS]
  539. @*: ;
  540. @*: ; Subkeys of HKEY_CLASSES_ROOT that should have security descriptors
  541. @*: ; that are different than the ones applied to the parent key.
  542. @*: ;
  543. @*:
  544. @*: