[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71FD2TGTEBRZTWA1SR60VA3":3,"skill-same:01M71FD2TGTEBRZTWA1SR60VA3":55},{"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":18,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":26,"frontMatter":27,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M71FD2TGTEBRZTWA1SR60VA3","net-firewall-gcp",null,"Net Firewall Gcp.","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fnet-firewall-gcp\u002FSKILL.md",[],[19,20,21,22],"gcp","firewall","net firewall gcp","cybersecurity","2026-11-10 10:12:30",false,"---\nname: net-firewall-gcp\ndescription: \"Net Firewall Gcp.\"\ndomain: cybersecurity\n---\n\n|\n| VPC Firewall Rule | Stateful network-level access control that allows or denies traffic to and from VM instances based on IP ranges, protocols, ports, and tags |\n| Hierarchical Firewall Policy | Organization or folder-level firewall policy that is evaluated before VPC-level rules and applies across all child projects |\n| Network Tag | Label applied to VM instances that determines which firewall rules apply, used for targeting ingress and egress rules |\n| Service Account Firewall Rule | Firewall rule that targets instances based on their attached service account, providing more secure targeting than mutable network tags |\n| VPC Flow Logs | Network telemetry captured at the subnet level that records traffic metadata for monitoring, forensics, and firewall rule validation |\n| Implied Rules | Default GCP firewall rules that allow egress to all destinations and deny ingress from all sources, with lowest priority (65535) |\n\n## Tools & Systems\n\n- **gcloud compute firewall-rules**: CLI commands for creating, listing, and managing VPC firewall rules in GCP\n- **Hierarchical Firewall Policies**: Organization and folder-level policies enforcing security controls across all projects\n- **VPC Flow Logs**: Subnet-level traffic logging for monitoring, troubleshooting, and validating firewall effectiveness\n- **Cloud Logging**: Query engine for analyzing VPC Flow Logs and firewall rule hit counts\n- **Security Command Center**: GCP-native security platform with findings for overly permissive firewall configurations\n\n## Common Scenarios\n\n### Scenario: Locking Down a Production VPC After Discovery of Overly Permissive Rules\n\n**Context**: A security audit reveals that the production VPC has default-allow rules permitting SSH from `0.0.0.0\u002F0` and unrestricted egress. SCC reports 14 firewall findings.\n\n**Approach**:\n1. Enumerate all existing rules with `gcloud compute firewall-rules list` and categorize by risk\n2. Enable VPC Flow Logs on all subnets to capture baseline traffic patterns for 7 days\n3. Analyze flow logs to identify legitimate traffic that needs explicit allow rules\n4. Create targeted ingress rules for each application tier (web: 443, app: 8080, db: 5432)\n5. Replace the SSH-from-anywhere rule with SSH-from-bastion-subnet-only\n6. Implement default-deny egress and add explicit allow rules for required outbound destinations\n7. Delete the overly permissive default-allow rules after verifying applications function correctly\n\n**Pitfalls**: Deleting firewall rules without understanding traffic patterns causes outages. Always enable flow logs and analyze traffic before removing rules. Network tags can be added by anyone with compute.instances.setTags permission, making them less secure than service-account-based targeting for critical rules.\n\n## Output Format\n\n```\nGCP VPC Firewall Audit Report\n================================\nProject: production-project\nVPC Network: production-vpc\nAudit Date: 2026-02-23\n\nRULE INVENTORY:\n  Total firewall rules: 34\n  Ingress rules: 22\n  Egress rules: 12\n  Disabled rules: 3\n\nCRITICAL FINDINGS:\n[FW-001] SSH Open to Internet\n  Rule: default-allow-ssh\n  Source: 0.0.0.0\u002F0 -> tcp:22\n  Target: All instances (no tags)\n  Priority: 65534\n  Remediation: Restrict to bastion subnet CIDR\n\n[FW-002] No Egress Restrictions\n  Issue: Only implied allow-all-egress rule exists\n  Risk: No controls on outbound data exfiltration\n  Remediation: Add default-deny egress and explicit allow rules\n\nREMEDIATION ACTIONS COMPLETED:\n  Rules deleted: 3 (overly permissive defaults)\n  Rules created: 8 (targeted allow rules)\n  Egress deny rule: Created at priority 65534\n  Flow logs enabled: 6 subnets\n```\n","|\n| VPC Firewall Rule | Stateful network-level access control that allows or denies traffic to and from VM instances based on IP ranges, protocols, ports, and tags |\n| Hierarchical Firewall Policy | Organization or folder-level firewall policy that is evaluated before VPC-level rules and applies across all child projects |\n| Network Tag | Label applied to VM instances that determines which firewall rules apply, used for targeting ingress and egress rules |\n| Service Account Firewall Rule | Firewall rule that targets instances based on their attached service account, providing more secure targeting than mutable network tags |\n| VPC Flow Logs | Network telemetry captured at the subnet level that records traffic metadata for monitoring, forensics, and firewall rule validation |\n| Implied Rules | Default GCP firewall rules that allow egress to all destinations and deny ingress from all sources, with lowest priority (65535) |\n\n## Tools & Systems\n\n- **gcloud compute firewall-rules**: CLI commands for creating, listing, and managing VPC firewall rules in GCP\n- **Hierarchical Firewall Policies**: Organization and folder-level policies enforcing security controls across all projects\n- **VPC Flow Logs**: Subnet-level traffic logging for monitoring, troubleshooting, and validating firewall effectiveness\n- **Cloud Logging**: Query engine for analyzing VPC Flow Logs and firewall rule hit counts\n- **Security Command Center**: GCP-native security platform with findings for overly permissive firewall configurations\n\n## Common Scenarios\n\n### Scenario: Locking Down a Production VPC After Discovery of Overly Permissive Rules\n\n**Context**: A security audit reveals that the production VPC has default-allow rules permitting SSH from `0.0.0.0\u002F0` and unrestricted egress. SCC reports 14 firewall findings.\n\n**Approach**:\n1. Enumerate all existing rules with `gcloud compute firewall-rules list` and categorize by risk\n2. Enable VPC Flow Logs on all subnets to capture baseline traffic patterns for 7 days\n3. Analyze flow logs to identify legitimate traffic that needs explicit allow rules\n4. Create targeted ingress rules for each application tier (web: 443, app: 8080, db: 5432)\n5. Replace the SSH-from-anywhere rule with SSH-from-bastion-subnet-only\n6. Implement default-deny egress and add explicit allow rules for required outbound destinations\n7. Delete the overly permissive default-allow rules after verifying applications function correctly\n\n**Pitfalls**: Deleting firewall rules without understanding traffic patterns causes outages. Always enable flow logs and analyze traffic before removing rules. Network tags can be added by anyone with compute.instances.setTags permission, making them less secure than service-account-based targeting for critical rules.\n\n## Output Format\n\n```\nGCP VPC Firewall Audit Report\n================================\nProject: production-project\nVPC Network: production-vpc\nAudit Date: 2026-02-23\n\nRULE INVENTORY:\n  Total firewall rules: 34\n  Ingress rules: 22\n  Egress rules: 12\n  Disabled rules: 3\n\nCRITICAL FINDINGS:\n[FW-001] SSH Open to Internet\n  Rule: default-allow-ssh\n  Source: 0.0.0.0\u002F0 -> tcp:22\n  Target: All instances (no tags)\n  Priority: 65534\n  Remediation: Restrict to bastion subnet CIDR\n\n[FW-002] No Egress Restrictions\n  Issue: Only implied allow-all-egress rule exists\n  Risk: No controls on outbound data exfiltration\n  Remediation: Add default-deny egress and explicit allow rules\n\nREMEDIATION ACTIONS COMPLETED:\n  Rules deleted: 3 (overly permissive defaults)\n  Rules created: 8 (targeted allow rules)\n  Egress deny rule: Created at priority 65534\n  Flow logs enabled: 6 subnets\n```\n",{"name":5,"domain":22,"description":7},"main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fnet-firewall-gcp","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill net-firewall-gcp",{"tool":41,"command":42},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill net-firewall-gcp",{"tool":44,"command":45},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill net-firewall-gcp","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fnet-firewall-gcp\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"index.json","REFERENCE","参考文档",464,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fnet-firewall-gcp\u002Findex.json",[56,66,91,114,136,158],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":61,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":65},"01M73MDK3NT5XHNYTQ5P5172V9","devel-jb-algorithmic-art","- Embed algorithms inline in the HTML artifact (don't create separate .","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":23},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[73,74,75,76,77,78,79,22,80,81,82,83,84,85,86,87,88,89,90],"services","detect","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript","cm","de",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":23},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[98,76,99,73,100,101,102,103,104,22,105,106,107,108,109,110,111,112,90,113],"exec","services wmi exec exploit","exploit","across","Bash","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":23},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[121,122,123,124,125,126,127,128,129,130,110,90,131,132,103,133,102,22,134,135],"extract","registry artifact extract","registry","artifact","digital-forensics","sonnet","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":23},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[143,144,145,74,22,146,89,147,148,149,78,90,150,151,152,153,154,155,156,157],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":23},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[165,143,166,74,167,168,79,90,150,169,170,171,103,78,22,146,172,89,173,148],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]