Coder Social home page Coder Social logo

cwiccs's Introduction

Check Windows and Control Configs and Security

made-with-powershell Windows Latest Windows 2019 Windows 2016

CWiCCS (read as QUICKS) - Checking and Controlling and Fixing some Windows settings from defined / whitelisted system config profiles

cwiccs.org


  • Compatibility list

    • Windows Server 2012/2016/2019
    • Windows 10 (tested on Windows Pro)
    • Powershell v5, v6, v7
  • Enabled Feature Lists

  • Local Group Policy settings

    • Password Policy
      • Max password age
      • Min password age
      • Minimum password length
      • Password history
      • Lockout threshold
      • Lockout duration
    • Audit Policy
    • Security Options
  • Port listing

  • System Services

  • Installed Software List

Also CWiCCS checks:

  • NTP (Windows Time)
  • SMB
  • Network options
    • File Sharing status
    • IPv6 status
    • Current internal IP
  • UAC
  • PowerShell execution policies
  • Windows Update status
  • Users list
    • Name
    • Enabled/Disabled status
    • LockOut
    • Password Expires
    • Password Last Set
    • Last Logon
  • OS info
    • Windows Version
    • Last boot time
    • How long OS is Up
  • Found errors counting

CWiCCS can generate:

  • HTML reports
  • Working status logs

Support Platforms

CWiCCS tested on native Windows PowerShell on the:

  • Windows 2012R2
  • Windows 2016
  • Windows 2019

On the PowerShell versions v5, v6

Download / Install

You can clone repository:

git clone https://github.com/m0zgen/cwiccs.git

or

You can download archive from repository - Code > Download as ZIP

Runs / Options

After download CWiCCS, please cd to cwiccs folder and them run script:

.\cwiccs.ps1

Run with bypass powershell execution policy:

powershell.exe -ep Bypass .\cwiccs.ps1 -report

Unblock files

Unlock files:

Get-ChildItem <cwiccs-master folder path> -recurse | Unblock-File

Use in GPO

Command:

c:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

Script parameters:

-ExecutionPolicy Bypass <path to shared folder>\cwiccs.ps1

How to Self Sign

Get-ChildItem -Path C:\Share\cwiccs-master\*.ps1 -Recurse | Set-AuthenticodeSignature -Certificate (Get-ChildItem -Path Cert:\CurrentUser\My\ -CodeSigningCert)

Additional info:

Use PSExec

You can use PSExec utility:

PsExec.exe -s -i @c:\Share\servers.txt -e cmd /c "powershell -ExecutionPolicy Bypass \\dc01\Share\cwiccs-master\cwiccs.ps1"

or:

PsExec.exe -s -i @c:\Share\servers.txt Powershell -File \\dc01\Share\cwiccs-master\cwiccs.ps1

Available options:

- cwiccs.ps1 [-autofix] [-report] [-elevate] [-admin] [-profile] <profilename> [-profilelist] [-help]
- [-elevate] and [-admin] arguments it is same (made for convenience)

Operating Modes

CWiCCS can works with two modes:

  1. from simple user
  2. from elevated (Administrator) mode

-autofix option can works only from elevated mode

Profiles

You can define own profile. CWiCCS use as default DEFAUL profile. Defined profiles:

  • Features
  • Gpo
  • Ports
  • Services
  • Software

Contribing

You can send me feature requests to forum.sys-adm.in with new topic which contains #cwiccs tag

Info

cwiccs's People

Contributors

m0zgen 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.