TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Reverse Engineering Apple Location Services Protocol

161 点作者 tuupola大约 8 年前

6 条评论

MarHoff大约 8 年前
That was at the core of the &quot;locationgate&quot; a few years ago because location of surrounding access point wasn&#x27;t flushed enough regularly. Hence revealing approximate location to people that can materially access the phone (this was before iOS full disk encryption). See: <a href="http:&#x2F;&#x2F;allthingsd.com&#x2F;20110427&#x2F;apple-breaks-its-silence-on-location-gate-plans-to-ship-white-iphone-on-thursday&#x2F;" rel="nofollow">http:&#x2F;&#x2F;allthingsd.com&#x2F;20110427&#x2F;apple-breaks-its-silence-on-l...</a><p>And by today standard I really appreciate Apple approach of doing most of the computation on the phone itself.
zkms大约 8 年前
Huh, apparently this is a rediscovery: <a href="https:&#x2F;&#x2F;github.com&#x2F;microg&#x2F;NetworkLocation&#x2F;blob&#x2F;master&#x2F;NetworkLocation&#x2F;protos-repo&#x2F;apple_loc.proto" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;microg&#x2F;NetworkLocation&#x2F;blob&#x2F;master&#x2F;Networ...</a><p>also I&#x27;m wondering, is there a client for that location services protocol that works on linux?
shabble大约 8 年前
Although it looks like all the interesting content is in the protobuf payload, it looks like the header might not be the NUL-delimited&#x2F;ASCII control char sequence the author inteprets it as.<p>Unless it&#x27;s coincidence, each of the string portions is prefixed by its length in bytes. Since they&#x27;re all so short[1], it&#x27;s not obvious if they&#x27;re 1,2 or 4 byte lengths, or if those are just padding or other flag bytes. It smells almost like the binary plist format[2], but doesn&#x27;t seem to obviously decode.<p>This is just casual inspection of only the sequences in the article, so might be wildly wrong, and probably irrelevant.<p>Brute-forcing the protobuf message without the schema surprisingly effective here though. I didn&#x27;t realise it left as much structure in there.<p>[1] NPI<p>[2] <a href="https:&#x2F;&#x2F;synalysis.com&#x2F;how-to-decode-apple-binary-property-list-files&#x2F;" rel="nofollow">https:&#x2F;&#x2F;synalysis.com&#x2F;how-to-decode-apple-binary-property-li...</a>
评论 #14313630 未加载
moontear大约 8 年前
Now I understand the &quot;your location accuracy is improved when turning on WiFi&quot; message! Very interesting.<p>Does this also mean that location accuracy is NOT improved when no Internet is available and iOS couldn&#x27;t update its list of known access points around me? This would mean I could save battery while traveling by disabling wifi.
评论 #14309956 未加载
st3fan大约 8 年前
Wonderful. We need more of this to understand the whole iOS&#x2F;macOS services stack.
jploh大约 8 年前
Great work! Looking for something similar for AirPlay.