Giter Site home page Giter Site logo

cis-windows-level1's Introduction

cis-windows-level1

This role sets up Cis-windows-level1

Created for and tested on Windows 2012R2

Should work for Windows 2016 (untested)

TODO

There's plenty of room for optimizing and consolidating regedits, etc.

Requirements

Requires Ansible 2.5+ as the win_audit_policy_system module is required and it's new in 2.5

Notes & Rule Omittance

My testing was done on a Windows 2012R2 Vagrant box I built using this

Inspec controls taken from Chef Automate's CIS Windows Level 1 profile.

  • some of inspec 'describe' statements were modified (read as: fixed). I've left the original rule in the control commented out (and my modified/corrected one underneath it)

  • 2.3.1.5 Administrator account was not renamed; changed to disabled

  • 2.3.1.6 Guest account was not renamed; changed disabled

  • 18.6.1: LocalAccountTokenFilterPolicy was not set to 0 as I use a local user to WinRM into run the ansible role so if that gets set to 1 then the role breaks

  • 2.2.x: User Rights rules moved to the end as setting them early will prevent some of the other changes in the "later" rules sets from being applied due to stripped rights

Rules for 19.x.x aren't run as they modify HKEY_USERS and that's apparently not allowed :( And as such, the Inspec controls for 19.x.x are in files/ folder for now rather than in controls/ (easier than commenting out the rules)

Rules 2.3.10.7 and 2.3.10.8's lists were done in YAML format rather than JSON like all the other rules. The main reason is for better readability in this case where as JSON format took up less lines.

Maintainer

Glen Yu

E-mail

[email protected]

License

MIT

cis-windows-level1's People

Contributors

neutrollized avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.