Android To Android Hack Over Wifi Mac Or Ip Address

BaseColumns; CalendarContract.AttendeesColumns; CalendarContract.CalendarAlertsColumns; CalendarContract.CalendarCacheColumns; CalendarContract.CalendarColumns. Aug 26, 2019 Disclaimer: Please be aware that hacking is illegal unless you have permission from the account owner and the parties involved to do pentest. This post should be used as a tool to help people understand how hackers are hacking android devices with tools like spy note.

  1. Android To Android Hack Over Wifi Mac Or Ip Address Finder
  2. Android To Android Hack Over Wifi Mac Or Ip Address Ip
  3. Android To Android Hack Over Wifi Mac Or Ip Address Password

Many Android client/server apps that need to connect with a computer over a Wi-Fi usually ask you to enter the IP or MAC address to make the connection. Finding out the IP address of your computer but doing it the other way round, meaning finding it out for your Android device is a bit tricky.

Today I will show you the steps to reveal MAC and IP address of your Android phone. Let’s have a quick look.

MAC Address

As MAC address of a device is unique, it does not depend upon the Wi-Fi network you are connected to. Head over to Android Settings—>About—>Hardware Information and look for W-Fi MAC address.

You will see your device Wi-Fi MAC address displayed there.

IP Address

IP address of Android depends on the Wi-Fi network you are connected to and changes from network to network. Thus you will first need to connect to the network you want to know the IP address for and then open your Android Wi-Fi Settings.

Now from the list of all the Wi-Fi networks, tap on the one which you are connected to and open the connection status information pop-up. The pop-up will show you specific information about the connection like signal strength, link speed, security and IP Address (the one we are looking for).

I guess that answers all the doubts regarding Android’s Wi-Fi IP and MAC address. Let us know if you have any questions, in the comments.


The above article may contain affiliate links which help support Guiding Tech. However, it does not affect our editorial integrity. The content remains unbiased and authentic.

Read Next

How to Find MAC, IP, and DNS Address on Windows 10

Check out how to find the MAC address,

Android

by hash3liZer . 12 April 2018

The usage statistics of the android platform has been significantly increased over the last decade and it's rather crucial to discuss how well it have passed the stages of security in terms of trojans and the most competing viruses of today.

Just as the windows platform can be compromised if necessary precautions are not taken, the same could be said for the android. Over the years various practices have been taken into account to circumvent these security policies of android platform and metasploit being one of those.

Metasploit

An exceptional powerful tool named metasploit is basically a tool written in ruby and is quite handy at being used as a secondary command line interface. It provide access to diverse modules, each with an intended task to perform, and are further categorized into sub-modules.

Metasploit is famous among the researchers because of it's handy interface and the large database of exploits that it offers.

Everyday or week, when a new severe vulnerability gets discovered, the developers of metasploit would publish it publicly on the ExploitDB platform. Read more about gaining access to multiple platforms with shellpop:

Setup a remote Backdoor on Windows/Linux for system access.

Anti-Virus Softwares and the Firewalls are very well acquainted with metasploit payload signatures and how it obfuscates the payload which is to gain the backdoor access.

So, the AV detects the virus and move it away instead of letting it execute. Hence, being a strong guarding agent in the way of metasploit.

Android To Android Hack Over Wifi Mac Or Ip Address Finder

Let's see how we can gain access to an android smartphone with metasploit:

STEP 1

Preparing Metasploit

Open the console (terminal). Check the weekly updates and make changes to metasploit if necessary or if any new modules are detected. Doing so will keep you informed of newly added modules and exploits.

After that, start postgresql database service. Metasploit uses postgresql as the storage database. This will enable us to quickly navigate and search through metasploit modules, preventing the slow search issue that wastes time while systematizing the output.

Android To Android Hack Over Wifi Mac Or Ip Address

Enabling the postgresql will start it everytime the system boots. Now, there's no need to perform this step, next time, metasploit is going to flash.

Type msfconsole in terminal and press [Enter]. It will take a few seconds to bring the interface up to its fully functional state.

STEP 2

Choose the exploit

Search for an appropriate exploit for target OS using search command. Our target is an android smartphone. So, the query for an Android could be like:

It will list the exploits available for android platform. You can get help on metasploit commands by typing help followed by a space with command name such as help search. It will print the manual for search command. Here's the output for android exploit search:

Android To Android Hack Over Wifi Mac Or Ip Address Ip

From the given list of exploits as shown in the image, we will use the generic exploit as highlighted. Now, to use the exploit, enter this command:

There is a set of payloads given for every single exploit. These payloads are actually the exploit modules that provides a backbone environment for transferring and executing commands on target window. Different payloads are used according to the given scenario and by guessing how much working space of target is required. Well, to show the payloads given for an exploit. Type in:

From the given set of payloads, we will use android/meterpreter/reverse_tcp. It's a great versatile payload to get started with. It will bring us a meterpreter session if payload executes unspotted. This meterpreter payload presents a handful list of directives which are useful enough to wholly compromise the target system.

At this point we need to know the basic difference between reverse and bind payloads. Bind payload will let you open a connection on the target system while the reverse payload would open a listening connection on the target machine, making it the host.

For the quick info, bind payloads are more useful when the target is a server or a device which is directly connected to internet and have a static IP. Reverse payloads are rather more adopted because of the nature of it's working.

Because most of the computers are behind NATon the internet, it's most likely that the bind payload is not going to work in this situation. Set the payload :

STEP 3

Set Options

Android To Android Hack Over Wifi Mac Or Ip Address

Attain the information of exploit using info command. This is the key step to get an idea, how actually the exploit works. It will give you the background information like what could be the possible targets and what the core of vulnerability is.

At this point, we know the working of exploit. Now, we have to setup the options for our exploit which are LHOST for local address of attacker and LPORT for the local port to use. To find local IP address type.

So, my local IP is 192.168.1.10. Set LHOST and LPORT

Make sure that both of the paramters are correctly modified.

STEP 4

Run the Exploit

Android to android hack over wifi mac or ip address ip

Run the exploit as a job. The exploit will execute in the background and will notify you whenever the payload executes on the target system. Afterward, we will use sessions command to launch (target) session.

STEP 5

IP Forwarding

Find the Gateway IP of your Network and navigate to that IP through a web browser and login. Type:

Now, open a web browser and login to Router administrative Page.

After successful login, enable the port 777 so that firewall allows the client and attacker machines to forward and receive traffic. You probably don't know how to forward a port on your router. For doing so, go to PortForward.com, search for your router company and model and follow the instructions for your router.

STEP 6

Generate (Infected) Application

Android To Android Hack Over Wifi Mac Or Ip Address Password

Mac

For generating the infected (payload) application with extension .apk, we will use msfvenom, native payload generator of Metasploit framework. Open a new console (terminal) and generate a Simple Payload Application for android.

PARAMETER BREAKDOWN

  • -p: payload to use
  • --platform: Target Platform
  • -o: Path to place the infected file
  • LHOST: Public IP of attacker (local) Machine
  • LPORT: Public Port of attacker (local) Machine

STEP 7

Own the target

Now, as soon the spawned apk file will be installed on an android Operating System (target). Metasploit terminal which we have left open will bring us a live target session. List the available sessions:

Now, to interact with a session. Just type in the session identifier (ID) after the sessions directive. It will take you to the meterpreter shell.

Meterpreter session will be launched. Type help command. It will list a handful of commands from getting system info to starting live Chat.

Ignore meterpreter > . Its just there to indicate that its a meteterpreter session.

Lets try the shell command. It will bring us the terminal or cmd (if windows) of target system. Try to execute a command.

Conclusion

Android is the most widely adopted Operating System, making it the most famous platform even decisivly leaving windows behind and on the verge of security policies. Just like other platforms, android can be compromised with a few considerations in mind and metasploit can help us being one of those. However, one moust note that the security in terms of android as compared to windows is usually considered more secure and liable to rely on.