跳到正文
Skillpedia
安全35k · #7752

conducting-wireless-network-penetration-test

它能做什么

这个 AI 智能体可以模拟对 Wi-Fi 网络的安全测试,检查网络能否抵御常见攻击,比如弱密码或未经授权的访问。

适用场景

  • ✓检查公司 Wi-Fi 网络的安全性。
  • ✓测试附近的人能否入侵你的无线网络。
  • ✓确认 Wi-Fi 网络的安全机制是否运行良好。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/conducting-wireless-network-penetration-test/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/conducting-wireless-network-penetration-test/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“对公司的 Wi-Fi 网络进行一次安全测试。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会使用专门的工具,模拟真实攻击,尝试在未经授权的情况下连接 Wi-Fi 网络。它会检查加密、身份验证和访问控制中是否存在漏洞。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Conducting Wireless Network Penetration Test

When to Use

  • Assessing the security of enterprise wireless networks including guest, corporate, and IoT WiFi segments
  • Testing whether attackers within physical proximity can compromise wireless authentication and access internal networks
  • Validating wireless intrusion detection/prevention system (WIDS/WIPS) capabilities against known attack techniques
  • Evaluating the effectiveness of WPA3 migration and transition mode configurations
  • Testing network segmentation between wireless and wired networks after a wireless network compromise

Do not use against wireless networks without written authorization from the network owner, for jamming or denial-of-service attacks against wireless infrastructure unless explicitly authorized, or in environments where wireless disruption could affect life-safety systems.

Prerequisites

  • Written authorization specifying target SSIDs, BSSIDs, and physical testing locations
  • External WiFi adapter supporting monitor mode and packet injection (Alfa AWUS036ACH, TP-Link TL-WN722N v1)
  • Kali Linux or equivalent with up-to-date wireless tools (aircrack-ng suite, hostapd, bettercap)
  • Physical access to the testing location during authorized testing hours
  • Knowledge of the target's wireless architecture (SSIDs, authentication types, RADIUS infrastructure)

Workflow

Step 1: Wireless Reconnaissance

Discover and map all wireless networks in the target environment:

  • Enable monitor mode: airmon-ng start wlan0
  • Capture wireless traffic: airodump-ng wlan0mon -w recon --output-format csv,pcap to discover all SSIDs, BSSIDs, channels, encryption types, and connected clients
  • Identify target networks from the authorized scope and note their security configurations (WEP, WPA2-Personal, WPA2-Enterprise, WPA3-SAE, WPA3-Transition)
  • Enumerate connected clients and their signal strengths to understand client distribution
  • Check for hidden SSIDs by capturing probe requests from clients: airodump-ng wlan0mon --essid-regex ".*" -c <channel>
  • Identify rogue access points by comparing discovered BSSIDs against the client's authorized AP inventory

Step 2: WPA2-Personal Handshake Capture and Cracking

For WPA2-PSK networks, capture the 4-way handshake and attempt offline cracking:

  • Target the specific AP: airodump-ng wlan0mon -c <channel> --bssid <bssid> -w capture
  • Deauthenticate a connected client to force re-authentication: aireplay-ng -0 5 -a <bssid> -c <client_mac> wlan0mon
  • Verify handshake capture in airodump-ng (WPA handshake indicator appears)
  • Crack the captured handshake:
    • Dictionary attack: aircrack-ng -w /usr/share/wordlists/rockyou.txt capture-01.cap
    • GPU-accelerated: hashcat -m 22000 capture.hc22000 /usr/share/wordlists/rockyou.txt
    • Rule-based: hashcat -m 22000 capture.hc22000 wordlist.txt -r /usr/share/hashcat/rules/best64.rule
  • For PMKID capture (clientless): hcxdumptool -i wlan0mon --enable_status=1 -o pmkid.pcapng --filtermode=2 --filterlist_ap=<bssid>

Step 3: WPA2-Enterprise Attack

For 802.1X/EAP networks, attempt credential capture through rogue RADIUS:

  • Identify the EAP type in use (PEAP-MSCHAPv2, EAP-TLS, EAP-TTLS) by capturing association requests
  • Set up a rogue AP mimicking the enterprise SSID using hostapd-mana with a rogue RADIUS server
  • Configure hostapd-mana to accept all EAP authentication attempts and capture RADIUS handshakes
  • When clients connect to the rogue AP, capture MSCHAPv2 challenge-response pairs
  • Crack captured credentials with asleap or convert to hashcat format: hashcat -m 5500 captured_ntlm.txt wordlist.txt
  • If EAP-TLS is in use (certificate-based), document that credential capture is not feasible and the organization has implemented strong wireless authentication

Step 4: Evil Twin Attack

Deploy a rogue access point to intercept client connections:

  • Create an evil twin AP matching the target SSID: configure hostapd with the same SSID and channel
  • Set up a captive portal using dnsmasq for DHCP and DNS, and a web server presenting a fake login page
  • Deauthenticate clients from the legitimate AP to force reconnection to the evil twin
  • Capture credentials submitted through the captive portal
  • For WPA3-Transition mode networks: exploit the downgrade vulnerability by creating a WPA2-only evil twin that transition-mode clients will connect to

…

常见问题

使用这个智能体需要获得许可吗?

需要。在进行任何测试之前,必须获得网络所有者的书面授权。

什么是“Evil Twin”?

这是一种假冒的 Wi-Fi 接入点,它伪装成正规网络,诱骗用户连接,从而窃取信息。

什么是 WPA2 握手?

这是设备连接到 WPA2 加密 Wi-Fi 网络时交换的信息。如果被截获,就可能被用来尝试破解密码。

详情

作者的原始描述

Conducts authorized wireless network penetration tests to assess the security of WiFi infrastructure by testing for weak encryption protocols, captive portal bypasses, evil twin attacks, WPA2/WPA3 handshake capture, rogue access point detection, and client-side attacks. The tester evaluates wireless authentication, network segmentation, and the effectiveness of wireless intrusion detection systems

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#7752
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能