This cookbook is developed based on CIS Level1 member server standards for Windows Server 2016. To know more about the settings and configurations please refer my CIS Level1 inspec profile. [
- This cookbook can be used to apply one time hardening as well as continous hardening to avoid the configuration drift, Please tested in your Dev, Stage environment before you apply into Production.
- Do proper testing against your organisation security standards, operational standards before you apply this hardening as this may bring down the application.
- Chef Infra Client
or
- Chef Workstation
- SecurityPolicyDsc => Powershell DSC Module (if you apply "section_1.rb_, section_2.rb (commented)" recipe using DSC, since i'm not using DSC due to consistent check issue when chef client runs, because the chef client runs every 30 mins which conflicts with DSC)
- Windows Server 2016 (can be used for other windows OS platform also 2012/2019, created based on windows 2016 cis level1 standards).
- Chef >= 14.0 (Change the metadata file if you are running on less than 14 chef client)
- No additional resources are required.
- audit_policy_provider
- audit_policy_resource
- security_policy.inf.erb (see included).
- section_2 (Registry, command(execute), PowerShell)
- section_9 (Registry)
- section_17 (Audit policies - using libraries)
- section_18 (Registry)
- section_19 (PowerShell), Note: this section is option configuration as these settings are applicable when the user is logged on.
- security_policy (It uses native 'secedit.exe' tool to apply .inf based configuration which will create based on attributed=> sec_policy.rb)
- Yes, You can also leverage System Center Configuration Manager (SCCM), Altris, IBM BigFix, GPO, etc,. other deployment tools for one time hardening using the file included using the powershell command or native cmd.exe 'cb-cis-level1-win2016-member.inf' [see powershell resource section in 'security_policy.rb' recipe].
- Author:: Prabu Jaganathan ((mailto:[email protected]))
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.