PISA Pakistan β€” Community CERT

← βš™οΈ SOC Analyst Foundations

48. Wireless Network Security Monitoring: Detecting Rogue APs, Evil Twin Attacks, and Wi-Fi-Based Intrusions

⏱ 9 min

Introduction

Pakistani SOC teams often focus almost exclusively on wired network monitoring, leaving a significant blind spot in wireless perimeters. Corporate Wi-Fi networks, guest hotspots, and the explosion of personal devices connecting to office networks create attack surfaces that are routinely exploited. Rogue access points (APs), evil twin attacks, and Wi-Fi cracking campaigns have been used to intercept credentials, inject malware, and pivot into corporate networks.

This lesson equips SOC analysts with practical techniques to monitor wireless environments, detect unauthorized access points, and respond to Wi-Fi-based intrusions using tools like Wireshark, Kismet, Aircrack-ng, and enterprise wireless controllers.

Understanding Wireless Threats in Pakistani Organizations

Threat actors targeting Pakistani entities use wireless vectors for several reasons:

  • Physical proximity required: Attackers position themselves near offices to broadcast strong Wi-Fi signals, especially in dense urban areas like Gulberg, DHA Lahore, and Clifton, Karachi.
  • Bypassing perimeter security: Traffic from a rogue AP to the corporate network can tunnel through WPA-encrypted links, evading firewall rules.
  • Credential harvesting: Open Wi-Fi networks or WPA2 handshake captures enable offline password cracking.

Common attack patterns mapped to MITRE ATT&CK:

  • T1562.008: Disabling wireless networking to disrupt defenses.
  • T1556.003: Modifying authentication mechanisms via rogue AP.
  • T1040: Network sniffing to capture WPA handshakes.
  • T1557.001: Adversary-in-the-Middle via evil twin.

Detecting Rogue Access Points

Rogue access points are unauthorized wireless transmitters broadcasting within your organization's physical perimeter. They can be:

  • Malicious: Attacker-placed APs designed to capture credentials or intercept traffic.
  • Misconfigured: Employee-connected personal routers or mobile hotspots creating unintended bridges to the corporate network.

Detection approach:

  1. Wireless Intrusion Detection System (WIDS): Deploy Kismet or commercial WIDS solutions (Aruba ClearPass, Cisco CleanAir) to passively monitor all 802.11 traffic in your facilities.
# Start Kismet in monitor mode
sudo kismet -c wlan0
  1. Wireless controller alerts: If you manage enterprise APs (Ubiquiti, MikroTik, TP-Link Omada), configure alerts for:

    • New SSIDs appearing within coverage areas.
    • Unassociated clients (wireless clients not connected to your authorized SSIDs but present in the RF environment).
    • APs with mismatched BSSIDs attempting to join your SSID.
  2. SIEM correlation: Forward WIDS events to your SIEM. Create detection rules for:

    • SSIDs matching competitor names or common phishing terms (e.g., "Free WiFi", "Office-5G", "FBR_Portal").
    • APs broadcasting on non-approved channels.
    • Sudden increases in broadcast SSID count in specific geographic zones.

Evil Twin Attack Detection

An evil twin attack occurs when an attacker spoofs a legitimate SSID to trick users into connecting. Detection requires analyzing client behavior and AP beacon frames:

  • Signal strength anomalies: A single SSID broadcasting from multiple locations at drastically different signal strengths.
  • Channel hopping patterns: Legitimate APs maintain fixed channels; evil twins may hop channels.
  • Disassociation floods: Attackers send de-authentication packets to force clients to reconnect to the rogue AP.

Use Wireshark to analyze 802.11 traffic captured in monitor mode:

# Capture WPA handshake from a target AP
sudo airmon-ng start wlan0
sudo airodump-ng wlan0mon --channel 6 --bssid AA:BB:CC:DD:EE:FF -w capture

Look for:

  • Deauthentication frames sent to all clients (frame type 0x00, subtype 0x0C) β€” a hallmark of evil twin setup.
  • Repeated Probe Requests from the same client to different APs sharing an SSID.
  • Duplicate SSIDs with different BSSIDs and conflicting security configurations (e.g., one open, one WPA2).

Responding to a Wireless Intrusion

When a rogue AP or evil twin is confirmed:

  1. Locate the source: Use a wireless spectrum analyzer (e.g., Ekahau, WiFi Explorer) to triangulate the rogue AP's physical location.
  2. Disable the rogue AP: If physically accessible, unplug it. If it is connected to your network segment, block its MAC address at the switch.
  3. Alert affected users: Notify users who may have connected to the rogue SSID to change their credentials immediately.
  4. Strengthen WPA3 enforcement: Disable WPA2-only APs, enforce WPA3-Enterprise with certificate-based authentication.
  5. Monitor for credential misuse: SIEM alerts for authentication attempts using credentials potentially captured via the evil twin.

Pakistan-Specific Wireless Threats

Public Wi-Fi scams are rampant in Pakistan, particularly in markets, cafes, and university campuses. Attackers broadcast "Free WiFi" networks that capture all traffic. SOC analysts should:

  • Educate employees about the risks of connecting to open Wi-Fi networks for corporate access.
  • Enforce VPN mandatory for all corporate connectivity from non-office networks.
  • Monitor for employees connecting personal devices to office Wi-Fi using unauthorized SSIDs (a common vector for bypassing network access control).

The PTA regulates wireless spectrum usage in Pakistan. Coordinated malicious AP campaigns affecting large areas should be reported to PTA's frequency management division, with documentation from your WIDS.

Takeaway

This week, walk through your office building with a wireless analyzer (even a smartphone app like WiFi Analyzer works for a basic sweep) and identify every SSID you can detect. Compare it against your authorized wireless infrastructure list. Any unexpected SSIDs warrant investigation β€” they could be rogue APs planted by an attacker. Additionally, confirm that your organization's wireless policy mandates WPA3-Enterprise for corporate access and that VPN is required for any remote wireless connectivity. In a Pakistani context where many employees work from home or use shared spaces, the wireless perimeter is your first line of defense β€” and often your most overlooked one.

← PrevNext β†’