Giter Club home page Giter Club logo

Comments (1)

schollz avatar schollz commented on May 18, 2024

@victorhooi

Thanks. I dumped the packets with

sudo tshark -r tshark-entrance.pcap -T fields -e frame.time_epoch -e wlan.sa -e wlan.ta -e wlan.ra -e wlan.da -e radiotap.dbm_antsignal

to get the sender, receiver, transmitter, and destination.

Some initial observations:

1. Broadcasts are great

Here are the signals being sent to ff:ff:ff... from your phone. They are ordered in time, but you can see just by inspection that they oscillate between two fairly similar numbers (reflecting going from cafe -> kidsroom -> cafe -> kidsroom -> cafe).

You can also see that the cafetv is different than entrance which is different from kidsroom, which is also great. That means that these broadcasts can be used to distinguish your phone.

cafetv 40:4e:36:0b:82:71-40:4e:36:0b:82:71-ff:ff:ff:ff:ff:ff-ff:ff:ff:ff:ff:ff [-41.0, -47.0, -45.0, -45.0, -65.0, -67.0, -43.0, -39.0, -43.0, -63.0, -63.0, -67.0, -65.0, -65.0, -71.0, -39.0, -45.0, -45.0, -41.0]
entrance 40:4e:36:0b:82:71-40:4e:36:0b:82:71-ff:ff:ff:ff:ff:ff-ff:ff:ff:ff:ff:ff [-37.0, -41.0, -41.0, -43.0, -47.0, -47.0, -63.0, -43.0, -45.0, -39.0, -41.0, -53.0, -59.0, -63.0, -61.0, -57.0, -59.0, -59.0, -31.0, -37.0, -39.0, -41.0]
kidsroom 40:4e:36:0b:82:71-40:4e:36:0b:82:71-ff:ff:ff:ff:ff:ff-ff:ff:ff:ff:ff:ff [-63.0, -67.0, -67.0, -45.0, -45.0, -47.0, -45.0, -63.0, -65.0, -61.0, -69.0, -69.0, -41.0, -39.0, -39.0, -41.0, -37.0, -39.0, -41.0, -51.0, -63.0, -65.0]

2. Other packets are not good

Here's an example of another packet (sent by f2:9f... to your phone):

cafetv f2:9f:c2:7d:68:9c-f2:9f:c2:7d:68:9c-40:4e:36:0b:82:71-40:4e:36:0b:82:71 [-49.0, -49.0, -49.0, -49.0, -49.0, -49.0, -49.0, -49.0, -49.0, -51.0, -49.0, -47.0, -49.0, -51.0, -49.0, -49.0, -49.0, -47.0, -49.0]
entrance f2:9f:c2:7d:68:9c-f2:9f:c2:7d:68:9c-40:4e:36:0b:82:71-40:4e:36:0b:82:71 [-57.0, -57.0, -73.0, -57.0, -57.0, -57.0, -57.0, -57.0, -55.0, -57.0, -57.0, -57.0, -57.0, -57.0, -57.0, -57.0, -57.0, -57.0, -57.0, -57.0, -57.0, -65.0, -57.0]
kidsroom f2:9f:c2:7d:68:9c-f2:9f:c2:7d:68:9c-40:4e:36:0b:82:71-40:4e:36:0b:82:71 [-55.0, -59.0, -53.0, -59.0, -61.0, -61.0, -61.0, -61.0, -61.0, -59.0, -61.0, -59.0, -61.0, -61.0, -53.0, -61.0, -59.0, -59.0, -61.0]

You can see that the values are always the same despite you moving from place to place. Thererfore these signals do not reflect your current position.

Unfortunately, this is the case with all the other packets. Here's another example (b0:39... to your phone):

cafetv b0:39:56:c3:76:3e-b0:39:56:c3:76:3e-40:4e:36:0b:82:71-40:4e:36:0b:82:71 [-67.0, -67.0, -69.0, -67.0, -67.0, -67.0, -67.0, -67.0, -69.0, -67.0, -65.0, -65.0, -69.0, -69.0, -67.0, -65.0, -67.0, -67.0, -67.0]
entrance b0:39:56:c3:76:3e-b0:39:56:c3:76:3e-40:4e:36:0b:82:71-40:4e:36:0b:82:71 [-65.0, -73.0, -73.0, -73.0, -71.0, -71.0, -73.0, -73.0, -73.0, -71.0, -73.0, -69.0, -73.0, -73.0, -73.0, -71.0, -73.0, -71.0, -73.0, -73.0, -71.0]
kidsroom b0:39:56:c3:76:3e-b0:39:56:c3:76:3e-40:4e:36:0b:82:71-40:4e:36:0b:82:71 [-73.0, -73.0, -73.0, -75.0, -73.0, -73.0, -73.0, -71.0, -73.0, -71.0, -73.0, -75.0, -73.0, -73.0, -77.0, -73.0, -73.0, -71.0, -73.0]

The values are always the same, even though you are changing places.

The only packets sent from your device are broadcast packets

If you look through the output of the attached script you'll see that only broadcasts are sent from your device. This is probably why it doesn't work for other packets, as they are sent from other devices and are static.

packets-analysis.zip

from find3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.