Blue Team Defense & Hardening

Harden Linux and Windows environments with detection rules and baseline checks.

4|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/GhostPWN/ghostpwn --skill blue-team-defense-hardening
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Blue Team Defense & Hardening
Source: https://github.com/GhostPWN/ghostpwn/tree/main/src/skills/15-blue-team-defense
Command: npx skills add https://github.com/GhostPWN/ghostpwn --skill blue-team-defense-hardening

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps defenders turn security guidance into concrete hardening actions, detection content, and baseline checks so they can reduce risk and validate improvements quickly.

Core Features & Use Cases

  • Linux and Windows hardening: Produces practical configuration changes for SSH, firewalling, audit logging, Sysmon, audit policy, and other defensive controls.
  • Detection engineering: Creates ready-to-adapt Sigma, Suricata, and YARA rules for suspicious behavior and common attack techniques.
  • Baseline, patch, and architecture review: Supports security baseline monitoring, patch prioritization, and defense-in-depth assessments for servers, endpoints, and post-engagement remediation.
  • Use case: A security team can use it after a pentest to prioritize hardening fixes, validate telemetry coverage, and document the next set of defensive actions.

Quick Start

Ask the Skill to assess a Linux or Windows environment and return the highest-priority hardening steps, detection rules, and validation checks for that system.

Frequently Asked Questions about Blue Team Defense & Hardening

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Sigma and Sysmon detection rules for suspicious behavior?

To generate Sigma and Sysmon detection rules, you apply detection engineering techniques to identify suspicious behavior and common attack techniques, producing ready-to-adapt rules that validate telemetry coverage and document defensive actions.

What is the best way to harden SSH and firewall configurations on Linux servers?

The best way to harden SSH and firewall configurations on Linux servers is through checklist-driven assessment and configuration validation, producing practical configuration changes for audit logging and defense-in-depth controls.

Can I use this approach for post-engagement remediation and patch prioritization?

Yes, you can use this approach for post-engagement remediation and patch prioritization to prioritize hardening fixes, validate telemetry coverage, and document the next set of defensive actions after a pentest.

Does this method support baseline monitoring and auditd configuration for Linux workstations?

Yes, this method supports baseline monitoring and auditd configuration for Linux workstations by performing security baseline checks and generating script-based reporting to produce actionable blue-team outcomes.

How do I validate defense-in-depth architecture across Windows endpoints?

To validate defense-in-depth architecture across Windows endpoints, you conduct configuration validation and checklist-driven assessments that generate script-based reporting and actionable remediation guidance for security teams.

What are the limitations of generating Suricata and YARA rules for attack detection?

Generating Suricata and YARA rules for attack detection requires adapting the output to your specific environment, as the produced rules are ready-to-adapt but need validation against your baseline monitoring and existing telemetry coverage.