[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71FTZDHBVABK5R1SSB30C3S":3,"skill-same:01M71FTZDHBVABK5R1SSB30C3S":93},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":66,"commitSha":67,"skillDirectory":68,"forksCount":14,"repositoryHtmlUrl":69,"repositoryHomepageUrl":6,"ownerHtmlUrl":70,"ownerBlogUrl":6,"ownerDescription":71,"updatedAt":72,"install":73,"resources":86},"01M71FTZDHBVABK5R1SSB30C3S","wireless-kismet-detect",null,"Conduct wireless network security assessments using Kismet to detect rogue access points, hidden SSIDs, weak encryption, and unauthorized clients through passive RF monitoring.","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fnetwork\u002Fwireless\u002Fkismet\u002Fdetect\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"wireless kismet detect","wireless","detect","Kismet","wardriving","cm","access","Bash","rf-monitoring","wireless-ids","wids","network security","wifi-assessment","802.11","rogue-AP","wifi","ids","encryption","assessment","cybersecurity","2026-11-10 10:12:30",false,"---\nname: wireless-kismet-detect\ndescription: Conduct wireless network security assessments using Kismet to detect rogue access points, hidden SSIDs, weak encryption, and unauthorized clients through passive RF monitoring.\ndomain: cybersecurity\nsubdomain: network-security\ntags:\n- kismet\n- wireless-security\n- wifi-assessment\n- rogue-ap\n- 802.11\n- wardriving\n- wids\n- wireless-ids\n- rf-monitoring\nnist_csf:\n- PR.IR-01\n- DE.CM-01\n- ID.AM-03\n- PR.DS-02\nmodel: sonnet\nmaxTurns: 20\ntools: [Read, Bash, Glob, Grep]\nmitre_attack:\n- T1059\n- T1557\n- T1562.001\ncapec: []\n---\n\n# Performing Wireless Security Assessment with Kismet\n\n## Overview\n\nKismet is an open-source wireless network detector, packet sniffer, and wireless intrusion detection system (WIDS) supporting 802.11a\u002Fb\u002Fg\u002Fn\u002Fac\u002Fax. Unlike active scanners, Kismet operates in passive monitor mode, making it undetectable to the networks being assessed. It captures raw 802.11 frames, identifies access points, clients, probe requests, and encryption types without transmitting any packets. This skill covers deploying Kismet for comprehensive wireless security assessments, identifying rogue access points, detecting weak encryption, mapping hidden networks, and analyzing client behavior.\n\n\n## When to Use\n\n- When conducting security assessments that involve performing wireless security assessment with kismet\n- When following incident response procedures for related security events\n- When performing scheduled security testing or auditing activities\n- When validating security controls through hands-on testing\n\n## Prerequisites\n\n- Linux system (Kali Linux, Ubuntu 22.04+) with Kismet 2023+ installed\n- Wireless adapter supporting monitor mode (e.g., Alfa AWUS036ACH, TP-Link TL-WN722N v1)\n- Written authorization for wireless assessment (legal requirement)\n- GPS receiver (optional, for geolocation mapping)\n- Target environment wireless network documentation\n\n## Core Concepts\n\n### Kismet Architecture\n\nKismet uses a client-server architecture:\n\n- **kismet** - Main server process that captures and processes packets\n- **kismet_cap_linux_wifi** - Capture source for Linux WiFi interfaces\n- **kismet_cap_linux_bluetooth** - Capture source for Bluetooth\n- **Web UI** - Browser-based interface at http:\u002F\u002Flocalhost:2501\n\n### Wireless Frame Types\n\n| Frame Type | Purpose | Security Relevance |\n|------------|---------|-------------------|\n| Beacon | AP announces its presence | SSID, encryption, vendor |\n| Probe Request | Client searches for networks | Reveals preferred networks |\n| Probe Response | AP responds to client probe | Hidden SSID disclosure |\n| Authentication | Client authenticates to AP | Auth type identification |\n| Deauthentication | Disconnects client from AP | Potential attack indicator |\n| Association | Client joins network | Client-AP relationship |\n\n### Encryption Assessment\n\n| Encryption | Status | Risk |\n|------------|--------|------|\n| Open (No encryption) | Insecure | Critical - all traffic visible |\n| WEP | Broken | Critical - crackable in minutes |\n| WPA-TKIP | Deprecated | High - known vulnerabilities |\n| WPA2-PSK (CCMP) | Acceptable | Medium - depends on passphrase strength |\n| WPA2-Enterprise (802.1X) | Recommended | Low - certificate-based |\n| WPA3-SAE | Best practice | Low - resistant to offline attacks |\n\n## Workflow\n\n### Step 1: Prepare Wireless Adapter\n\n```bash\n# Identify wireless interfaces\niwconfig\n\n# Check adapter capabilities\niw list | grep -A 10 \"Supported interface modes\"\n\n# Kill processes that may interfere\nsudo airmon-ng check kill\n\n# Enable monitor mode\nsudo ip link set wlan0 down\nsudo iw dev wlan0 set type monitor\nsudo ip link set wlan0 up\n\n# Verify monitor mode\niw dev wlan0 info | grep type\n```\n\n### Step 2: Configure and Launch Kismet\n\nEdit `\u002Fetc\u002Fkismet\u002Fkismet.conf`:\n\n```ini\n# Data sources\nsource=wlan0:name=WiFi-Monitor,channel_hop=true,channel_hoprate=5\u002Fsec\n\n# Logging configuration\nlog_types=kismet,pcapng\nlog_prefix=\u002Fopt\u002Fkismet\u002Flogs\u002Fassessment\n\n# Enable all 802.11 channels (2.4GHz and 5GHz)\nchannel_hop_speed=5\nchannel_list=IEEE80211:1,2,3,4,5,6,7,8,9,10,11,36,40,44,48,52,56,60,64,100,104,108,112,116,120,124,128,132,136,140,149,153,157,161,165\n\n# GPS configuration (if available)\ngps=gpsd:host=localhost,port=2947\n\n# Alert configuration\nalert=ADVCRYPTCHANGE,5\u002Fmin,1\u002Fsec\nalert=BSSTIMESTAMP,5\u002Fmin,1\u002Fsec\nalert=CRYPTODROP,5\u002Fmin,1\u002Fsec\nalert=DISASSOCTRAFFIC,10\u002Fmin,1\u002Fsec\nalert=DEAUTHFLOOD,10\u002Fmin,2\u002Fsec\nalert=PROBENOMFP,5\u002Fmin,1\u002Fsec\n```\n\nLaunch Kismet:\n\n```bash\n# Start Kismet server\nsudo kismet -c wlan0\n\n# Access web interface\n# Open browser to http:\u002F\u002Flocalhost:2501\n# Default credentials: kismet \u002F kismet (change immediately)\n```\n\n### Step 3: Conduct Assessment Scans\n\n**Rogue Access Point Detection:**\n\n```bash\n# Export device list via Kismet REST API\ncurl -u kismet:kismet http:\u002F\u002Flocalhost:2501\u002Fdevices\u002Fsummary\u002Fdevices.json | \\\n    python3 -m json.tool > all_devices.json\n\n# Filter for access points\ncurl -u kismet:kismet \\\n    'http:\u002F\u002Flocalhost:2501\u002Fdevices\u002Fsummary\u002Fdevices.json' \\\n    -d 'json={\"fields\":[\"kismet.device.base.macaddr\",\"kismet.device.base.name\",\"kismet.device.base.type\",\"kismet.device.base.crypt\",\"kismet.device.base.channel\",\"kismet.device.base.manuf\",\"dot11.device\u002Fdot11.device.advertised_ssid_map\u002Fdot11.advertisedssid.ssid\"]}' \\\n    > access_points.json\n```\n\n**Client Probe Analysis:**\n\nProbe requests reveal networks that clients have previously connected to, which can indicate:\n- Corporate devices connecting to insecure home networks\n- Devices searching for known-evil SSIDs (evil twin susceptibility)\n- Unauthorized personal devices in corporate space\n\n### Step 4: Analyze Results\n\nPython analysis script for Kismet database:\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Analyze Kismet capture database for wireless security findings.\"\"\"\n\nimport sqlite3\nimport json\nimport sys\nfrom collections import defaultdict\n\n\ndef analyze_kismet_db(db_path: str):\n    \"\"\"Analyze Kismet SQLite database for security issues.\"\"\"\n    conn = sqlite3.connect(db_path)\n    cursor = conn.cursor()\n\n    findings = []\n\n    # Query all devices\n    cursor.execute(\"\"\"\n        SELECT devmac, type, device\n        FROM devices\n    \"\"\")\n\n    devices = cursor.fetchall()\n    ap_count = 0\n    client_count = 0\n    open_networks = []\n    wep_networks = []\n    wpa_tkip_networks = []\n    hidden_networks = []\n    all_aps = []\n\n    for mac, dev_type, device_json in devices:\n        try:\n            device = json.loads(device_json)\n        except json.JSONDecodeError:\n            continue\n\n        base = device.get('kismet.device.base.type', '')\n\n        if 'Wi-Fi AP' in base or 'Wi-Fi Device' in base:\n            ap_count += 1\n            ssid_map = device.get('dot11.device', {}).get(\n                'dot11.device.advertised_ssid_map', []\n            )\n            crypt = device.get('kismet.device.base.crypt', '')\n            name = device.get('kismet.device.base.name', 'Unknown')\n            channel = device.get('kismet.device.base.channel', '')\n            manuf = device.get('kismet.device.base.manuf', 'Unknown')\n\n            ap_info = {\n                'mac': mac,\n                'ssid': name,\n                'encryption': crypt,\n                'channel': channel,\n                'manufacturer': manuf,\n            }\n            all_aps.append(ap_info)\n\n            if 'None' in crypt or crypt == '':\n                open_networks.append(ap_info)\n            elif 'WEP' in crypt:\n                wep_networks.append(ap_info)\n            elif 'WPA+TKIP' in crypt and 'AES' not in crypt:\n                wpa_tkip_networks.append(ap_info)\n\n            for ssid_entry in ssid_map:\n                if isinstance(ssid_entry, dict):\n                    ssid = ssid_entry.get('dot11.advertisedssid.ssid', '')\n                    if ssid == '' or ssid is None:\n                        hidden_networks.append(ap_info)\n\n        elif 'Wi-Fi Client' in base:\n            client_count += 1\n\n    # Generate findings\n    print(f\"\\n{'='*70}\")\n    print(\"WIRELESS SECURITY ASSESSMENT REPORT\")\n    print(f\"{'='*70}\")\n    print(f\"\\nTotal Access Points Detected: {ap_count}\")\n    print(f\"Total Clients Detected: {client_count}\")\n\n    if open_networks:\n        print(f\"\\n[CRITICAL] Open Networks (No Encryption): {len(open_networks)}\")\n        for net in open_networks:\n            print(f\"  - SSID: {net['ssid']}, MAC: {net['mac']}, \"\n                  f\"Channel: {net['channel']}, Vendor: {net['manufacturer']}\")\n\n    if wep_networks:\n        print(f\"\\n[CRITICAL] WEP-Encrypted Networks: {len(wep_networks)}\")\n        for net in wep_networks:\n            print(f\"  - SSID: {net['ssid']}, MAC: {net['mac']}, \"\n                  f\"Channel: {net['channel']}\")\n\n    if wpa_tkip_networks:\n        print(f\"\\n[HIGH] WPA-TKIP Networks (Deprecated): {len(wpa_tkip_networks)}\")\n        for net in wpa_tkip_networks:\n            print(f\"  - SSID: {net['ssid']}, MAC: {net['mac']}, \"\n                  f\"Channel: {net['channel']}\")\n\n    if hidden_networks:\n        print(f\"\\n[MEDIUM] Hidden SSIDs Detected: {len(hidden_networks)}\")\n        for net in hidden_networks:\n            print(f\"  - MAC: {net['mac']}, Channel: {net['channel']}, \"\n                  f\"Vendor: {net['manufacturer']}\")\n\n    # Channel utilization analysis\n    channel_usage = defaultdict(int)\n    for ap in all_aps:\n        ch = ap.get('channel', 'Unknown')\n        channel_usage[ch] += 1\n\n    print(f\"\\n[INFO] Channel Utilization:\")\n    for ch, count in sorted(channel_usage.items()):\n        print(f\"  Channel {ch}: {count} APs\")\n\n    conn.close()\n\n\nif __name__ == '__main__':\n    db_path = sys.argv[1] if len(sys.argv) > 1 else 'Kismet-*.kismet'\n    analyze_kismet_db(db_path)\n```\n\n### Step 5: Detect Rogue Access Points\n\nCompare discovered APs against authorized inventory:\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Detect rogue access points by comparing against authorized AP list.\"\"\"\n\nimport json\nimport sys\n\n\ndef load_authorized_aps(filepath: str) -> set:\n    \"\"\"Load authorized AP MAC addresses from file.\"\"\"\n    authorized = set()\n    with open(filepath, 'r') as f:\n        for line in f:\n            mac = line.strip().lower()\n            if mac and not mac.startswith('#'):\n                authorized.add(mac)\n    return authorized\n\n\ndef detect_rogues(kismet_json: str, authorized_file: str):\n    \"\"\"Compare discovered APs against authorized list.\"\"\"\n    authorized = load_authorized_aps(authorized_file)\n\n    with open(kismet_json, 'r') as f:\n        devices = json.load(f)\n\n    rogues = []\n    for device in devices:\n        mac = device.get('kismet.device.base.macaddr', '').lower()\n        dev_type = device.get('kismet.device.base.type', '')\n\n        if 'AP' in dev_type and mac not in authorized:\n            rogues.append({\n                'mac': mac,\n                'ssid': device.get('kismet.device.base.name', 'Unknown'),\n                'encryption': device.get('kismet.device.base.crypt', ''),\n                'channel': device.get('kismet.device.base.channel', ''),\n                'manufacturer': device.get('kismet.device.base.manuf', ''),\n                'signal': device.get('kismet.device.base.signal', {}).get(\n                    'kismet.common.signal.last_signal', 0),\n            })\n\n    if rogues:\n        print(f\"\\n[ALERT] {len(rogues)} ROGUE ACCESS POINTS DETECTED\\n\")\n        for rogue in rogues:\n            print(f\"  MAC: {rogue['mac']}\")\n            print(f\"  SSID: {rogue['ssid']}\")\n            print(f\"  Encryption: {rogue['encryption']}\")\n            print(f\"  Channel: {rogue['channel']}\")\n            print(f\"  Vendor: {rogue['manufacturer']}\")\n            print(f\"  Signal: {rogue['signal']} dBm\")\n            print()\n    else:\n        print(\"No rogue access points detected.\")\n\n\nif __name__ == '__main__':\n    if len(sys.argv) \u003C 3:\n        print(\"Usage: python detect_rogues.py \u003Ckismet_devices.json> \u003Cauthorized_aps.txt>\")\n        sys.exit(1)\n    detect_rogues(sys.argv[1], sys.argv[2])\n```\n\n## Assessment Checklist\n\n- [ ] All authorized APs identified and verified\n- [ ] Rogue\u002Funauthorized APs identified and located\n- [ ] Encryption types documented for all SSIDs\n- [ ] Hidden SSIDs discovered and documented\n- [ ] Client probe requests analyzed for sensitive patterns\n- [ ] Evil twin susceptibility assessed\n- [ ] WPS status checked on all APs\n- [ ] Signal coverage boundaries mapped\n- [ ] Guest network isolation verified\n- [ ] Management interfaces not exposed on wireless\n\n## Best Practices\n\n- **Written Authorization** - Always obtain signed authorization before performing wireless assessments\n- **Passive Only** - Use Kismet in passive mode; do not transmit deauth frames or probe requests\n- **Comprehensive Channel Coverage** - Scan both 2.4GHz and 5GHz bands including DFS channels\n- **Multiple Locations** - Perform captures from multiple physical locations for complete coverage\n- **Time Duration** - Capture for at least 30-60 minutes to observe intermittent devices\n- **GPS Mapping** - Use GPS to create heat maps for signal boundary analysis\n- **Baseline Comparison** - Maintain an authorized AP inventory and compare against each assessment\n\n## References\n\n- [Kismet Documentation](https:\u002F\u002Fwww.kismetwireless.net\u002Fdocs\u002F)\n- [CISA Kismet Resources](https:\u002F\u002Fwww.cisa.gov\u002Fresources-tools\u002Fservices\u002Fkismet)\n- [NIST SP 800-153 - Wireless Network Security](https:\u002F\u002Fcsrc.nist.gov\u002Fpublications\u002Fdetail\u002Fsp\u002F800-153\u002Ffinal)\n- [Wi-Fi Alliance WPA3 Specification](https:\u002F\u002Fwww.wi-fi.org\u002Fdiscover-wi-fi\u002Fsecurity)\n","# Performing Wireless Security Assessment with Kismet\n\n## Overview\n\nKismet is an open-source wireless network detector, packet sniffer, and wireless intrusion detection system (WIDS) supporting 802.11a\u002Fb\u002Fg\u002Fn\u002Fac\u002Fax. Unlike active scanners, Kismet operates in passive monitor mode, making it undetectable to the networks being assessed. It captures raw 802.11 frames, identifies access points, clients, probe requests, and encryption types without transmitting any packets. This skill covers deploying Kismet for comprehensive wireless security assessments, identifying rogue access points, detecting weak encryption, mapping hidden networks, and analyzing client behavior.\n\n\n## When to Use\n\n- When conducting security assessments that involve performing wireless security assessment with kismet\n- When following incident response procedures for related security events\n- When performing scheduled security testing or auditing activities\n- When validating security controls through hands-on testing\n\n## Prerequisites\n\n- Linux system (Kali Linux, Ubuntu 22.04+) with Kismet 2023+ installed\n- Wireless adapter supporting monitor mode (e.g., Alfa AWUS036ACH, TP-Link TL-WN722N v1)\n- Written authorization for wireless assessment (legal requirement)\n- GPS receiver (optional, for geolocation mapping)\n- Target environment wireless network documentation\n\n## Core Concepts\n\n### Kismet Architecture\n\nKismet uses a client-server architecture:\n\n- **kismet** - Main server process that captures and processes packets\n- **kismet_cap_linux_wifi** - Capture source for Linux WiFi interfaces\n- **kismet_cap_linux_bluetooth** - Capture source for Bluetooth\n- **Web UI** - Browser-based interface at http:\u002F\u002Flocalhost:2501\n\n### Wireless Frame Types\n\n| Frame Type | Purpose | Security Relevance |\n|------------|---------|-------------------|\n| Beacon | AP announces its presence | SSID, encryption, vendor |\n| Probe Request | Client searches for networks | Reveals preferred networks |\n| Probe Response | AP responds to client probe | Hidden SSID disclosure |\n| Authentication | Client authenticates to AP | Auth type identification |\n| Deauthentication | Disconnects client from AP | Potential attack indicator |\n| Association | Client joins network | Client-AP relationship |\n\n### Encryption Assessment\n\n| Encryption | Status | Risk |\n|------------|--------|------|\n| Open (No encryption) | Insecure | Critical - all traffic visible |\n| WEP | Broken | Critical - crackable in minutes |\n| WPA-TKIP | Deprecated | High - known vulnerabilities |\n| WPA2-PSK (CCMP) | Acceptable | Medium - depends on passphrase strength |\n| WPA2-Enterprise (802.1X) | Recommended | Low - certificate-based |\n| WPA3-SAE | Best practice | Low - resistant to offline attacks |\n\n## Workflow\n\n### Step 1: Prepare Wireless Adapter\n\n```bash\n# Identify wireless interfaces\niwconfig\n\n# Check adapter capabilities\niw list | grep -A 10 \"Supported interface modes\"\n\n# Kill processes that may interfere\nsudo airmon-ng check kill\n\n# Enable monitor mode\nsudo ip link set wlan0 down\nsudo iw dev wlan0 set type monitor\nsudo ip link set wlan0 up\n\n# Verify monitor mode\niw dev wlan0 info | grep type\n```\n\n### Step 2: Configure and Launch Kismet\n\nEdit `\u002Fetc\u002Fkismet\u002Fkismet.conf`:\n\n```ini\n# Data sources\nsource=wlan0:name=WiFi-Monitor,channel_hop=true,channel_hoprate=5\u002Fsec\n\n# Logging configuration\nlog_types=kismet,pcapng\nlog_prefix=\u002Fopt\u002Fkismet\u002Flogs\u002Fassessment\n\n# Enable all 802.11 channels (2.4GHz and 5GHz)\nchannel_hop_speed=5\nchannel_list=IEEE80211:1,2,3,4,5,6,7,8,9,10,11,36,40,44,48,52,56,60,64,100,104,108,112,116,120,124,128,132,136,140,149,153,157,161,165\n\n# GPS configuration (if available)\ngps=gpsd:host=localhost,port=2947\n\n# Alert configuration\nalert=ADVCRYPTCHANGE,5\u002Fmin,1\u002Fsec\nalert=BSSTIMESTAMP,5\u002Fmin,1\u002Fsec\nalert=CRYPTODROP,5\u002Fmin,1\u002Fsec\nalert=DISASSOCTRAFFIC,10\u002Fmin,1\u002Fsec\nalert=DEAUTHFLOOD,10\u002Fmin,2\u002Fsec\nalert=PROBENOMFP,5\u002Fmin,1\u002Fsec\n```\n\nLaunch Kismet:\n\n```bash\n# Start Kismet server\nsudo kismet -c wlan0\n\n# Access web interface\n# Open browser to http:\u002F\u002Flocalhost:2501\n# Default credentials: kismet \u002F kismet (change immediately)\n```\n\n### Step 3: Conduct Assessment Scans\n\n**Rogue Access Point Detection:**\n\n```bash\n# Export device list via Kismet REST API\ncurl -u kismet:kismet http:\u002F\u002Flocalhost:2501\u002Fdevices\u002Fsummary\u002Fdevices.json | \\\n    python3 -m json.tool > all_devices.json\n\n# Filter for access points\ncurl -u kismet:kismet \\\n    'http:\u002F\u002Flocalhost:2501\u002Fdevices\u002Fsummary\u002Fdevices.json' \\\n    -d 'json={\"fields\":[\"kismet.device.base.macaddr\",\"kismet.device.base.name\",\"kismet.device.base.type\",\"kismet.device.base.crypt\",\"kismet.device.base.channel\",\"kismet.device.base.manuf\",\"dot11.device\u002Fdot11.device.advertised_ssid_map\u002Fdot11.advertisedssid.ssid\"]}' \\\n    > access_points.json\n```\n\n**Client Probe Analysis:**\n\nProbe requests reveal networks that clients have previously connected to, which can indicate:\n- Corporate devices connecting to insecure home networks\n- Devices searching for known-evil SSIDs (evil twin susceptibility)\n- Unauthorized personal devices in corporate space\n\n### Step 4: Analyze Results\n\nPython analysis script for Kismet database:\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Analyze Kismet capture database for wireless security findings.\"\"\"\n\nimport sqlite3\nimport json\nimport sys\nfrom collections import defaultdict\n\n\ndef analyze_kismet_db(db_path: str):\n    \"\"\"Analyze Kismet SQLite database for security issues.\"\"\"\n    conn = sqlite3.connect(db_path)\n    cursor = conn.cursor()\n\n    findings = []\n\n    # Query all devices\n    cursor.execute(\"\"\"\n        SELECT devmac, type, device\n        FROM devices\n    \"\"\")\n\n    devices = cursor.fetchall()\n    ap_count = 0\n    client_count = 0\n    open_networks = []\n    wep_networks = []\n    wpa_tkip_networks = []\n    hidden_networks = []\n    all_aps = []\n\n    for mac, dev_type, device_json in devices:\n        try:\n            device = json.loads(device_json)\n        except json.JSONDecodeError:\n            continue\n\n        base = device.get('kismet.device.base.type', '')\n\n        if 'Wi-Fi AP' in base or 'Wi-Fi Device' in base:\n            ap_count += 1\n            ssid_map = device.get('dot11.device', {}).get(\n                'dot11.device.advertised_ssid_map', []\n            )\n            crypt = device.get('kismet.device.base.crypt', '')\n            name = device.get('kismet.device.base.name', 'Unknown')\n            channel = device.get('kismet.device.base.channel', '')\n            manuf = device.get('kismet.device.base.manuf', 'Unknown')\n\n            ap_info = {\n                'mac': mac,\n                'ssid': name,\n                'encryption': crypt,\n                'channel': channel,\n                'manufacturer': manuf,\n            }\n            all_aps.append(ap_info)\n\n            if 'None' in crypt or crypt == '':\n                open_networks.append(ap_info)\n            elif 'WEP' in crypt:\n                wep_networks.append(ap_info)\n            elif 'WPA+TKIP' in crypt and 'AES' not in crypt:\n                wpa_tkip_networks.append(ap_info)\n\n            for ssid_entry in ssid_map:\n                if isinstance(ssid_entry, dict):\n                    ssid = ssid_entry.get('dot11.advertisedssid.ssid', '')\n                    if ssid == '' or ssid is None:\n                        hidden_networks.append(ap_info)\n\n        elif 'Wi-Fi Client' in base:\n            client_count += 1\n\n    # Generate findings\n    print(f\"\\n{'='*70}\")\n    print(\"WIRELESS SECURITY ASSESSMENT REPORT\")\n    print(f\"{'='*70}\")\n    print(f\"\\nTotal Access Points Detected: {ap_count}\")\n    print(f\"Total Clients Detected: {client_count}\")\n\n    if open_networks:\n        print(f\"\\n[CRITICAL] Open Networks (No Encryption): {len(open_networks)}\")\n        for net in open_networks:\n            print(f\"  - SSID: {net['ssid']}, MAC: {net['mac']}, \"\n                  f\"Channel: {net['channel']}, Vendor: {net['manufacturer']}\")\n\n    if wep_networks:\n        print(f\"\\n[CRITICAL] WEP-Encrypted Networks: {len(wep_networks)}\")\n        for net in wep_networks:\n            print(f\"  - SSID: {net['ssid']}, MAC: {net['mac']}, \"\n                  f\"Channel: {net['channel']}\")\n\n    if wpa_tkip_networks:\n        print(f\"\\n[HIGH] WPA-TKIP Networks (Deprecated): {len(wpa_tkip_networks)}\")\n        for net in wpa_tkip_networks:\n            print(f\"  - SSID: {net['ssid']}, MAC: {net['mac']}, \"\n                  f\"Channel: {net['channel']}\")\n\n    if hidden_networks:\n        print(f\"\\n[MEDIUM] Hidden SSIDs Detected: {len(hidden_networks)}\")\n        for net in hidden_networks:\n            print(f\"  - MAC: {net['mac']}, Channel: {net['channel']}, \"\n                  f\"Vendor: {net['manufacturer']}\")\n\n    # Channel utilization analysis\n    channel_usage = defaultdict(int)\n    for ap in all_aps:\n        ch = ap.get('channel', 'Unknown')\n        channel_usage[ch] += 1\n\n    print(f\"\\n[INFO] Channel Utilization:\")\n    for ch, count in sorted(channel_usage.items()):\n        print(f\"  Channel {ch}: {count} APs\")\n\n    conn.close()\n\n\nif __name__ == '__main__':\n    db_path = sys.argv[1] if len(sys.argv) > 1 else 'Kismet-*.kismet'\n    analyze_kismet_db(db_path)\n```\n\n### Step 5: Detect Rogue Access Points\n\nCompare discovered APs against authorized inventory:\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Detect rogue access points by comparing against authorized AP list.\"\"\"\n\nimport json\nimport sys\n\n\ndef load_authorized_aps(filepath: str) -> set:\n    \"\"\"Load authorized AP MAC addresses from file.\"\"\"\n    authorized = set()\n    with open(filepath, 'r') as f:\n        for line in f:\n            mac = line.strip().lower()\n            if mac and not mac.startswith('#'):\n                authorized.add(mac)\n    return authorized\n\n\ndef detect_rogues(kismet_json: str, authorized_file: str):\n    \"\"\"Compare discovered APs against authorized list.\"\"\"\n    authorized = load_authorized_aps(authorized_file)\n\n    with open(kismet_json, 'r') as f:\n        devices = json.load(f)\n\n    rogues = []\n    for device in devices:\n        mac = device.get('kismet.device.base.macaddr', '').lower()\n        dev_type = device.get('kismet.device.base.type', '')\n\n        if 'AP' in dev_type and mac not in authorized:\n            rogues.append({\n                'mac': mac,\n                'ssid': device.get('kismet.device.base.name', 'Unknown'),\n                'encryption': device.get('kismet.device.base.crypt', ''),\n                'channel': device.get('kismet.device.base.channel', ''),\n                'manufacturer': device.get('kismet.device.base.manuf', ''),\n                'signal': device.get('kismet.device.base.signal', {}).get(\n                    'kismet.common.signal.last_signal', 0),\n            })\n\n    if rogues:\n        print(f\"\\n[ALERT] {len(rogues)} ROGUE ACCESS POINTS DETECTED\\n\")\n        for rogue in rogues:\n            print(f\"  MAC: {rogue['mac']}\")\n            print(f\"  SSID: {rogue['ssid']}\")\n            print(f\"  Encryption: {rogue['encryption']}\")\n            print(f\"  Channel: {rogue['channel']}\")\n            print(f\"  Vendor: {rogue['manufacturer']}\")\n            print(f\"  Signal: {rogue['signal']} dBm\")\n            print()\n    else:\n        print(\"No rogue access points detected.\")\n\n\nif __name__ == '__main__':\n    if len(sys.argv) \u003C 3:\n        print(\"Usage: python detect_rogues.py \u003Ckismet_devices.json> \u003Cauthorized_aps.txt>\")\n        sys.exit(1)\n    detect_rogues(sys.argv[1], sys.argv[2])\n```\n\n## Assessment Checklist\n\n- [ ] All authorized APs identified and verified\n- [ ] Rogue\u002Funauthorized APs identified and located\n- [ ] Encryption types documented for all SSIDs\n- [ ] Hidden SSIDs discovered and documented\n- [ ] Client probe requests analyzed for sensitive patterns\n- [ ] Evil twin susceptibility assessed\n- [ ] WPS status checked on all APs\n- [ ] Signal coverage boundaries mapped\n- [ ] Guest network isolation verified\n- [ ] Management interfaces not exposed on wireless\n\n## Best Practices\n\n- **Written Authorization** - Always obtain signed authorization before performing wireless assessments\n- **Passive Only** - Use Kismet in passive mode; do not transmit deauth frames or probe requests\n- **Comprehensive Channel Coverage** - Scan both 2.4GHz and 5GHz bands including DFS channels\n- **Multiple Locations** - Perform captures from multiple physical locations for complete coverage\n- **Time Duration** - Capture for at least 30-60 minutes to observe intermittent devices\n- **GPS Mapping** - Use GPS to create heat maps for signal boundary analysis\n- **Baseline Comparison** - Maintain an authorized AP inventory and compare against each assessment\n\n## References\n\n- [Kismet Documentation](https:\u002F\u002Fwww.kismetwireless.net\u002Fdocs\u002F)\n- [CISA Kismet Resources](https:\u002F\u002Fwww.cisa.gov\u002Fresources-tools\u002Fservices\u002Fkismet)\n- [NIST SP 800-153 - Wireless Network Security](https:\u002F\u002Fcsrc.nist.gov\u002Fpublications\u002Fdetail\u002Fsp\u002F800-153\u002Ffinal)\n- [Wi-Fi Alliance WPA3 Specification](https:\u002F\u002Fwww.wi-fi.org\u002Fdiscover-wi-fi\u002Fsecurity)\n",{"name":5,"tags":44,"capec":49,"model":50,"tools":51,"domain":38,"maxTurns":55,"nist_csf":56,"subdomain":61,"description":7,"mitre_attack":62},[45,46,31,47,48,23,29,28,27],"kismet","wireless-security","rogue-ap",802.11,[],"sonnet",[52,26,53,54],"Read","Glob","Grep",20,[57,58,59,60],"PR.IR-01","DE.CM-01","ID.AM-03","PR.DS-02","network-security",[63,64,65],"T1059","T1557","T1562.001","main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fnetwork\u002Fwireless\u002Fkismet\u002Fdetect","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":74,"prompt":84,"zipAvailable":85},[75,78,81],{"tool":76,"command":77},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill wireless-kismet-detect",{"tool":79,"command":80},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill wireless-kismet-detect",{"tool":82,"command":83},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill wireless-kismet-detect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fnetwork\u002Fwireless\u002Fkismet\u002Fdetect\u002FSKILL.md",true,[87],{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"index.json","REFERENCE","参考文档",657,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fnetwork\u002Fwireless\u002Fkismet\u002Fdetect\u002Findex.json",[94,117,139,160,182,198],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":39},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[101,21,102,103,104,105,24,106,107,108,109,110,111,112,113,114,115,38,116],"services","services wmi persistence detect","wmi","persistence","de","process","activescript","event","subscriptions","commandline-consumer","repository","subscription","event-subscription","t1546.003","forensics","process-forensics",{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":39},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[124,101,125,103,126,127,128,38,26,129,130,131,132,133,105,134,135,136,137,138],"exploit","services wmi exec exploit","exec","remote","traffic","analysis","team","across","crackmapexec","native","command","lateral movement","read","lateral-movement","Impacket",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":39},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[146,147,148,149,150,151,38,26,152,129,153,154,105,136,155,156,157,158,159,50],"artifact","registry","registry artifact extract","extract","evidence-collection","artifact-analysis","collection","analyze","uncover","software","activity","digital-forensics","windows-registry","regripper",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":39},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[21,167,168,169,170,171,172,24,173,38,116,174,175,176,177,178,179,180,181,105],"processes token impersonate detect","token","processes","attacks","windows","escalation","techniques","privilege-escalation","seimpersonate","token-impersonation","printspoofer","exploitation","potato","impersonation","via",{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":186,"categories":187,"keywords":188,"publishedAt":39},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[189,190,21,191,169,171,192,24,193,173,38,116,129,194,195,196,197,181,105,106],"thread","processes thread injection detect","injection","memory","process-injection","api","apc-injection","thread-injection","nt-api",{"skillNo":199,"name":200,"nameZh":6,"description":201,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":202,"categories":203,"keywords":204,"publishedAt":39},"01M71HA7H311V5G14WMX58HQSS","processes-hollow-technique-detect","Detect process hollowing (RunPE) by identifying processes with mismatched image paths between PEB and VAD tree, or unmapped PE headers in memory.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fhollow\u002Ftechnique\u002Fdetect\u002FSKILL.md",[],[205,21,169,206,192,24,207,208,38,116,209,210,211,212,213,214,105,106,215,216],"processes hollow technique detect","tree","memory-forensics","process-hollow","peb","runpe","image","pe-header","in memory","with","mismatched","headers"]