abusing-dpapi-for-cred…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys) online or offline using…
Configures Microsoft Defender for Endpoint (MDE) advanced protection
$ npx -y skills add mukul975/Anthropic-Cybersecurity-Skills --skill configuring-windows-defender-advanced-settings --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/configuring-windows-defender-advanced-settingsContext preview
The summary Claude sees to decide when to auto-load this skill.
Configures Microsoft Defender for Endpoint (MDE) advanced protection
name: configuring-windows-defender-advanced-settings description: '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. ' domain: cybersecurity subdomain: endpoint-security tags: - endpoint - windows-security - Microsoft-Defender - ASR - exploit-protection - MDE version: 1.0.0 author: mahipal license: Apache-2.0 nist_csf: - PR.PS-01 - PR.PS-02 - DE.CM-01 - PR.IR-01 mitre_attack: - T1685 - T1204.002 - T1059.001 - T1055 - T1547.001
Use this skill when:
**Do not use** this skill for third-party EDR deployment (CrowdStrike, SentinelOne) or for Microsoft Defender for Cloud (Azure workload protection).
ASR rules block specific behaviors commonly used by malware and attackers:
# Enable ASR rules via PowerShell (or deploy via Intune/GPO) # Mode: 0=Disabled, 1=Block, 2=Audit, 6=Warn # Block executable content from email client and webmail Set-MpPreference -AttackSurfaceReductionRules_Ids BE9BA2D9-53EA-4CDC-84E5-9B1EEEE46550 ` -AttackSurfaceReductionRules_Actions 1 # Block all Office applications from creating child processes Set-MpPreference -AttackSurfaceReductionRules_Ids D4F940AB-401B-4EFC-AADC-AD5F3C50688A ` -AttackSurfaceReductionRules_Actions 1 # Block Office applications from creating executable content Set-MpPreference -AttackSurfaceReductionRules_Ids 3B576869-A4EC-4529-8536-B80A7769E899 ` -AttackSurfaceReductionRules_Actions 1 # Block Office applications from injecting code into other processes Set-MpPreference -AttackSurfaceReductionRules_Ids 75668C1F-73B5-4CF0-BB93-3ECF5CB7CC84 ` -AttackSurfaceReductionRules_Actions 1 # Block JavaScript or VBScript from launching downloaded executable content Set-MpPreference -AttackSurfaceReductionRules_Ids D3E037E1-3EB8-44C8-A917-57927947596D ` -AttackSurfaceReductionRules_Actions 1 # Block execution of potentially obfuscated scripts Set-MpPreference -AttackSurfaceReductionRules_Ids 5BEB7EFE-FD9A-4556-801D-275E5FFC04CC ` -AttackSurfaceReductionRules_Actions 1 # Block Win32 API calls from Office macros Set-MpPreference -AttackSurfaceReductionRules_Ids 92E97FA1-2EDF-4476-BDD6-9DD0B4DDDC7B ` -AttackSurfaceReductionRules_Actions 1 # Block credential stealing from Windows LSASS Set-MpPreference -AttackSurfaceReductionRules_Ids 9E6C4E1F-7D60-472F-BA1A-A39EF669E4B2 ` -AttackSurfaceReductionRules_Actions 1 # Block process creations from PSExec and WMI commands Set-MpPreference -AttackSurfaceReductionRules_Ids D1E49AAC-8F56-4280-B9BA-993A6D77406C ` -AttackSurfaceReductionRules_Actions 1 # Block untrusted and unsigned processes from USB Set-MpPreference -AttackSurfaceReductionRules_Ids B2B3F03D-6A65-4F7B-A9C7-1C7EF74A9BA4 ` -AttackSurfaceReductionRules_Actions 1 # Block persistence through WMI event subscription Set-MpPreference -AttackSurfaceReductionRules_Ids E6DB77E5-3DF2-4CF1-B95A-636979351E5B ` -AttackSurfaceReductionRules_Actions 1 # Block abuse of exploited vulnerable signed drivers Set-MpPreference -AttackSurfaceReductionRules_Ids 56A863A9-875E-4185-98A7-B882C64B5CE5 ` -AttackSurfaceReductionRules_Actions 1
# Enable Controlled Folder Access Set-MpPreference -EnableControlledFolderAccess Enabled # Default protected folders: Documents, Pictures, Videos, Music, Desktop, Favorites # Add custom protected folders Add-MpPreference -ControlledFolderAccessProtectedFolders "C:\CriticalData" Add-MpPreference -ControlledFolderAccessProtectedFolders "D:\SharedDrives" # Allow specific applications to access protected folders Add-MpPreference -ControlledFolderAccessAllowedApplications "C:\Program Files\CustomApp\app.exe" Add-MpPreference -ControlledFolderAccessAllowedApplications "C:\Program Files\Backup\backup.exe" # Set to Audit mode first to identify legitimate applications that need access Set-MpPreference -EnableControlledFolderAccess AuditMode # Event ID 1124 in Microsoft-Windows-Windows Defender/Operational log
# Enable Network Protection (blocks connections to malicious domains/IPs) Set-MpPreference -EnableNetworkProtection Enabled # Network Protection leverages Microsoft SmartScreen intelligence # Blocks: phishing sites, exploit hosting domains, C2 domains, malware download URLs # Set to Audit mode first: Set-MpPreference -EnableNetworkProtection AuditMode # Event Log: Microsoft-Windows-Windows Defender/Operational, Event ID 1125 # Configure Web Content Filtering (requires MDE P2 license) # Managed via Microsoft 365 Defender portal: # Settings → Endpoints → Web content filtering → Add polic
817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
Repo: mukul975/Anthropic-Cybersecurity-Skills
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys) online or offline using…
Take over Active Directory accounts by writing attacker-controlled public keys to msDS-KeyCredentialLink (Shadow Credentials) with pyWhisker, Whisker, or…
Prepare a defense-contractor environment for CMMC Level 2 certification: scope CUI and FCI, implement the 110 NIST SP 800-171 Rev 2 security requirements…
Create forensically sound bit-for-bit disk images with dd or dcfldd on a Linux forensic workstation, preserving evidence integrity through hash verification…
Detect dangerous ACL misconfigurations in Active Directory using ldap3
Perform static analysis of Android APK malware using apktool for resource decompilation, jadx for Java source recovery, and androguard for manifest inspection,…