https://github.com/mhaggis/asrgen
ASR Configurator, Essentials and Atomic Testing
https://github.com/mhaggis/asrgen
asr attack-surface-reduction defender-for-endpoint windows
Last synced: about 1 year ago
JSON representation
ASR Configurator, Essentials and Atomic Testing
- Host: GitHub
- URL: https://github.com/mhaggis/asrgen
- Owner: MHaggis
- License: apache-2.0
- Created: 2023-11-16T02:15:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-31T15:26:54.000Z (over 1 year ago)
- Last Synced: 2025-03-28T00:41:48.934Z (over 1 year ago)
- Topics: asr, attack-surface-reduction, defender-for-endpoint, windows
- Language: Python
- Homepage:
- Size: 1.12 MB
- Stars: 37
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ASRGEN
> _now BETA_
Access ASRGEN here on https://asrgen.streamlit.app/
### Project Overview
This repository contains code and resources related to Attack Surface Reduction (ASR) rules in Windows Defender. The primary goal of this project is to provide a comprehensive understanding of ASR rules, their configuration, and their impact on system security.
### Disclaimer
The content in this repository is intended for research and educational purposes only. It should be used responsibly and ethically. Any scripts or code that simulate potentially harmful actions are provided for the purpose of understanding and mitigating security threats with ASR. They should only be run in a controlled, secure environment for testing or educational purposes.
### Getting Started
1. Clone the repository to your local machine.
2. Ensure you have the necessary dependencies installed. This project primarily uses Python and PowerShell.
3. Navigate through the codebase and familiarize yourself with the structure and content.
### Code Structure
The project consists of the following key components:
- 1๏ธโฃ ASR Configurator ๐ ๏ธ: A tool for configuring ASR rules and generating the corresponding PowerShell commands. ๐
- 2๏ธโฃ ASR Essentials ๐: A guide to the basics of ASR, including how to use ASR on the command line, how to list ASR rules, and how to understand ASR event codes. ๐ค
- 3๏ธโฃ ASR Atomic Testing ๐งช: A collection of scripts for testing the effectiveness of ASR rules. ๐ฌ
- 4๏ธโฃ ASR PwSh Group Policy Generator ๐ ๏ธ: A tool for generating Group Policy Objects (GPO) with PowerShell. ๐
- 5๏ธโฃ ASR .pol File Reader ๐: A tool for reading and displaying the contents of GPO .pol files. ๐
- 6๏ธโฃ ASR Intune Policy Generator ๐: A web-based tool for creating and deploying ASR rules directly to Microsoft Intune. Features include:
- Interactive rule configuration
- Direct deployment to Intune
- JSON policy export
- Current configuration preview
- Policy listing and management
### Features
- PowerShell-based ASR rule management
- Group Policy Object generation
- .pol file analysis
- Intune integration for cloud-based deployment
- Interactive web interface
- Atomic testing capabilities
- Comprehensive documentation
### Required Permissions for Intune Integration
To use the Intune Policy Generator, your Azure AD app registration needs:
- `DeviceManagementConfiguration.ReadWrite.All`
- `DeviceManagementManagedDevices.ReadWrite.All`
### Contributing
We welcome contributions to this project. If you have a suggestion, bug report, or want to add to the codebase, please open an issue or submit a pull request.
### License
This project is licensed under the terms of the Apache license.