implementing-next-generation-firewall-with-palo-alto
它能做什么
这个代理用于配置和安装 Palo Alto Networks 下一代防火墙。它不是简单地阻断端口,而是通过识别正在使用的应用程序以及使用者是谁,更智能地保护你的网络。
适用场景
- ✓当你需要从旧的防火墙规则迁移到更现代的系统时。
- ✓当你需要搭建安全控制措施,以满足合规要求时。
- ✓当你在建设或改进网络安全防护时。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-next-generation-firewall-with-palo-alto/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“配置一台 Palo Alto 防火墙,阻断恶意流量,只允许已批准的业务应用通过。”
每周 5 个新技能,1 分钟读完。
工作原理
它会分析网络流量,识别应用(App-ID)和用户(User-ID),然后基于这些应用和用户应用安全规则,并检查内容以防止威胁。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Implementing Next-Generation Firewall with Palo Alto
Overview
Palo Alto Networks Next-Generation Firewalls (NGFWs) move beyond traditional port-based rule enforcement to application-aware, identity-driven security policies. By leveraging App-ID for traffic classification, User-ID for identity-based enforcement, Content-ID for threat inspection, and SSL decryption for encrypted traffic visibility, organizations gain comprehensive control over network traffic. This skill covers end-to-end deployment from initial configuration through advanced threat prevention profiles.
When to Use
- When deploying or configuring implementing next generation firewall with palo alto capabilities in your environment
- When establishing security controls aligned to compliance requirements
- When building or improving security architecture for this domain
- When conducting security assessments that require this implementation
Prerequisites
- Palo Alto Networks PA-series appliance or VM-Series virtual firewall
- PAN-OS 10.2 or later
- Valid Threat Prevention, URL Filtering, and WildFire licenses
- Network topology documentation with zone definitions
- LDAP/Active Directory integration credentials for User-ID
- Internal CA certificate for SSL Forward Proxy decryption
Core Concepts
App-ID Technology
App-ID classifies network traffic by application regardless of port, protocol, or encryption. The classification engine uses multiple identification techniques in sequence:
- Application Signatures - Pattern matching against known application signatures
- SSL/TLS Decryption - Decrypt traffic to identify applications hidden in encrypted tunnels
- Application Protocol Decoding - Decode protocols to find applications tunneled within them
- Heuristic Analysis - Behavioral analysis for applications that evade other methods
The Policy Optimizer tool assists migration from legacy port-based rules to App-ID rules by analyzing traffic logs and recommending application-specific replacements.
User-ID Integration
User-ID maps IP addresses to user identities through multiple methods:
- Server Monitoring - Parses Windows Security Event Logs (Event IDs 4624, 4768, 4769)
- Syslog Listening - Receives authentication events from RADIUS, 802.1X, proxies
- GlobalProtect - Maps VPN users automatically
- Captive Portal - Web-based authentication for unknown users
- XML API - Programmatic user mapping from custom sources
Zone-Based Architecture
Zones represent logical segments of the network. Security policies control traffic between zones (inter-zone) and within zones (intra-zone):
| Zone | Purpose | Trust Level |
|---|---|---|
| Trust | Internal corporate LAN | High |
| Untrust | Internet-facing | None |
| DMZ | Public-facing servers | Medium |
| Guest | Guest wireless | Low |
| DataCenter | Server infrastructure | High |
Workflow
Step 1: Initial System Configuration
Configure management interface, DNS, NTP, and system settings:
set deviceconfig system hostname PA-FW01
set deviceconfig system domain corp.example.com
set deviceconfig system dns-setting servers primary 10.0.1.10
set deviceconfig system dns-setting servers secondary 10.0.1.11
set deviceconfig system ntp-servers primary-ntp-server ntp-server-address 0.pool.ntp.org
set deviceconfig system timezone US/Eastern
set deviceconfig system login-banner "Authorized access only. All activity is monitored."
Step 2: Configure Network Zones and Interfaces
Define security zones and assign interfaces:
set zone Trust network layer3 ethernet1/1
set zone Untrust network layer3 ethernet1/2
set zone DMZ network layer3 ethernet1/3
set zone Guest network layer3 ethernet1/4
set network interface ethernet ethernet1/1 layer3 ip 10.10.0.1/24
set network interface ethernet ethernet1/1 layer3 interface-management-profile allow-ping
set network interface ethernet ethernet1/2 layer3 dhcp-client
set network virtual-router default interface [ ethernet1/1 ethernet1/2 ethernet1/3 ethernet1/4 ]
Step 3: Configure Zone Protection Profiles
Protect against reconnaissance and DoS attacks at the zone level:
set network profiles zone-protection-profile Strict-ZP flood tcp-syn enable yes
set network profiles zone-protection-profile Strict-ZP flood tcp-syn alert-rate 100
set network profiles zone-protection-profile Strict-ZP flood tcp-syn activate-rate 500
…
常见问题
什么是 App-ID?
App-ID 可以识别网络中的应用程序,即使它们试图伪装自己,也能被识别出来。它使用的方法包括特征码、协议解码和行为分析。
什么是 User-ID?
User-ID 会把 IP 地址与用户身份关联起来,这样安全规则就可以根据是谁在使用网络来制定,而不仅仅是根据使用的是哪台设备。
什么是 SSL 解密?
这是一种让防火墙检查加密流量(SSL/TLS)的技术,用于识别并防范隐藏在加密流量中的威胁。
详情
作者的原始描述
Configures and deploys Palo Alto Networks next-generation firewalls end-to-end, covering App-ID application-aware policies, User-ID identity-based enforcement, zone-based security rules, SSL decryption for encrypted traffic visibility, and Content-ID threat prevention profiles. Use when moving an enterprise from port-based firewall rules to application- and identity-aware NGFW policy on Palo Alto
热度
- GitHub 星标
- 35k
- 排名
- #8087
- 许可证
- Apache-2.0
- 更新时间
- 2026/8/31
评论
- …
同一仓库的更多技能
abusing-dpapi-for-credential-access
35k为你的 AI 智能体提供针对特定任务的现成指令,让它完成得更好、更快。
abusing-shadow-credentials-for-privesc
35k教你的 AI 智能体写出清晰、结构良好的文本。
achieving-cmmc-level-2-compliance
35k帮助你的智能体搭建符合 CMMC Level 2 合规要求的环境。它会落实安全要求,并管理必要的文档。
acquiring-disk-image-with-dd-and-dcfldd
35k帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。