implementing-anti-ransomware-group-policy
Configures Windows Group Policy Objects (GPO) to prevent ransomware execution and limit its spread.
Skill by pinkpixel-dev
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/pinkpixel-dev-implementing-anti-ransomware-group-policy
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/implementing-anti-ransomware-group-policy
What's inside
- Skill name
implementing-anti-ransomware-group-policy- Description
- Configures Windows Group Policy Objects (GPO) to prevent ransomware execution and limit its spread. Implements AppLocker rules, Software Restriction Policies, Controlled Folder Access, attack surface reduction rules, and network protection settings. Activates for requests involving Windows GPO hardening against ransomware, AppLocker configuration, Controlled Folder Access setup, or endpoint protection via Group Policy.
- License
- Apache-2.0
- Instructions
- 190 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (4)
- LICENSE
- SKILL.md
- api-reference.md · references/
- agent.py · scripts/
SKILL.md (first lines)
# Implementing Anti-Ransomware Group Policy ## When to Use - Hardening a Windows Active Directory environment against ransomware execution and propagation - Implementing defense-in-depth by blocking ransomware execution paths via Group Policy - Configuring AppLocker or WDAC rules to prevent unauthorized executables from running in user-writable directories - Enabling Controlled Folder Access to protect critical directories from unauthorized file modifications - Restricting lateral movement vectors (RDP, SMB, WMI) that ransomware uses to spread across the domain **Do not use** as a standalone ransomware defense. GPO settings complement but do not replace endpoint detection, backups, network segmentation, and user awareness training. ## Prerequisites - Windows Server 2016+ Active Directory environment with Group Policy Management Console (GPMC) - Domain Admin or Group Policy Creator Owners privileges - Windows 10/11 Enterprise or Education (required for AppLocker and WDAC) - Microsoft Defender Antivirus enabled (required for Controlled Folder Access and ASR rules) - Python 3.8+ for audit script that validates GPO compliance - Test OU for validating GPO settings before domain-wide deployment ## Workflow ### Step 1: Block Ransomware Execution Paths with AppLocker Configure AppLocker to prevent executables from running in common ransomware staging locations: ``` AppLocker GPO Path: Computer Configuration → Policies → Windows Settings → Security Settings → Application Control Policies → AppLocker Key Rules: ━━━━━━━━━ 1. DENY executable rules for user-writable paths: - %USERPROFILE%\AppData\Local\Temp\* (email attachment extraction) - %USERPROFILE%\AppData\Roaming\* (CryptoLocker staging) - %USERPROFILE%\Downloads\* (web downloads) - %TEMP%\* (temporary extraction) - %USERPROFILE%\Desktop\* (social engineering drops) 2. ALLOW default rules: - C:\Windows\* (signed by Microsoft) - C:\Program Files\* and C:\Program Files (x86)\* - Administrator group: all paths 3. Enable Application Identity service: Computer Configuration → Policies → Windows Settings → Security Settings → System Services → Application Identity → Automatic ``` ### Step 2: Enable Controlled Folder Access Protect critical directories from unauthorized modification: ``` Controlled Folder Access GPO Path: Computer Configuration → Administrative Templates → Windows Components → Microsoft Defender Antivirus → Microsoft Defender Exploit Guard → Controlled Folder Access Settings: ━━━━━━━━━ 1. Configure Controlled folder access: Enabled → Block mode 2. Configure protected folders: Add custom paths - \\fileserver\shares\finance - \\fileserver\shares\hr - C:\Users\*\Documents - C:\Users\*\Desktop 3. Configure allowed applications: Whitelist trusted apps - C:\Program Files\Microsoft Office\* - C:\Program Files\Adobe\* - Line-of-business applications Default protected folders (automatic): Documents, Pictures, Videos, Music, Desktop, Favorites ``` ### Step 3: Configure Attack Surface Reduction (ASR) Rules Enable ASR rules that target ransomware delivery mechanisms: ``` ASR Rules GPO Path: Computer Configuration → Administrative Templates → Windows Components → Microsoft Defender Antivirus → Microsoft Defender Exploit Guard → Attack Surface Reduction Critical ASR Rules for Ransomware Prevention: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ GUID Rule BE9BA2D9-53EA-4CDC-84E5-9B1EEEE46550 Block executable content from email D4F940AB-401B-4EFC-AADC-AD5F3C50688A Block Office apps from creating child processes 3B576869-A4EC-4529-8536-B80A7769E899 Block Office apps from creating executable content 75668C1F-73B5-4CF0-BB93-3ECF5CB7CC84 Block Office apps from injecting into processes D3E037E1-3EB8-44C8-A917-57927947596D Block JavaScript/VBScript from launching downloads 5BEB7EFE-FD9A-4556-801D-275E5FFC04CC Block execution of obfuscated scripts 92E97FA1-2EDF-4476-BDD6-9DD0B4DDDC7B Block Win32 API calls from Office macros 01443614-CD74-433A-B99E-2ECDC07BFC25 Block executable files unless they meet prevalence criteria Set each rule to: Block (1) or Audit (2) for initial testing ``` ### Step 4: Restrict Lateral Movement Vectors Lock down SMB, RDP, and WMI to limit ransomware propagation: ``` Network Restrictions: ━━━━━━━━━━━━━━━━━━━━ 1. Disable SMBv1: Computer Configuration → Administrative Templates → Network → Lanman Workstation → Enable insecure guest logons: Disabled Computer Configuration → Administrative Templates → MS Security Guide → Configure SMBv1 server: Disabled
From pinkpixel-dev/skills-collection-2, Apache-2.0.
More from pinkpixel-dev/skills-collection-2
- 0.459score
implementing-alert-fatigue-reduction
pinkpixel-dev
Implements strategies to reduce SOC alert fatigue by tuning detection rules, consolidating duplicate alerts, implementing risk-based alerting, and measuring…
SkillDFreshness: D★ 4Claude Code +9 - 0.459score
implementing-application-whitelisting-with-applocker
pinkpixel-dev
Implements application whitelisting using Windows AppLocker to restrict unauthorized software execution on endpoints, reducing attack surface from malware…
SkillDFreshness: D★ 4Claude Code +9 - 0.459score
implementing-attack-surface-management
pinkpixel-dev
Implements external attack surface management (EASM) using Shodan, Censys, and ProjectDiscovery tools (subfinder, httpx, nuclei) for asset discovery…
SkillDFreshness: D★ 4Claude Code +9 - 0.459score
implementing-aws-nitro-enclave-security
pinkpixel-dev
Implements AWS Nitro Enclave-based confidential computing environments with cryptographic attestation, KMS policy integration using PCR-based condition keys…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
implementing-attack-path-analysis-with-xm-cyber
pinkpixel-dev
Deploy XM Cyber's continuous exposure management platform to map attack paths, identify choke points, and prioritize the 2% of exposures that threaten…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
implementing-aes-encryption-for-data-at-rest
pinkpixel-dev
AES (Advanced Encryption Standard) is a symmetric block cipher standardized by NIST (FIPS 197) used to protect classified and sensitive data.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
implementing-aws-config-rules-for-compliance
pinkpixel-dev
Implementing AWS Config rules for continuous compliance monitoring of AWS resources, deploying managed and custom rules aligned to CIS and PCI DSS frameworks…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
implementing-aws-iam-permission-boundaries
pinkpixel-dev
Configure IAM permission boundaries in AWS to delegate role creation to developers while enforcing maximum privilege limits set by the security team.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
implementing-anti-phishing-training-program
pinkpixel-dev
Security awareness training is the human layer of phishing defense.
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
implementing-aws-macie-for-data-classification
pinkpixel-dev
Implement Amazon Macie to automatically discover, classify, and protect sensitive data in S3 buckets using machine learning and pattern matching for PII…
SkillDFreshness: D★ 4Claude Code +9 - 0.456score
implementing-aqua-security-for-container-scanning
pinkpixel-dev
Deploy Aqua Security's Trivy scanner to detect vulnerabilities, misconfigurations, secrets, and license issues in container images across CI/CD pipelines and…
SkillDFreshness: D★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Mar 29, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from pinkpixel-dev
- 0.534score
adhd
pinkpixel-dev
Parallel divergent ideation for coding agents.
SkillCFreshness: C★ 9Claude Code +9 - 0.470score
3d-web-experience
pinkpixel-dev
You bring the third dimension to the web.
SkillDFreshness: D★ 9Claude Code +9 - 0.459score
implementing-aws-nitro-enclave-security
pinkpixel-dev
Implements AWS Nitro Enclave-based confidential computing environments with cryptographic attestation, KMS policy integration using PCR-based condition keys…
SkillDFreshness: D★ 4Claude Code +9 - 0.459score
implementing-attack-surface-management
pinkpixel-dev
Implements external attack surface management (EASM) using Shodan, Censys, and ProjectDiscovery tools (subfinder, httpx, nuclei) for asset discovery…
SkillDFreshness: D★ 4Claude Code +9 - 0.459score
implementing-application-whitelisting-with-applocker
pinkpixel-dev
Implements application whitelisting using Windows AppLocker to restrict unauthorized software execution on endpoints, reducing attack surface from malware…
SkillDFreshness: D★ 4Claude Code +9 - 0.459score
implementing-alert-fatigue-reduction
pinkpixel-dev
Implements strategies to reduce SOC alert fatigue by tuning detection rules, consolidating duplicate alerts, implementing risk-based alerting, and measuring…
SkillDFreshness: D★ 4Claude Code +9
Cite this page
implementing-anti-ransomware-group-policy skill. Agent Mart. https://agentmart.dev/skills/pinkpixel-dev-implementing-anti-ransomware-group-policy (last updated 2026-10-24)