Episode Details
Back to Episodes
Course 14 - Wi-Fi Pentesting | Episode 2: Network Fundamentals, Wireless Adapter Setup, and Packet Sniffing Basics
Published 5 months, 1 week ago
Description
In this lesson, you’ll learn about:
- How wireless networks operate and transmit data
- Why packet sniffing is possible in Wi-Fi environments
- The role of external USB wireless adapters in security testing
- What MAC addresses are and how they function in networks
- The difference between managed mode and monitor mode
- Enabling monitor mode using airmon-ng and iwconfig
- Discovering nearby networks using Airodump-ng
- Clients (devices such as laptops and phones)
- An access point (router or server)
- The only gateway to shared resources
- The connection point to the internet
- Requests and responses
- Sent in the form of data packets
- Packets travel through the air
- Any device within range can potentially:
- Capture usernames
- Capture passwords
- Capture visited URLs
- This is what makes wireless packet sniffing possible
- Usually do NOT support:
- Monitor mode
- Packet injection
- A specialized external USB wireless adapter
- Plug in the adapter
- Attach it using:
- VirtualBox → Devices → USB
- Kali will recognize it as an interface such as:
- wlan0
- A unique physical address
- Permanently assigned to each network interface
- Used inside the local network
- Directs traffic between devices
- Source MAC
- Destination MAC
- Increasing anonymity
- Bypassing MAC filtering
- Avoiding device tracking
- The wireless card only:
- Receives packets sent to its own MAC address
- Normal internet usage mode
- The wireless card:
- Captures ALL packets in the air
- Regardless of destination
- Required for:
- Packet sniffing
- Network attacks
- Security analysis
- Stop conflicting processes:
- airmon-ng check kill
- Enable monitor mode:
- Use iwconfig or airmon-ng start wlan0
- The interface switches to monitor mode
- It can now capture every wireless packet in range
- Discover all nearby Wi-Fi networks
- Monitor traffic without connecting
- ESSID: Network name
- BSSID: Router MAC address
- PWR: Signal strength
- Channel: Wireless channel used
- Encryption: WPA, WPA2, WEP
- Cipher: Encryption algorithm
- Authentication: Access method