In hacking very important thing is to be untraceable. To be able to hack something is nothing without hiding your identity. For example, imagine that you hacked someone’s wifi and did not hide your identity, in a few days police will analysis wifi router and there will be your computer information and finally they will find you and throw you into prison. So very important part of the entire hacking is to hide identity and make the hack untraceable. In this chapter, you going to learn about how to be anonymous, hide your identity, and how become fully untraceable. So let us start with What is MAC Address and how to change the MAC addresses.
What is the MAC?
A MAC address (media access control address) is a unique identifier assigned to network interfaces for communications on the physical network segment. Every computer device or smartphone has a different MAC address. The MAC address is a built-in computer device when it is created. When the computer starts, the operating system reads from a hardware device. When you are connected to the wireless network, it sends packets to you, and then your computer converts this information to websites, movies, and images.
Imagine that two computers are connected to the wireless network, the first computer wants the website google.com, and the second computer wants amazon.com, network sends packets to these computers, but how do these computers know what packets to ignore and what packets to receive? Computers identify packets to receive or ignore by MAC address, when the network is sending the packet to a computer, it also writes in the packet the MAC address of the computer it is sending. that is the way how wireless networks and computers are connecting each other. So, if you do not change your IP and hack someone’s wireless network, you let them investigate what you are identified by analyzing network history.
How to hide your MAC address?
You may think that how you can change the MAC address if the computer reads it from hardware. You are not going to make modifications to hardware, you going to change RAM. When the computer starts, the MAC address loads in RAM, and we going to change the already loaded MAC address. So, when you change your MAC address police will find your fake MAC address and they will not be able to trace hackers. Now you have basic information about what is MAC address, the dangers of hacking without changing your MAC address, how police can trace you, and how we can change it.
Change MAC address by Kali
Kali has already installed a program called “macchanger” which lets us change the loaded MAC address in RAM. Open VirtualBox, start the kali virtual machine and open the terminal. We need to stop our wireless card to change the MAC address. Type in “ifconfig wlan0 down”. The ifconfig is a program, wlan0 is our wireless card and the down is action what we want to do. So, this command will stop every wireless service. it is necessary to stop the network card before changing the MAC address. Then type in the following command “macchanger –help”.This command tells Kali to call macchanger and show help. There are program usage instructions. In my case, I will use a random MAC address by entering “macchanger –random wlan0”. macchanger is the program name –random is an option and wlan0 is a wireless card. If everything is correct the screen should look like this:
It shows you what was the permanent (built-in in network card) MAC address and its corporation in brackets, and down it shows that there is a new MAC address that does not have a corporation. So, now we already changed the mac address and we need to hack into anyone’s network. But you are not ready for that now, because you do not know what is monitor mode and how to use it. In the next chapter, you will learn what monitor mode is and how to use it with Kali Linux.