Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find wifi enabled devices [stations] around

Imagine this situation that there are some smartphones and computer around with their WiFi adapter (wireless adapters) on, but not necessary connected to a network.

Is there a way to look the MAC addresses via a Linux machine?

Any insights are appreciated.

like image 542
Shotor Savar Avatar asked Jan 15 '13 01:01

Shotor Savar


People also ask

Can I see all devices connected to my Wi-Fi?

You can check how many personal devices are connected to your Wi-Fi network in the Google Home app or the Google Wifi app.

How can I track a Wi-Fi device?

Details about a connected device on my wireless network.Run a port scan (tap Service Scan) Ping the device. Run a traceroute on the device. Run Wake on LAN on the device.


2 Answers

Disconnected clients aren't always silent. In fact, more often than not, clients send out directed and broadcast probe requests searching for access points they have connected to previously, thus revealing their MAC addresses which can be displayed through airodump-ng or by filtering capture packets in Wireshark to display probe requests. This is the suitable Wireshark filter:

wlan.fc.type_subtype eq 4
like image 57
Ahmad Hazimeh Avatar answered Oct 21 '22 15:10

Ahmad Hazimeh


Old question, but i'll have a go anyway.

Wifi enabled devices usually send probe requests to try to find Access points they previously have been connected to, even when they are nowhere near them.

If you're using backtrack/kali linux, try this:

Create a wireless adapter alias running in monitor mode (assuming your adapter name is wlan0):

airmon-ng start wlan0

Start scanning for devices and access points:

airodump-ng mon0

The access points will be listed first with their Mac addresses under "BSSID", followed by the devices which will have their MAC addresses listed under "STATION" and a "not associated" flag under "BSSID" if they aren't connected to an access point.

like image 29
Nabbit Avatar answered Oct 21 '22 15:10

Nabbit