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
R K

Recent Posts

groupdel Command in Linux: Remove a Group and Audit Files

The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…

14 hours ago

wc Command in Linux: Count Lines, Words, Characters, and Bytes

The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…

14 hours ago

top Command in Linux: Monitor Processes and Resource Usage

The top command in Linux provides a real-time view of running processes and system resource usage. From…

14 hours ago

usermod Command in Linux: Modify User Accounts and Groups

The usermod command in Linux modifies existing user account attributes. You can use it to manage group…

14 hours ago

sort Command in Linux: Sort Text, Numbers, Columns, and More

The sort command in Linux reads lines from files or standard input and writes them to standard…

2 days ago

wall Command in Linux: Broadcast Messages to Logged-In Users

The wall command in Linux sends a message to the terminals of all currently logged-in users. The…

2 days ago