2 Ignore the Bus Behind the Curtain 診断バスから車体を操作する 3 All Your Trek Are Belong to Us 無線だけで車体を操作する •「診断バスへのアクセスが、無線での車体制御につながる」というシナ リオを体験できる流れになっている 2 / 26
has a diagnostic port on the side, using standard-ish protocols. Explore the interface and see what you can find. You’ll need a CAN-FD adapter or the CHV Badge. • 問題名と問題文から、UDS 問題と推測 3 / 26
CAN ID を調査 $ sudo ip link set can0 up type can bitrate 500000 dbitrate 2000000 fd on $ candump can0 定期送信なし $ cansend can0 7E0#0201000000000000 7E8 03 7F 01 11 応答あり • CAN ID 0x7E0・0x7E8 が UDS の client・server と判明 • (caringcaribou は FD 非対応なのか、使えなかった) 4 / 26
are two busses on the vehicle. You can’t get to the other one through the diagnostic port… or can you? Now that you’ve done the dance, dig a little deeper to unlock further capabilities. • 問題1でアクセスした診断バスから、もう一方のバスにアクセスでき るか?という問題 • 問題 1 解決時点で未確認のままだった点: ‣ 0x22 ReadDataByIdentifier の詳細 ‣ 0x31 RoutineControl の 0202 (なぜ securityAccessDenied?) と 0203 (5000 は何の値か)、各ルーチンの機能 8 / 26
Everyone always loves full remote, wireless control of a vehicle fleet, even if it’s a Tiny fleet. Take the leap to wireless control to unlock the final flag. • 無線だけで車体を操縦できるか?という問題 • 問題 2 解決時点で未確認のままだった点: ‣ 29537/tcp の用途 ‣ DID F18C・F190 の用途 ‣ 検証用チェックサムの計算方法 18 / 26