deploying-software-defined-perimeter
它能做什么
这个系统可以为你的应用创建一道“隐形”的安全边界。它使用“单包授权”(Single Packet Authorization)和双向身份验证,确保只有经过授权的用户和设备才能连接。
适用场景
- ✓在构建“零信任”(zero trust)网络时使用。
- ✓对未授权的扫描隐藏服务。
- ✓满足安全合规要求。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/deploying-software-defined-perimeter/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“设置一个软件定义边界,来保护我的网页服务器。”
每周 5 个新技能,1 分钟读完。
工作原理
系统会先用一个特殊的“单包”来验证连接者的身份。如果这个数据包有效,系统就只为该用户和特定应用开放一条安全的加密连接,其余网络部分则保持隐藏。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Deploying Software-Defined Perimeter
Prerequisites
- Understanding of zero trust principles (NIST SP 800-207)
- Knowledge of CSA Software-Defined Perimeter specification
- Familiarity with PKI and mutual TLS authentication
- Experience with network security architecture
Overview
A Software-Defined Perimeter (SDP) implements zero trust by creating a dynamically provisioned, identity-centric perimeter around individual resources. Defined by the Cloud Security Alliance (CSA), SDP makes application infrastructure invisible to unauthorized users through a "dark cloud" approach where services are hidden until authenticated and authorized. Unlike traditional VPN, SDP establishes one-to-one encrypted connections between verified users and specific applications.
This skill covers deploying SDP using the CSA v2.0 specification, implementing Single Packet Authorization (SPA), configuring the SDP controller and gateway, and validating the deployment against NIST SP 800-207 requirements.
When to Use
- When deploying or configuring deploying software defined perimeter 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
- Familiarity with zero trust architecture concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities
Architecture
SDP Components (CSA Specification)
┌─────────────────────┐
│ SDP Controller │
│ - Authentication │
│ - Authorization │
│ - Policy management │
│ - Key management │
└──────────┬──────────┘
│
┌──────┴──────┐
│ │
v v
┌────────┐ ┌────────────┐
│ IH │ │ AH │
│(Client)│ │(Gateway) │
│ │ │ │
│ SPA │──│ Protected │
│ mTLS │ │ Resources │
└────────┘ └────────────┘
IH = Initiating Host (User Device)
AH = Accepting Host (Application Gateway)
SPA = Single Packet Authorization
SDP Deployment Models
- Client-to-Gateway: User device connects through SDP gateway to backend applications
- Client-to-Server: Direct connection between user and application server
- Server-to-Server: Workload-to-workload communication through SDP
- Gateway-to-Gateway: Site-to-site connectivity replacing traditional VPN tunnels
Key Concepts
Single Packet Authorization (SPA)
SPA is a network security mechanism where the SDP gateway drops all TCP/UDP packets by default. A cryptographically signed single packet must be sent before any connection is established. The gateway validates the SPA packet, and only then opens a temporary port for the authenticated session. This makes the gateway invisible to port scanners.
Mutual TLS (mTLS)
After SPA validation, both the client and server authenticate each other using X.509 certificates. This bidirectional authentication prevents man-in-the-middle attacks and ensures both endpoints are verified.
Dynamic Provisioning
SDP connections are provisioned on-demand based on real-time policy evaluation. No persistent network tunnels exist; each session is individually authorized and encrypted.
Workflow
Phase 1: SDP Controller Deployment
Deploy SDP Controller
- Install SDP controller on hardened, redundant infrastructure
- Configure PKI integration for certificate issuance
- Set up authentication backend (LDAP, SAML, OIDC)
- Configure policy database with application definitions
- Enable audit logging for all controller decisions
Configure Authentication
- Integrate with enterprise IdP via SAML 2.0 or OIDC
- Configure device certificate enrollment (SCEP/EST)
- Enable multi-factor authentication requirements
- Set up certificate revocation checking (OCSP/CRL)
Define Access Policies
- Map users/groups to authorized applications
- Define device posture requirements per application
- Configure contextual conditions (location, time, risk level)
- Set session duration and re-authentication intervals
Phase 2: SDP Gateway Deployment
- Deploy Accepting Hosts (Gateways)
- Install SDP gateway instances in front of protected applications
- Configure default-drop firewall rules (deny all inbound)
…
常见问题
什么是“零信任”?
这是一种安全理念,默认不信任任何人或设备,每次访问都需要严格验证。
它和传统 VPN 有什么不同?
VPN 会为你打通整个网络的通道,而软件定义边界(SDP)只为你需要的应用建立直接的安全连接,其他服务依然保持隐藏。
什么是“单包授权”(SPA)?
这是一种在建立任何连接之前,先通过一个特殊的数据包来证明你身份的方法。如果数据包无效,什么都不会发生,服务也依然保持隐藏。
详情
作者的原始描述
Deploys a Software-Defined Perimeter per the CSA v2.0 specification, configuring Single Packet Authorization, mutual TLS, and SDP controller/gateway components to enforce zero trust network access. Use when building or hardening zero trust network architecture, implementing SPA-based "invisible" infrastructure that cloaks services from unauthenticated scanning, or meeting compliance requirements f
热度
- GitHub 星标
- 35k
- 排名
- #7787
- 许可证
- 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帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。