This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

packet sniffing in wifi network between two device from 3rd device

0

I have my own wpa2 wifi LAN (router, my pc, device1, device2, I know their IP addresses). Now I need to find out how device1 communicates with device2 (for example which command device1 sends to device2 to turn on green color - device2 is smart bulb). So I need to capture their protocol and packet data to be able to read "commands" between these two devices, so I can replicate it from my computer (because for this smart bulb is no API available).

But I don't know how to do it from my pc? I think I need something easy to use. Is there any newbie step by ste tutorial how to do this? Thanks

asked 16 Jan '16, 03:56

miamia's gravatar image

miamia
6113
accept rate: 0%

edited 16 Jan '16, 03:58


One Answer:

0
  1. Get prepared for reverse engineering the payload of the bulb control messages from a hex dump as it is not very likely that someone else has already analysed the protocol used and prepared a Wireshark dissector for it.

  2. If your PC runs Microsoft Windows, find a Mac or a linux PC.

  3. If your PC runs something else than Microsoft Windows, follow these instructions to set up the capture, and these instructions to decrypt the WPA2 traffic (beware, the startup of all devices whose communication you want to decrypt must be captured). Or you may prefer to switch off wireless encryption on the AP instead (and reconfigure the device1 and device2) for the time of capturing the communication between device1 and device2; in such case, you may also want to disconnect the AP from internet for the time the wireless encryption is off if you're afraid of someone else using your internet connection.

answered 16 Jan '16, 04:48

sindy's gravatar image

sindy
6.0k4851
accept rate: 24%