网络基础设施服务

sodejm2026-10-25查看 136复制 794

评估 DNS/mDNS、SNMP、NTP、发现工具、RPC、LDAP 和 Kerberos 服务暴露情况,使用协议特定的收集器、明确的认证前提条件、金丝雀验证和 Active Directory 攻击路径交接。

Download (.md)

📘如何使用这个技能

  1. 1
    复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
  2. 2
    打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
  3. 3
    粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
  4. 4
    直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景

💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。

SKILL.md1661 chars
---
name: network-infrastructure-services
description: Assess DNS/mDNS, SNMP, NTP, discovery utilities, RPC, LDAP, and Kerberos service exposure with protocol-specific collectors, explicit authentication prerequisites, canary verification, and Active Directory attack-path handoff.
---

# Network infrastructure services

1. **Protocol-Specific Infrastructure Probes**:
   - Assess exposure of DNS, mDNS, SNMP, NTP, RPC endpoint mapper, LDAP, and Kerberos services across approved targets.
   - Ground assessments in observed protocol responses, versions, and configurations.

2. **Authentication Prerequisites & Identity Attack-Paths**:
   - Determine whether services require authentication (`none`, `default_credentials`, `domain_user`, `kerberos_preauth_disabled`, `elevated_user`).
   - Extract `IdentityAttackPathCandidate` entries for lateral movement and Active Directory inventory handoffs.

3. **Canary Records and Boundary Validation**:
   - Validate access controls using benign canary identifiers (`canary.corp.internal`, `canary-user`) without touching production directory data or credentials.

4. **Inaccessible != Secure Truth Boundary**:
   - Strictly mark unreachable, filtered, or connection-refused services as `inaccessible` (with `auth_prerequisite: unknown`). Never claim unverified services are protected or secure.

5. **CLI Invocation**:
   ```bash
   python3 -m cops discovery infrastructure assess --targets dc01.corp.internal --output infra_report.json
   python3 -m cops discovery infrastructure candidates infra_report.json --output ad_candidates.json
   python3 -m cops discovery infrastructure inspect infra_report.json
   ```
来源:skillsdirectory

评论0

登录后参与评论

还没有评论,来抢沙发吧