This is a simple tips and trick how to detect other computer in your network in 3 steps.
This tutorial was made under Windows operating system.
If your computer connected to a Local Area Connection, actually you can view other computer state whether they are active or not by expanding the Network icon in the windows explorer. Usually you will see some computer name like FATHER-PC, BROTHER-PC, SISTER-PC, and so on.
The other computer or your computer can be detected in a local area network because they activate the Network Discovery option in Network and sharing center. This network discovery option usually you need to activate it because you want to share a file, printer, or any activity that you need to share your resource with others.
This tips and trick actually work on layer 2 and 3 OSI layer, because we will use ARP or Address Resolution Protocol. If you read the documentation about Address Resolution Protocol, you will know that MAC address work on layer 2 and IP address work on layer 3.
Okay maybe if I write all the theory I will change the title of this tips and trick to OSI model layer 2 and 3 😛 . Let's start.
1. Open your command prompt. click RUN (see here if you don't know how to do that) and type CMD.
2. We need to list all computer that connected to the network by running this command
arp -a
3. Table result on step 2 is the mapping of layer 2(MAC address) and layer 3(IP Address) OSI layer. The Man in the Middle Attack can happen in this layer.
Conclusions:
1. If you don't want your computer detected on the network when running the arp -a command, then you need to turn off your network discovery option (view How to Turn off Windows Network Discovery in 3 Steps )
2. Next tutorial I will write how to prevent the man in the middle attack in your local area network. You can subscribe to get the update directly on your e-mail.