Openhaystack: Build 'AirTags' – track Bluetooth devices via Apple's network
77 comments
·January 27, 2025sorenjan
suddenexample
It's actually hilarious that whoever was in charge of Google's finder network decided to cripple the product's one and only function by prioritizing privacy.
In this tradeoff, Google gained a handful of articles mentioning the "innovative" privacy improvements (before the writers had a chance to test how terribly the network actually performs). For that, they sacrificed the chance to compete with Apple in this category, which outside of device revenue also weakens Android/Pixel ecosystem and market share. You really can't make up this level of incompetence.
izacus
> It's actually hilarious that whoever was in charge of Google's finder network decided to cripple the product's one and only function by prioritizing privacy.
That sounds like that "whoever" was the corporate legal team. Every time I tracked down these kind of idiocities in large corpos, it's usually legal or security team that overrode common sense and sabotaged their own product.
WinstonSmith84
It's hard to believe how Google could mess up their network so badly. Apple network shall be totally dwarfed.
As a nomad-traveler, the Apple network is not particularly relevant to me, I don't travel to the wealthiest cities with a lot of Apple phones, but to the "rest of the world" where Android market share is close to 90% dominance. But even there, it still seems that Apple is doing better than Google (...)
RobotToaster
> From what I've heard Google made their version pretty bad
I have one on my keys. The one time I tried to use it, despite refreshing multiple times, it gave me a bubble with a quarter mile radius. It turned out to be in my bag right next to me.
groby_b
So, you're saying it was correct? ;)
tommoor
Seems like they should just piggyback on FindMy also
_ink_
There is a setting, where you can disable that it needs to be seen by multiple phones.
Tajnymag
No, that's the whole point of the fiasco. That setting is not for the tracker but for the tracking devices. For Google Find My trackers to behave similarly to AirTags, every single android user would have to go to their Find My settings and explicitly change, how sensitive their phone is.
garbagewoman
I dunno, a less than perfectly all-seeing omnipresent tracking network actually is a little comforting
sorenjan
It's not very useful for tracking your things though, which arguably is why you would use it. I wouldn't trust Google's network to find a stolen bike or lost luggage for instance, but air tags are used for that all the time[0]. Finding my lost keys at home is a perfectly valid use case for tags, but you don't need a network for that, just some Bluetooth and maybe UWB.
[0] https://www.forbes.com/sites/barrycollins/2024/12/17/lost-lu...
https://help.vanmoof.com/hc/en-us/articles/16053155393181-Ho...
abalaji
Looking through the code, it looks like this uses your personal Apple Mail entitlements to pull the locations that get collected by devices on the FindMy network:
https://github.com/seemoo-lab/openhaystack/blob/8d214aa5eb68...
I wonder if this were also possible by making an Apple developer account.
denysvitali
There are versions that do not require the interaction with Apple Mail.
All you need is an Apple account - the code doesn't have to run on Apple HW: https://github.com/biemster/FindMy
solarkraft
I wish it had a way to integrate with the Find My app instead of having to go through their own (wonky) process to retrieve locations. The chinese clones can do it (even with their own branding), so it must be possible somehow.
alibarber
I think that's the wall in Apple's walled garden here. From reading the official Apple spec. for partners a while back, as part of the pairing process, something is signed by the device with a cert/key that apple issued to that developer (after coming to an agreement i.e - $$) - and, crucially, is different from the keypair that the device will use to actually broadcast. This is then validated by apple and thus allowed to be added to that apple-id's account and hence on to the app.
The keys broadcasted by the devices themselves in 'lost' mode (i.e. not in 2 way contact with the owner's device) are arbitrary and completely opaque, Apple doesn't have any way of tying them to an ID or device or developer. This is how the proposed project here works - these keys will always find their way to the apple server.
It seems like the knockoff ones have just hijacked a legit key for the pairing process. This means if Apple desires and finds out the key, it can probably remove all devices from all accounts - although the devices themselves will keep on broadcasting and their locations could be accessed in the above janky way. I wonder too if the original key owner might get a large bill for per-device royalties if/when Apple searches it's DB for a count of 'devices-added-to-an-apple-id-signed-by-this-key'...
nguyenkien
The "chinese clone" are official supported, here is how: https://developer.apple.com/find-my/
oulipo
The Chinese clones use the Apple FindMy program, so they are official tags which can be displayed in the app. The OpenHaystack is a hack which uses different keys, and can't be shown on the app for cryptographic reasons
emsixteen
The clones are limited though, are they not? Like, they don't have the directional stuff and all that do they? I may be misremembering what I've read elsewhere.
dalemhurley
This is amazing. I love Apple AirTags but they are so bulky and an odd shape.
I would love a AirTag the shape of a credit card to go into my wallet.
I would love a smaller AirTag to go on my cats collar.
rahimnathwani
You can buy third party "Find My" compatible tags for about $5 from Temu or Aliexpress. Although they're about the same size as regular Airtags, they're:
- easier to take apart (if you want discard the casing), and
- cheaper
I took one of the ones I have out of its casing to see what could be made thinner, and I found that most of the thickness was due to:
- The batter holder (CR2032)
- The speaker
- The button
The speaker and button could probably be dispensed with after initial setup. The battery holder could be removed, and the power supplied from the side instead of the top (if you want a thin card-like form factor).
stonegray
The problem is they don’t have accurate positioning via UWB, so you only get a map pin and a beep, not an arrow and an exact distance.
The $5 tags are comparable to tile or google tags, but miss the key feature of airtags.
bookofjoe
Here's my 8.5 lb calico cat with the AirTag* she's had on her collar since she was a 3-month old kitten:
*Photo taken a moment ago with Meta Stories glasses
sodality2
They make super-thin AirTag compatible cards that fit in wallets.
layer8
The ones I’ve seen don’t have precision finding, but yes. Some even have wireless charging.
omnimus
Only Apple Airtags have precision finding. I assume because its something not allowed to third parties.
heywire
I’ve even seen some wallets with built in “Find My” support.
BuildTheRobots
Kindle cover would be extremely useful.
null
latchkey
Use this for my dog, it is super minimal...
https://www.amazon.com/gp/product/B09DCVFNFF/
Only thing is that I found that I needed to wrap the airtag itself with some clear tape to keep it from twisting itself out of the holder.
bookofjoe
for my cat: https://imgur.com/a/r9EGSOc
haliskerbas
Haven’t done the research but I wonder if you can use this to piggyback with tiny arbitrary data data payloads.
nik282000
Yup, there was a project recently that used the airtag network to transmit data from a hardware keylogger. The computer could be totally gapped and the data still gets home via the typist's iPhone.
xuki
It's not airgapped if it has bluetooth access.
roywiggins
Presumably you stick the bluetooth antenna in the physical keylogger.
3eb7988a1663
I am guessing this is the story: Keylogger leaks data via Apple AirTag network https://news.ycombinator.com/item?id=38126302
LelouBil
I saw someone use this to track his mail state. They have a contact sensor inside their mailbox that rotates the broadcasted key based on the trigger count.
If the key changed, aka a new different device is visible, you know mail has been dropped in, very clever !
teruakohatu
That is a fascinating project. Here is the link if anyone else is interested:
https://hackaday.com/2022/05/30/check-your-mailbox-using-the...
I wonder if the creator had neighbourhood style mailboxes down the road? If not this seems quite complicated solution for an object that is probably with range even BLE.
I tried building a mail sensor a couple of years ago where the mailbox was a fair distance from where I was living. I was not able to create a solution that didn't either have false positives or false negatives. For an outdoor object jostled by wind and rain it is harder than it seems.
miki123211
I wish we had more / more easily accessible networks that let you do this.
Something that would let you send extremely tiny (<1kB) packets, using a wireless protocol that could be implemented extremely cheaply, piggybacking on the bandwidth of nearby internet-connected devices in a privacy-preserving way.
Amazon has a network like this called Sidewalk, using Alexa devices as gateways, but I don't think it's very open to third-party experimentation, and it's definitely not an interoperable standard on the gateway side.
amenghra
Too bad Fon didn’t work out, it could have been a global mesh network useful for this kind of thing.
raffraffraff
Hmmm, but can you use it to set up an actual AirTag without having another apple device like iPhone or Mac?
phcreery
Possible with https://github.com/dchristl/macless-haystack
oulipo
I think you can (haven't tried), check this repo https://github.com/malmeloo/FindMy.py/blob/main/examples/rea...
raffraffraff
Would love to know who downvoted this and why. Is this not a valid question?
bhaney
This is a technically interesting project, but is there any situation at all where it's worth using? It seems like it just allows you to build airtag-like devices that sorta work on the Find-My network with some rough edges, but I can buy proper AirTag clones in various form factors for a couple bucks - far cheaper than I could ever make a custom bluetooth device using this project. Am I missing a use-case?
crummy
If you had a laptop with Bluetooth, you could install this on it and find it if it were lost, I think.
bhaney
Okay yeah, that appears to be true. Looks like the broadcast part currently only runs on Linux (or microcontroller firmware), while the client only works on macOS, so you'd need to lose your Linux laptop and then find it with your Apple computer, but it does seem like that setup would work if you had it. Maybe it'll be ported to other OSs at some point, if that's even possible.
jjallen
Would your computer have to be open and running I’m guessing?
bpbp-mango
Are the clones any good though? Where do you even get them?
bhaney
They've been perfect for me. I buy them on Temu for around $2.50 each and they work exactly like normal AirTags minus the ultra wideband precision finding. I pair and track them in the normal iOS FindMy app. Haven't been using them long enough to know how long the batteries last, but they advertise >1 year and they still all report pretty full batteries after a few months of usage, so I'm hopeful.
The credit card form factor ones for wallets are more expensive ($10) but can be wirelessly recharged on Qi chargers.
cjrp
Any recommendation for brand etc for credit card sized ones? I’ve an old Tile that needs replacing.
solarkraft
They are quite good. I get mine on AliExpress and the batteries have been lasting for at least a couple of months now.
solarkraft
I’ve been meaning to toy with smaller form factors. In theory a lot of gadgets with a battery could be made trackable.
oulipo
It allows you to locate a fleet of object without having to rely on wifi / GPS etc
amluto
Can these be paired with the actual Apple Find My app and found in the app?
uzyn
Impressive. Would Apple be able to simply block non-Apple usage of Find My network usage simply by refusing to relay non-Apple BLE ID?
malmeloo
No, the BLE identities of these tags are currently practically indistinguishable from original tags, and could be made completely identical if necessary. In fact, changing the device's MAC address is part of the specification. What they could block, is the method used by these projects to fetch encrypted location reports. However, the original OpenHaystack project (this one) needs to run on macOS and lets the system handle account authentication, so it's unlikely to get blocked any time soon.
oulipo
There's also projects that don't need access to macOS (you still need an account) https://github.com/malmeloo/FindMy.py
EDIT: just realized I'm replying to the author of the project lol
Brajeshwar
If I remember correctly, Apple was supposed to openly accept and encourage others to leverage their network and make more “AirTag” capable devices.
denysvitali
Yes, because they get a commission for every device registered on the network.
In the join process, there is a key that is shared only for developers who paid the fee - which is why it's not really trivial to create an AirTag clone without dumping the Apple AirTag flash
heywire
A quick search on Amazon shows a number of generic trackers compatible with “Find My”. In fact, the one on my dog’s collar is one of these.
xyst
I wonder what’s the upper limit of transmissions a single device can upload to Apple servers? If the Apple device has no cell service or WiFi, how long will the history of that location ping reside on device?
Also, is there a DoS vector here?
- attacker manages to simulate 1M+ Bluetooth devices
- victim randomly passes by and it crashes their phone due to a massive number of devices in single location and constantly uploading to Apple servers
null
I wish there was a good option for non Apple users. From what I've heard Google made their version pretty bad, as expected. They rate limit how often you can search for your own tags, they won't show the location until a tag has been seen by multiple phones, there's poor coverage. One test I saw showed that Samsung's network was better, which makes no sense since Samsung phones should be a subset of all Android phones in Google's network, but that's Google products for you. Sounds good in theory but poorly executed, even years after Apple showed how to do it.
https://security.googleblog.com/2024/04/find-my-device-netwo...
https://9to5google.com/2024/08/01/find-my-device-stress-test...
https://9to5google.com/2024/08/03/google-android-find-my-dev...
https://www.androidcentral.com/accessories/testing-new-googl...