安全与密码学2014zdziarski.com
识别 iOS 设备中的后门、攻击点与监控机制
Identifying backdoors, attack points, and surveillance mechanisms in iOS devices
进阶 · 约 55 分钟读完前置知识:iOS 系统架构、移动安全基础、网络协议与取证常识
导读
这篇论文(及配套演讲)梳理 iOS 设备中可能被用作后门、攻击入口和监控机制的系统服务与配置,分析其安全影响,并给出降低风险的设置建议。作者重点讨论了调试类服务、设备配对和网络连接等攻击面,提醒这些机制可能被滥用。
HN 关注点:这些 iOS 机制究竟是正常的调试/服务功能,还是可供政府或攻击者利用的后门与监控入口,以及普通用户能做什么防护。
后来怎么样
该演讲引发了对 iOS 诊断与取证服务是否构成后门的公开争议,苹果随后公开回应澄清相关机制;相关讨论提升了移动取证和隐私社区对 iOS 配对、调试接口与设备访问面的关注。
HN 评论精选
这几条评论里:支持 2 补充 2
支持推荐该演讲,并给出通过 Apple Configurator 禁用设备配对的具体防护步骤。
Zdziarski 昨天也在 HOPE 大会上做了这个演讲,强烈推荐。想保护 iPhone 的人,翻到最后一页“Apple Configurator”,按其中步骤操作,可禁止你的 iPhone 与任何设备配对。
majke查看英文原文
Mr Zdziarski gave this talk also at the HOPE conference yesterday. It's highly recommended. Slides: http://www.zdziarski.com/blog/wp-content/uploads/2014/07/iOS_Backdoors_Attack_Points_Surveillance_Mechanisms.pdf For the people wanting to secure their iphone, go to the end to the slide "Apple Configurator" and follow the described steps to disable your iphone from paring with anything.
补充MAC 地址过滤不可靠,建议为 Wi-Fi AP 引入类似 SSH 的首次使用信任公钥认证。
靠 MAC 地址区分根本没用,MAC 地址很容易伪造,即使它“在硬件里”。如果我们像 SSH 那样,为无线 AP 建立标准化的首次使用信任(TOFU)加密认证模型就好了:你连接 AP,它发来公钥,手机问“你是否信任密钥 AB:CD:BE:EF...”;偏执的人可以核对哈希,普通人至少能得到一定保护,免受后续 AP 伪造攻击。
wyager查看英文原文
>This is due to iOS' behavior of automatically joining networks whose name (not MAC address) it recognizes, such as “linksys” or “attwifi”. Discriminating by MAC addresses would not help at all. MAC addresses are trivial to spoof, even though they are "in hardware". It would be cool if we had a standardized trust-on-first-use cryptographic authentication model for wireless APs, like we do with SSH right now. You connect to the AP, it sends you its pubkey, your phone says "Do you want to trust AP with key AB:CD:BE:EF...". The discriminating paranoid person can choose to make sure this is the right key hash, and the average person gets at least limited protection from later AP spoofing attacks.
补充澄清 packet tracer 是公开文档化的调试接口,且需要连接 Mac 主机使用。
packet tracer 是类似 tcpdump 的调试设施接口,需要把设备连接到 Mac 主机。该接口有公开文档:https://developer.apple.com/library/Mac/qa/qa1176/_index.html#//apple_ref/doc/uid/DTS10001707-CH1-SECIOSPACKETTRACING
simscitizen查看英文原文
The packet tracer is an interface to a tcpdump-like facility that's used for debugging. It requires you to connect the device to a Mac host. The interface is publicly documented: https://developer.apple.com/library/Mac/qa/qa1176/_index.html#//apple_ref/doc/uid/DTS10001707-CH1-SECIOSPACKETTRACING
支持关机显著增加数据访问难度,预计设备被检查前应关机。
对我来说关键结论是:iOS 设备关机时,访问其数据要困难得多。所以如果你预计设备会被检查(比如过美国边境),提前关机。
jwr查看英文原文
The key takeaway for me here is that it is much more difficult to access data on iOS devices if they are switched off. So, if you are in a situation where you can expect that your device will be accessed (e.g. crossing the US border), switch it off ahead of time.
相关资源
从这篇论文所有 HN 讨论帖的全部评论里整理出来的链接。
历次讨论
- 2014Hacker News 讨论帖42 分 · 2 评
- 2014Hacker News 讨论帖325 分 · 80 评
同领域还值得读
如何入侵一台已关机的电脑:在 Intel ME 中运行未签名代码
How to hack a turned-off computer, or running unsigned code in Intel ME
这篇 Black Hat 2017 白皮书讨论 Intel Management Engine(ME)的安全问题:如何在 ME 中运行未签名代码,以及攻破处于关机状态的电脑的相关…
安全与密码学2017 · 543 分 · 107 评专业 · 约 40 分钟编辑精选比特币:一种点对点的电子现金系统(2008)
Bitcoin: A Peer-to-Peer Electronic Cash System (2008)
中本聪 2008 年发表的比特币白皮书,提出了无需可信第三方的点对点电子现金系统。
安全与密码学2017 · 536 分 · 394 评入门 · 约 45 分钟编辑精选GPRS 加密算法 GEA-1 的密码分析表明存在故意弱点
Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest intentional weakness
首次公开了对 GPRS 加密算法 GEA-1 和 GEA-2 的密码分析攻击。
安全与密码学2021 · 487 分 · 107 评专业 · 约 90 分钟编辑精选Signal 消息协议的形式化安全分析
A Formal Security Analysis of the Signal Messaging Protocol
用形式化方法分析 Signal 消息协议(TextSecure)的安全性:作者在多阶段密钥交换模型下,借助自动化证明工具对协议的密钥协商与 Double Ratchet 密钥更新…
安全与密码学2016 · 353 分 · 230 评专业 · 约 120 分钟编辑精选A2:模拟恶意硬件
A2: Analog Malicious Hardware
论文研究如何在芯片设计阶段植入模拟电路形式的恶意硬件后门,使其难以被常规检测发现。
安全与密码学2016 · 315 分 · 94 评专业 · 约 75 分钟编辑精选