macchanger

View and spoof network MAC addresses.

KaliParrotLinuxlow

pkg: macchanger

macchanger changes an interface’s MAC for anonymity or to bypass MAC filtering.

Syntax

macchanger -r {iface}

Example

macchanger -r eth0

Assigns a random MAC to the interface (bring it down first).

Options & flags

What each switch does. Toggle them in the builder below to assemble a command.

-rSet a fully random MAC.
-aRandom MAC of the same vendor.
-m <00:11:22:33:44:55>Set a specific MAC.
-pReset to the permanent hardware MAC.
-sShow the current MAC.

Command builder

Tick options (and fill any values) to build a ready-to-copy command.

macchanger

Usage examples

macchanger -r eth0

Assign a random MAC (bring iface down first).

macchanger -p eth0

Restore the original MAC.

Advantages
  • Quick MAC spoofing
  • Random/vendor modes
Disadvantages
  • Doesn’t survive reboot by default
  • Detectable on managed nets
Tags
#mac#anonymity

Official docs: macchanger

Frequently asked questions

What is macchanger used for?
macchanger changes an interface’s MAC for anonymity or to bypass MAC filtering.
What is an example macchanger command?
A common example is: macchanger -r eth0 — Assigns a random MAC to the interface (bring it down first).
Is macchanger part of Kali Linux?
Yes. macchanger ships with Kali Linux (and Parrot OS). If missing, install it with: sudo apt install macchanger.
What category of security tool is macchanger?
macchanger is a Sniffing & Spoofing tool with a low-risk profile when run against a live target.

Try recon tools live

Run real scans against a domain you control, stage by stage.

Open the lab →