Audix : A PowerShell Tool To Quickly Configure Windows Event

Audix is a PowerShell tool to quickly configure the Windows Event Audit Policies for security monitoring.

Note: This tool will only change the local security policy. If applied to a host with a GPO setting, it is best to use the same settings in a Group Policy default profile so all systems get the same config. If the GPO profile is not changed to meet these settings, a GPO force will override it.

It will allow for the SIMPLE configuration of Windows Event Audit Policies. Window’s Audit Policies are restricted by default. This means that for Incident Responders, Blue Teamers, CISO’s & people looking to monitor their environment through use of Windows Event Logs, must configure the audit policy settings to provide more advanced logging.

This utility, aims to capture the current audit policy setting, perform a backup of it (incase a restore to previous state is required) and apply a more advanced Audit Policy setting to allow for better detection capability.

In addition, it will enforce audit policy subcategories to ensure that these advance setting persist. There is also a setting to adjust the logging size limit. Some examples of enabled policy settings that Audix will enable:

  • Event ID: 4698-4702 (A scheduled task was created/updated/disabled)
  • Event ID: 4688 (A new process has been created.)

Running

  • Git Clone the repo

git clone https://github.com/littl3field/Audix.git

Navigate to the folder and execute the command in your terminal. You must ensure you have Administrator rights to do this.

.\Audix.ps1

Development

  • I will be adding these settings as a priority:
    • Increase logging size limit ✓ (DONE)
    • Enforce audit policy subcategory setting ✓ (DONE)
  • Add restore option
  • GPO Setting Configuration