Leaked source code of windows server 2003
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.

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