Flock Information Element and Promiscuous Mode Wardriving - #1348
Open
DeflockJoplin wants to merge 2 commits into
Open
Flock Information Element and Promiscuous Mode Wardriving#1348DeflockJoplin wants to merge 2 commits into
DeflockJoplin wants to merge 2 commits into
Conversation
Move Flock Sniff to passive WiFi detection, replace active wardrive scans with promiscuous capture, and log Flock hits to a dedicated sidecar file.
Author
|
More details on how this actually works. It's possible this could be changed or tightened, but what's working today is this. For a match to hit all must be true:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This is a proof of concept showing Flock detection using the information element detection method first shown in PACK and recently merged to the OUI-Spy by Colonel Panic. Details about this method are here: https://github.com/DeflockJoplin/flock-you/tree/information-element-fingerprint
This implementation is slightly different in that it implements a byte matching method on the information element fields, but the underlying idea is the same.
To support detecting these probes while wardriving, I have also converted Wardriving to use promiscuous mode. APs are now written whenever a beacon or probe response is heard from an AP. This has had the side effect of increasing wardriving performance, at least in my limited testing. Recommendation: Consider implementing geobased deduping rather than strict MAC based. Wigle uses additional detections (when meaningfully separated) for trilateration of signals.
Flock detections are written to an independent log. Since they are no longer APs, they are not included with wigle uploads. Regarding these logs, I have an idea kicking around in my head about ingesting Flock wardriving data from the various firmwares and including them in the DeFlock "suspected locations" feature, but we aren't ready for that just yet.
Full details on changes:
Flock Sniff (WiFi)
Wardrive
BLE wardrive logging unchanged.
Channel plan & timing
Tuned to match observed Flock camera behavior: probe events on the order of ~125 ms apart, with cameras ascending through channels during their probe cycle.
This resolves #1328.