Hi friends, welcome to changing Mac address section.
In this section we are going to learn how we can change Mac address for a device or a computer.
Okay.
And then we will learn how to create our program okay.
Python program that these program changes Mac address.
So before we start we need to know what is a mac address okay a mac address is a it is a physical address
okay.
Mac address stands for Media Access Control.
And it is a physical, permanent and completely unique for each devices that is assigned by its manufacturer.
Okay.
For example, this computer that I have right now and I'm using it, it has a mac address.
It has something that is completely unique in this world.
No other devices has that kind of Mac address.
Okay.
And.
Uh, what is it used for?
okay.
It is used for transferring the packets from one device to another.
Devices from one computer to another computer.
Okay.
While packets, you may ask, what is packet?
Okay.
The packet is the data that we are sending from one computer to another computer.
So this packet that we send, it has a source Mac address and a destination Mac address.
Okay.
These both are unique for each devices.
And this both are completely unique.
And it is transferring the data or those packets that is sent to network.
And why should we change it okay.
Because in this section we are going to learn change it to change it.
And why should we change it.
Is it really necessary to change it in hacking world or in hacking area?
Yes, of course it is necessary because it increase being anonymity.
Okay.
Being anonymous, and it is used in a lot of a lot of places.
Okay.
That we will be discussing them later on.
And here I'm going to just name them.
Okay.
For example there are some kind of filter.
Okay.
Mac address filtering that it is they are telling for example on a Wi-Fi network, the administrator
telling that only the devices could connect to this network that has a specific Mac address.
So if you change your Mac address to their Mac address okay.
So you will be able to change to connect to that network too.
So we can bypass the Mac address filtering by changing the Mac address.
And it could hide your identity.
Okay.
So also let's go and see how we can change it from tools that is already into Kali Linux.
Okay.
And then we will be learning how to create our own tools to change it.
So let me show you the Mac address first in Kali Linux, if you write ifconfig and hit enter here you
have two things okay.
One of them is eth0.
And then we have low.
Now, right now forget about this okay.
It is a network that is created by Kali Linux.
And this one it is a wired network that is created is virtual network okay.
Right now that is created by virtual machine or VirtualBox.
And right here you see that we have an IP okay.
That is here.
Each network needs to have an IP okay.
This belongs to an interface which which its name is eth0 okay.
And it has a mac address which is either okay and this is its Mac address okay.
This Mac address needs to be 12 character all the time And right now you see, this is the Mac address
for this Linux computer that VirtualBox provided for this computer.
Okay.
And if you're trying to find it on windows you need to write IP config.
Okay.
On windows.
And now if I hit enter it is not going to understand it because it's a command for windows.
And I'm using Linux.
So how can we change it.
First we need to turn off this interface which is zero.
No problem if you're using eth0 or LAN.
Okay.
So let's use ifconfig eth0 which is the name of the interface.
If you want to use other interface then you can use the name of that interface okay.
So let's use down and hit enter.
And it is saying that operation not permitted.
Okay.
Why.
Because I'm not a super user.
Let's use sudo ifconfig.
fake.
It a zero down.
Hit enter.
Provide the password.
Now we have no error.
That means now the eth0 is down.
And you see that notification right here.
And now if you want to change it, you need to use ifconfig.
Okay then name of the interface.
And then write h w then ether that is here okay either and then provide a new Mac address.
Okay.
So let's go with zero zero okay 001.
One one and 223344.
And finally five five.
Make sure that it is 12 character.
Okay.
Now I'm going to hit enter.
And again it's going to be sudo.
And now hit enter.
Now I think it is going to going to be changed.
And there is one more thing you need to do, and that is to turn on the this interface again.
So again we're going to use sudo ifconfig.
Okay.
And it is zero app.
Okay.
Now it is done.
And you see that the network is up now.
Now if I use ifconfig and hit enter this time you see that we have this Mac address.
Why.
Because I changed it.
Okay.
And right here, up here, if I show you you see that we had something else.
And now we have this one.
Okay.
So it is how you can change it using a tool that is already provided in Kali Linux.
And in this section we are going to create our own program to change the Mac address for device using
Python programming language.
So let's go and see that.
Okay.
See you in the next video.