Sniffing & Spoofing
macchanger is a utility for viewing and manipulating the MAC address of network interfaces. Useful for network anonymity and bypassing MAC filtering.
sudo apt install macchanger
macchanger [options] <interface>
macchanger is a utility for viewing and manipulating MAC addresses of network interfaces. It allows you to spoof, randomize, or restore hardware addresses for network anonymity, MAC filtering bypass, and security testing.
The tool supports random MAC generation, vendor-specific MAC selection, and permanent MAC restoration. Changes are temporary and revert on reboot unless configured in startup scripts.
macchanger --helpDisplay the summary of all available optionsmacchanger --versionShow the installed macchanger versionmacchanger -s eth0Show the current and permanent MAC address of eth0macchanger --show wlan0Print the current MAC of wlan0 without changing itmacchanger -r eth0Assign a fully random MAC address to eth0macchanger --random wlan0Set a completely random MAC on wlan0macchanger -a eth0Set a random MAC keeping the same vendor kindmacchanger -A wlan0Set a random vendor MAC of any kindmacchanger -e eth0Randomize only the last bytes, keeping the vendor prefixmacchanger --ending wlan0Change device bytes but leave the vendor bytes unchangedmacchanger -p eth0Restore the original permanent hardware MAC of eth0macchanger --permanent wlan0Reset wlan0 back to its burned-in hardware MACmacchanger -m 00:11:22:33:44:55 eth0Set eth0 to a specific chosen MAC addressmacchanger --mac=00:11:22:33:44:55 wlan0Assign an exact MAC using the long-form optionmacchanger -lList all known hardware vendors and OUI prefixesmacchanger -l | grep -i ciscoFilter the vendor list for Cisco OUI entriesmacchanger --list=appleList known vendors matching the keyword applemacchanger -b -r wlan0Random MAC that mimics a burned-in address (BIA)macchanger --bia --random eth0Random MAC without setting the locally-administered bitifconfig eth0 downBring interface down before changing its MACifconfig eth0 upBring interface back up after the MAC changeip link set dev wlan0 downDisable wlan0 with iproute2 prior to spoofingip link set dev wlan0 upRe-enable wlan0 after applying the new MACifconfig eth0 down && macchanger -r eth0 && ifconfig eth0 upFull one-liner to spoof a random MAC on eth0systemctl stop NetworkManagerStop NetworkManager so it will not revert the spoofed MACSpoof an authorized device's MAC address to bypass MAC-based access controls.
Change your MAC address to prevent tracking on public WiFi networks.
Verify that MAC filtering provides meaningful security benefit.
Sniffing & Spoofing
Ettercap is a comprehensive suite for man-in-the-middle attacks. It features sniffing of live connections, content filtering, and active or passive dissection of many protocols.
Wireless Attacks
Aircrack-ng is a complete suite of tools to assess WiFi network security. It focuses on different areas of WiFi security: monitoring, attacking, testing, and cracking.
Information Gathering
Learn how to use Nmap, the free open-source network scanner: run your first port scan, discover live hosts, detect services and operating systems, and check for vulnerabilities with NSE scripts — a beginner tutorial for Kali Linux.
Sniffing & Spoofing
arpspoof redirects packets from a target host on the LAN to another host by forging ARP replies. It is a simple and effective utility part of the dsniff suite.
Sniffing & Spoofing
Bettercap is a powerful, flexible network attack and monitoring framework. It is the complete modular successor to ettercap, offering wide-ranging capabilities for WiFi, Bluetooth, and IP network security auditing.
Sniffing & Spoofing
mitmproxy is an interactive, SSL/TLS-capable intercepting HTTP proxy. It allows users to inspect, modify, and replay web traffic flowing through an application layer proxy.
Master Wireshark for network traffic capture, protocol analysis, filtering, and troubleshooting with practical examples.
Networking · IntermediateLearn firewall types, architectures, rule configuration, and best practices for network security and traffic filtering.
Wireless Security · AdvancedA comprehensive guide to the Aircrack-ng suite for wireless security testing including monitor mode, packet capture, deauthentication attacks, WPA/WPA2 cracking, and WEP analysis.
Networking · IntermediateAn in-depth exploration of DNS architecture, resolution process, record types, caching, security threats, and privacy protocols like DoH and DoT.
Displays the original factory address alongside the newly applied temporary address.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.