Skip to content

Check for randomized MAC by flipping bit 02? #1

@wersimmon

Description

@wersimmon

I'm not familiar with how bluetooth MACs are actually randomized in the real world, but some sources suggest that manufacturers use the "Local bit" that IEEE RFC 7042 defines to denote the difference between normal and randomized MACs. Specifically, that MACs have bit 02 as 0 when they are normal, and bit 02 as 1 when they are randomized, but the OUI is otherwise unchanged.

From the IEEE OUI database, I found the following OUIs listed for "Meta Platforms, Inc." and calculated their supposed randomized version:
48:05:60 -> 4A:05:60
CC:A1:74 -> CE:A1:74
C0:DD:8A -> C2:DD:8A
D0:B3:C2 -> D2:B3:C2
88:25:08 -> 8A:25:08
94:F9:29 -> 96:F9:29
D4:D6:59 -> D6:D6:59
78:C4:FA -> 7A:C4:FA
B4:17:A8 -> B6:17:A8
50:99:03 -> 52:99:03
80:F3:EF -> 82:F3:EF
84:57:F7 -> 86:57:F7

And the following OUIs for "Facebook Inc":
48:57:DD -> 4A:57:DD
A4:0E:2B -> A6:0E:2B

Maybe this helps the detection algorithm?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions