[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ET5HEJDRW7VCSXVF3VNP8S":3,"skill-same:01M6ET5HEJDRW7VCSXVF3VNP8S":120},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":14,"repositoryHtmlUrl":66,"repositoryHomepageUrl":67,"ownerHtmlUrl":68,"ownerBlogUrl":6,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M6ET5HEJDRW7VCSXVF3VNP8S","configuring-windows-defender-advanced-settings",null,"Configures Microsoft Defender for Endpoint (MDE) advanced protection settings including attack surface reduction rules, controlled folder access, network protection, and exploit protection. Use when hardening Windows endpoints beyond default Defender settings, deploying enterprise-grade endpoint protection, or meeting compliance requirements for advanced malware defense. Activates for requests involving Windows Defender configuration, ASR rules, MDE tuning, or Microsoft endpoint security.","henriquescastilho\u002Fmy-claude","henriquescastilho","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153296945?v=4","01M6ESH7EXPXTH9CVQ4K16SRG8","Henrique Scheer","01M6ESH7JHEK2PTNNH4HEH787Z",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-windows-defender-advanced-settings\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"configuring windows defender advanced settings","advanced","settings","windows","defender","T1547.001","de","default","cm","exploit","access","tuning","T1059.001","cybersecurity","MDE","exploit-protection","ASR","Microsoft-Defender","windows-security","endpoint-security","2026-11-10 10:12:30",false,"---\nname: configuring-windows-defender-advanced-settings\ndescription: 'Configures Microsoft Defender for Endpoint (MDE) advanced protection\n  settings including attack surface reduction rules, controlled folder access, network\n  protection, and exploit protection. Use when hardening Windows endpoints beyond\n  default Defender settings, deploying enterprise-grade endpoint protection, or meeting\n  compliance requirements for advanced malware defense. Activates for requests involving\n  Windows Defender configuration, ASR rules, MDE tuning, or Microsoft endpoint security.\n\n  '\ndomain: cybersecurity\nsubdomain: endpoint-security\ntags:\n- endpoint\n- windows-security\n- Microsoft-Defender\n- ASR\n- exploit-protection\n- MDE\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.PS-01\n- PR.PS-02\n- DE.CM-01\n- PR.IR-01\nmitre_attack:\n- T1685\n- T1204.002\n- T1059.001\n- T1055\n- T1547.001\n---\n# Configuring Windows Defender Advanced Settings\n\n## When to Use\n\nUse this skill when:\n- Configuring Microsoft Defender for Endpoint (MDE) beyond default settings for enhanced protection\n- Implementing Attack Surface Reduction (ASR) rules to block common attack techniques\n- Enabling controlled folder access for ransomware protection\n- Configuring network protection and exploit protection features\n- Deploying Defender settings via Intune, SCCM, or Group Policy at enterprise scale\n\n**Do not use** this skill for third-party EDR deployment (CrowdStrike, SentinelOne) or for Microsoft Defender for Cloud (Azure workload protection).\n\n## Prerequisites\n\n- Windows 10\u002F11 Enterprise with Microsoft Defender Antivirus enabled\n- Microsoft 365 E5 or Microsoft Defender for Endpoint Plan 2 license (for full MDE features)\n- Microsoft Intune or SCCM for enterprise policy deployment\n- Microsoft 365 Defender portal access (security.microsoft.com)\n- Endpoints not running third-party AV in active mode (Defender enters passive mode)\n\n## Workflow\n\n### Step 1: Configure Attack Surface Reduction (ASR) Rules\n\nASR rules block specific behaviors commonly used by malware and attackers:\n\n```powershell\n# Enable ASR rules via PowerShell (or deploy via Intune\u002FGPO)\n# Mode: 0=Disabled, 1=Block, 2=Audit, 6=Warn\n\n# Block executable content from email client and webmail\nSet-MpPreference -AttackSurfaceReductionRules_Ids BE9BA2D9-53EA-4CDC-84E5-9B1EEEE46550 `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block all Office applications from creating child processes\nSet-MpPreference -AttackSurfaceReductionRules_Ids D4F940AB-401B-4EFC-AADC-AD5F3C50688A `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block Office applications from creating executable content\nSet-MpPreference -AttackSurfaceReductionRules_Ids 3B576869-A4EC-4529-8536-B80A7769E899 `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block Office applications from injecting code into other processes\nSet-MpPreference -AttackSurfaceReductionRules_Ids 75668C1F-73B5-4CF0-BB93-3ECF5CB7CC84 `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block JavaScript or VBScript from launching downloaded executable content\nSet-MpPreference -AttackSurfaceReductionRules_Ids D3E037E1-3EB8-44C8-A917-57927947596D `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block execution of potentially obfuscated scripts\nSet-MpPreference -AttackSurfaceReductionRules_Ids 5BEB7EFE-FD9A-4556-801D-275E5FFC04CC `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block Win32 API calls from Office macros\nSet-MpPreference -AttackSurfaceReductionRules_Ids 92E97FA1-2EDF-4476-BDD6-9DD0B4DDDC7B `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block credential stealing from Windows LSASS\nSet-MpPreference -AttackSurfaceReductionRules_Ids 9E6C4E1F-7D60-472F-BA1A-A39EF669E4B2 `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block process creations from PSExec and WMI commands\nSet-MpPreference -AttackSurfaceReductionRules_Ids D1E49AAC-8F56-4280-B9BA-993A6D77406C `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block untrusted and unsigned processes from USB\nSet-MpPreference -AttackSurfaceReductionRules_Ids B2B3F03D-6A65-4F7B-A9C7-1C7EF74A9BA4 `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block persistence through WMI event subscription\nSet-MpPreference -AttackSurfaceReductionRules_Ids E6DB77E5-3DF2-4CF1-B95A-636979351E5B `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block abuse of exploited vulnerable signed drivers\nSet-MpPreference -AttackSurfaceReductionRules_Ids 56A863A9-875E-4185-98A7-B882C64B5CE5 `\n  -AttackSurfaceReductionRules_Actions 1\n```\n\n### Step 2: Configure Controlled Folder Access (Ransomware Protection)\n\n```powershell\n# Enable Controlled Folder Access\nSet-MpPreference -EnableControlledFolderAccess Enabled\n\n# Default protected folders: Documents, Pictures, Videos, Music, Desktop, Favorites\n# Add custom protected folders\nAdd-MpPreference -ControlledFolderAccessProtectedFolders \"C:\\CriticalData\"\nAdd-MpPreference -ControlledFolderAccessProtectedFolders \"D:\\SharedDrives\"\n\n# Allow specific applications to access protected folders\nAdd-MpPreference -ControlledFolderAccessAllowedApplications \"C:\\Program Files\\CustomApp\\app.exe\"\nAdd-MpPreference -ControlledFolderAccessAllowedApplications \"C:\\Program Files\\Backup\\backup.exe\"\n\n# Set to Audit mode first to identify legitimate applications that need access\nSet-MpPreference -EnableControlledFolderAccess AuditMode\n# Event ID 1124 in Microsoft-Windows-Windows Defender\u002FOperational log\n```\n\n### Step 3: Configure Network Protection\n\n```powershell\n# Enable Network Protection (blocks connections to malicious domains\u002FIPs)\nSet-MpPreference -EnableNetworkProtection Enabled\n\n# Network Protection leverages Microsoft SmartScreen intelligence\n# Blocks: phishing sites, exploit hosting domains, C2 domains, malware download URLs\n\n# Set to Audit mode first:\nSet-MpPreference -EnableNetworkProtection AuditMode\n# Event Log: Microsoft-Windows-Windows Defender\u002FOperational, Event ID 1125\n\n# Configure Web Content Filtering (requires MDE P2 license)\n# Managed via Microsoft 365 Defender portal:\n# Settings → Endpoints → Web content filtering → Add policy\n# Categories to block: Malware, Phishing, Adult content, High bandwidth\n```\n\n### Step 4: Configure Exploit Protection\n\n```powershell\n# Export current exploit protection settings\nGet-ProcessMitigation -RegistryConfigFilePath \"C:\\Defender\\current_mitigations.xml\"\n\n# Configure system-level mitigations\nSet-ProcessMitigation -System -Enable DEP, SEHOP, ForceRelocateImages, BottomUp\n\n# Configure per-application mitigations\n# Example: Harden Microsoft Office against exploitation\nSet-ProcessMitigation -Name \"WINWORD.EXE\" `\n  -Enable DEP, SEHOP, ForceRelocateImages, CFG, StrictHandle\n\nSet-ProcessMitigation -Name \"EXCEL.EXE\" `\n  -Enable DEP, SEHOP, ForceRelocateImages, CFG, StrictHandle\n\nSet-ProcessMitigation -Name \"POWERPNT.EXE\" `\n  -Enable DEP, SEHOP, ForceRelocateImages, CFG, StrictHandle\n\n# Import exploit protection configuration from XML template\nSet-ProcessMitigation -PolicyFilePath \"C:\\Defender\\exploit_protection_template.xml\"\n```\n\n### Step 5: Configure Cloud-Delivered Protection\n\n```powershell\n# Enable cloud-delivered protection (real-time threat intelligence)\nSet-MpPreference -MAPSReporting Advanced\nSet-MpPreference -SubmitSamplesConsent SendAllSamples\n\n# Enable Block at First Sight (BAFS)\n# Requires: Cloud protection enabled + sample submission enabled\nSet-MpPreference -DisableBlockAtFirstSeen $false\n\n# Set cloud block timeout to maximum (60 seconds)\nSet-MpPreference -CloudBlockLevel High\nSet-MpPreference -CloudExtendedTimeout 50\n\n# Enable potentially unwanted application (PUA) protection\nSet-MpPreference -PUAProtection Enabled\n```\n\n### Step 6: Configure Scan and Update Settings\n\n```powershell\n# Configure real-time protection\nSet-MpPreference -DisableRealtimeMonitoring $false\nSet-MpPreference -DisableBehaviorMonitoring $false\nSet-MpPreference -DisableIOAVProtection $false\nSet-MpPreference -DisableScriptScanning $false\n\n# Configure scheduled scan\nSet-MpPreference -ScanScheduleQuickScanTime 12:00:00\nSet-MpPreference -ScanParameters QuickScan\nSet-MpPreference -ScanScheduleDay 0  # Every day\nSet-MpPreference -RemediationScheduleDay 0\n\n# Configure signature updates\nSet-MpPreference -SignatureUpdateInterval 1  # Check every hour\nSet-MpPreference -SignatureFallbackOrder \"MicrosoftUpdateServer|MMPC\"\n\n# Enable tamper protection (prevents unauthorized changes to Defender settings)\n# Managed via Microsoft 365 Defender portal:\n# Settings → Endpoints → Advanced features → Tamper Protection: On\n```\n\n### Step 7: Deploy via Intune (Enterprise)\n\n```\nIntune Deployment Path:\n1. Endpoint Security → Attack Surface Reduction → Create Profile\n   - Platform: Windows 10 and later\n   - Profile: Attack surface reduction rules\n   - Configure each ASR rule to Block or Audit\n\n2. Endpoint Security → Antivirus → Create Profile\n   - Microsoft Defender Antivirus\n   - Configure: Cloud protection, PUA, real-time protection\n\n3. Endpoint Security → Antivirus → Create Profile\n   - Microsoft Defender Antivirus Exclusions\n   - Add path\u002Fprocess\u002Fextension exclusions for LOB apps\n\n4. Devices → Configuration profiles → Create profile\n   - Endpoint protection → Microsoft Defender Exploit Guard\n   - Configure: Controlled Folder Access, Network Protection\n```\n\n### Step 8: Monitor in Microsoft 365 Defender Portal\n\n```\nDashboard monitoring:\n1. security.microsoft.com → Reports → Endpoints\n   - Device health: Protection status across fleet\n   - ASR rule detections: Which rules are triggering\n   - Vulnerable devices: Missing security updates\n\n2. Threat analytics:\n   - Active threat campaigns and Defender coverage\n   - Recommended security actions\n\n3. Advanced hunting (KQL):\n   DeviceEvents\n   | where ActionType startswith \"Asr\"\n   | summarize Count=count() by ActionType, FileName\n   | sort by Count desc\n\n   DeviceEvents\n   | where ActionType == \"ControlledFolderAccessViolationBlocked\"\n   | project Timestamp, DeviceName, FileName, FolderPath\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **ASR Rules** | Attack Surface Reduction rules that block specific high-risk behaviors at the endpoint level |\n| **Controlled Folder Access** | Ransomware protection feature that prevents unauthorized applications from modifying files in protected folders |\n| **Network Protection** | Blocks outbound connections to low-reputation or known-malicious domains using SmartScreen intelligence |\n| **Exploit Protection** | System and per-application memory mitigations (DEP, ASLR, CFG) to prevent exploitation |\n| **BAFS (Block at First Sight)** | Cloud-based zero-day protection that holds suspicious files for cloud analysis before allowing execution |\n| **Tamper Protection** | Prevents unauthorized changes to Defender security settings, even by local administrators |\n\n## Tools & Systems\n\n- **Microsoft 365 Defender Portal**: security.microsoft.com for centralized management and reporting\n- **Microsoft Intune**: Cloud-based endpoint management for Defender policy deployment\n- **PowerShell (Set-MpPreference)**: Local configuration of Defender settings\n- **WDAC (Windows Defender Application Control)**: Complementary application control technology\n- **Microsoft Defender for Endpoint API**: REST API for automation and custom integrations\n\n## Common Pitfalls\n\n- **Enabling all ASR rules in Block mode immediately**: Some ASR rules cause false positives with legitimate software (Office macros, admin scripts). Always deploy in Audit mode first and monitor for 2-4 weeks.\n- **Not configuring Controlled Folder Access exclusions**: Backup software, database applications, and development tools may be blocked from writing to protected folders. Add exclusions proactively.\n- **Ignoring tamper protection**: Without tamper protection, malware or insiders can disable Defender via PowerShell or registry edits. Enable tamper protection through the M365 Defender portal.\n- **Running Defender alongside third-party AV**: Defender enters passive mode when third-party AV is present. Ensure you are using the intended AV solution and configure Defender appropriately (EDR-only mode if keeping third-party AV).\n- **Forgetting cloud connectivity requirements**: Cloud-delivered protection and BAFS require endpoints to reach Microsoft cloud services. Verify proxy\u002Ffirewall rules allow Defender cloud traffic.\n","# Configuring Windows Defender Advanced Settings\n\n## When to Use\n\nUse this skill when:\n- Configuring Microsoft Defender for Endpoint (MDE) beyond default settings for enhanced protection\n- Implementing Attack Surface Reduction (ASR) rules to block common attack techniques\n- Enabling controlled folder access for ransomware protection\n- Configuring network protection and exploit protection features\n- Deploying Defender settings via Intune, SCCM, or Group Policy at enterprise scale\n\n**Do not use** this skill for third-party EDR deployment (CrowdStrike, SentinelOne) or for Microsoft Defender for Cloud (Azure workload protection).\n\n## Prerequisites\n\n- Windows 10\u002F11 Enterprise with Microsoft Defender Antivirus enabled\n- Microsoft 365 E5 or Microsoft Defender for Endpoint Plan 2 license (for full MDE features)\n- Microsoft Intune or SCCM for enterprise policy deployment\n- Microsoft 365 Defender portal access (security.microsoft.com)\n- Endpoints not running third-party AV in active mode (Defender enters passive mode)\n\n## Workflow\n\n### Step 1: Configure Attack Surface Reduction (ASR) Rules\n\nASR rules block specific behaviors commonly used by malware and attackers:\n\n```powershell\n# Enable ASR rules via PowerShell (or deploy via Intune\u002FGPO)\n# Mode: 0=Disabled, 1=Block, 2=Audit, 6=Warn\n\n# Block executable content from email client and webmail\nSet-MpPreference -AttackSurfaceReductionRules_Ids BE9BA2D9-53EA-4CDC-84E5-9B1EEEE46550 `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block all Office applications from creating child processes\nSet-MpPreference -AttackSurfaceReductionRules_Ids D4F940AB-401B-4EFC-AADC-AD5F3C50688A `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block Office applications from creating executable content\nSet-MpPreference -AttackSurfaceReductionRules_Ids 3B576869-A4EC-4529-8536-B80A7769E899 `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block Office applications from injecting code into other processes\nSet-MpPreference -AttackSurfaceReductionRules_Ids 75668C1F-73B5-4CF0-BB93-3ECF5CB7CC84 `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block JavaScript or VBScript from launching downloaded executable content\nSet-MpPreference -AttackSurfaceReductionRules_Ids D3E037E1-3EB8-44C8-A917-57927947596D `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block execution of potentially obfuscated scripts\nSet-MpPreference -AttackSurfaceReductionRules_Ids 5BEB7EFE-FD9A-4556-801D-275E5FFC04CC `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block Win32 API calls from Office macros\nSet-MpPreference -AttackSurfaceReductionRules_Ids 92E97FA1-2EDF-4476-BDD6-9DD0B4DDDC7B `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block credential stealing from Windows LSASS\nSet-MpPreference -AttackSurfaceReductionRules_Ids 9E6C4E1F-7D60-472F-BA1A-A39EF669E4B2 `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block process creations from PSExec and WMI commands\nSet-MpPreference -AttackSurfaceReductionRules_Ids D1E49AAC-8F56-4280-B9BA-993A6D77406C `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block untrusted and unsigned processes from USB\nSet-MpPreference -AttackSurfaceReductionRules_Ids B2B3F03D-6A65-4F7B-A9C7-1C7EF74A9BA4 `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block persistence through WMI event subscription\nSet-MpPreference -AttackSurfaceReductionRules_Ids E6DB77E5-3DF2-4CF1-B95A-636979351E5B `\n  -AttackSurfaceReductionRules_Actions 1\n\n# Block abuse of exploited vulnerable signed drivers\nSet-MpPreference -AttackSurfaceReductionRules_Ids 56A863A9-875E-4185-98A7-B882C64B5CE5 `\n  -AttackSurfaceReductionRules_Actions 1\n```\n\n### Step 2: Configure Controlled Folder Access (Ransomware Protection)\n\n```powershell\n# Enable Controlled Folder Access\nSet-MpPreference -EnableControlledFolderAccess Enabled\n\n# Default protected folders: Documents, Pictures, Videos, Music, Desktop, Favorites\n# Add custom protected folders\nAdd-MpPreference -ControlledFolderAccessProtectedFolders \"C:\\CriticalData\"\nAdd-MpPreference -ControlledFolderAccessProtectedFolders \"D:\\SharedDrives\"\n\n# Allow specific applications to access protected folders\nAdd-MpPreference -ControlledFolderAccessAllowedApplications \"C:\\Program Files\\CustomApp\\app.exe\"\nAdd-MpPreference -ControlledFolderAccessAllowedApplications \"C:\\Program Files\\Backup\\backup.exe\"\n\n# Set to Audit mode first to identify legitimate applications that need access\nSet-MpPreference -EnableControlledFolderAccess AuditMode\n# Event ID 1124 in Microsoft-Windows-Windows Defender\u002FOperational log\n```\n\n### Step 3: Configure Network Protection\n\n```powershell\n# Enable Network Protection (blocks connections to malicious domains\u002FIPs)\nSet-MpPreference -EnableNetworkProtection Enabled\n\n# Network Protection leverages Microsoft SmartScreen intelligence\n# Blocks: phishing sites, exploit hosting domains, C2 domains, malware download URLs\n\n# Set to Audit mode first:\nSet-MpPreference -EnableNetworkProtection AuditMode\n# Event Log: Microsoft-Windows-Windows Defender\u002FOperational, Event ID 1125\n\n# Configure Web Content Filtering (requires MDE P2 license)\n# Managed via Microsoft 365 Defender portal:\n# Settings → Endpoints → Web content filtering → Add policy\n# Categories to block: Malware, Phishing, Adult content, High bandwidth\n```\n\n### Step 4: Configure Exploit Protection\n\n```powershell\n# Export current exploit protection settings\nGet-ProcessMitigation -RegistryConfigFilePath \"C:\\Defender\\current_mitigations.xml\"\n\n# Configure system-level mitigations\nSet-ProcessMitigation -System -Enable DEP, SEHOP, ForceRelocateImages, BottomUp\n\n# Configure per-application mitigations\n# Example: Harden Microsoft Office against exploitation\nSet-ProcessMitigation -Name \"WINWORD.EXE\" `\n  -Enable DEP, SEHOP, ForceRelocateImages, CFG, StrictHandle\n\nSet-ProcessMitigation -Name \"EXCEL.EXE\" `\n  -Enable DEP, SEHOP, ForceRelocateImages, CFG, StrictHandle\n\nSet-ProcessMitigation -Name \"POWERPNT.EXE\" `\n  -Enable DEP, SEHOP, ForceRelocateImages, CFG, StrictHandle\n\n# Import exploit protection configuration from XML template\nSet-ProcessMitigation -PolicyFilePath \"C:\\Defender\\exploit_protection_template.xml\"\n```\n\n### Step 5: Configure Cloud-Delivered Protection\n\n```powershell\n# Enable cloud-delivered protection (real-time threat intelligence)\nSet-MpPreference -MAPSReporting Advanced\nSet-MpPreference -SubmitSamplesConsent SendAllSamples\n\n# Enable Block at First Sight (BAFS)\n# Requires: Cloud protection enabled + sample submission enabled\nSet-MpPreference -DisableBlockAtFirstSeen $false\n\n# Set cloud block timeout to maximum (60 seconds)\nSet-MpPreference -CloudBlockLevel High\nSet-MpPreference -CloudExtendedTimeout 50\n\n# Enable potentially unwanted application (PUA) protection\nSet-MpPreference -PUAProtection Enabled\n```\n\n### Step 6: Configure Scan and Update Settings\n\n```powershell\n# Configure real-time protection\nSet-MpPreference -DisableRealtimeMonitoring $false\nSet-MpPreference -DisableBehaviorMonitoring $false\nSet-MpPreference -DisableIOAVProtection $false\nSet-MpPreference -DisableScriptScanning $false\n\n# Configure scheduled scan\nSet-MpPreference -ScanScheduleQuickScanTime 12:00:00\nSet-MpPreference -ScanParameters QuickScan\nSet-MpPreference -ScanScheduleDay 0  # Every day\nSet-MpPreference -RemediationScheduleDay 0\n\n# Configure signature updates\nSet-MpPreference -SignatureUpdateInterval 1  # Check every hour\nSet-MpPreference -SignatureFallbackOrder \"MicrosoftUpdateServer|MMPC\"\n\n# Enable tamper protection (prevents unauthorized changes to Defender settings)\n# Managed via Microsoft 365 Defender portal:\n# Settings → Endpoints → Advanced features → Tamper Protection: On\n```\n\n### Step 7: Deploy via Intune (Enterprise)\n\n```\nIntune Deployment Path:\n1. Endpoint Security → Attack Surface Reduction → Create Profile\n   - Platform: Windows 10 and later\n   - Profile: Attack surface reduction rules\n   - Configure each ASR rule to Block or Audit\n\n2. Endpoint Security → Antivirus → Create Profile\n   - Microsoft Defender Antivirus\n   - Configure: Cloud protection, PUA, real-time protection\n\n3. Endpoint Security → Antivirus → Create Profile\n   - Microsoft Defender Antivirus Exclusions\n   - Add path\u002Fprocess\u002Fextension exclusions for LOB apps\n\n4. Devices → Configuration profiles → Create profile\n   - Endpoint protection → Microsoft Defender Exploit Guard\n   - Configure: Controlled Folder Access, Network Protection\n```\n\n### Step 8: Monitor in Microsoft 365 Defender Portal\n\n```\nDashboard monitoring:\n1. security.microsoft.com → Reports → Endpoints\n   - Device health: Protection status across fleet\n   - ASR rule detections: Which rules are triggering\n   - Vulnerable devices: Missing security updates\n\n2. Threat analytics:\n   - Active threat campaigns and Defender coverage\n   - Recommended security actions\n\n3. Advanced hunting (KQL):\n   DeviceEvents\n   | where ActionType startswith \"Asr\"\n   | summarize Count=count() by ActionType, FileName\n   | sort by Count desc\n\n   DeviceEvents\n   | where ActionType == \"ControlledFolderAccessViolationBlocked\"\n   | project Timestamp, DeviceName, FileName, FolderPath\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **ASR Rules** | Attack Surface Reduction rules that block specific high-risk behaviors at the endpoint level |\n| **Controlled Folder Access** | Ransomware protection feature that prevents unauthorized applications from modifying files in protected folders |\n| **Network Protection** | Blocks outbound connections to low-reputation or known-malicious domains using SmartScreen intelligence |\n| **Exploit Protection** | System and per-application memory mitigations (DEP, ASLR, CFG) to prevent exploitation |\n| **BAFS (Block at First Sight)** | Cloud-based zero-day protection that holds suspicious files for cloud analysis before allowing execution |\n| **Tamper Protection** | Prevents unauthorized changes to Defender security settings, even by local administrators |\n\n## Tools & Systems\n\n- **Microsoft 365 Defender Portal**: security.microsoft.com for centralized management and reporting\n- **Microsoft Intune**: Cloud-based endpoint management for Defender policy deployment\n- **PowerShell (Set-MpPreference)**: Local configuration of Defender settings\n- **WDAC (Windows Defender Application Control)**: Complementary application control technology\n- **Microsoft Defender for Endpoint API**: REST API for automation and custom integrations\n\n## Common Pitfalls\n\n- **Enabling all ASR rules in Block mode immediately**: Some ASR rules cause false positives with legitimate software (Office macros, admin scripts). Always deploy in Audit mode first and monitor for 2-4 weeks.\n- **Not configuring Controlled Folder Access exclusions**: Backup software, database applications, and development tools may be blocked from writing to protected folders. Add exclusions proactively.\n- **Ignoring tamper protection**: Without tamper protection, malware or insiders can disable Defender via PowerShell or registry edits. Enable tamper protection through the M365 Defender portal.\n- **Running Defender alongside third-party AV**: Defender enters passive mode when third-party AV is present. Ensure you are using the intended AV solution and configure Defender appropriately (EDR-only mode if keeping third-party AV).\n- **Forgetting cloud connectivity requirements**: Cloud-delivered protection and BAFS require endpoints to reach Microsoft cloud services. Verify proxy\u002Ffirewall rules allow Defender cloud traffic.\n",{"name":5,"tags":49,"author":51,"domain":37,"license":15,"version":52,"nist_csf":53,"subdomain":43,"description":58,"mitre_attack":59},[50,42,41,40,39,38],"endpoint","mahipal","1.0.0",[54,55,56,57],"PR.PS-01","PR.PS-02","DE.CM-01","PR.IR-01","Configures Microsoft Defender for Endpoint (MDE) advanced protection settings including attack surface reduction rules, controlled folder access, network protection, and exploit protection. Use when hardening Windows endpoints beyond default Defender settings, deploying enterprise-grade endpoint protection, or meeting compliance requirements for advanced malware defense. Activates for requests involving Windows Defender configuration, ASR rules, MDE tuning, or Microsoft endpoint security.\n",[60,61,36,62,29],"T1685","T1204.002","T1055","main","7925716f065257435fdb12e97f7e52842147d5ad",".claude\u002Fskills\u002Fconfiguring-windows-defender-advanced-settings","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude","https:\u002F\u002Fclaude.com\u002Fclaude-code","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho","Software · Applied AI · Quantitative Modeling · Building with Claude.","2026-06-10 12:24:46",{"source":8,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add henriquescastilho\u002Fmy-claude --skill configuring-windows-defender-advanced-settings",{"tool":77,"command":78},"bunx","bunx skills add henriquescastilho\u002Fmy-claude --skill configuring-windows-defender-advanced-settings",{"tool":80,"command":81},"pnpm","pnpm dlx skills add henriquescastilho\u002Fmy-claude --skill configuring-windows-defender-advanced-settings","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-windows-defender-advanced-settings\u002FSKILL.md",true,[85,91,96,102,106,110,116],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"assets\u002Ftemplate.md","ASSET","资产文件",2624,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-windows-defender-advanced-settings\u002Fassets\u002Ftemplate.md",{"path":92,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-windows-defender-advanced-settings\u002FLICENSE",{"path":97,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fapi-reference.md","REFERENCE","参考文档",1380,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-windows-defender-advanced-settings\u002Freferences\u002Fapi-reference.md",{"path":103,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fstandards.md",3313,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-windows-defender-advanced-settings\u002Freferences\u002Fstandards.md",{"path":107,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Fworkflows.md",3088,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-windows-defender-advanced-settings\u002Freferences\u002Fworkflows.md",{"path":111,"resourceType":112,"resourceTypeDesc":113,"sizeBytes":114,"sourceHtmlUrl":115},"scripts\u002Fagent.py","SCRIPT","脚本",5097,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-windows-defender-advanced-settings\u002Fscripts\u002Fagent.py",{"path":117,"resourceType":112,"resourceTypeDesc":113,"sizeBytes":118,"sourceHtmlUrl":119},"scripts\u002Fprocess.py",9566,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-windows-defender-advanced-settings\u002Fscripts\u002Fprocess.py",[121,162,171,180,202,228],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":125,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":142,"publishedAt":44},"01M6F0B6XPQ65AX2X0DWK8KT3E","markitdown","Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.","MIT","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[128,131,134,137],{"categoryNo":129,"categoryName":130,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理",{"categoryNo":132,"categoryName":133,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":135,"categoryName":136,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":138,"categoryName":139,"taxonomyType":140,"taxonomyTypeDesc":141},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[123,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161],"docx","PDF","pptx","xlsx","documents","csv","ocr","Audio","Bash","markdown","convert","read","write","edit","html","images","files","youtube","with",{"skillNo":163,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":125,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":170,"publishedAt":44},"01M6F06SBHR9F0SDWE282Y8075","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fscientific_writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[166,167,168,169],{"categoryNo":129,"categoryName":130,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":132,"categoryName":133,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":135,"categoryName":136,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":138,"categoryName":139,"taxonomyType":140,"taxonomyTypeDesc":141},[123,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161],{"skillNo":172,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":125,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":179,"publishedAt":44},"01M6F02D4R14EJAPBWVDF9J9VQ","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[175,176,177,178],{"categoryNo":129,"categoryName":130,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":132,"categoryName":133,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":135,"categoryName":136,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":138,"categoryName":139,"taxonomyType":140,"taxonomyTypeDesc":141},[123,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161],{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":125,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":44},"01M6F000KS6YB4MKS774G4R8ND","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fzarr-python\u002FSKILL.md",[],[187,188,189,190,191,192,193,194,195,196,197,198,199,200,201],"python","zarr python","storage","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":203,"name":204,"nameZh":6,"description":205,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":125,"licenseFileUrl":6,"sourceHtmlUrl":206,"categories":207,"keywords":209,"publishedAt":44},"01M6EZZJWFXM1GR78KTW6J0DN8","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fwhat-if-oracle\u002FSKILL.md",[208],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[210,211,212,213,214,215,216,217,218,219,220,154,155,221,222,223,224,225,226,227],"oracle","what if oracle","go","run","ux","futures","analysis","explore","decision","branch","question","idea","exploration","options","stress-test","strategies","scenario","stress",{"skillNo":229,"name":230,"nameZh":6,"description":231,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":125,"licenseFileUrl":6,"sourceHtmlUrl":232,"categories":233,"keywords":244,"publishedAt":44},"01M6EZZCXAEB49RXGQCJX5E8GB","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fvenue-templates\u002FSKILL.md",[234,237,240,241],{"categoryNo":235,"categoryName":236,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":238,"categoryName":239,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":242,"categoryName":243,"taxonomyType":140,"taxonomyTypeDesc":141},"01JBSEEDCAT000000000000036","内容创作者",[245,246,247,248,249,250,251,252,151,34,154,155,156,253,254,255,256,257,201,258],"templates","venue templates","research","guidelines","NeurIPS","ICML","LaTeX","science","proposals","Academic","requirements","formatting","journal","chi"]