Lune

NDSS2020顶会

Automated Cross-Platform Reverse Engineering of CAN Bus Commands From Mobile Apps

Haohuang Wen, Qingchuan Zhao, Qi Alfred Chen, Zhiqiang Lin

摘要

In modern automobiles, CAN bus commands are necessary for a wide range of applications such as diagnosis, security monitoring, and recently autonomous driving. However, only a small portion of CAN bus commands is standardized, and a vast majority of them is developed privately by car manufacturers. Today, the most effective way of revealing the proprietary CAN bus commands is to reverse engineer with real cars, which unfortunately is time-consuming and costly. In this paper, we propose a cost-effective (no real car needed) and automatic (no human intervention required) system, CANHUNTER, for reverse engineering of CAN bus commands using just car companion mobile apps. To achieve high effectiveness, we design an efficient technique to uncover the syntactics of CAN bus commands with backward slicing and dynamic forced execution, and a novel algorithm to uncover the semantics of CAN bus commands by leveraging code-level semantic clues. We have implemented a prototype of CANHUNTER for both Android and iOS platforms, and tested it with all free car companion apps (236 in total) from both Google Play and Apple App Store. Among these apps, CANHUNTER discovered 182, 619 unique CAN bus commands with 86.1% of them revealed with semantics, covering 360 car models from 21 car manufactures. We have also evaluated their correctness (both syntactics and semantics) using public resources, cross-platform and cross-app validation, and also realcar testing, with which over 70% of all the uncovered commands are validated. We observe no inconsistency in cross-platform and cross-app validation. While there are 3 semantic inconsistency among 241 manually validated CAN bus commands from public resources and real-car testing, we find that these three cases are actually caused by mistakes from app developers.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • SmartAuth: User-Centered Authorization for the Internet of Things 引用了 Fingerprinting Electronic Control Units for Vehicle Intrusion Detection
  • Dangerous Skills: Understanding and Mitigating Security Risks of Voice-Controlled Third-Party Functions on Virtual Personal Assistant Systems 引用了 SmartAuth: User-Centered Authorization for the Internet of Things
  • Automatic Fingerprinting of Vulnerable BLE IoT Devices with Static UUIDs from Mobile Apps 引用了 SmartAuth: User-Centered Authorization for the Internet of Things
  • Automatic Fingerprinting of Vulnerable BLE IoT Devices with Static UUIDs from Mobile Apps 引用了 Why Does Your Data Leak? Uncovering the Data Leakage in Cloud from Mobile Apps
  • IoTFlow: Inferring IoT Device Behavior at Scale through Static Mobile Companion App Analysis 引用了 Diane: Identifying Fuzzing Triggers in Apps to Generate Under-constrained Inputs for IoT Devices
  • IoTFlow: Inferring IoT Device Behavior at Scale through Static Mobile Companion App Analysis 引用了 Why Does Your Data Leak? Uncovering the Data Leakage in Cloud from Mobile Apps
  • IoTFlow: Inferring IoT Device Behavior at Scale through Static Mobile Companion App Analysis 引用了 Automatic Fingerprinting of Vulnerable BLE IoT Devices with Static UUIDs from Mobile Apps
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. Diane: Identifying Fuzzing Triggers in Apps to Generate Under-constrained Inputs for IoT DevicesNilo Redini, Andrea Continella, Dipanjan Das, Giulio De Pasquale 等S&P 2021 · 72 次引用
  2. IoTFlow: Inferring IoT Device Behavior at Scale through Static Mobile Companion App AnalysisDavid Schmidt, Carlotta Tagliaro, Kevin Borgolte, Martina LindorferCCS 2023 · 13 次引用
  3. From Virtual Touch to Tesla Command: Unlocking Unauthenticated Control Chains From Smart Glasses for Vehicle TakeoverXingli Zhang, Yazhou Tu, Yan Long, Liqun Shan 等S&P 2024 · 6 次引用
  4. BaseMirror: Automatic Reverse Engineering of Baseband Commands from Android's Radio Interface LayerWenqiang Li, Haohuang Wen, Zhiqiang LinCCS 2024 · 1 次引用
  5. Towards Automatically Reverse Engineering Vehicle Diagnostic ProtocolsLe Yu, Yangyang Liu, Pengfei Jing, Xiapu Luo 等USENIX Security 2022

它引用的 Paper8

  1. Fingerprinting Electronic Control Units for Vehicle Intrusion DetectionKyong-Tak Cho, Kang G. ShinUSENIX Security 2016 · 524 次引用
  2. SmartAuth: User-Centered Authorization for the Internet of ThingsYuan Tian, Nan Zhang, Yue-Hsun Lin, XiaoFeng Wang 等USENIX Security 2017 · 231 次引用
  3. Dangerous Skills: Understanding and Mitigating Security Risks of Voice-Controlled Third-Party Functions on Virtual Personal Assistant SystemsNan Zhang, Xianghang Mi, Xuan Feng, XiaoFeng Wang 等S&P 2019 · 160 次引用
  4. Why Does Your Data Leak? Uncovering the Data Leakage in Cloud from Mobile AppsChaoshun Zuo, Zhiqiang Lin, Yinqian ZhangS&P 2019 · 123 次引用
  5. Automatic Fingerprinting of Vulnerable BLE IoT Devices with Static UUIDs from Mobile AppsChaoshun Zuo, Haohuang Wen, Zhiqiang Lin, Yinqian ZhangCCS 2019 · 77 次引用

相关 Paper

  1. On Bit-level Reverse Engineering of Vehicular CAN BusYunlang Cai, Hanxue Shi, Xiaohang Wang, Haoting Shen 等DAC 2025 · 2 次引用
  2. LibreCAN: Automated CAN Message TranslatorMert D. Pesé, Troy Stacer, C. Andrés Campos, Eric Newberry 等CCS 2019 · 76 次引用
  3. Error Handling of In-vehicle Networks Makes Them VulnerableKyong-Tak Cho, Kang G. ShinCCS 2016 · 238 次引用
  4. Scission: Signal Characteristic-Based Sender Identification and Intrusion Detection in Automotive NetworksMarcel Kneib, Christopher HuthCCS 2018 · 162 次引用
  5. Obfuscated Priority Assignment to CAN-FD Messages with Dependencies: A Swapping-based and Affix-Matching ApproachGuoqi Xie, Debayan Roy, Yawen Zhang, Renfa Li 等DAC 2021 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖