Spoofing MAC address! (I be very bad)


The cable-net connection I am using as a backup link is different from the mass of desi cable networks available across the city. All I have to do to reach out to the byte world is plug in the patch cable, wait for the DHCP client to request a lease, and that’s it. There are no proxy or any otherwise preposterous settings required. Best of it all, almost everything (almost everything because I’ve yet to bump into something that isn’t) is open and available to me. I can surf, download, IM, open remote terminal and shell sessions, download torrents and access P2P networks, etc. The only major drawback is the single patch cable connection which makes difficult sharing the connection among other systems at home. Also, this particular cable-net vendor relies heavily on MAC filtering to maintain law, order, and control, so, for example, when you plug in the patch cable into your laptop at night, you don’t get allowed access to get to the Internet. Apparently, you have to pay an extra one-time fee to associate another MAC address with your connection. For people who hop from one system to another in the course of their day, such as myself, that can be an annoyance. And when there’s annoyance, there is someone bending the rules.

For all Windows lovers out there, Macshift and Mac MakeUp are two excellent, simple utilities that can be used to spoof MAC addresses of Ethernet cards. They require no special knowledge to use save for knowing which MAC address to spoof. MAC address is explained here.

Linux users ought to consider themselves lucky. The innate “ifconfig” command-line utility natively support MAC address modification (based on the underlying device driver’s support of the same feature for the given Ethernet card). Refer to the man page for ifconfig(8). In particular, the “hw‘ switch to “ifconfig” is the magic argument.

On Slackware, I’ve /etc/rc.d/rc.local set to partially bring up the eth0 Ethernet interface with a modified MAC address (which, for purposes of this post, has been masked to look xxyyzzaabbdd):

ayaz@dante$ tail -4 /etc/rc.d/rc.local
# Drop eth0 and load it with an alternate MAC address.
/sbin/ifconfig eth0 down
/sbin/ifconfig eth0 hw ether xxyyzzaabbdd up

All, then, I have to do when I log into the console is issue as root the “dhclient eth0” command to invoke the DHCP client to fetch a lease.

8 thoughts on “Spoofing MAC address! (I be very bad)

  1. Karachi Cable networks rules :P
    \m/

    Between for windows i dont use any software

    In the Network Connection configuration
    Click -> Configure -> Advanced -> Network Address- > Check on value and put in the vaule of mac you want.. and this is it.

    There is another freeware tool for mac spoofing for windows TMAC which i pretty cool as well .

  2. Thanks for the tip.

    However, before looking for third-party tools to alter MAC address, I looked good and hard everywhere for something built-in that could allow changing of MAC address, but didn’t find any. I am on Vista. I looked again just now, and as far as Vista is concerned at least, I can’t find that feature.

  3. get a router it can copy the mac address of your one copmuter and the rest have internet at the same time of the one with out any software or extra costs

  4. Hello roman@wlan:

    No. Your ethernet or WiFi card or device has a MAC address associated with it. Unless you change either of those, the MAC address your computer reports won’t change.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s