11 ms·
Emulating AirTags to upload arbitrary data via Apple's FindMy network
- toomuchtodo 6y agohttps://web.archive.org/web/20210512140243/https://positive.security/blog/send-my https://web.archive.org/web/20210512140243/https://positive....
- codeecan 6y agoWould be cool if Apple released a iPod touch with pager functionality that works thru find my network. Where you can send / receive short messages (even with 15 min delays).
- mensetmanusman 6y agoThat’s a good idea, I bet Amazon would enable this with sidewalk and mesh networking through the Alexa app.
- londons_explore 6y agoEvery message uploaded to the "Find My" network very slightly degrades the user experience for all Apple users - since it is using up CPU cycles, battery and bandwidth of random strangers iPhones. I wonder what the capacity of the network is before the impact on battery life becomes significant...
- mediaman 6y agoIt uses BLE (I believe), and data upload can be combined with other requests on the iPhone's next cellular connection request. CPU use is going to be extremely minimal. BLE power usage for a low data rate transmission is very, very low. I don't really see any realistic density of AirTags that would have any measurable impact on energy use of nearby iPhones.
- londons_explore 6y agoThe power hungry bit is probably powering in the GPS to attach a location. On Android at least, getting a GPS fix takes many seconds, during which the CPU cannot sleep. For that reason, a default Android phone won't power up the GPS for hours on end sometimes. Yet this find-my feature might require a GPS position every few minutes whenever a new tag is seen. That's a lot of extra power.
- X-Istence 6y agoMost users have Find My turned on for their devices so that if they are lost or stolen they can find them. Find My on your phone already has to get an approximate location, and it does so fairly frequently (since you can track somewhat realtime). So having an Air Tag piggy back on the same mechanism won't cost a whole lot in terms of having to power on the geolocation capabilities.
- myself248 6y agoIf they were to officially support this use-case of arbitrary data transmission, you could also default to non-GPS-located transactions, which would save that power except in cases where the user has specified that they do need locations. Also, coarse location (cellular and wifi) uses basically no power, and might be good enough for an awful lot of applications.
- pbhjpbhj 6y agoThis is probably wrong: I guess they can just rate-limit the program that runs in the iPhone, but that still (to me, very naively) would allow a DoS that prevented genuine tags from access. As mentioned in the OP to know if the tag is genuine a device needs to go to the trouble of receiving the traffic in case it's real, then decrypting (search "ECIES encryption" in OP): so you'd be wasting quite a bit of processing before you reject a fake tag. If they rate limit the decryption - which you'd have to - then you can overwhelm a device on the network by sending out fake packets. It strikes me you can generate random BLE data that looks like airtag data cheaper than you can verify packets and so in theory one iPhone could overwhelm a minimum of one other; and presumably could overwhelm all others in range (with lower or equal processing power). They do mention their (the OP's) public keys being rejected. So, if my analysis is right you can either use all processing on all devices in range, or overwhelm all devices in range of they're rate-limited. The second case is preferable. I'm interested in why I'm wrong. Can the imaginary fake tags in my analysis be rejected using less power than it takes to make them?
- Someone 6y agoCool, but I don’t see it being viable, commercially. Suppose they make this, how many would they sell? How many of those customers would have bought an (more expensive, I presume) iPhone if they wouldn’t make it? They stopped making iPod touch for similar reasons. I doubt adding this feature would attract enough extra buyers to change that.
- minxomat 6y ago6G is going to be devices we carry around becoming TX/RX instead of building out mmWave APs every few meters.
- Scoundreller 6y agoI hope so. Some telecoms deserve to be put out of business and solely exist/continue due to government corruption.
- idiotsecant 6y agoThat would be swimming upstream in terms of profit incentives, though. I hope it does happen but anyone who has the money and inclination to fund the development is also someone who has a vested interest in the client / server topology we have now. If there's no server to feed you wireless connectivity there's no way to make a profit from being that server.
- refulgentis 6y agoThis is starting to remind me of when Intelligent Tracker Prevention(tm) was released and instead was a super cookie leaking history. http://blog.lukaszolejnik.com/curious-case-of-privacy-vulnerability-in-intelligent-tracking-prevention/ http://blog.lukaszolejnik.com/curious-case-of-privacy-vulner... I'd be much more comfortable with Apple being Privacy, Inc. if they kept their commitment to it, too often it looks like engineers got overrode by marketing. It's v unlikely a privacy engineer signed off on something, with so many side channels, with real world consequences, compromising a billion + iOS devices
- conradev 6y agoThis blog post actually demonstrates the opposite of the point you are trying to make.
- whoknowswhat11 6y agoUm - I think you are totally missing the point - Apple is doing probably the only fully encrypted system - vs tile and friends where everything lives in a database. This is not compromising billions of iOS devices, which frankly remain FAR FAR more secure than 80% of the competitor handsets which in many cases seem to ship with backdoor built in by their mfgs.
- refulgentis 6y agoHmm, lots to unpack there, I'll stay focused on my iPhone,...I'm not so sure...the lead article on HN yesterday showed you can track people unrelated to tag's routes, live. https://www.intego.com/mac-security-blog/i-mailed-an-airtag-and-tracked-its-progress-heres-what-happened/ https://www.intego.com/mac-security-blog/i-mailed-an-airtag-... I've gathered there's a beep if this is going on for 3 days, but...still not comfy with this. And this isn't a particularly fringe opinion, plenty of comments on the article wondering how to opt out:
- bngybmgrglflps 6y ago"Beep as anti-stalking measure" is somewhere between marketing spin and gaslighting. A lost AirTag chirps to serve its primary function of being recovered. The timer is 3 days[1], which observers (Forbes, WaPo) agree is surprisingly unreasonable for this use case. We can infer it was never a serious design consideration. On Android, decent Bluetooth is a gamble, but scanning will theoretically find one[2]. [1] https://daringfireball.net/linked/2021/04/20/moren-fine-print https://daringfireball.net/linked/2021/04/20/moren-fine-prin... [2] https://lifehacker.com/try-using-a-bluetooth-scanner-app-to-find-unwanted-airt-1846829920 https://lifehacker.com/try-using-a-bluetooth-scanner-app-to-...
- senbarryobama 6y agoHilarious. This is exactly what Amazon Sidewalk intends to be. Apple has fallen ass backwards into an IoT killer app, but just don’t know it yet...
- jaywalk 6y agoSidewalk's bandwidth and latency is a little better than this, though.
- thatguy0900 6y agoSidewalk also has the advantage of mostly being home internet connection instead of metered wireless plans
- minitoar 6y agoI’m probably on some sort of wifi on my phone like 90% of the time.
- nanidin 6y agoSidewalk is also connected to grid power, and the backbone consumer devices are in fixed locations. I don’t see grid vs battery or fixed/mobile device locations as necessary advantages or disadvantages though. For example, the FindMy network would continue to work even in power outage scenarios like parts of the country experienced in Feb 2021.
- chadlavi 6y agodo they not know it or are they just not talking about how they plan to capitalize on it yet?
- fiberoptick 6y agoThis could have been an immensely powerful covert communications channel for field operators of military and intelligence services
- airstrike 6y agoI think it still can...
- tyingq 6y agoIt feels like Apple's ability to fix this is somewhat limited, since they can't change anything about Airtags that have already been produced.
- thebean11 6y agoCouldn't a software change on the iPhone side prevent it?
- tyingq 6y agoI can't find anything that shows OTA firmware updates of the tags themselves happening. Yes, you could tweak the iPhone, but if a "emulated tag" looks exactly like a "real tag that can't be updated", you're somewhat limited.
- thebean11 6y agoI was thinking something more along the lines of rate limiting, doesn't this exploit depend on lots of spammy requests?
- tyingq 6y agoRate limiting would help with the "hijacking the network to send your own data" piece in the original article. It wouldn't do much for other uses, like tracking people without their knowledge. A "faked AirTag", could, for example, rotate it's serial number to avoid triggering Apple's "AirTag Found Moving With You" feature. Or the opposite of that. You could stick a fake device on someone's car and trigger the "AirTag Found Moving With You" warning over and over by periodically changing the serial number after the user suppressed the warning for a particular AirTag.
- protoman3000 6y agoSo if now somebody uses this to upload illegal material somewhere from my IP I am fucked?
- dangrie158 6y agoYou only read the title, didn‘t you
- jazu 6y agoThe elephant in the room of all p2p networks. Even if they eventually find you innocent, you would have gone through all the headache of the court system anyway.
- cerved 6y agoyes, at a staggering rate of 3 bytes a second
- tinus_hn 6y agoIt’s DMCA proof, because once you’re done uploading a movie the copyright will have expired!
- kingofclams 6y agoHonestly, I could see someone doing this over the FindMy network. It doesn’t even have to be illegal, just an interesting proof of concept.
- swiley 6y agoThat's interesting, so it's really an encrypted APRS replacement over bluetooth then?
- toomuchtodo 6y agoYes! and without the need to be FCC technical licensed.
- threepio 6y agoApple is creating a yawning double standard between its "privacy is a human right" [1] refrain and its own profit interests. If you're skeptical, the pricing says it all. Apple could've sold AirTags for $99 each with a $1/mo service fee to use the Find My network. That would've boosted their profit margin on the initial sale and created recurring revenue, while restricting network load. As it stands, AirTags are $25 each and free to operate, which means that Apple wants them to be ubiquitous — buy 10 or 20 and put them everywhere. Apple has gotten a lot of mileage on their idea that "the customer is not the product" but this is a turn in the wrong direction. Despite months of claims that AirTags are impregnable, unhackable, etc. the news is just going to get worse. [1] https://www.apple.com/privacy/ https://www.apple.com/privacy/
- robertlagrant 6y ago> AirTags are $25 each and free to operate, which means that Apple wants them to be ubiquitous — buy 10 or 20 Counting on lots of people spending $500 on AirTags is probably not a real master plan.
- baby-yoda 6y agodoes apple provide a way to opt out of the FindMy network?
- oflannabhra 6y agoYep
- barkerja 6y agoSettings > iCloud > Find My > Find My iPhone > Find My network
- notdang 6y agoDisabling it, won't you also lose the notification that someone is tracking you (like Android users) ? P.S. I know about the beeping, but the speaker can be easily removed.
- angry_octet 6y agoYou can opt your phone out of participating, but of course that won't stop other people's iPhones and iPads reporting the position of any AirTags they see near you. It's unfortunate that, even though your phone can leave FindMy, it isn't as straightforward as going into Airplane Mode. You certainly can't choose to disable it at certain locations.
- thatcherc 6y agoI was wondering if something like could be done to upload sensor data without a data connection and it looks like that's exactly what the authors here had in mind!: > Potential use cases > While I was mostly just curious about whether it would be possible, I wouldimagine the most common use case to be uploading sensor readings or any data from IoT devices without a broadband modem, SIM card, data plan or Wifi connectivity. The use case I had in mind is gathering sensor data from boat out in a harbor (away from wifi) that other boats with iPhone-bearing crew pass by frequently. This ESP32 AirTag emulator could send out battery level and bilge pump data any time someone sailed by, without the need for a dedicated modem. Might have to try this out!
- spoonjim 6y agoI recall a mechanism like this used to deliver email in rural India. There were basically email “kiosks” which would let you receive and send mail for a fee and would store these messages locally until a truck with the company’s transponder stopped at the village, at which point it would send the data to the truck which would upload the data to the Internet when it reached the city. Obviously obviated by mobile data.
- laurent92 6y agoThe process of delivering the internet by trucks is quite laughable, yet SMTP is the perfect protocol for that: Mail can hop from server to server until it finds the right one, as opposed to now where SMTP hosts like Gmail only accepts mail sent from or to a Gmail account.
- aidos 6y agoCan you explain what you mean about gmail?
- xyzzy_plugh 6y agoClassically SMTP let you "relay" mail that neither originated or is destined for the specific server. Gmail, and most modern SMTP servers, only permit mail from or to a Gmail address/their primary domain. Edit: added clarification that all SMTP servers do not only permit Gmail addresses...
- raviisoccupied 6y agoI am fascinated by the amount of attention the AirTag has gotten from the HN community and elsewhere. Of course Apple is a massive company, but there is something extremely compelling about precise location tracking. Even if this product isn't successful, I think Apple have propelled a new category of products to the forefront.
- stefan_ 6y agoNext, hookup a speaker to the ESP32 so it can beep loudly when it detects one of these SpyTags.
- mvanaltvorst 6y agoDoes this fall within Apple's policy of fair use? Would be great if there were an officially supported (paid) API for this, the technology and potential use cases are great. I'm afraid hooking something like this up to my Apple ID will get me banned somehow.
- leodriesch 6y agoOn Wikipedia it says that Find My is enabled for certain third-party accessories [0], so you could probably join if you wanted. [0]: https://en.wikipedia.org/wiki/Find_My https://en.wikipedia.org/wiki/Find_My
- tgtweak 6y agoYou are using other users' (mobile) bandwidth to do the transmission, and apples server resources to brute force/ddos request the data on the other side. I can't see them condoning this at all and simple not responding negatively to it could encourage this misuse. I would expect that kind of response from Apple.
- 2OEH8eoCRo0 6y agoWhy would you be afraid? According to HN Apple is not a monopoly and plenty of viable alternatives exist. /s
- mhandley 6y agoAs there's a limit of 16 AirTags per Apple ID, and each AirTag's keys rotate every 15 minutes, presumably Apple can detect if anyone is abusing the system by sending more than 16 different "messages" per 15 minutes. They can't detect this when the fake airtags are sending, but can detect it from stored message timestamps when you query. If they start to see this being abused a lot, they can then block Apple IDs. To avoid Apple being able to see this, you probably need to either use multiple Apple IDs, or send less than 16 bits per 15 minutes.
- blantonl 6y agofor nation states and interested parties, these seem like trivial restrictions considering the value of now having a deployed mobile mesh network of 1 billion + devices available for free.
- tialaramex 6y agoSuppose a real AirTag owner is wondering where their lost tag is. Although it would be ideal to learn where it is right now they'd be somewhat happy to know where an iPhone "saw" it two hours ago, or indeed a week ago... and Apple's system deliberately stores up to a week of data. A week is about 700 keys to check. For one "lost" device, but as you note Apple are happy for you to buy more than a dozen, and of course you wouldn't be happy if Apple tells you that you must only track one of those. Apple has no way to know if your check for 7000 keys is, in fact, ten devices for a week, or 7000 unrelated queries, it deliberately doesn't know how to relate the keys to one or more tags. So while yes, that would mean if you have a long term sensor network Apple could block you using it to move more than a few bytes per hour per Apple ID (Apple IDs are free) if you have a more nefarious motive to move say a kilobyte in an hour or two, once every few weeks, that should work fine.
- mhandley 6y agoIt's not the number of keys you check - that can indeed be large. It's the number of responses for different keys you receive with recorded receipt timestamps in the same 15 minute interval. If that is greater than 16 (or perhaps 32 given a normal tag can send two different keys in the same 15 min interval), Apple will know you're either querying more than 16 tags, or have tags using more than one key each.
- tyingq 6y agoSounds like you could drive someone a bit crazy with Apple's "AirTag Found Moving With You" feature, since you could rotate serial numbers. Like gluing one of these to their car in someplace not obvious.
- jquery 6y agoIf there’s abuse, you can count on a “report” button showing up. Or at least a “don’t show me this” tied to a specific AirTag
- bscphil 6y ago> since you could rotate serial numbers Wait, maybe I'm confused, but isn't the point behind rotating serial numbers that the person couldn't just click ignore? But how much sense does that make, if people are routinely ignoring tracking devices glued to their cars instead of finding and disabling them, that seems like... a problem. A tracking device that decides to re-alert you to its presence rather than remain hidden and silent seems like a less dangerous tracking device, rather than the other way around.
- tyingq 6y agoYou can either rotate it after the time period where it alerts them, to be annoying (they have to keep dismissing it). Or, you rotate it before it alerts them, and stitch the tracking together. That's the more dangerous bit. Apple only alerts if a specific tag is following you for more than X whatever.
- amelius 6y agoWould it be possible to relay communication between iPhone and the AirTag, making the iPhone think the tag is in a different location than it actually is?
- etskinner 6y agoThe communication is one-way, and the only thing transmitted from the lost device is the bluetooth public key, so no. The device that detected the AirTag encrypts the location with the public key and transmits it to Apple, not the AirTag itself.
- amelius 6y agoBut what if there is a man in the middle, X: tag sends Bluetooth key to X, then X relays that (e.g. over the internet) to Y which sends it to an IPhone. And since the communication is one way, there is no encryption (I suppose), so replay-attacks should be possible unless it uses a clock. Someone could write an app which reads Bluetooth IDs and then transmits them at random times.
- angry_octet 6y agoI think spoofing will be difficult unless you can dump the key from a specific AirTag (already done, but it's a manual process involving disassembly and advanced skills and equipment). Replay attacks may be possible, but we will have to wait to see if the protocol is entirely passive. The iPhone could broadcast a challenge to the AirTag and transmit the signed response and response delay. The delay should be fairly tightly bounded. The AirTags do have a clock as I understand it, but drift is inevitable, so it wouldn't be a tight bound.
- vanshg 6y agoApple should embrace this fully and create their own decentralized network
- moshmosh 6y agoI don't want traffic that doesn't provide some pretty serious benefit to me with very low resource use (as Find My does) to use my phone('s battery).
- paxys 6y agoIt is only decentralized if the entire world is covered in Apple devices every few meters. At the moment they are simply extensions to a nearby router or cell tower.
- idiotsecant 6y ago>It is only decentralized if the entire world is covered in Apple devices every few meters. Give it a few decades...
- jtbayly 6y agoI don't think that universal coverage is a requirement for something to be decentralized. Am I missing something?
- hervature 6y agoYes, I think they meant to say useful.
- Rebelgecko 6y agoLike Amazon Sidewalk?
- ThatPlayer 6y agoI think you'd still have issues mapping a mesh, especially with how often phones are moving. I remember looking at meshtastic for a mesh wireless network and they're still working on a solution for a large number of nodes covering a large area: https://meshtastic.org/docs/software/other/mesh-alg https://meshtastic.org/docs/software/other/mesh-alg
- madengr 6y agoIt’d be interesting to run the signal through a PA to get a good standoff, or illuminate every phone in the area. Though I don’t know if the UWB is needed in conjunction to verify proximity.
- Animats 6y agoThe sending rate on the microcontroller is currently ~3 bytes/second. The latency is usually between 1 and 60 minutes. That's not much, but it has value for industrial machine-to-machine communications. (That's IoT without the hype.) Like commercial air conditioning units. They can send in minimal data ("compressor 1 running, compressor 2 stopped, system OK") to a maintenance service without needing a cellular account or connection to the Internet.
- PurpleFoxy 6y agoFor critical data like that, it would make more sense to just have a modem on board. 5G should make this more possible with increased device limits.
- Animats 6y agoMinimum cellular cost for very low data volumes is about $1.75/month. 5G is only useful if you need bandwith in an area with very high contention, like a stadium, or you're in an area remote enough that the lower frequencies work but the higher ones don't.
- yftsui 6y ago5G is notoriously known for smaller coverage area than LTE, it made IOT impossible instead of possible.
- BenjiWiebe 6y agoI believe the 5G standard also includes a low-band protocol as well, which to my understanding is strictly superior to 4G.
- mytailorisrich 6y agoThe main issue with IOT is not coverage but the massive number of connected devices. 5G is designed to support this. 4G might have a larger coverage per cell, but if it isn't able to handle all the devices trying to connect then that means nothing at all. 5G can have comparable coverage, by the way.
- DocG 6y agoSo I think I can use this to track my car without the limitation of devices starting beeping in three days..
- YeBanKo 6y agoIt’s interesting, that this use case is only possible because Apple tries to preserve privacy of the devices. Unlike Amazon Sidewalk, that requires to authentication of the IoT device, Apple does not, allowing unauthorized devices using the network.