Author Topic: Mac address spoofing in Debian based distributions with macchanger.  (Read 2475 times)

0 Members and 5 Guests are viewing this topic.

Offline stevil

  • /dev/null
  • *
  • Posts: 12
  • Cookies: -2
    • View Profile
    • my band's site
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.


Offline Axon

  • VIP
  • King
  • *
  • Posts: 2047
  • Cookies: 319
    • View Profile
Re: Mac address spoofing in Debian based distributions with macchanger.
« Reply #1 on: 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
« Last Edit: December 30, 2013, 09:39:32 am by Axon »

Offline Phage

  • VIP
  • Overlord
  • *
  • Posts: 1280
  • Cookies: 120
    • View Profile
Re: Mac address spoofing in Debian based distributions with macchanger.
« Reply #2 on: December 30, 2013, 02:27:44 pm »
Really basic. And since then does changing your mac address change your IP?
"Ruby devs do, in fact, get all the girls. No girl wants a python, but EVERY girl wants rubies" - connection

"It always takes longer than you expect, even when you take into account Hofstadter’s Law."

Offline lucid

  • #Underground
  • Titan
  • **
  • Posts: 2683
  • Cookies: 243
  • psychonaut
    • View Profile
Re: Mac address spoofing in Debian based distributions with macchanger.
« Reply #3 on: 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 ;)
« Last Edit: December 30, 2013, 09:23:45 pm by lucid »
"Hacking is at least as much about ideas as about computers and technology. We use our skills to open doors that should never have been shut. We open these doors not only for our own benefit but for the benefit of others, too." - Brian the Hacker

Quote
15:04  @Phage : I'm bored of Python

Offline Phage

  • VIP
  • Overlord
  • *
  • Posts: 1280
  • Cookies: 120
    • View Profile
Re: Mac address spoofing in Debian based distributions with macchanger.
« Reply #4 on: 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.
"Ruby devs do, in fact, get all the girls. No girl wants a python, but EVERY girl wants rubies" - connection

"It always takes longer than you expect, even when you take into account Hofstadter’s Law."

Offline stevil

  • /dev/null
  • *
  • Posts: 12
  • Cookies: -2
    • View Profile
    • my band's site
Re: Mac address spoofing in Debian based distributions with macchanger.
« Reply #5 on: January 08, 2014, 03:02:15 am »
whelp... my bad.

Offline lucid

  • #Underground
  • Titan
  • **
  • Posts: 2683
  • Cookies: 243
  • psychonaut
    • View Profile
Re: Mac address spoofing in Debian based distributions with macchanger.
« Reply #6 on: January 08, 2014, 03:06:41 am »
No worries, keep trying.
"Hacking is at least as much about ideas as about computers and technology. We use our skills to open doors that should never have been shut. We open these doors not only for our own benefit but for the benefit of others, too." - Brian the Hacker

Quote
15:04  @Phage : I'm bored of Python