EvilZone

Hacking and Security => Anonymity and Privacy => : stevil December 30, 2013, 08:20:06 AM

: Mac address spoofing in Debian based distributions with macchanger.
: stevil December 30, 2013, 08:20:06 AM
I noticed there didn't seem to be a topic directly covering how to use macchanger to spoof your ip. I'm sure all of you know this already, but for the sake of contributing content, and for the less adept user, here are the precise commands you need to use.
Open a terminal window, and install macchanger with sudo apt-get install macchanger

Perform a basic ifconfig to learn your current mac address.



sudo ifconfig wlan0 down
(shuts down networking service)
sudo macchanger -r wlan0
(generates random mac address)
OR
sudo macchanger -m 00:11:22:33:44:55 wlan0
(generates specific mac address)
sudo ifconfig wlan0 up
(restarts networking service)
ifconfig
(view new mac address)


If you are successful, enjoy your success. Note this doesn't make you completely anonymous, but it's among the precautions you should be aware of.

: Re: Mac address spoofing in Debian based distributions with macchanger.
: Axon December 30, 2013, 09:39:02 AM
No offense but this is common knowledge and can be found in many websites?

For random mac address

macchanger -r network interface
: Re: Mac address spoofing in Debian based distributions with macchanger.
: Phage December 30, 2013, 02:27:44 PM
Really basic. And since then does changing your mac address change your IP?
: Re: Mac address spoofing in Debian based distributions with macchanger.
: lucid December 30, 2013, 09:23:20 PM
And since then does changing your mac address change your IP?
It'll change the IP assigned to you by DHCP on your private network, not your public one though. MAC address spoofing is only useful security wise on your local net. Not to say that it isn't useful.

@OP - It's good that you're trying to contribute, but MAC spoofing has already been posted numerous times on the forum. I also covered MAC spoofing in a tutorial I wrote some time ago: http://evilzone.org/anonymity/the-art-of-anonymity-9178/. It covers MAC spoofing in a couple different methods as well as spoofing your MAC on startup. For systemd users I wrote a tutorial here: http://evilzone.org/tutorials/mac-spoofing-with-systemd/.

Don't feel bad though and have a cookie for the effort. Just remember to search the forum a little more before posting tuts ;)
: Re: Mac address spoofing in Debian based distributions with macchanger.
: Phage December 30, 2013, 10:03:32 PM
Exactly, and tbh if you're at home, I don't really see the need of spoofing your local IP address.
: Re: Mac address spoofing in Debian based distributions with macchanger.
: stevil January 08, 2014, 03:02:15 AM
whelp... my bad.
: Re: Mac address spoofing in Debian based distributions with macchanger.
: lucid January 08, 2014, 03:06:41 AM
No worries, keep trying.