githubEdit

Wifi Enum

Enumeration

# IP addresses
ip addr
# specific interface
ip addr show eth0
ip addr show eth1
ip addr show tun0
# IPv4/6 only
ip -4 addr
ip -6 addr
# Static route
ip route

# Get the currently connected WiFi router's IP address (see the 'Default gateway' line in the output)
ipconfig

# Find any wireless devices
iw dev
# Display information of the specified device
iw dev <interface> info
# Scan wifi networks nearby the specified device
iw dev <interface> scan

# Find another computer's IP address/MAC address on the network
arp -av

# Get public IP address
curl https://api.ipify.org

Using WiGLE

If BSSIDs found, we can find the location for devices using WiGLEarrow-up-right.

To find BSSID From SSID using WiGLE:

  1. Access to WiGLE and login.

  2. Go to View → Advanced Search.

  3. Open the General Search tab.

  4. Input the SSID in the SSID/Network Name.

  5. Check the result.

Delete Network Interfaces From Your Devices

Crack WiFi Passwords

Default Router Credentials

Crack from A Packet Capture File

If we have a packet capture file (.cap or .pcap) of the WiFi network, we can crack the WiFi password using the file.

MAC Address Spoofing

First of all, you need to use network adapter which has monitor mode on your machine. Aircrack-ngarrow-up-right is a complete suite of tools to assess WiFi network security.

  1. Preparation

  2. Retrieve Client's MAC Addresses

  3. Spoof MAC Address using the Retrieved Address

  4. Confirmation

  5. Reset to the Original MAC Address

Deauthentication Attack

Reference: https://medium.com/@flytechoriginal/state-of-wifi-security-in-2024-b88091015cc2arrow-up-right

Using (Freeway)[https://github.com/FLOCK4H/Freeway], we can easily achieve this attack.

Other Useful Tools

  • Bettercaparrow-up-right

    The Swiss Army knife for 802.11, BLE, IPv4 and IPv6 networks reconnaissance and MITM attacks.

  • OUI Standardsarrow-up-right

    List of MAC OUI (Organizationally Unique Identifier). You can get the information from the BSSID.

    • Access to the OUI Standards

      If the target BSSID is "B4:5D:50:AA:86:41", search text by inputting "B4-5D-50" on the string search. Then check the information.

Last updated