Download kare aaj hi sabse best hacking apps store--Click Here

How To Change MAC Address On Kali Linux

By Admin
As  for  your  understanding  I  am  Ajay  Soni  and  I  post  lot of  article  about  kali linux but  this  time  I  publish  fress  article  that  is  how  to  change  MAC address  on  kali linux.After our previous tips and trick about how to change MAC address on Windows, now we will learn about the same topic How to Change MAC Address on Kali Linux.

Changing MAC address or we also can call it MAC address spoofing will be useful in some cases, but we will talk about it later in conclusion at the end of this article.first  you  understand  the  meaning  of  what  exactly  MAC  address.

According To Wikipedia:MAC ADDRESS

A Media  access  control address(MAC) is a  unique  identifier assigned  to  network  interface  for  communication  on  the  physical  network segment.MAC  address  are  used  as  a  network  address  for most IEEE 802 network  technologies,including Ethernet  and  wifi.Logically  mac  address  are used  in  media access  control  protocol  sub layer  of   the  osi  reference model.MAC  address are most  often  assigned  by  the  manufacturer  of  a  network interface  controller,such  as  a card's  read  only  memory  or  some  other firmware  mechanism.

What  IYour Requirement?

First and last  thing  you  need  that  is  linux terminal  

Step By Step Guide To  Change MAC Address On Kali Linux

Step:1.)  first  of  all  open  linux  terminal and  type  bellow comand
ifconfig | grep HWaddr

 How To Change MAC Address On Kali Linux

Note: when  you  exicute above  command  you will see your original MAC address,in my case my  original  MAC  address  is 08:00:27:b2:4d:4b

Step:2) for  temporary changing  our MAC  address  we need to turn off the network interface first by running bellow  command for  turn  off  the  network  interface

    ifconfig eth0 down

Step:3) after  that  you canconfigure  the  new  mac  address  by  following   bellow  cammand

    ifconfig eth0 hw ether 00:00:00:00:00:02

Note:  you can change the MAC address using this hexadecimal format XX:XX:XX:XX:XX:XX

Step:4) after  this  ,Now we can turn on the network interface again using  following  command.

    ifconfig eth0 up

Step:5) now  we  are  coming  to  last  step   we can check again our MAC whether it's change or not.

IMPORTENT : This  is  make  sure  your  changing  MAC  address  automaticlay  changed  to  orginal  when  you  restart  your  machine  if  you  want  to  change  your  mAC  address  permanently  even  you  restart  your  pc  coming  towared  my  next  article  which  is given  in  bellow  steps 

Step:6) do you   know Kali Linux was built based on Debian. In Debian all the network interface was located on /etc/network/interfaces.

Step:7) We will configure the /etc/network/interfaces. In this tutorial I will use pico text editor, but you can choose any of your favourite text editor.

    pico /etc/network/interfaces

Step:8) Now we will add one line of script to change our MAC address permanently

    pre-up ifconfig eth0 hw ether 00:00:00:00:00:02

Note: This script will be called on system startup.

Step:9) If we want to restore the default MAC address, just add the # sign in front of script in Step 8.

    #pre-up ifconfig eth0 hw ether 00:00:00:00:00:02

if  you  like  this  article  please  share  it  , I hope  you  enjoy it.