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

git fetch vs git pull: How They Work and When to Use Each

Both git fetch and git pull talk to a remote repository, but they do very different things to your…

4 days ago

git cherry-pick Command: Apply Commits from Another Branch

Sometimes the change you need already exists, just on the wrong branch. A hotfix lands…

4 days ago

Best Email APIs for Secure Business Email: Why Developers Are Moving Beyond SMTP

Email is still one of the most important communication channels inside modern applications. Password resets,…

5 days ago

Nginx Commands in Linux: Start, Stop, Reload, Test, and Log

Nginx is a high-performance web server and reverse proxy trusted by some of the largest…

1 week ago

ufw Command in Linux: Manage Firewall Rules with Examples

ufw (Uncomplicated Firewall) sits on top of iptables (or nftables on newer systems) and replaces…

1 week ago

who Command in Linux: Show All Logged-In Users and Sessions

When you share a server with a team or investigate unexpected activity, the first question…

1 week ago