0% found this document useful (0 votes)
5 views

Linux

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Linux

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Spoofing Your MAC Address

You can also use ifconfig to change your MAC address (or HWaddr). The MAC address is

globally unique and is often used as a security measure to keep hackers out of networks

—or to trace them. Changing your MAC address to spoof a different MAC address is

almost trivial and neutralizes those security measures. Thus, it’s a very useful technique

for bypassing network access controls.

To spoof your MAC address, simply use the ifconfig command’s down option to take

down the interface (eth0 in this case). Then enter the ifconfig command followed by the

interface name (hw for hardware, ether for Ethernet) and the new spoofed MAC address.

Finally, bring the interface back up with the up option for the change to take place.

Here’s an example:

kali >ifconfig eth0 down

kali >ifconfig eth0 hw ether 00:11:22:33:44:55

kali >ifconfig eth0 up

Now, when you check your settings with ifconfig, you should see that HWaddr has changed

to your new spoofed IP address!

The DHCP

server assigns IP addresses to all the systems on the subnet and keeps log files of which

IP address is allocated to which machine at any one time. This makes it a great resource

for forensic analysts to trace hackers with after an attack

You might also like