• Stars
    star
    175
  • Rank 218,059 (Top 5 %)
  • Language
    PowerShell
  • License
    MIT License
  • Created over 5 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Audit Windows Security with best Practice

Wynis

Just a powershell scripts for auditing security with BEST Practices Windows env You just need to run the script, it will create a directory named : AUDIT_CONF_%MACHINENAME_%DATE%

W1

Actualy, the script are :

-WynisWIN2016DC-CISv1.0 : Auditing DC 2016 with CIS

-Wynis-AD-STIG : Auditing Domain Security with STIG and other security Best Practice (Work In Progress)

-WynisO365-CIS : Auditing O365 with CIS Best Practice (Work in Progress)

-WynisWIN10-CIS : Auditing Win 10 with CIS Best Practice

-WynisWIN2016-CIS : Auditing Win 2016 with CIS Best Practice

Prerequisites

Before running the script either you :

-'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' before running the script in your powerhell console

- Sign Wynis with your PKi https://devblogs.microsoft.com/scripting/hey-scripting-guy-how-can-i-sign-windows-powershell-scripts-with-an-enterprise-windows-pki-part-2-of-2/

Informations

The directory output will contain the files belows:

W2

-Antivirus-%COMPUTERNAME% : List installed Antivirus software

W3

-APPDATA%COMPUTERNAME% : List all executable file in APPDATA directory W4

-Audit%DATE%: list the result of all CIS tests

W4

-auditpolicy-%COMPUTERNAME% : audit policy configured

W5

-firewall-rules-%COMPUTERNAME% : List all local windows firewall rules

W6

-gpo-%COMPUTERNAME% : Gpresult for applied GPO

W10

-Installed-Software-%COMPUTERNAME% : List installed software

W6

-Listen-port-%COMPUTERNAME% : netstat with associate executable W11 -localuser-%COMPUTERNAME% : list all local users

-OptionnalFeature-%COMPUTERNAME% :List all enabled optional feature

W7

-Scheduled-task-%COMPUTERNAME% : list all scheduled task

W8 -Service-%COMPUTERNAME% : list all service

W9

-Share-%COMPUTERNAME% : list all share

W10

-StartUp-%COMPUTERNAME% : check registry to identify start-up executable

-System-%COMPUTERNAME% : systeminfo

-SystemUpdate : Check Wmi Quickfix to identify installed update