windows-hardening
Skill by sickn33
Provides PowerShell and configuration examples to harden Windows Server hosts against Microsoft security baselines and CIS benchmarks. Covers account policies, Group Policy security settings, firewall rules and audit policy. Intended for administrators securing Windows Server environments.
Install windows-hardening
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/windows-hardening ~/.claude/skills/windows-hardeningRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/windows-hardening ~/.gemini/antigravity-cli/skills/windows-hardeningAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Windows Hardening is a docs-only skill with PowerShell and configuration examples for securing Windows Server hosts. It follows Microsoft security baselines and CIS benchmarks. The examples cover baseline deployment with LGPO, account and password policies, LAPS commands, Group Policy security options, Windows Firewall rules and advanced audit policy. Settings shown include disabling SMBv1, requiring SMB signing, disabling WDigest and enabling LSA protection.
The skill expects Windows Server 2019 or later, with 2022 recommended, plus PowerShell 5.1 or later. It also mentions the Group Policy Management Console for domain environments and recommends the Microsoft Security Compliance Toolkit. The source states that helper scripts and templates are not bundled. It is aimed at administrators securing Windows Server environments, and active assessments need an authorized scope.
Written from the project's SKILL.md and checked against it.
What it can do
- Security baseline deploymentShows how to download the Microsoft Security Baseline and apply a baseline GPO with LGPO.
- Account policiesSets password, lockout and local account settings, and shows LAPS permission commands.
- Group Policy security settingsConfigures user rights, anonymous access limits, SMB, LLMNR, NetBIOS, WDigest, LSA protection and UAC.
- Windows Firewall configurationSets profile defaults, firewall logging, management-only RDP and WinRM rules, and an audit of permissive rules.
- Audit policy configurationEnables advanced audit subcategories for logon, account management, object access and policy change using auditpol.
What you need
- Windows Server 2019 or later (2022 recommended)
- PowerShell 5.1 or later
- Group Policy Management Console for domain environments
- Microsoft Security Compliance Toolkit (recommended)
Try asking
- Show me how to disable SMBv1 and require SMB signing on Windows Server 2022.
- Walk me through an advanced audit policy setup for a Windows Server.
- Write a firewall rule that allows RDP only from our management subnet.
Good to know
- Docs-only. Helper scripts and templates are not bundled.
- Active assessments require an authorized scope.
- Community DSC modules are not the Security Compliance Toolkit and should be reviewed before installation.
- The source ends in the middle of the final auditpol command.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/windows-hardening/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md19 KB -
references/details.md10 KB
Alternatives to windows-hardening
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
windows-hardening: common questions
Does this skill apply hardening automatically?
The source is documentation with example commands. It does not bundle helper scripts or templates, so the commands are meant to be reviewed and run by the user.
Which Windows versions does it cover?
The source says Windows Server 2019 or later, with 2022 recommended.
Does it require Domain Admin rights?
The source says Domain Admin is not a default prerequisite and that only the least privilege required for the approved host or policy should be used.
How do I install windows-hardening?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is windows-hardening free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is windows-hardening safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to windows-hardening?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
