Network Recon 标志

Network Recon

组织
zero-lab-ai
network-recon

Plans authorized network reconnaissance, checks proposed targets against explicit IP scope, chooses scanning tools by cost, and audits completed scans for coverage. Use when mapping a network, enumerating hosts and services, deciding which scanner to run, or determining whether an empty scan is a finding or a failure.

概览

发布者zero-lab-ai
代码仓库skills
技能名称network-recon
星标数
152
复刻数
9
附带文件
6
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 6 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 zero-lab-ai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Network Recon AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/zero-lab-ai/skills/tree/main/plugins/recon-operations/skills/network-recon
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zero-lab-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/recon-operations/skills/network-recon .claude/skills/network-recon
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Network Recon,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Network Recon。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Network Recon 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Network recon

Running a scanner is not the skill. Anyone can run nmap. The skill is choosing the right tool for the cost you can afford, and knowing when the output is lying to you.

An empty result and an unanswered question look identical. Most recon mistakes are made in the gap between those two.

When to Use

  • Mapping a network, enumerating hosts and services, deciding which scanner to run, or determining whether an empty scan is a finding or a failure.
  • Use only within explicit authorization and the stated rules of engagement.

When NOT to Use

  • Do not treat this skill as permission to access, test, or change a target.
  • Do not convert missing evidence into a clean result or a stronger claim.

This skill is loud, on purpose

It assumes penetration test conditions: an agreed scope, completeness as the deliverable, and noise that nobody is scoring you on. Every recommendation here optimises for not missing things.

Do not apply it to a red team operation. Red teaming optimises for the opposite thing — reaching an objective without being detected, and testing the security programme itself: people, processes, technology. A 65,535-port sweep is correct practice here and disqualifying there. The tooling overlaps; the optimisation function is reversed, and so is the right answer at almost every decision point.

If stealth is a requirement, you want a quiet-enumeration skill, and this is not it.

Scope first, always

Establish and write down the authorized scope before the first packet. Refuse targets outside it. A scan is an action against someone else's property; the scope statement is the only thing that makes it legitimate, and "it was in the same /16" is not a scope statement.

Treat authorization as a ceiling, not as a target list. When a request names specific proposed targets inside a wider authorized range, admit only those targets that pass the scope check. Do not expand discovery to the rest of the range unless the requested target set explicitly includes it.

Before scanning, record IP/CIDR scope and proposed targets in a manifest and run the deterministic check:

sh
uv run {baseDir}/scripts/check_scope.py scope.json
json
{
  "authorized": ["10.0.0.0/24"],
  "excluded": ["10.0.0.64/27"],
  "targets": ["10.0.0.12", "10.0.0.128/26"]
}

Exit 0 means every target is wholly contained in authorization and overlaps no exclusion. Exit 1 names targets to refuse. Exit 2 means the manifest is invalid or empty, so no scope decision was measured. The checker accepts IPs and CIDRs only; resolve and authorize hostnames explicitly rather than making the checker contact DNS.

Tool selection

Two stages, never one. Fast discovery to find what is alive and listening, then a targeted deep scan only on what answered. A single thorough scan across an undiscovered range is the most common way to burn a day.

Nmap carries ~99% of the work. The others earn their place by being faster at discovery, and they hand back to Nmap for fidelity.

GoalToolCostWhen it is the wrong choice
Find live hosts, layer 2 / local subnetnetdiscover (ARP)secondsUseless off-segment — ARP does not route
Sweep a large subnet for alive hostsmasscanseconds–minutesTrades precision and fingerprinting for raw speed. Alive-tracking only, then drop into Nmap
Find open TCP ports fast, all 65,535rustscansecondsSlow or lossy links can cost accuracy; it is a front end, not an answer
Initial TCP discoverynmap -sS + top-ports, tuned --min-rateseconds–minutesTop-ports alone will miss non-standard ports. Never the last scan
Full TCP coveragenmap -p- on discovered hostsminutes–hoursSkipping it is how low-hanging fruit on odd ports gets missed
Service and version fidelitynmap -sV -sC or --script=safe,defaultminutesNoisier and slower; without it, service names are guesses from port numbers
UDP, fastrustscan --udpseconds–minutesFinds only UDP ports that send back a response. Silent services are invisible — a clean result here proves very little
UDP, completenmap -sUhours to days on a full rangeAlmost always the wrong default. Scope it to the ports you care about and state the cost before starting

The standard chain: rustscan or masscan for discovery → pipe the open ports into nmap -sV -sC for identification → nmap -p- to confirm nothing was missed.

NSE: --script=safe,default is the useful, non-destructive tier — basic service information and versions without launching automated exploits. Treat anything outside safe,default as an action requiring its own authorization.

Protocol-specific enumeration

Once ports are known, stop using a network scanner and pivot:

ServiceTool
Web — configuration and known issuesnikto
Web — content and directory discoverygobuster, feroxbuster, ffuf
SMB / Windows — shares, users, null sessionsenum4linux, netexec (formerly CrackMapExec)

"Allowed" is context, not a property

Lists of permitted tools belong to the context that issued them. The tiering above reflects what is sanctioned in OffSec exam conditions, which is a useful baseline because it was drawn to exclude automated exploitation. It is not a permission slip anywhere else. In an engagement the authority is the client's rules of engagement, and in a lab it is the lab's. Check the authority that actually governs the target in front of you.

Reading results

Four readings that are wrong by default. Each one has cost real engagement time.

filtered is not closed. A blocked path and a closed port are indistinguishable from a port scanner and are different facts. Before concluding a segment is empty, prove a route exists to it — check the routing table from the hosts you already hold. A segment that returns all filtered, nothing open is more often unrouted than hardened.

Clean with no coverage is not clean. A scan that never reached the target reports the same silence as a hardened host. Always audit coverage before reporting a negative result; a scanner that cannot reach a box and calls it clean is the worst output a scanner can produce.

Absence is not evidence. No UDP findings from a TCP-only scan is not a finding about UDP. No service versions from a scan without version detection means the service names are guesses from port numbers — do not write them into a report as identified.

"The environment is broken" is a live hypothesis. When several independent signals converge on nothing — no hosts responding, an unreachable subnet, no credential anywhere, empty data stores — treat an unseeded or misconfigured environment as a real possibility and verify it. Verifying the environment is a skill, not a cop-out, and it beats hours spent grinding a target that was never populated.

Audit the scan before trusting it

sh
uv run {baseDir}/scripts/audit_scan.py scan.xml          # nmap -oX (preferred) or -oG
uv run {baseDir}/scripts/audit_scan.py scan.xml --json

Reports coverage, not findings: hosts that actually responded, ports actually probed, protocols covered, and which flags narrowed the scan. Exit 0 only when there was real coverage; 1 on coverage gaps; 2 when nothing responded or no port was ever probed. Zero coverage cannot exit 0, by design — see references/coverage-checks.md.

Recon handoff

The handoff should make the denominator visible, not just list discovered services:

FieldMinimum content
Scope decisionAuthorized ranges, exclusions, proposed targets, and checker result
Discovery coverageMethods used, hosts attempted, hosts that responded, and route limitations
Port coverageTCP and UDP ranges actually probed, including any rate or timing constraints
Service evidenceObserved protocol or version evidence; label port-based guesses as guesses
Open workUnreached segments, filtered paths, incomplete UDP work, and blocked follow-up
Next actionThe smallest authorized step that resolves the most important unknown

An empty service list with nonempty open work is an incomplete assessment, not a clean network.

Rationalizations to reject

ThoughtReality
"The scan came back clean, so it's clean."Clean with zero coverage is an unanswered question. Audit coverage first.
"All ports are filtered, so the host is locked down."More often there is no route. Prove reachability before concluding hardening.
"No UDP results, so no UDP services."You did not scan UDP. Absence of a scan is not absence of a service.
"nmap said it's SSH."Without version detection that is a guess from port 22. Do not report it as identified.
"I'll just run the full sweep to be safe.""Safe" that costs days is a choice, not a default. State the cost and get it confirmed.
"The target is in the same range, close enough."Scope is written down or it does not exist.
"The whole range is authorized, so I can discover all of it."Authorization permits work; it does not request every permitted target. Preserve the supplied target set.
"Nothing is here, the range is empty."Consider that the environment is unseeded or your path is wrong before concluding emptiness.
"It's faster to scan everything once than think about it."The thinking is the skill. The scan is the easy part.
"Recon is recon — I'll use this on the red team engagement too."No. This skill optimises for completeness and makes noise doing it. On a red team operation that noise is the finding, and it is the blue team's point.

References

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Network Recon AI 技能有什么作用?

Plans authorized network reconnaissance, checks proposed targets against explicit IP scope, chooses scanning tools by cost, and audits completed scans for coverage. Use when mapping a network, enumerating hosts and services, deciding which scanner to run, or determining whether an empty scan is a finding or a failure.

为什么在 TypingMind 中使用 Network Recon?

因为您只需安装一次,就能搭配任何模型使用。Network Recon 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Network Recon?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/zero-lab-ai/skills/tree/main/plugins/recon-operations/skills/network-recon。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Network Recon?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Network Recon 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Network Recon 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Network Recon AI 技能免费吗?

是的。zero-lab-ai 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇