RF Sentinel (RFSentinel): free, open-source police detector app for Android. Spots police body cams, Flock ALPR cameras, AirTag trackers, Remote ID drones, smart glasses and fake cell towers from Bluetooth LE and WiFi. No root.
Kotlin airtagalprandroidandroid-autoanti-surveillancebluetooth-low-energybody-cameracounter-surveillancedrone-detectionflock-safetyimsi-catcher-detectorpolice-detectorpolice-scannerprivacyremote-idrtl-sdrsdrsurveillance-detectiontracker-detectionwifi
Add 22 public-safety vendor blocks and an IEEE cross-check
CIS-C01500911c7e1e
diff --git a/app/src/main/assets/oui_presets/canada.json b/app/src/main/assets/oui_presets/canada.jsonindex 5f33161..e0ffe02 100644--- a/app/src/main/assets/oui_presets/canada.json+++ b/app/src/main/assets/oui_presets/canada.json@@ -143,6 +143,14 @@"score": 40,"category": "ALPR"},+ {+ "prefix": "00:0A:B1",+ "label": "Genetec - AutoVu license-plate readers / security systems",+ "source": "IEEE MA-L (GENETEC Corporation). Weak registry-only match",+ "confidence": "candidate",+ "score": 40,+ "category": "ALPR"+ },{"prefix": "F4:60:77","label": "Texas Instruments Bluetooth chip block (used in Zebra mobile printers)",diff --git a/app/src/main/assets/oui_presets/global.json b/app/src/main/assets/oui_presets/global.jsonindex 9fb6d96..5464bbc 100644--- a/app/src/main/assets/oui_presets/global.json+++ b/app/src/main/assets/oui_presets/global.json@@ -110,5 +110,181 @@"confidence": "candidate","score": 45,"category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "00:1D:96",+ "label": "WatchGuard Video (police in-car and body cameras, now Motorola Solutions)",+ "source": "IEEE MA-L registry (WatchGuard Video); maker of law-enforcement in-car and body-worn video systems",+ "confidence": "confirmed",+ "score": 70,+ "category": "BODY_CAM"+ },+ {+ "prefix": "00:23:BD",+ "label": "Digital Ally (police body and in-car cameras)",+ "source": "IEEE MA-L registry (Digital Ally, Inc.); maker of law-enforcement body-worn and in-car video",+ "confidence": "confirmed",+ "score": 70,+ "category": "BODY_CAM"+ },+ {+ "prefix": "9C:83:BF",+ "label": "Pro-Vision (body cameras and fleet video)",+ "source": "IEEE MA-L registry (PRO-VISION, Inc.); body-worn and vehicle video for police, transit and school buses - verify",+ "confidence": "candidate",+ "score": 55,+ "category": "BODY_CAM"+ },+ {+ "prefix": "58:E8:76:C",+ "label": "Kustom Signals (police radar and in-car video)",+ "source": "IEEE MA-M registry (Kustom Signals Inc); maker of police speed radar and in-car video. Match all 28 bits",+ "confidence": "confirmed",+ "score": 70,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "00:22:AF",+ "label": "Safety Vision (mobile video for police and transit)",+ "source": "IEEE MA-L registry (Safety Vision, LLC); mobile video for police cars, transit and school buses - verify",+ "confidence": "candidate",+ "score": 50,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "E4:1E:0A:B",+ "label": "Safety Vision (mobile video for police and transit)",+ "source": "IEEE MA-M registry (Safety Vision, LLC). Match all 28 bits - verify",+ "confidence": "candidate",+ "score": 50,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "D4:11:D6",+ "label": "ShotSpotter / SoundThinking (gunshot detection sensor)",+ "source": "IEEE MA-L registry (ShotSpotter, Inc.); dedicated acoustic gunshot-detection sensors",+ "confidence": "confirmed",+ "score": 75,+ "category": "AUDIO_SENSOR"+ },+ {+ "prefix": "00:16:00",+ "label": "Cellebrite (phone forensic extraction device)",+ "source": "IEEE MA-L registry (CelleBrite Mobile Synchronization); maker of phone extraction kits used by police",+ "confidence": "confirmed",+ "score": 60,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "70:B3:D5:71:F",+ "label": "Grayshift / GrayKey (phone unlocking device)",+ "source": "IEEE MA-S registry (Grayshift); maker of the GrayKey phone-unlocking device sold to law enforcement. Match all 36 bits",+ "confidence": "confirmed",+ "score": 70,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "00:1E:96",+ "label": "Sepura (TETRA police radios)",+ "source": "IEEE MA-L registry (Sepura Limited); TETRA radios used by police in Europe and elsewhere. Weak: also used by transport and utilities",+ "confidence": "candidate",+ "score": 45,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "C4:7C:8D:9",+ "label": "Airbus Secure Land Communications (TETRA police radios)",+ "source": "IEEE MA-M registry (Airbus DS - SLC); TETRA radio networks and terminals for police. Match all 28 bits",+ "confidence": "candidate",+ "score": 45,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "54:02:37",+ "label": "Teltronic (TETRA radios)",+ "source": "IEEE MA-L registry (Teltronic AG); TETRA radios for public safety. Weak: also transport",+ "confidence": "candidate",+ "score": 40,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "00:04:18",+ "label": "Teltronic (TETRA radios)",+ "source": "IEEE MA-L registry (Teltronic S.A.U.). Weak: also transport",+ "confidence": "candidate",+ "score": 40,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "64:69:BC",+ "label": "Hytera (two-way radios and body cameras)",+ "source": "IEEE MA-L registry (Hytera Communications Co.,ltd). Weak: mostly commercial two-way radios",+ "confidence": "candidate",+ "score": 40,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "9C:06:6E",+ "label": "Hytera (two-way radios and body cameras)",+ "source": "IEEE MA-L registry (Hytera Communications Corporation Limited). Weak: mostly commercial two-way radios",+ "confidence": "candidate",+ "score": 40,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "8C:1F:64:A7:8",+ "label": "Tait (two-way radios)",+ "source": "IEEE MA-S registry (TAIT Global LLC). Weak: police, utilities and transport radios. Match all 36 bits",+ "confidence": "candidate",+ "score": 40,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "00:0D:CA",+ "label": "Tait (two-way radios)",+ "source": "IEEE MA-L registry (Tait Electronics). Weak: police, utilities and transport radios",+ "confidence": "candidate",+ "score": 40,+ "category": "PUBLIC_SAFETY"+ },+ {+ "prefix": "00:18:29",+ "label": "Gatso (speed and traffic enforcement camera)",+ "source": "IEEE MA-L registry (Gatsometer); dedicated traffic-enforcement camera maker",+ "confidence": "confirmed",+ "score": 60,+ "category": "ALPR"+ },+ {+ "prefix": "00:30:7E",+ "label": "Redflex (red-light and speed camera)",+ "source": "IEEE MA-L registry (Redflex Communication Systems); dedicated traffic-enforcement camera maker",+ "confidence": "confirmed",+ "score": 60,+ "category": "ALPR"+ },+ {+ "prefix": "00:22:9F",+ "label": "Sensys Gatso (traffic enforcement camera)",+ "source": "IEEE MA-L registry (Sensys Traffic AB); traffic-enforcement cameras",+ "confidence": "candidate",+ "score": 55,+ "category": "ALPR"+ },+ {+ "prefix": "00:1D:4D",+ "label": "Adaptive Recognition (plate-reader camera)",+ "source": "IEEE MA-L registry (Adaptive Recognition Hungary); maker of ANPR/ALPR cameras and engines",+ "confidence": "candidate",+ "score": 55,+ "category": "ALPR"+ },+ {+ "prefix": "00:17:3D",+ "label": "Neology (plate reader / tolling)",+ "source": "IEEE MA-L registry (Neology); ALPR and RFID tolling equipment. Weak: mostly tolling",+ "confidence": "candidate",+ "score": 40,+ "category": "ALPR"}]diff --git a/app/src/main/java/com/rfsentinel/app/detect/Category.kt b/app/src/main/java/com/rfsentinel/app/detect/Category.ktindex 38d455a..c40ba57 100644--- a/app/src/main/java/com/rfsentinel/app/detect/Category.kt+++ b/app/src/main/java/com/rfsentinel/app/detect/Category.kt@@ -12,8 +12,8 @@ enum class Category(val defaultEnabled: Boolean) {BODY_CAM("Body camera / Axon equipment", "BODY CAM", 0xFFC8431A.toInt(), true),- ALPR("License-plate camera (Flock)", "ALPR", 0xFFB3261E.toInt(), true),- AUDIO_SENSOR("Audio sensor (Flock Raven)", "RAVEN", 0xFF9C2A6B.toInt(), true),+ ALPR("License-plate / traffic enforcement camera", "ALPR", 0xFFB3261E.toInt(), true),+ AUDIO_SENSOR("Audio / gunshot sensor (Flock Raven, ShotSpotter)", "AUDIO", 0xFF9C2A6B.toInt(), true),PUBLIC_SAFETY("Public-safety vendor gear (Motorola, i-PRO...)", "PUBLIC SAFETY", 0xFFB26A00.toInt(), true),DRONE("Drone (Remote ID / drone maker)", "DRONE", 0xFF1F5FBF.toInt(), true),TRACKER("Item tracker away from its owner", "TRACKER", 0xFF6A3FB5.toInt(), true),diff --git a/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.kt b/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.ktindex 80df575..11080b1 100644--- a/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.kt+++ b/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.kt@@ -125,7 +125,7 @@ class SetupActivity : AppCompatActivity() {header("Where do you use it?", "Adds watchlists of equipment known to be used by police in that region. The built-in detection (body cams, Flock, drones, trackers, glasses) works everywhere.")val enabled = OuiWatchlist.getEnabledPresets(this).toMutableSet()listOf(- "global" to "Global - Axon, Flock, Zepcam, i-PRO, Utility, Motorola Solutions",+ "global" to "Global - body cams (Axon, Zepcam, WatchGuard...), Flock, ShotSpotter, traffic cameras, radios","canada" to "Canada - adds Cyberkar in-car systems, Getac body cams, Genetec plate readers","us" to "United States").forEach { (key, label) ->diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xmlindex 835f347..70cc489 100644--- a/app/src/main/res/layout/activity_settings.xml+++ b/app/src/main/res/layout/activity_settings.xml@@ -143,7 +143,7 @@android:id="@+id/presetGlobal"android:layout_width="match_parent"android:layout_height="wrap_content"- android:text="Global (Axon, Flock, Zepcam, i-PRO, Utility, Motorola Solutions)" />+ android:text="Global (Axon, Flock, Zepcam, WatchGuard, Digital Ally, ShotSpotter, traffic cameras...)" /><CheckBoxandroid:id="@+id/presetCanada"diff --git a/app/src/test/java/com/rfsentinel/app/oui/PresetFilesTest.kt b/app/src/test/java/com/rfsentinel/app/oui/PresetFilesTest.ktindex 248f355..1be6c6d 100644--- a/app/src/test/java/com/rfsentinel/app/oui/PresetFilesTest.kt+++ b/app/src/test/java/com/rfsentinel/app/oui/PresetFilesTest.kt@@ -36,6 +36,34 @@ class PresetFilesTest {}}+ /**+ * Every address block in the presets must belong, per the bundled IEEE table,+ * to the company its label names - so a typo can't silently flag the wrong vendor.+ */+ @Test+ fun presetBlocksMatchTheirIeeeRegistrant() {+ val ieee = File("src/main/assets/vendors/oui.tsv").readLines()+ .filter { ' ' in it && !it.startsWith("#") }+ .associate { it.substringBefore(' ') to it.substringAfter(' ') }+ // Registrant word expected in the IEEE name, for entries whose label brand differs.+ val alias = mapOf("Sensys Gatso" to "Sensys", "ShotSpotter" to "ShotSpotter", "Grayshift" to "Grayshift",+ "Airbus" to "Airbus", "Axon equipment" to "Private")+ for (name in OuiWatchlist.availablePresets) {+ val entries: List<OuiEntry> = Gson().fromJson(File("src/main/assets/oui_presets/$name.json").readText(), type)+ for (e in entries.filter { !it.isNameRule && !it.isVendorRule && it.prefix.length < 17 }) {+ val hex = e.prefix.replace(":", "").uppercase()+ val registrant = ieee[hex]+ if (e.prefix == "D8:1F:65") continue // IEEE "Private"; field-attributed to Axon (documented)+ if (e.prefix == "F4:60:77") continue // Texas Instruments chip block, labelled by what uses it+ assertNotNull("$name: ${e.prefix} is not an IEEE block", registrant)+ val brand = alias.entries.firstOrNull { e.label.startsWith(it.key) }?.value+ ?: e.label.substringBefore(" (").substringBefore(" -").substringBefore(" /").split(" ").first()+ assertTrue("$name: ${e.prefix} label '${e.label}' vs IEEE '$registrant'",+ registrant!!.contains(brand, ignoreCase = true))+ }+ }+ }+@Testfun globalPresetFlagsZepcamBodyCams() {val entries: List<OuiEntry> = Gson().fromJson(File("src/main/assets/oui_presets/global.json").readText(), type)diff --git a/docs/SIGNATURES.md b/docs/SIGNATURES.mdindex 9f64b98..6d91729 100644--- a/docs/SIGNATURES.md+++ b/docs/SIGNATURES.md@@ -147,6 +147,30 @@ These are editable and can be switched on or off in Settings.| `D4:2D:C5` | i-PRO Co., Ltd. | Public safety | 55 || `00:09:BC`, `00:16:ED` | Utility, Inc. | Body cam | 45 || `48:46:8D` | Zepcam B.V. (dedicated body-worn camera maker) | Body cam | 75 |+| `00:1D:96` | WatchGuard Video (police in-car and body cameras) | Body cam | 70 |+| `00:23:BD` | Digital Ally (police body and in-car cameras) | Body cam | 70 |+| `9C:83:BF` | PRO-VISION (body and fleet cameras; also school buses) | Body cam | 55 |+| `58:E8:76:C` (28-bit) | Kustom Signals (police radar, in-car video) | Public safety | 70 |+| `00:22:AF`, `E4:1E:0A:B` (28-bit) | Safety Vision (police and transit mobile video) | Public safety | 50 |+| `D4:11:D6` | ShotSpotter / SoundThinking (gunshot-detection sensor) | Audio sensor | 75 |+| `00:16:00` | Cellebrite (phone forensic extraction) | Public safety | 60 |+| `70:B3:D5:71:F` (36-bit) | Grayshift / GrayKey (phone unlocking) | Public safety | 70 |+| `00:1E:96` | Sepura (TETRA police radios) | Public safety | 45 |+| `C4:7C:8D:9` (28-bit) | Airbus Secure Land Communications (TETRA) | Public safety | 45 |+| `54:02:37`, `00:04:18` | Teltronic (TETRA radios) | Public safety | 40 |+| `64:69:BC`, `9C:06:6E` | Hytera (radios, body cams; mostly commercial) | Public safety | 40 |+| `8C:1F:64:A7:8` (36-bit), `00:0D:CA` | Tait (two-way radios) | Public safety | 40 |+| `00:18:29` | Gatsometer (speed / traffic enforcement cameras) | ALPR | 60 |+| `00:30:7E` | Redflex (red-light / speed cameras) | ALPR | 60 |+| `00:22:9F` | Sensys Traffic (traffic enforcement cameras) | ALPR | 55 |+| `00:1D:4D` | Adaptive Recognition (ANPR / ALPR cameras) | ALPR | 55 |+| `00:17:3D` | Neology (ALPR, mostly RFID tolling) | ALPR | 40 |++Same-name registrants that are *not* public-safety vendors are deliberately left out:+Axon Networks (unrelated to Axon Enterprise), WatchGuard Technologies (firewalls),+Coban Srl (not the US Coban), and general CCTV makers (Axis, Verkada). A unit test+checks that every preset block belongs, per the IEEE table, to the company its+label names.| `00:1F:92`, `4C:CC:34`, `00:18:85`, `00:04:7D`, `10:74:6F`, `B8:E2:8C`, `9C:86:2B` | Motorola Solutions | Public safety | 45 |The Motorola entries are weak on purpose. In ACAB's field capture, all 27 of 27