Change your NIC MAC-address

Sometimes you just want to change your MAC-address (For example to get new IP-address from DHCP server).
If you have luck you can change your MAC-address just with:
[cc lang=”bash”]sudo ifconfig wifi0 down hw ether 00:11:22:33:44:55[/cc]

but with my EeePC that didn’t work so I had to use software called MacChanger.

First we check what is my MAC-address right now:
[cc lang=”bash”]
whig@scriptkiddie:~$ ifconfig wifi0
wifi0 Link encap:UNSPEC HWaddr 00-15-AF-**-**-**-E0-E3-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:242 errors:0 dropped:0 overruns:0 frame:57
TX packets:195 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:280
RX bytes:26977 (26.3 KB) TX bytes:8970 (8.7 KB)
Interrupt:10
[/cc]

Then we just give two simple command:
[cc lang=”bash”]
whig@scriptkiddie:~$ sudo ifconfig wifi0 down
whig@scriptkiddie:~$ sudo macchanger wifi0 -m 00:11:22:33:44:55
Current MAC: 00:15:af:**:**:** (unknown)
Faked MAC: 00:11:22:33:44:55 (Cimsys Inc)
[/cc]

And then we check my MAC-address again:

[cc lang=”bash”]
whig@scriptkiddie:~$ ifconfig wifi0
wifi0 Link encap:UNSPEC HWaddr 00-11-22-33-44-55-E0-E3-00-00-00-00-00-00-00-00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:428 errors:0 dropped:0 overruns:0 frame:97
TX packets:219 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:280
RX bytes:42459 (41.4 KB) TX bytes:10074 (9.8 KB)
Interrupt:10
[/cc]

and as we can see my MAC-address has changed.

[warning]As you see it’s so easy to change your MAC-address that using MAC-filtter on your wireless network is pretty useless.[/warning]

2 comments to Change your NIC MAC-address

  • brodie7838

    I like Technitium MAC Address Changer if you’re on a Windows box, though it’s super easy to change the MAC in the NIC properties without any additional software, or even CLI.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>