0xsp-SRD / MDE_Enum

comprehensive .NET tool designed to extract and display detailed information about Windows Defender exclusions and Attack Surface Reduction (ASR) rules without Admin privileges

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MDE_Enum

MDE_Enum is a comprehensive .NET tool designed to extract and display detailed information about Windows Defender exclusions and Attack Surface Reduction (ASR) rules. It is capable of querying both local and remote systems effectively, even from a low-user context, making it a versatile tool for system administrators and security professionals.

Features

  • Local and Remote Query Support: Seamlessly query Windows Defender settings on both local and remote machines.
  • User-Context: Operates efficiently from a low-user context, eliminating the need for administrative permissions.
  • Windows Defender Exclusions: Retrieve and list all exclusion paths configured in Windows Defender.
  • Attack Surface Reduction (ASR) Rules: Enumerate ASR rules, displaying both the IDs and their corresponding names for easy identification.
  • Triggered ASR Events: Extract and list all triggered ASR events to monitor system security activities.
  • Detailed Output: Presents information in a clear, tabulated format for easy reading and analysis.

Usage

Windows Defender exclusion paths

This feature extracts the values from Windows Event ID 5007 logs. The tool uses regex pattern matching to accurately extract these values from the event description text.

  1. Enumerate exclusion paths locally
MDE_Enum /local /paths

MDE_Enum /local /paths /access (check if current user has write access) 
  1. Enumerate exclusion paths on remote computers
MDE_Enum <remoteComputer> <username> <password> <domain> /paths 

Triggered ASR Rules

This feature extracts the values from Windows Event ID 1121 logs. The tool uses regex pattern matching to accurately extract these values from the event description text.

  1. Enumerate logged ASR rules locally
MDE_Enum /local /asr 
  1. Enumerate logged ASR rules on remote computers
MDE_Enum <remoteComputer> <username> <password> <domain> /asr 

Enumerate ASR Rules

This feature extracts the Attack Surface Reduction (ASR) rules from the MSFT_MpPreference WMI class and provides a comprehensive status of the rules along with their corresponding names.

  1. Enumerate the rules locally
MDE_Enum /local /asr /alt 
  1. Enumerate the rules on remote computers.
MDE_Enum <remoteComputer> <domain> <username> <password> /asr /alt 

Acknowledgements

About

comprehensive .NET tool designed to extract and display detailed information about Windows Defender exclusions and Attack Surface Reduction (ASR) rules without Admin privileges

License:MIT License


Languages

Language:C# 100.0%