Skip to content

A generic security tray for Windows 11 providing several hardening & audit modes for windows security baselines

Notifications You must be signed in to change notification settings

shane-bergin/GenericSecurityTray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

GenericSecurityTray

A lightweight Windows 11 system-tray utility that applies a full Microsoft-recommended security hardening baseline using only built-in tools — no third-party dependencies.

Please refer to Microsoft's Documentation linked below, and familiarize with the Attack Surface Reduction Rules Reference

https://learn.microsoft.com/en-us/defender-endpoint/attack-surface-reduction-rules-reference

Features

  • Four modes: Aggressive (block), Audit (monitor), Revert (undo), StatusOnly (report)
  • Applies the latest 19 Microsoft Defender ASR rules (2025)
  • Configures cloud protection, Controlled Folder Access, Network Protection
  • Enables advanced auditing, PowerShell logging, firewall hardening
  • Fully reversible — Revert restores defaults
  • Logs everything to %ProgramData%\GenericSecurityTray\Logs
image

Polices not in place--

image

---Agressive Mode Active--- image

If you close out of the tray with agressive mode on and run into difficulties accessing certain applications and are unable to use the Windows Security GUI to make exceptions use the following Powershell commands to remove Agressive baseline policy...

(Caution; the below Powershell snippet will remove all ASR rules.)

Run Powershell as Adminstrator

Get-MpPreference | Select-Object -ExpandProperty AttackSurfaceReductionRules_Ids | ForEach-Object { Remove-MpPreference -AttackSurfaceReductionRules_Ids $_ }

Build

# Open in Visual Studio → Build → Release
# Or
dotnet build -c Release windows/GenericSecurityTray/src/GenericSecurityTray/GenericSecurityTray.csproj

About

A generic security tray for Windows 11 providing several hardening & audit modes for windows security baselines

Resources

Stars

Watchers

Forks

Packages

No packages published