1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question For OSX'ers

Discussion in 'BlackHat Lounge' started by FreeTheTV, Sep 15, 2009.

  1. FreeTheTV

    FreeTheTV BANNED BANNED

    Joined:
    Mar 1, 2009
    Messages:
    561
    Likes Received:
    1,198
    Hey guys, is there any way fr me to change my MAC address? I want to download some torrents from Demonoid and TheVault but I can't on this college connection. However, a different MAC address would let me. Any awesome answer, and there's a nice treat in store. Thanks,

    FREE
     
  2. FreeTheTV

    FreeTheTV BANNED BANNED

    Joined:
    Mar 1, 2009
    Messages:
    561
    Likes Received:
    1,198
    Fixed that problem once and for all. My PM box is now open.
     
  3. cskgsquad

    cskgsquad Registered Member

    Joined:
    Oct 8, 2008
    Messages:
    80
    Likes Received:
    29
    Here's a simple way to do it:

    1. Retrieving your current MAC address

    First, you're going to want your current wireless MAC address so you can set it back without rebooting. Launch the Terminal and type the following command:

    Code:
    ifconfig en1 | grep ether
    You'll know see something like:
    And the values after ‘ether' makeup your current MAC address. Write this down somewhere so you don't forget it. If you do, it's not the end of the world, you'll just have to reboot to reset it from a change.

    2. Spoofing a MAC address

    **DO NOT TURN AIRPORT OFF** What you will have to do is click your airport and click join network and enter some bogus name as the network ssid. Then while it's trying to connect click cancel. At this point you may spoof using the sudo ifconfig en1 ether command.

    To spoof your MAC address, you simply set that value returned from ifconfig to another hex value in the format of aa:bb:cc:dd:ee:ff

    For this example, we will set our wireless MAC address to 00:e2:e3:e4:e5:e6 by issuing the following command:

    Code:
    sudo ifconfig en1 ether 00:e2:e3:e4:e5:e6
    The sudo command will require that you enter your root password to make the change.

    3. Verifying the Spoofed MAC address worked

    If you want to check that the spoof worked, type the same command as earlier:

    Code:
    ifconfig en1 | grep ether
    Now you will see:
    Meaning your MAC address is now the value you set it to. If you want to further verify the spoof, simply login to your wireless router and look at the ‘available devices' (or attached devices) list, and your spoofed MAC address will be part of that list.

    If you want to set your MAC address back to its real value, simply issue the above ifconfig commands with the MAC address that you retrieved in step 1. You can also reboot your Mac.

    Enjoy!
     
    Last edited: Sep 15, 2009