[go: up one dir, main page]

JP6846706B2 - Monitoring equipment, monitoring methods and computer programs - Google Patents

Monitoring equipment, monitoring methods and computer programs Download PDF

Info

Publication number
JP6846706B2
JP6846706B2 JP2017056570A JP2017056570A JP6846706B2 JP 6846706 B2 JP6846706 B2 JP 6846706B2 JP 2017056570 A JP2017056570 A JP 2017056570A JP 2017056570 A JP2017056570 A JP 2017056570A JP 6846706 B2 JP6846706 B2 JP 6846706B2
Authority
JP
Japan
Prior art keywords
frame
determination
result
invalid
priority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017056570A
Other languages
Japanese (ja)
Other versions
JP2018160786A (en
Inventor
安齋 潤
潤 安齋
芳賀 智之
智之 芳賀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2017056570A priority Critical patent/JP6846706B2/en
Priority to PCT/JP2017/040173 priority patent/WO2018135098A1/en
Priority to DE112017006854.1T priority patent/DE112017006854T5/en
Publication of JP2018160786A publication Critical patent/JP2018160786A/en
Priority to US16/505,628 priority patent/US10986093B2/en
Application granted granted Critical
Publication of JP6846706B2 publication Critical patent/JP6846706B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明はデータ処理技術に関し、特に監視装置、監視方法およびコンピュータプログラムに関する。 The present invention relates to data processing techniques, in particular to monitoring devices, monitoring methods and computer programs.

近年、自動車には、多数の電子制御ユニット(Electronic Control Unit、以下「ECU」と呼ぶ。)が搭載されている。これらのECUを繋ぐネットワークは車載ネットワークと呼ばれる。車載ネットワークには多数の規格が存在するが、広く普及した規格としてCAN(Controller Area Network)がある。 In recent years, a large number of electronic control units (Electronic Control Units, hereinafter referred to as "ECUs") are mounted on automobiles. The network connecting these ECUs is called an in-vehicle network. There are many standards for in-vehicle networks, but CAN (Controller Area Network) is a widely used standard.

自動車の電動化に伴い、車載ネットワーク経由でステアリング等のアクチュエータを制御することが可能である。一方で、車載ネットワークで不正コマンドが伝送されることによるアクチュエータの不正操作等を防止するため、メッセージ認証コード(Message Authentication Code、以下「MAC」と呼ぶ。)を用いたメッセージ認証が実行されることがある(例えば特許文献1参照)。 With the electrification of automobiles, it is possible to control actuators such as steering via an in-vehicle network. On the other hand, in order to prevent unauthorized operation of the actuator due to transmission of unauthorized commands on the in-vehicle network, message authentication using a message authentication code (hereinafter referred to as "MAC") is executed. (See, for example, Patent Document 1).

国際公開第2013/065689号International Publication No. 2013/065689

今後、インターネットへ常時接続される車両の普及に伴い、インターネットを介して車両と接続された装置群(以下「クラウド」とも呼ぶ。)が、車両のセキュリティ状態を常時監視することが考えられる。このようなクラウドサービスを利用する車両は、自車のセキュリティ状態をクラウドへ通報する必要があるが、通信量が過度に増加することは好ましくない。 In the future, with the spread of vehicles that are always connected to the Internet, it is conceivable that a group of devices connected to the vehicle via the Internet (hereinafter, also referred to as "cloud") will constantly monitor the security status of the vehicle. Vehicles that use such cloud services need to report the security status of their vehicles to the cloud, but it is not desirable for the amount of communication to increase excessively.

本願発明は上記課題に鑑みたもので、1つの目的は、自装置のセキュリティ状態に応じた適切な内容またはタイミングで、外部装置への通報を実現することである。 The present invention has been made in view of the above problems, and one object is to realize a notification to an external device at an appropriate content or timing according to the security state of the own device.

上記課題を解決するために、本発明のある態様の監視装置は、通信網からフレームを受信する受信部と、フレームに対するメッセージ認証の結果に基づいてフレームが不正かを判定する第1判定と、フレームの態様と予め定められたルールとに基づいてフレームが不正かを判定する第2判定とを行い、第1判定の結果と第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理部と、を備える。 In order to solve the above problems, the monitoring device of an aspect of the present invention includes a receiving unit that receives a frame from a communication network, a first determination that determines whether the frame is invalid based on the result of message authentication for the frame, and a first determination. A second determination is made to determine whether the frame is invalid based on the mode of the frame and a predetermined rule, and the external device is notified according to the combination of the result of the first determination and the result of the second determination. It includes a processing unit that changes at least one of the content or the priority of the report.

本発明の別の態様は、監視方法である。この方法は、通信網からフレームを受信し、フレームに対するメッセージ認証の結果に基づいてフレームが不正かを判定する第1判定と、フレームの態様と予め定められたルールとに基づいてフレームが不正かを判定する第2判定と、を行い、第1判定の結果と第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する、ことをコンピュータが実行する。 Another aspect of the present invention is a monitoring method. This method receives a frame from the communication network and determines whether the frame is invalid based on the result of message authentication for the frame, and whether the frame is invalid based on the mode of the frame and a predetermined rule. The computer determines that the second judgment is performed, and at least one of the content to be notified to the external device or the priority of the notification is changed according to the combination of the result of the first judgment and the result of the second judgment. Executes.

なお、以上の構成要素の任意の組合せ、本発明の表現を、コンピュータプログラム、コンピュータプログラムを記録した記録媒体、本装置を搭載した車両などの間で変換したものもまた、本発明の態様として有効である。 It should be noted that any combination of the above components and the expression of the present invention converted between a computer program, a recording medium on which the computer program is recorded, a vehicle equipped with the present device, and the like are also effective as aspects of the present invention. Is.

本発明によれば、自装置のセキュリティ状態に応じた適切な内容またはタイミングで、外部装置への通報を実現することができる。 According to the present invention, it is possible to realize a notification to an external device at an appropriate content or timing according to the security state of the own device.

第1実施例の車載ネットワークシステムの構成を示す図である。It is a figure which shows the structure of the vehicle-mounted network system of 1st Example. 図1のCGWの機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the CGW of FIG. 図1のECUの機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the ECU of FIG. 不正検出パターン別の不正対策を示す図である。It is a figure which shows the fraud countermeasure for each fraud detection pattern. 図1のCGWの動作を示すフローチャートである。It is a flowchart which shows the operation of the CGW of FIG. 図1のECUの動作を示すフローチャートである。It is a flowchart which shows the operation of the ECU of FIG. 変形例のCGWのハードウェア構成を示す図である。It is a figure which shows the hardware configuration of the CGW of a modification. 第2実施例の車載ネットワークシステムの構成を示す図である。It is a figure which shows the structure of the vehicle-mounted network system of 2nd Example. 図8のECUの機能構成を示すブロック図である。It is a block diagram which shows the functional structure of the ECU of FIG. 不正検出パターンを示す図である。It is a figure which shows the fraud detection pattern. 図8のECUの動作を示すフローチャートである。It is a flowchart which shows the operation of the ECU of FIG.

[第1実施例]
第1実施例の詳細な構成を説明する前にまず概要を述べる。実施例の車載ネットワークシステムでは、MACを用いたメッセージ認証(以下「MAC検証」とも呼ぶ。)と、車載ネットワークを流れるフレーム(言い換えればコマンド)に対する振る舞い検証を併用する。振る舞い検証は、振る舞い検知技術と言え、侵入検知技術とも言える。振る舞い検証には、例えば「特開2014−146868号公報」に記載された技術を適用してもよい。実施例の車載ネットワークシステムでは、MAC検証の結果と、振る舞い検証の結果の両方を総合的に判断して、不正対策アクション(言い換えれば防御アクション)を実行する。
[First Example]
Before explaining the detailed configuration of the first embodiment, an outline will be given first. In the in-vehicle network system of the embodiment, message authentication using MAC (hereinafter, also referred to as "MAC verification") and behavior verification for a frame (in other words, a command) flowing through the in-vehicle network are used together. Behavior verification can be said to be a behavior detection technology and an intrusion detection technology. For the behavior verification, for example, the technique described in "Japanese Patent Laid-Open No. 2014-146868" may be applied. In the in-vehicle network system of the embodiment, both the result of MAC verification and the result of behavior verification are comprehensively judged, and a fraud countermeasure action (in other words, a defense action) is executed.

図1は、第1実施例の車載ネットワークシステムの構成を示す。実施例の車載ネットワークシステム12は、車両10に構築された通信システムであり、車載ネットワークにおける不正検知システムとしての機能を備える。車載ネットワークシステム12は、ECU14で総称されるECU14a、ECU14b、ECU14c、ECU14d、IVI装置16、OBDアダプタ18、CGW20、CMI22を備える。これらの装置はCAN24を介して接続される。 FIG. 1 shows the configuration of the in-vehicle network system of the first embodiment. The vehicle-mounted network system 12 of the embodiment is a communication system constructed in the vehicle 10 and has a function as a fraud detection system in the vehicle-mounted network. The in-vehicle network system 12 includes an ECU 14a, an ECU 14b, an ECU 14c, an ECU 14d, an IVI device 16, an OBD adapter 18, a CGW 20, and a CMI 22 which are collectively referred to as the ECU 14. These devices are connected via CAN 24.

複数のECU14のそれぞれは、不図示のセンサまたはアクチュエータに接続され、センサによる検知内容を示すフレームをCAN24へ送信し、または、CAN24から受信したフレームが示すコマンドに基づいてアクチュエータを制御する。CAN24の複数のバスのうちパワートレインバス26aに接続されるECU14aは、例えばエンジンECUである。また、運転支援バス26bに接続されるECU14bは、例えばステアリングECUである。また、シャーシバス26cに接続されるECU14cは、例えばサスペンションECUである。また、ボディバス26dに接続されるECU14dは、例えばパワーウィンドウECUである。 Each of the plurality of ECUs 14 is connected to a sensor or actuator (not shown), transmits a frame indicating the detection content by the sensor to the CAN 24, or controls the actuator based on a command indicated by the frame received from the CAN 24. Of the plurality of buses of the CAN 24, the ECU 14a connected to the power train bus 26a is, for example, an engine ECU. Further, the ECU 14b connected to the driving support bus 26b is, for example, a steering ECU. The ECU 14c connected to the chassis bus 26c is, for example, a suspension ECU. The ECU 14d connected to the body bus 26d is, for example, a power window ECU.

IVI(In-Vehicle Infotainment)装置16は、様々な情報を乗員へ提示する情報機器であり、例えばカーナビゲーション装置である。IVI装置16は、車両10外部の通信網(インターネット等)である外部通信網28と接続される。車両10は、外部通信網28を介してルール生成装置29と接続される。ルール生成装置29は、後述の振る舞いルールを生成するサーバである。OBDアダプタ18は、CAN24を流れる様々な情報、例えば車両10の動作状態を示す情報を外部装置へ出力するアダプタである。IVI装置16およびOBDアダプタ18は、CAN24の複数のバスのうち外部バス26eに接続される。外部バス26eは、ECU14以外の装置から送信されたフレームが流れるバスである。外部バス26eを流れるフレームは、例えば、外部通信網28側の装置から送信されたフレーム、および、OBDアダプタ18に接続された装置から送信されたフレームを含む。 The IVI (In-Vehicle Infotainment) device 16 is an information device that presents various information to an occupant, for example, a car navigation device. The IVI device 16 is connected to an external communication network 28 which is a communication network (Internet or the like) outside the vehicle 10. The vehicle 10 is connected to the rule generator 29 via the external communication network 28. The rule generation device 29 is a server that generates a behavior rule described later. The OBD adapter 18 is an adapter that outputs various information flowing through the CAN 24, for example, information indicating an operating state of the vehicle 10 to an external device. The IVI device 16 and the OBD adapter 18 are connected to the external bus 26e among the plurality of buses of the CAN 24. The external bus 26e is a bus through which a frame transmitted from a device other than the ECU 14 flows. The frame flowing through the external bus 26e includes, for example, a frame transmitted from the device on the external communication network 28 side and a frame transmitted from the device connected to the OBD adapter 18.

CGW(Central GateWay)20は、CAN24の複数のバスに接続され、バス間でのフレームの中継処理およびルーティング処理を実行するゲートウェイECUである。CMI(Centralized Monitoring and Interceptor)22は、CAN24の複数のバスに接続され、各バスを流れるフレームを監視するECUである。変形例として、CMI22がCAN24に非接続の構成であってもよく、言い換えれば、車載ネットワークシステム12は、CMI22を備えなくてもよい。 The CGW (Central GateWay) 20 is a gateway ECU that is connected to a plurality of buses of the CAN 24 and executes frame relay processing and routing processing between the buses. The CMI (Centralized Monitoring and Interceptor) 22 is an ECU connected to a plurality of buses of the CAN 24 and monitoring a frame flowing through each bus. As a modification, the CMI 22 may be configured not to be connected to the CAN 24, in other words, the vehicle-mounted network system 12 may not include the CMI 22.

実施例では、MACを用いたメッセージ認証に対応する複数の装置に監視モジュールが導入される。具体的には、CGW20と一部のECU14に監視モジュールが導入される。監視モジュールが導入されたCGW20とECU14は、CAN24を流れる不正フレーム(言い換えれば不正コマンド)を監視し、不正対策を実行する監視装置として機能する。変形例として、(1)CGW20にのみ監視モジュールを導入する構成でもよく、(2)CMI22にのみ監視モジュールを導入する構成でもよく、(3)MACを用いたメッセージ認証に対応するECU14にのみ監視モジュールを導入する構成でもよい。 In the embodiment, the monitoring module is introduced into a plurality of devices corresponding to message authentication using MAC. Specifically, a monitoring module is introduced into the CGW 20 and some ECUs 14. The CGW 20 and the ECU 14 in which the monitoring module is introduced function as a monitoring device that monitors fraudulent frames (in other words, fraudulent commands) flowing through the CAN 24 and executes fraud countermeasures. As a modification, (1) a configuration in which the monitoring module is installed only in the CGW 20 may be used, (2) a configuration in which the monitoring module is installed only in the CMI 22 may be used, and (3) monitoring is performed only on the ECU 14 corresponding to message authentication using MAC. It may be configured to introduce a module.

図2は、図1のCGW20の機能構成を示すブロック図である。CGW20は、フレーム受信部30、フレーム送信部32、MAC検証部34、振る舞い検証部36、不正対策部38を備える。なお、図1のCMI22が監視モジュールを備える場合、CMI22の機能構成は図2と同様になる。また、MAC検証部34、振る舞い検証部36、不正対策部38を含めて、監視モジュールとして1つの処理部を構成してもよい。 FIG. 2 is a block diagram showing a functional configuration of the CGW 20 of FIG. The CGW 20 includes a frame receiving unit 30, a frame transmitting unit 32, a MAC verification unit 34, a behavior verification unit 36, and a fraud countermeasure unit 38. When the CMI 22 of FIG. 1 includes a monitoring module, the functional configuration of the CMI 22 is the same as that of FIG. Further, one processing unit may be configured as a monitoring module including the MAC verification unit 34, the behavior verification unit 36, and the fraud countermeasure unit 38.

本明細書のブロック図において示される各ブロックは、ハードウェア的には、コンピュータのCPU・メモリをはじめとする素子や機械装置で実現でき、ソフトウェア的にはコンピュータプログラム等によって実現されるが、ここでは、それらの連携によって実現される機能ブロックを描いている。これらの機能ブロックはハードウェア、ソフトウェアの組合せによっていろいろなかたちで実現できることは、当業者には理解されるところである。例えば、図2の各ブロックに対応するモジュールを含むコンピュータプログラムがCGW20のメモリに格納されてもよい。CGW20のCPUは、そのコンピュータプログラムを適宜読み出して実行することにより、各ブロックの機能を発揮してもよい。 Each block shown in the block diagram of the present specification can be realized by an element such as a computer CPU / memory or a mechanical device in terms of hardware, and can be realized by a computer program or the like in terms of software. Then, I draw a functional block realized by their cooperation. Those skilled in the art will understand that these functional blocks can be realized in various ways by combining hardware and software. For example, a computer program including a module corresponding to each block of FIG. 2 may be stored in the memory of the CGW 20. The CPU of the CGW 20 may exert the function of each block by appropriately reading and executing the computer program.

フレーム受信部30は、CAN24の各バスからフレームを受信する。フレーム受信部30は、受信したフレームのデータを、当該フレームを受信したバスの識別情報とともにMAC検証部34、振る舞い検証部36を経て、不正対策部38へ入力する。フレーム送信部32は、CAN24の各バスへフレームを送信する。例えば、フレーム送信部32は、あるバスから受信したフレームを、そのバスを除く他のバスへ転送する。 The frame receiving unit 30 receives a frame from each bus of the CAN 24. The frame receiving unit 30 inputs the data of the received frame together with the identification information of the bus that received the frame to the fraud countermeasure unit 38 via the MAC verification unit 34 and the behavior verification unit 36. The frame transmission unit 32 transmits a frame to each bus of the CAN 24. For example, the frame transmission unit 32 transfers a frame received from a certain bus to another bus other than that bus.

MAC検証部34は、フレーム受信部30により受信されたフレーム(以下「対象フレーム」とも呼ぶ。)に対するメッセージ認証を実行する。例えば、MAC検証部34は、予め定められたメッセージ認証用の共通鍵(以下「MAC鍵」と呼ぶ。)に基づいてMACを生成する。MAC検証部34は、生成したMACと、予め送信元装置(例えばECU14)が対象フレームに付加したMACとを比較する。MAC検証部34は、両者のMACが一致する場合、メッセージ認証に成功したと判定し、両者のMACが不一致の場合、メッセージ認証に失敗したと判定する。MAC検証部34は、メッセージ認証に成功した場合、対象フレームを正当と判定し、メッセージ認証に失敗した場合、対象フレームを不正と判定する。 The MAC verification unit 34 executes message authentication for a frame received by the frame receiving unit 30 (hereinafter, also referred to as a “target frame”). For example, the MAC verification unit 34 generates a MAC based on a predetermined common key for message authentication (hereinafter referred to as “MAC key”). The MAC verification unit 34 compares the generated MAC with the MAC previously added to the target frame by the source device (for example, ECU 14). The MAC verification unit 34 determines that the message authentication was successful when both MACs match, and determines that the message authentication failed when both MACs do not match. If the message authentication is successful, the MAC verification unit 34 determines that the target frame is valid, and if the message authentication fails, the MAC verification unit 34 determines that the target frame is invalid.

振る舞い検証部36は、振る舞い検証処理として、対象フレームの態様と予め定められた振る舞いルールとに基づいて、対象フレームが不正か否かを判定する。振る舞い検証部36は、ルール生成装置29から提供された振る舞いルールを所定の記憶領域に保持する。振る舞いルールは、フレーム(言い換えればメッセージ)のフォーマットに関する規定を含む。フォーマットに関する規定は、具体的には、ID・DLC(データ長コード)・ペイロード等における固定値の規定を含む。例えば、振る舞いルールは、フレームの所定位置に特定の固定値が設定されることを規定してもよい。 The behavior verification unit 36 determines whether or not the target frame is invalid based on the mode of the target frame and the predetermined behavior rule as the behavior verification process. The behavior verification unit 36 holds the behavior rules provided by the rule generation device 29 in a predetermined storage area. Behavioral rules include provisions regarding the format of frames (in other words, messages). The rules regarding the format specifically include the rules for fixed values in ID, DLC (data length code), payload, and the like. For example, the behavior rule may specify that a specific fixed value is set at a predetermined position in the frame.

また、振る舞いルールは、フレームの振る舞いに関する規定を含む。振る舞いに関する規定は、具体的には、周期・頻度・ペイロードに関する可変値の規定を含む。例えば、振る舞いルールは、複数のID(フレームIDとも言え、CAN−IDとも言える)のそれぞれについて、前回のフレーム受信から今回のフレーム受信までの時間間隔の範囲または差分の規定を含んでもよい。また、振る舞いルールは、フレームIDごとに、ペイロードの所定位置に設定されたデータ項目、または、ペイロード内の所定名称のデータ項目について、前回受信したフレームからの差分の制限(許容する範囲等)を含んでもよい。 The behavior rules also include provisions regarding the behavior of the frame. The behavioral provisions specifically include variable value provisions for period, frequency, and payload. For example, the behavior rule may include provisions for a range or difference in the time interval from the previous frame reception to the current frame reception for each of the plurality of IDs (which can also be called a frame ID or CAN-ID). In addition, the behavior rule limits the difference (allowable range, etc.) from the previously received frame for the data item set at the predetermined position of the payload or the data item with the predetermined name in the payload for each frame ID. It may be included.

なお、振る舞いルールは、ブラックリストとホワイトリストのいずれも含みうる。振る舞い検証部36は、対象フレームがブラックリストとしてのルールを充足する場合、対象フレームを不正と判定する。また、振る舞い検証部36は、対象フレームがホワイトリストとしてのルールから逸脱する場合、対象フレームを不正と判定する。 Note that the behavior rules can include both blacklists and whitelists. The behavior verification unit 36 determines that the target frame is invalid when the target frame satisfies the rule as a blacklist. Further, the behavior verification unit 36 determines that the target frame is invalid when the target frame deviates from the rule as a white list.

不正対策部38は、MAC検証部34による不正判定結果と、振る舞い検証部36による不正判定結果との組み合わせに応じて、対象フレームに関する処理(「コマンド対策」とも呼ぶ。)と、フレームの送信元装置に関する処理(「ECU対策」とも呼ぶ。)の少なくとも一方を実行する。なお、不正対策部38は、MAC検証と振る舞い検証の両方で対象フレームが正当と判定された場合、対象フレームをフレーム送信部32に渡してCAN24へ送信させる。 The fraud countermeasure unit 38 performs processing related to the target frame (also referred to as “command countermeasure”) and a frame transmission source according to the combination of the fraud determination result by the MAC verification unit 34 and the fraud determination result by the behavior verification unit 36. At least one of the processes related to the device (also referred to as "ECU countermeasure") is executed. When the target frame is determined to be valid by both the MAC verification and the behavior verification, the fraud countermeasure unit 38 passes the target frame to the frame transmission unit 32 and causes the CAN 24 to transmit the target frame.

不正対策部38は、無効化部40、受信フレーム記憶部42、ログ保存部44、ルール更新部46、構成情報記憶部48、対象検出部50、プログラム更新部52、鍵更新部54を含む。 The fraud countermeasure unit 38 includes an invalidation unit 40, a reception frame storage unit 42, a log storage unit 44, a rule update unit 46, a configuration information storage unit 48, a target detection unit 50, a program update unit 52, and a key update unit 54.

無効化部40は、対象フレームの無効化処理として、CAN24のバス上に存在する対象フレームを消去する処理を実行する。具体的には、無効化部40は、対象フレームに対するエラーフレームを生成し、フレーム送信部32からCAN24へエラーフレームを出力させる。これにより、CAN24上の他の装置(ECU14等)における対象フレームも無効にする。フレームの無効化処理には、非特許文献「T. Matsumoto, M. Hata, M. Tanabe, K. Yoshioka, and K. Oishi, "A Method of Preventing Unauthorized Data Transmission in Controller Area Network,"Vehiclular Technology Conference, 2012.」に記載の技術を適用してもよい。実施例のCGW20は、不正なフレームに対して無効化処理を実行するが、後述のECU14と同様に、不正なフレームに対して破棄処理(言い換えればフィルタ処理)を実行してもよい。 The invalidation unit 40 executes a process of erasing the target frame existing on the bus of the CAN 24 as a process of invalidating the target frame. Specifically, the invalidation unit 40 generates an error frame for the target frame, and causes the frame transmission unit 32 to output the error frame to the CAN 24. As a result, the target frame in another device (ECU 14 or the like) on the CAN 24 is also invalidated. For frame invalidation processing, the non-patent document "T. Matsumoto, M. Hata, M. Tanabe, K. Yoshioka, and K. Oishi," A Method of Preventing Unauthorized Data Transmission in Controller Area Network, "Vehiclular Technology Conference , 2012. ”may be applied. The CGW 20 of the embodiment executes the invalidation process for the invalid frame, but may execute the discard process (in other words, the filter process) for the invalid frame as in the ECU 14 described later.

受信フレーム記憶部42は、フレーム受信部30により受信された複数のフレームを所定の記憶領域に記憶させ、蓄積する。受信フレーム記憶部42は、受信されてから所定時間(30分等)が経過したフレームを記憶領域から順次消去しても良い。受信フレーム記憶部42は、フレームのデータと、そのフレームに対するMAC検証部34による判定結果と振る舞い検証部36による判定結果を対応付けて蓄積してもよい。 The reception frame storage unit 42 stores and stores a plurality of frames received by the frame reception unit 30 in a predetermined storage area. The reception frame storage unit 42 may sequentially erase frames for which a predetermined time (30 minutes or the like) has passed since they were received from the storage area. The reception frame storage unit 42 may store the frame data in association with the determination result by the MAC verification unit 34 and the determination result by the behavior verification unit 36 for the frame.

ログ保存部44は、MAC検証部34により対象フレームが不正と判定され、振る舞い検証部36により対象フレームが正当と判定された場合に、少なくとも対象フレームに関するログデータを保存する。そして、オフライン上で(例えばディーラーでのメンテナンスにおいて)、保存されたログデータを収集し、上記判定結果をルール生成装置29へ送信する。これにより、ルール生成装置29は、振る舞い検証において対象フレームが不正と判断されるように、振る舞いルールを更新する。具体的には、ログ保存部44は、受信フレーム記憶部42に保持されたフレームのうち対象フレームとIDが一致する過去のフレームと、対象フレームとを含むルール更新指示データをログデータとして保存する。例えば、対象フレームと過去のフレームはともに、ステアリングの制御コマンドを指定し、かつ、ステアリングの回動角度を指定するものであってもよい。 When the MAC verification unit 34 determines that the target frame is invalid and the behavior verification unit 36 determines that the target frame is valid, the log storage unit 44 stores at least log data related to the target frame. Then, the stored log data is collected offline (for example, during maintenance at a dealer), and the above determination result is transmitted to the rule generation device 29. As a result, the rule generation device 29 updates the behavior rule so that the target frame is determined to be invalid in the behavior verification. Specifically, the log storage unit 44 stores the rule update instruction data including the past frame whose ID matches the target frame among the frames stored in the reception frame storage unit 42 and the target frame as log data. .. For example, both the target frame and the past frame may specify a steering control command and a steering rotation angle.

過去のフレームは、MAC検証部34による判定結果と振る舞い検証部36による判定結果の組み合わせが対象フレームとは異なるフレームであってもよい。そのため、過去のフレームを含めてルール生成装置29へ提供することにより、ルール生成装置29による振る舞いルール更新を支援できる。また、ログ保存部44は、過去のフレームと対象フレームそれぞれの、MAC検証部34による判定結果と振る舞い検証部36による判定結果を、ログデータとしてルール更新指示データに含めてもよい。また、対象フレームより後に受信されたフレームのうち対象フレームとIDが一致するフレームをルール更新データに含めてもよい。 The past frame may be a frame in which the combination of the determination result by the MAC verification unit 34 and the determination result by the behavior verification unit 36 is different from the target frame. Therefore, by providing the rule generation device 29 including the past frames, it is possible to support the behavior rule update by the rule generation device 29. Further, the log storage unit 44 may include the determination result by the MAC verification unit 34 and the determination result by the behavior verification unit 36 for each of the past frame and the target frame in the rule update instruction data as log data. Further, among the frames received after the target frame, the frame whose ID matches the target frame may be included in the rule update data.

ルール生成装置29は、生成または更新した振る舞いルールを外部通信網28を介して車両10へ配信する。ルール更新部46は、ルール生成装置29から提供された振る舞いルールをCAN24を介して取得する。そしてルール更新部46は、取得した振る舞いルールを振る舞い検証部36に渡し、振る舞い検証部36が保持する振る舞いルールを更新させる。 The rule generation device 29 distributes the generated or updated behavior rule to the vehicle 10 via the external communication network 28. The rule update unit 46 acquires the behavior rule provided by the rule generation device 29 via the CAN 24. Then, the rule update unit 46 passes the acquired behavior rule to the behavior verification unit 36, and updates the behavior rule held by the behavior verification unit 36.

構成情報記憶部48は、CAN24の様々な構成要素に関する属性情報(ここでは「構成情報」と呼ぶ。)を記憶する。実施例の構成情報は、複数のECU14のそれぞれが接続されたバスの識別情報と、複数のECU14のそれぞれが送信するフレームのIDとを含む。 The configuration information storage unit 48 stores attribute information (referred to here as “configuration information”) relating to various components of the CAN 24. The configuration information of the embodiment includes identification information of a bus to which each of the plurality of ECUs 14 is connected, and ID of a frame transmitted by each of the plurality of ECUs 14.

対象検出部50は、複数のECU14から送信された複数のフレームにおける不正有無に基づいて、複数のECU14の中から不正対策の対象となるECU(以下「対象ECU」と呼ぶ。)を検出する。対象検出部50は、各ECU14から送信されたフレームの不正率または不正回数に基づいて、対象ECUを検出してもよい。対象ECUは、不正なECUともいえ、不正者により乗っ取られたECUとも言える。 The target detection unit 50 detects an ECU (hereinafter referred to as “target ECU”) that is a target of fraud countermeasures from among the plurality of ECUs 14 based on the presence or absence of fraud in a plurality of frames transmitted from the plurality of ECUs 14. The target detection unit 50 may detect the target ECU based on the fraud rate or the number of frauds of the frame transmitted from each ECU 14. The target ECU can be said to be an illegal ECU or an ECU hijacked by an unauthorized person.

実施例の対象検出部50は、MAC検証と振る舞い検証の少なくとも一方で不正と判定されたフレームについて、IDごとの不正判定回数を蓄積する。対象検出部50は、不正判定回数が予め定められた閾値(例えば5回)以上になったIDを検出し、構成情報記憶部48を参照して、そのIDのフレームを送信するECU14を対象ECUとして検出する。 The target detection unit 50 of the embodiment accumulates the number of fraud determinations for each ID for frames determined to be fraudulent at least on one of MAC verification and behavior verification. The target detection unit 50 detects an ID for which the number of fraud determinations exceeds a predetermined threshold value (for example, 5 times), refers to the configuration information storage unit 48, and transmits the frame of the ID to the target ECU. Detect as.

以下、ECU対策のための4種類の構成を説明するが、実際にはいずれか1つの対策が実行されてもよく、2つ以上の対策の組み合わせが実行されてもよい。 Hereinafter, four types of configurations for ECU countermeasures will be described, but in reality, any one of the countermeasures may be executed, or a combination of two or more countermeasures may be executed.

(1)無効化部40は、構成情報記憶部48を参照して、対象ECUから送信されうる全てのIDのフレームを無効化する処理を実行する。(2)無効化部40は、構成情報記憶部48を参照して、対象ECUが接続されたCAN24のバスを識別し、識別したバスからフレーム受信部30が受信した全てのフレームを無効化する処理を実行する。 (1) The invalidation unit 40 refers to the configuration information storage unit 48 and executes a process of invalidating the frames of all IDs that can be transmitted from the target ECU. (2) The invalidation unit 40 identifies the bus of the CAN 24 to which the target ECU is connected with reference to the configuration information storage unit 48, and invalidates all the frames received by the frame receiving unit 30 from the identified bus. Execute the process.

(3)プログラム更新部52は、対象ECUのROMに格納されたコンピュータプログラムを更新させるための処理(すなわちリプログラミング)を実行する。例えば、CGW20は、個々のECU14ごとの正規のプログラムを予め保持し、プログラム更新部52は、対象ECU用の正規のプログラムを、対象ECUのROMに上書き保存してもよい。また、プログラム更新部52は、対象ECU用の正規のプログラムを、外部通信網28を介して外部のサーバから取得し、対象ECUのROMに上書き保存してもよい。 (3) The program update unit 52 executes a process (that is, reprogramming) for updating the computer program stored in the ROM of the target ECU. For example, the CGW 20 may hold a regular program for each individual ECU 14 in advance, and the program update unit 52 may overwrite and save the regular program for the target ECU in the ROM of the target ECU. Further, the program update unit 52 may acquire a regular program for the target ECU from an external server via the external communication network 28 and overwrite and save it in the ROM of the target ECU.

(4)鍵更新部54は、複数のECU14に亘り使用される共通鍵であるMAC鍵を更新する。鍵更新部54は、更新したMAC鍵を複数のECU14へ配布する。後述するように、MAC検証の結果と振る舞い検証の結果の組み合わせに応じて、鍵更新部54は、全てのECU14へ更新したMAC鍵を送信して、全てのECU14が使用するMAC鍵を変更させる。または、鍵更新部54は、対象ECUを除く残りのECU14へ更新したMAC鍵を送信して、対象ECU以外のECU14が使用するMAC鍵を変更させる。なお、鍵更新部54は、予め定められたEUCごとに異なる鍵(MAC鍵とは異なる鍵)を使用して暗号化したMAC鍵を各ECUへ配布してもよい。 (4) The key update unit 54 updates the MAC key, which is a common key used across the plurality of ECUs 14. The key update unit 54 distributes the updated MAC key to a plurality of ECUs 14. As will be described later, the key update unit 54 transmits the updated MAC key to all the ECUs 14 according to the combination of the result of the MAC verification and the result of the behavior verification, and changes the MAC key used by all the ECUs 14. .. Alternatively, the key update unit 54 transmits the updated MAC key to the remaining ECU 14 excluding the target ECU to change the MAC key used by the ECU 14 other than the target ECU. The key update unit 54 may distribute a MAC key encrypted using a predetermined key (a key different from the MAC key) for each EUC to each ECU.

実施例では、鍵更新部54は、MAC検証部34により対象フレームが正当と判定され、振る舞い検証部36により対象フレームが不正と判定された場合であり、かつ、対象フレームが、ECU14以外から送信されたフレームが流れるバス(実施例では外部バス26e)から受信されたものであるとき、全てのECU14が使用するMAC鍵を更新する。この判定の場合、MAC検証は成功したため、MAC鍵が漏洩している可能性がある。また、不正フレームは外部から注入されたものである。そこで、全てのECU14が使用するMAC鍵を更新することで、MAC鍵の漏洩リスクを解消し、セキュリティを向上させる。 In the embodiment, the key update unit 54 is a case where the target frame is determined to be valid by the MAC verification unit 34 and the target frame is determined to be invalid by the behavior verification unit 36, and the target frame is transmitted from other than the ECU 14. When the frame is received from the bus (external bus 26e in the embodiment) through which the frame flows, the MAC keys used by all the ECUs 14 are updated. In the case of this judgment, the MAC key has been leaked because the MAC verification was successful. In addition, the fraudulent frame is injected from the outside. Therefore, by updating the MAC keys used by all the ECUs 14, the risk of leakage of the MAC keys is eliminated and the security is improved.

その一方、不正フレームが外部バス26e以外のバス(パワートレインバス26a等)から受信された場合、対象ECUが不正者により乗っ取られ、さらにMAC鍵を不正者が使用可能である状況が想定される。そこで、不正フレームが外部バス26e以外のバスから受信された場合、鍵更新部54は、対象ECU以外のECU14が使用するMAC鍵を更新する。 On the other hand, when an unauthorized frame is received from a bus other than the external bus 26e (powertrain bus 26a, etc.), it is assumed that the target ECU is hijacked by the unauthorized person and the MAC key can be used by the unauthorized person. .. Therefore, when the illegal frame is received from a bus other than the external bus 26e, the key update unit 54 updates the MAC key used by the ECU 14 other than the target ECU.

図3は、図1のECU14の機能構成を示すブロック図である。図3では、図1の複数のECU14のうちMACを用いたメッセージ認証に対応するECU14の機能構成を示している。また、図3では、図2で説明したCGW20の機能ブロックと同一または対応する機能ブロックに同一の符号を付している。以下、図2に関連して説明済みの内容は適宜省略する。 FIG. 3 is a block diagram showing a functional configuration of the ECU 14 of FIG. FIG. 3 shows the functional configuration of the ECU 14 corresponding to the message authentication using the MAC among the plurality of ECUs 14 of FIG. Further, in FIG. 3, the same or corresponding functional blocks as those of the CGW 20 described with reference to FIG. 2 are designated by the same reference numerals. Hereinafter, the contents described in relation to FIG. 2 will be omitted as appropriate.

ECU14は、フレーム受信部30、フレーム送信部32、MAC検証部34、振る舞い検証部36、不正対策部38、コマンド実行部56、フレーム生成部58を備える。コマンド実行部56は、フレームで指定されたコマンドを実行する。例えば、コマンド実行部56は、自ECUに接続されたアクチュエータをコマンドにしたがって制御する。フレーム生成部58は、外部装置(例えば他のECU14)に対するコマンドを指定したフレームを生成し、生成したフレームをフレーム送信部32に渡して送信させる。 The ECU 14 includes a frame receiving unit 30, a frame transmitting unit 32, a MAC verification unit 34, a behavior verification unit 36, a fraud countermeasure unit 38, a command execution unit 56, and a frame generation unit 58. The command execution unit 56 executes the command specified by the frame. For example, the command execution unit 56 controls an actuator connected to its own ECU according to a command. The frame generation unit 58 generates a frame in which a command for an external device (for example, another ECU 14) is specified, and passes the generated frame to the frame transmission unit 32 for transmission.

ECU14の不正対策部38は、受信フレーム記憶部42、ログ保存部44、ルール更新部46、構成情報記憶部48、対象検出部50、プログラム更新部52、鍵更新部54、フィルタ部60、モード切替部62を含む。フィルタ部60は、CGW20における無効化部40に対応し、ECU14のコマンド対策を実行する。具体的には、フィルタ部60は、不正と判定された対象フレームを破棄し、言い換えれば、対象フレームで指定されたコマンドを破棄する。例えば、フィルタ部60は、対象フレームのデータをECU14内部のメモリ(不図示)から消去してもよい。 The fraud countermeasure unit 38 of the ECU 14 includes a reception frame storage unit 42, a log storage unit 44, a rule update unit 46, a configuration information storage unit 48, a target detection unit 50, a program update unit 52, a key update unit 54, a filter unit 60, and a mode. The switching unit 62 is included. The filter unit 60 corresponds to the invalidation unit 40 in the CGW 20 and executes a command countermeasure of the ECU 14. Specifically, the filter unit 60 discards the target frame determined to be invalid, in other words, discards the command specified by the target frame. For example, the filter unit 60 may erase the data of the target frame from the memory (not shown) inside the ECU 14.

また、ECU14は、既述したECU対策を実行する。ただし、実施例のCGW20におけるECU対策(1)(2)ではフレームの無効化処理を実行したが、ECU14におけるECU対策(1)(2)ではフレームの廃棄処理、言い換えればフィルタ処理を実行する。ECU対策(3)(4)はCGW20と同様である。 Further, the ECU 14 executes the above-described ECU countermeasures. However, in the ECU measures (1) and (2) in the CGW 20 of the embodiment, the frame invalidation process is executed, but in the ECU measures (1) and (2) in the ECU 14, the frame is discarded, in other words, the filter process is executed. The ECU measures (3) and (4) are the same as those of the CGW 20.

モード切替部62は、CGW20を経由して伝送されたフレームが振る舞い検証で不正と判定された場合、複数のバスに接続して車載ネットワークの要であるCGW20のセキュリティ機能が突破されている状態であると判断し、車両10の自動運転のモードをフェイルセーフモードへ切り替える。例えば、モード切替部62は、構成情報記憶部48を参照して、不正と判定された対象フレームのIDに基づいて送信元のECU14を特定してもよい。そして、送信元のECU14が、自ECUが接続されたバスとは異なるバスに接続されたものである場合に、モード切替部62は、対象フレームがCGW20により中継されたと判定してもよい。また、フェイルセーフモードは、自動運転制御(言い換えれば電動による運転支援処理)をオフにした状態であってもよい。 When the frame transmitted via the CGW 20 is determined to be invalid by the behavior verification, the mode switching unit 62 is connected to a plurality of buses and the security function of the CGW 20, which is the key to the in-vehicle network, has been breached. It is determined that there is, and the automatic driving mode of the vehicle 10 is switched to the fail-safe mode. For example, the mode switching unit 62 may specify the transmission source ECU 14 based on the ID of the target frame determined to be invalid by referring to the configuration information storage unit 48. Then, when the transmission source ECU 14 is connected to a bus different from the bus to which the own ECU is connected, the mode switching unit 62 may determine that the target frame has been relayed by the CGW 20. Further, the fail-safe mode may be in a state in which automatic driving control (in other words, electric driving support processing) is turned off.

CGW20を経由して伝送されたフレームが不正であることは、CGW20が不正者に乗っ取られた可能性が高いことを意味する。CAN24におけるCGW20は、複数のECU14間の通信の基盤であり、CGW20が乗っ取られたことはセキュリティ上、重大な問題である。そこで、実施例のモード切替部62は、CGW20を経由して伝送されたフレームが不正である場合に自動運転をフェイルセーフモードへ移行させることで、車両運転の安全性を一層高める。なお、CMI22に監視モジュールが導入される場合、CMI22は、モード切替部62を備えてもよい。 If the frame transmitted via the CGW 20 is invalid, it means that the CGW 20 is likely to be hijacked by the unauthorized person. The CGW 20 in the CAN 24 is the basis of communication between a plurality of ECUs 14, and the hijacking of the CGW 20 is a serious security problem. Therefore, the mode switching unit 62 of the embodiment further enhances the safety of vehicle driving by shifting the automatic driving to the fail-safe mode when the frame transmitted via the CGW 20 is invalid. When the monitoring module is introduced into the CMI 22, the CMI 22 may include a mode switching unit 62.

変形例として、CGW20を経由して伝送されたフレームが不正である場合に限らず、車載ネットワークシステム12のセキュリティの根幹装置から送信されたフレームが不正である場合に、モード切替部62は、車両10の自動運転のモードをフェイルセーフモードへ切り替えてもよい。セキュリティの根幹装置は、例えば、個々のECU14ごとの鍵を保持し、ECUごとの鍵で暗号化したMAC鍵を各ECU14へ配布する装置(CGW20、ECU14等)が該当する。モード切替部62は、構成情報記憶部48を参照して、不正と判定された対象フレームのIDに基づいて、対象フレームの送信元がセキュリティの根幹装置かを判定してもよい。 As a modification, the mode switching unit 62 is not limited to the case where the frame transmitted via the CGW 20 is invalid, but also when the frame transmitted from the security core device of the in-vehicle network system 12 is invalid. The automatic operation mode of 10 may be switched to the fail-safe mode. The basic security device corresponds to, for example, a device (CGW 20, ECU 14, etc.) that holds a key for each ECU 14 and distributes a MAC key encrypted with a key for each ECU to each ECU 14. The mode switching unit 62 may refer to the configuration information storage unit 48 and determine whether the source of the target frame is a security core device based on the ID of the target frame determined to be invalid.

図4は、不正検出パターン別の不正対策を示す。ここでは、監視モジュールが導入されうる装置(ECU14、CGW20、CMI22)を総称して「監視装置」と呼ぶ。図4のコマンド対策欄では、監視装置がECU14、CGW20、CMI22の場合の処理をそれぞれ示している。 FIG. 4 shows fraud countermeasures for each fraud detection pattern. Here, the devices (ECU 14, CGW 20, CMI 22) into which the monitoring module can be introduced are collectively referred to as "monitoring devices". The command countermeasure column of FIG. 4 shows the processing when the monitoring device is the ECU 14, the CGW 20, and the CMI 22.

MAC検証で対象フレームが正当と判定され、振る舞い検証で対象フレームが不正と判定された場合(パターン1およびパターン5)、または、MAC検証で対象フレームが不正と判定され、振る舞い検証で対象フレームが不正と判定された場合(パターン2)、監視装置の不正対策部38は、コマンド対策として、対象フレームを破棄または無効化する。なお、パターン2において、ECU14でのコマンド対策が「なし」であるのは、メッセージ認証に対応するECU14では、通常、MAC検証のNGに伴いエラー処理が実行されるからである。また、パターン2において、CGW20のコマンド対策が無効化であるのは、DoS攻撃(Denial of Service attack)への対策として有効だからである。 If the target frame is determined to be valid by MAC verification and the target frame is determined to be invalid by behavior verification (Pattern 1 and Pattern 5), or if the target frame is determined to be invalid by MAC verification and the target frame is determined to be invalid by behavior verification. When it is determined to be fraudulent (Pattern 2), the fraud countermeasure unit 38 of the monitoring device discards or invalidates the target frame as a command countermeasure. In the pattern 2, the command countermeasure in the ECU 14 is "none" because the ECU 14 corresponding to the message authentication usually executes the error processing in accordance with the NG of the MAC verification. Further, in pattern 2, the command countermeasure of CGW 20 is invalid because it is effective as a countermeasure against DoS attack (Denial of Service attack).

パターン1およびパターン2の場合、不正対策部38は、4種類のEUC対策のうち1つまたは複数を実行する。パターン5の場合、不正対策部38は、EUC対策として、全てのECU14のMAC鍵を更新する。 In the case of pattern 1 and pattern 2, the fraud countermeasure unit 38 executes one or more of the four types of EUC countermeasures. In the case of pattern 5, the fraud countermeasure unit 38 updates the MAC keys of all ECUs 14 as EUC countermeasures.

MAC検証で対象フレームが不正と判定され、振る舞い検証で対象フレームが正当と判定された場合(パターン6)、監視装置の不正対策部38は、対象フレームとその前後のフレームを含むルール更新指示データをログデータとして保存することにより、ルール生成装置29に対象フレームとその前後のフレームに基づいて振る舞いルールを更新させる。例えば、ルール生成装置29は、監視装置が再度対象フレームを受け付けた場合、振る舞い検証において不正を検出するように振る舞いルールを更新する。 When the target frame is determined to be invalid by MAC verification and the target frame is determined to be valid by behavior verification (Pattern 6), the fraud countermeasure unit 38 of the monitoring device determines the rule update instruction data including the target frame and the frames before and after it. Is saved as log data, so that the rule generation device 29 updates the behavior rule based on the target frame and the frames before and after the target frame. For example, when the monitoring device receives the target frame again, the rule generation device 29 updates the behavior rule so as to detect fraud in the behavior verification.

図4のパターン3とパターン4は、MACを用いたメッセージ認証に対応しないECU14から送信されたフレームが不正であるパターンである。すなわち、フレームにMACが付加されないためMAC検証はできず、振る舞い検証にて不正が検出されたパターンである。なお、パターン3は、不正と判定された対象フレームがECU14から送信されたパターンであり、パターン4は、不正と判定された対象フレームが外部から注入された(言い換えれば外部バス26eから受信された)パターンである。 Patterns 3 and 4 in FIG. 4 are patterns in which the frame transmitted from the ECU 14 that does not support message authentication using MAC is invalid. That is, since MAC is not added to the frame, MAC verification cannot be performed, and fraud is detected in behavior verification. The pattern 3 is a pattern in which the target frame determined to be fraudulent is transmitted from the ECU 14, and the pattern 4 is a pattern in which the target frame determined to be fraudulent is injected from the outside (in other words, received from the external bus 26e). ) It is a pattern.

パターン3とパターン4のいずれでも、監視装置の不正対策部38は、コマンド対策として、対象フレームを破棄または無効化する。パターン4は、不正フレームが外部注入された状況であり、MAC鍵の漏洩はないため、ECU対策は実行しない。その一方、パターン3では対象ECUが乗っ取られた可能性が高いため、不正対策部38は、パターン1等と同様のECU対策を実行する。 In both pattern 3 and pattern 4, the fraud countermeasure unit 38 of the monitoring device discards or invalidates the target frame as a command countermeasure. Pattern 4 is a situation in which an illegal frame is externally injected, and since there is no leakage of the MAC key, no ECU countermeasure is executed. On the other hand, in pattern 3, there is a high possibility that the target ECU has been hijacked, so the fraud countermeasure unit 38 executes the same ECU countermeasures as in pattern 1.

以上の構成による車載ネットワークシステム12の動作を説明する。図5は、図1のCGW20の動作を示すフローチャートである。フレーム受信部30は、CAN24からフレームを受信する(S10)。MAC検証部34は、受信された対象フレームに対するMAC検証を実行して、対象フレームが正当か不正かを判定する(S12)。振る舞い検証部36は、受信された対象フレームに対する振る舞い検証を実行して、対象フレームが正当か不正かを判定する(S14)。なお、S12とS14の実行順序に制限はなく、並行して実行してもよい。 The operation of the in-vehicle network system 12 with the above configuration will be described. FIG. 5 is a flowchart showing the operation of the CGW 20 of FIG. The frame receiving unit 30 receives a frame from the CAN 24 (S10). The MAC verification unit 34 executes MAC verification for the received target frame, and determines whether the target frame is valid or invalid (S12). The behavior verification unit 36 executes behavior verification for the received target frame and determines whether the target frame is valid or invalid (S14). The execution order of S12 and S14 is not limited, and they may be executed in parallel.

MAC検証と振る舞い検証の両方で対象フレームが正当と判定された場合(S16のY)、不正対策部38は、対象フレームをフレーム送信部32に渡し、フレーム送信部32は、フレームID、転送元バス、転送先バスを対応付けたルーティングテーブルにしたがって、対象フレームを転送する(S18)。MAC検証で対象フレームが不正と判定され、振る舞い検証で対象フレームが正当と判定された場合(S16のN、S20のY)、不正対策部38は、ルール生成装置29に振る舞いルールを更新させるためのログデータであり、対象フレームとその前後のフレームを含むログデータを保存する(S22)。MAC検証結果が不正かつ振る舞い検証結果が不正となった場合、または、MAC検証結果が正当かつ振る舞い検証結果が不正となった場合(S20のN)、不正対策部38は、図4に示したコマンド対策を実行する(S24)。 When the target frame is determined to be valid by both MAC verification and behavior verification (Y in S16), the fraud countermeasure unit 38 passes the target frame to the frame transmission unit 32, and the frame transmission unit 32 uses the frame ID and transfer source. The target frame is transferred according to the routing table associated with the bus and the transfer destination bus (S18). When the target frame is determined to be invalid in the MAC verification and the target frame is determined to be valid in the behavior verification (N in S16, Y in S20), the fraud countermeasure unit 38 causes the rule generator 29 to update the behavior rule. The log data including the target frame and the frames before and after the target frame is saved (S22). When the MAC verification result is invalid and the behavior verification result is invalid, or when the MAC verification result is valid and the behavior verification result is invalid (N in S20), the fraud countermeasure unit 38 shows in FIG. Execute command countermeasures (S24).

不正検出パターン(図4)にしたがってECU対策が必要な場合(S26のY)、不正対策部38は、乗っ取られた可能性が高い対象ECUを特定する(S28)。不正対策部38は、対象ECUおよび/または他のECU14に関するECU対策を実行する(S30)。ECU対策が不要であれば(S26のN)、S28、S30をスキップする。 When ECU countermeasures are required according to the fraud detection pattern (FIG. 4) (Y in S26), the fraud countermeasure unit 38 identifies the target ECU that is likely to be hijacked (S28). The fraud countermeasure unit 38 executes ECU countermeasures related to the target ECU and / or another ECU 14 (S30). If ECU countermeasures are not required (N in S26), S28 and S30 are skipped.

図6は、図1のECU14の動作を示すフローチャートである。S40〜S44の処理は図5のS10〜S14と同じであるため説明を省略する。MAC検証と振る舞い検証の両方で対象フレームが正当と判定された場合(S46のY)、不正対策部38は、対象フレームをコマンド実行部56に渡し、コマンド実行部56は、対象フレームで指定されたコマンドにしたがいデータ処理を実行する(S48)。対象フレームがCGW20経由のフレームであり、かつ、少なくとも振る舞い検証により不正と判定された場合(S46のN、S50のY)、不正対策部38は、車両10の自動運転をフェイルセーフモードへ移行させる(S52)。S50のN以降、S54〜S64の処理は図5のS20〜S30と同じであるため説明を省略する。 FIG. 6 is a flowchart showing the operation of the ECU 14 of FIG. Since the processing of S40 to S44 is the same as that of S10 to S14 of FIG. 5, the description thereof will be omitted. When the target frame is determined to be valid by both MAC verification and behavior verification (Y in S46), the fraud countermeasure unit 38 passes the target frame to the command execution unit 56, and the command execution unit 56 is designated by the target frame. Data processing is executed according to the command (S48). When the target frame is a frame via CGW20 and at least it is determined to be fraudulent by behavior verification (N in S46, Y in S50), the fraud countermeasure unit 38 shifts the automatic driving of the vehicle 10 to the fail-safe mode ( S52). Since N of S50 and thereafter, the processes of S54 to S64 are the same as those of S20 to S30 of FIG. 5, the description thereof will be omitted.

実施例の監視装置(例えばECU14、CGW20)によると、メッセージ認証の結果と振る舞い検証の結果との組み合わせに基づいて、セキュリティの脅威の種類をきめ細かに認識し、脅威の種類に応じた適切なコマンド対策およびECU対策を自動実行する。これにより、車載ネットワークシステム12のセキュリティを担保できる。例えば、MAC鍵の漏洩、および、MAC対応ECUの乗っ取りを検知し、MAC鍵の更新およびECUのリプログラミングを適切に実行できる。また、車載ネットワークシステム12内にMAC未対応のECU14が存在し、MAC未対応のECU14が脅威にさらされた場合も、セキュリティを担保しやすくなる。 According to the monitoring device of the embodiment (for example, ECU 14, CGW 20), the type of security threat is recognized in detail based on the combination of the result of message authentication and the result of behavior verification, and an appropriate command according to the type of threat is used. Automatically execute countermeasures and ECU countermeasures. As a result, the security of the in-vehicle network system 12 can be ensured. For example, it is possible to detect leakage of a MAC key and takeover of a MAC-compatible ECU, and appropriately update the MAC key and reprogram the ECU. Further, even if the ECU 14 that does not support MAC exists in the in-vehicle network system 12 and the ECU 14 that does not support MAC is exposed to a threat, it becomes easy to ensure security.

以上、本発明を第1実施例をもとに説明した。この実施例は例示であり、それらの各構成要素あるいは各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。 The present invention has been described above based on the first embodiment. This embodiment is an example, and it will be understood by those skilled in the art that various modifications are possible for each of these components or combinations of each processing process, and that such modifications are also within the scope of the present invention. ..

第1変形例を説明する。実施例の振る舞い検証部36は、対象フレームを正当または不正に分類したが、変形例として、振る舞い検証部36は、対象フレームの態様と振る舞いルールとの乖離の度合い(もしくは一致の度合い)に応じて、対象フレームを正当、不正、グレーのいずれかに分類してもよい。不正対策部38のログ保存部44は、対象フレームがグレーに分類された場合、対象フレームと、同じIDの過去のフレームとを含むルール更新指示データをログデータとして保存する。既述したように、ルール更新指示データは、対象フレームより後に受信された同IDのフレームを含んでもよい。これにより、保存されたログデータはオフライン上で収集されてルール生成装置29に通知され、ルール生成装置29は、例えば対象フレームを不正と判定するように振る舞いルール更新する。 The first modification will be described. The behavior verification unit 36 of the embodiment classifies the target frame legitimately or illegally, but as a modification, the behavior verification unit 36 depends on the degree of deviation (or the degree of agreement) between the mode of the target frame and the behavior rule. Therefore, the target frame may be classified as legitimate, fraudulent, or gray. When the target frame is classified in gray, the log storage unit 44 of the fraud countermeasure unit 38 saves the rule update instruction data including the target frame and the past frame having the same ID as log data. As described above, the rule update instruction data may include a frame of the same ID received after the target frame. As a result, the saved log data is collected offline and notified to the rule generation device 29, and the rule generation device 29 behaves and updates the rules so as to determine, for example, the target frame as invalid.

具体例として、振る舞い検証部36は、検知パラメータA〜Eのそれぞれで対象フレームを評価し、各検知パラメータによる中間判定結果A〜Eを生成し、4つ以上の中間判定結果が不正となった場合に最終判定結果を不正としてもよい。また、不正となった中間判定結果の個数が3個以下であれば最終判定結果を正当としてもよい。この構成において、振る舞い検証部36は、各フレームで指定されるフレームID(コマンドIDでもよい)ごとに中間判定結果が不正となった回数を累計していく。振る舞い検証部36は、中間判定結果が不正となった累計数が所定の閾値(例えば10回等)を超えたIDのフレームをグレーと判定する。 As a specific example, the behavior verification unit 36 evaluates the target frame for each of the detection parameters A to E, generates intermediate judgment results A to E for each detection parameter, and four or more intermediate judgment results are invalid. In some cases, the final judgment result may be invalid. Further, if the number of invalid intermediate determination results is 3 or less, the final determination result may be justified. In this configuration, the behavior verification unit 36 accumulates the number of times that the intermediate determination result is invalid for each frame ID (may be a command ID) specified in each frame. The behavior verification unit 36 determines that the frame of the ID whose cumulative number of invalid intermediate determination results exceeds a predetermined threshold value (for example, 10 times) is gray.

また、振る舞い検証部36は、フレームID(コマンドID)で区別せずに全てのフレームを母集団として、中間判定結果が不正となった回数を累計してもよい。振る舞い検証部36は、中間判定結果が不正となった累計数が所定の閾値(例えば10回等)を超えた場合にグレーと判定してもよい。この場合、ログ保存部44は、過去の一定期間に受信した全フレームを含むルール更新指示データをログデータとして保存してもよい。 Further, the behavior verification unit 36 may accumulate the number of times that the intermediate determination result is invalid, using all the frames as the population without distinguishing by the frame ID (command ID). The behavior verification unit 36 may determine gray when the cumulative number of invalid intermediate determination results exceeds a predetermined threshold value (for example, 10 times). In this case, the log storage unit 44 may store the rule update instruction data including all frames received in the past fixed period as log data.

フレームの正当性がグレーと判定されることは本来望ましくないが、第1変形例によると、振る舞いルールを適切に更新し、車載ネットワークシステム12のセキュリティを向上させることができる。なお、振る舞い検証部36は、対象フレームの振る舞い検証において、対象フレームのIDに紐付く不正判定累計数が所定の閾値を超過した場合、対象フレームの最終判定結果を「不正」としてもよい。この態様によると、グレー判定となったフレームに基づいてコマンド対策およびECU対策が実行され、車載ネットワークシステム12のセキュリティを一層高めることができる。 It is originally not desirable that the legitimacy of the frame is determined to be gray, but according to the first modification, the behavior rules can be appropriately updated to improve the security of the in-vehicle network system 12. In the behavior verification of the target frame, the behavior verification unit 36 may set the final determination result of the target frame as "illegal" when the cumulative number of fraud determinations associated with the ID of the target frame exceeds a predetermined threshold value. According to this aspect, command countermeasures and ECU countermeasures are executed based on the gray-determined frame, and the security of the in-vehicle network system 12 can be further enhanced.

第2変形例を説明する。図7は、変形例のCGW20のハードウェア構成を示す。CGW20は、CPU70、監視モジュール72、LANコントローラ74、LANコントローラ76を備える。LANコントローラ74およびLANコントローラ76は、CAN24の各バスに接続される。CPU70は、CGW20全体の動作を制御するとともに、図2に示した各機能ブロックの機能を実行する。 A second modification will be described. FIG. 7 shows the hardware configuration of the modified CGW 20. The CGW 20 includes a CPU 70, a monitoring module 72, a LAN controller 74, and a LAN controller 76. The LAN controller 74 and the LAN controller 76 are connected to each bus of the CAN 24. The CPU 70 controls the operation of the entire CGW 20 and executes the functions of the functional blocks shown in FIG.

監視モジュール72は、CPU70と物理的に異なるLSIであり、言い換えれば、CPU70と物理的に分離または独立して実装されたLSIである。監視モジュール72は、図2に示した機能ブロックのうちMAC検証部34、振る舞い検証部36、不正対策部38の機能を実行する。監視モジュール72が備える不正対策部38の機能は、図4に示したパターン別のコマンド対策およびECU対策を決定する機能を少なくとも含む。 The monitoring module 72 is an LSI that is physically different from the CPU 70, in other words, an LSI that is physically separated or mounted independently of the CPU 70. The monitoring module 72 executes the functions of the MAC verification unit 34, the behavior verification unit 36, and the fraud countermeasure unit 38 among the functional blocks shown in FIG. The function of the fraud countermeasure unit 38 included in the monitoring module 72 includes at least a function of determining command countermeasures and ECU countermeasures for each pattern shown in FIG.

CPU70と監視モジュール72は、互いに並行して、同じ対象フレームに対する不正判定処理を実行する。監視モジュール72は、不正判定処理の結果と、CPU70におえるフレーム処理の内容に基づいて、CPU70が正常か否かを判定する。例えば、監視モジュール72は、MAC検証と振る舞い検証の少なくとも一方で対象フレームが不正と判定された場合であって、かつ、CPU70が対象フレームをCAN24へ送信した場合に、CPU70(特にCPU70のルーティング機能)が異常と判定する。また、監視モジュール72は、MAC検証と振る舞い検証の両方で対象フレームが正当と判定された場合であって、かつ、CPU70が対象フレームを破棄または無効化した場合に、CPU70が異常と判定する。 The CPU 70 and the monitoring module 72 execute fraud determination processing for the same target frame in parallel with each other. The monitoring module 72 determines whether or not the CPU 70 is normal based on the result of the fraud determination processing and the content of the frame processing in the CPU 70. For example, the monitoring module 72 has a routing function of the CPU 70 (particularly the CPU 70) when the target frame is determined to be invalid in at least one of MAC verification and behavior verification, and when the CPU 70 transmits the target frame to the CAN 24. ) Is judged to be abnormal. Further, the monitoring module 72 determines that the target frame is abnormal in both the MAC verification and the behavior verification, and when the CPU 70 discards or invalidates the target frame.

CPU70が異常と判定した場合、監視モジュール72は、所定のエラー処理、リカバリー処理、乗員または外部の人等への通知処理のうち少なくとも1つを実行してもよい。第2変形例によると、CGW20のCPU70が不正者により乗っ取られた場合も、その事実を監視モジュール72により検出して、セキュリティの脅威を解消するための処理を実行可能になる。なお、CPU70と監視モジュール72は、仮想的または論理的に分離して実装されてもよい。また、ここではCGW20の例を示したが、監視装置として動作するECU14においても本変形例の構成を適用可能である。 When the CPU 70 determines that there is an abnormality, the monitoring module 72 may execute at least one of a predetermined error processing, a recovery processing, and a notification processing to an occupant, an outside person, or the like. According to the second modification, even if the CPU 70 of the CGW 20 is hijacked by an unauthorized person, the monitoring module 72 can detect the fact and execute a process for eliminating the security threat. The CPU 70 and the monitoring module 72 may be mounted virtually or logically separately. Further, although an example of the CGW 20 is shown here, the configuration of this modification can be applied to the ECU 14 operating as a monitoring device.

第3変形例を説明する。上記実施例では、車載ネットワークをCANとしたが、変形例として、車載ネットワークをイーサネット(登録商標)にしてもよく、この場合も、ECU14およびCGW20には実施例と同様の構成を適用できる。 A third modification will be described. In the above embodiment, the in-vehicle network is CAN, but as a modification, the in-vehicle network may be Ethernet (registered trademark). In this case as well, the same configuration as in the embodiment can be applied to the ECU 14 and the CGW 20.

第4変形例を説明する。第3変形例に関連して、車載ネットワークにおいてCANとイーサネットが混在してもよい。監視装置としてのCGW20は、CANとイーサネットを接続し、CANのフレームとイーサネットフレームとを相互に変換する機能をさらに備えてもよい。CGW20は、MAC検証と振る舞い検証の少なくとも一方で不正と判定されたCANフレームをイーサネットフレームへ変換することを抑制する。同様に、上記不正と判定されたイーサネットフレームをCANフレームへ変換することを抑制する。 A fourth modification will be described. In connection with the third modification, CAN and Ethernet may be mixed in the in-vehicle network. The CGW 20 as a monitoring device may further have a function of connecting the CAN and the Ethernet and converting the CAN frame and the Ethernet frame to each other. The CGW 20 suppresses the conversion of a CAN frame determined to be invalid into an Ethernet frame by at least one of MAC verification and behavior verification. Similarly, it suppresses the conversion of the Ethernet frame determined to be invalid to the CAN frame.

また、CGW20は、CANの複数のバスと、イーサネットの複数のバスに接続されてもよい。この場合に、或るフレームがMAC検証と振る舞い検証の少なくとも一方で不正と判定された場合、CGW20は、そのフレームが流れるバスから他のバスへの、全フレームの変換および中継を抑制してもよい。さらにまた、CGW20は、不正と判定されたフレームが流れるバスへの他のバスからの、全フレームの変換および中継を抑制してもよい。 Further, the CGW 20 may be connected to a plurality of CAN buses and a plurality of Ethernet buses. In this case, if a frame is determined to be invalid at least in one of MAC verification and behavior verification, the CGW 20 may suppress the conversion and relay of all frames from the bus through which the frame flows to another bus. Good. Furthermore, the CGW 20 may suppress conversion and relay of all frames from another bus to the bus on which the frame determined to be invalid flows.

さらにまた、CGW20は、イーサネットにおけるセキュリティ機能(例えばファイヤウォール機能、MACアドレスフィルタ等)を備えてもよい。CGW20は、イーサネットにおけるセキュリティ機能とMAC検証との少なくとも一方で対象フレームが不正と判定されたことを、実施例においてMAC検証で不正と判定した場合と同等に取り扱ってもよい。なお、CGW20は、イーサネットにおけるセキュリティ機能とMAC検証の両方で対象フレームが不正と判定された場合、不正の確度が高いと判定して、コマンド対策およびECU対策の実行に代えて、もしくはコマンド対策およびECU対策の実行とともに、車両10の自動運転のモードをフェイルセーフモードへ移行させてもよい。なお、第4変形例は、CGW20に限らず、異なる種類のネットワークを接続する装置全般に適用可能である。 Furthermore, the CGW 20 may include security functions in Ethernet (for example, firewall function, MAC address filter, etc.). The CGW 20 may treat that the target frame is determined to be invalid at least one of the security function in Ethernet and the MAC verification, as in the case where it is determined to be invalid by the MAC verification in the embodiment. If the target frame is determined to be invalid by both the security function and MAC verification in Ethernet, the CGW 20 determines that the probability of the invalidity is high, and instead of executing command countermeasures and ECU countermeasures, or command countermeasures and Along with the execution of the ECU measures, the automatic driving mode of the vehicle 10 may be shifted to the fail-safe mode. The fourth modification is applicable not only to the CGW 20 but also to all devices for connecting different types of networks.

第5変形例を説明する。車載ネットワークシステム12のECU14、CGW20には、自装置の改ざん有無を判定するセキュリティチップ(Trusted Platform Module、以下「TPM」と呼ぶ。)が搭載されてもよい。監視装置(例えばCGW20、ECU14)の対象検出部50は、少なくとも振る舞い検証で不正と判定されたフレームを送信したECUのTPMに対して改ざん有無を問い合わせてもよい(Attestation)。なお、第2変形例との組み合わせ時、対象検出部50は、CGW20のSoC(System on Chip)に対して改ざん有無を問い合わせてもよい。対象検出部50は、問い合わせの結果が改ざんありを示す場合、問い合わせ先の装置(例えばCGW20、ECU14)を不正と判定し、言い換えれば、不正対策の対象装置と判定する。 A fifth modification will be described. The ECU 14 and CGW 20 of the in-vehicle network system 12 may be equipped with a security chip (Trusted Platform Module, hereinafter referred to as “TPM”) for determining whether or not the own device has been tampered with. The target detection unit 50 of the monitoring device (for example, CGW 20, ECU 14) may inquire at least the TPM of the ECU that has transmitted the frame determined to be invalid by the behavior verification whether or not it has been tampered with (Attestation). When combined with the second modification, the target detection unit 50 may inquire of the SoC (System on Chip) of the CGW 20 whether or not it has been tampered with. When the result of the inquiry indicates that the inquiry result has been tampered with, the target detection unit 50 determines that the device (for example, CGW 20, ECU 14) of the inquiry destination is fraudulent, in other words, determines that the device is a target device for fraud countermeasures.

第1実施例および変形例に記載の技術は、以下の項目によって特定されてもよい。
[項目1]
通信網からフレームを受信する受信部と、フレームに対するメッセージ認証の結果に基づいてフレームが不正かを判定する第1判定と、フレームの態様と予め定められたルールとに基づいてフレームが不正かを判定する第2判定とを行い、第1判定の結果と第2判定の結果との組み合わせに応じて、フレームに関する処理とフレームの送信元装置に関する処理の少なくとも一方を実行する処理部と、を備える監視装置。
この監視装置によると、通信システムのセキュリティを向上させることができる。
[項目2]
第1判定により判定対象フレームが正当と判定され、第2判定により判定対象フレームが不正と判定された場合、または、第1判定により判定対象フレームが不正と判定され、第2判定により判定対象フレームが不正と判定された場合、処理部は、判定対象フレームを破棄または無効化する処理を実行してもよい。
この態様によると、不正なフレームによるセキュリティのリスクを低減できる。
[項目3]
第1判定により判定対象フレームが正当と判定され、第2判定により判定対象フレームが不正と判定された場合、または、第1判定により判定対象フレームが不正と判定され、第2判定により判定対象フレームが不正と判定された場合に、複数の送信元装置から送信された複数のフレームにおける不正有無に基づいて、複数の送信元装置の中から不正対策の対象装置を検出し、(1)対象装置から送信されるフレームを破棄または無効化する処理、(2)対象装置におけるコンピュータプログラムを更新する処理、(3)対象装置以外の送信元装置におけるメッセージ認証の鍵を更新する処理、(4)対象装置が接続された通信網のバスから受信されたフレームを破棄または無効化する処理、のうち少なくとも1つを実行してもよい。
この態様によると、不正なフレームの検出に基づいて、フレームの送信元装置に関する不正対策を実施できる。
[項目4]
第1判定により判定対象フレームが正当と判定され、第2判定により判定対象フレームが不正と判定された場合であり、かつ、判定対象フレームが、所定の送信元装置以外から送信されたフレームが流れるバスから受信されたものであるとき、処理部は、所定の送信元装置におけるメッセージ認証の鍵を更新する処理を実行してもよい。
この態様によると、外部から不正なフレームが注入され、メッセージ認証の鍵が漏洩している可能性がある場合に、メッセージ認証の鍵を更新し、セキュリティのリスクを低減できる。
[項目5]
第1判定により判定対象フレームが不正と判定され、第2判定により判定対象フレームが正当と判定された場合に、処理部は、少なくとも判定対象フレームに関するログデータを保存してもよい。
この態様によると、第2判定のためのルールが不完全であることが想定される場合に、ルールの改善を支援できる。
[項目6]
処理部は、判定対象フレームの態様とルールとの乖離の度合いに応じて、判定対象フレームを正当、不正、グレーのいずれかに分類し、判定対象フレームがグレーに分類された場合、少なくとも判定対象フレームに関するログデータを保存してもよい。
この態様によると、本来望ましくないグレー判定に伴い、第2判定のためのルールの改善を支援できる。
[項目7]
監視装置は、車両に搭載された電子制御ユニットであってもよい。処理部は、車載ネットワークにおける所定のゲートウェイ装置を経由して伝送されたフレームが第2判定により不正と判定された場合、車両の自動運転のモードをフェイルセーフモードへ切り替えてもよい。
この態様によると、車両運転の安全性を一層高めることができる。
[項目8]
通信網からフレームを受信し、受信されたフレームに対するメッセージ認証の結果に基づいてフレームが不正かを判定する第1判定と、受信されたフレームの態様と予め定められたルールとに基づいてフレームが不正かを判定する第2判定と、を行い、第1判定の結果と第2判定の結果との組み合わせに応じて、受信されたフレームに関する処理と受信されたフレームの送信元装置に関する処理の少なくとも一方を実行する、ことをコンピュータが実行する監視方法。
この監視方法によると、通信システムのセキュリティを向上させることができる。
[項目9]
通信網からフレームを受信し、受信されたフレームに対するメッセージ認証の結果に基づいてフレームが不正かを判定する第1判定と、受信されたフレームの態様と予め定められたルールとに基づいてフレームが不正かを判定する第2判定と、を行い、第1判定の結果と第2判定の結果との組み合わせに応じて、受信されたフレームに関する処理と受信されたフレームの送信元装置に関する処理の少なくとも一方を実行する、ことをコンピュータに実行させるためのコンピュータプログラム。
このコンピュータプログラムによると、通信システムのセキュリティを向上させることができる。
The techniques described in the first embodiment and the modifications may be specified by the following items.
[Item 1]
The receiver that receives the frame from the communication network, the first judgment that determines whether the frame is invalid based on the result of message authentication for the frame, and whether the frame is invalid based on the mode of the frame and predetermined rules. The second determination is performed, and a processing unit that executes at least one of the processing related to the frame and the processing related to the source device of the frame according to the combination of the result of the first determination and the result of the second determination is provided. Monitoring device.
According to this monitoring device, the security of the communication system can be improved.
[Item 2]
When the judgment target frame is determined to be valid by the first judgment and the judgment target frame is determined to be invalid by the second judgment, or when the judgment target frame is determined to be invalid by the first judgment and the judgment target frame is determined by the second judgment. If is determined to be invalid, the processing unit may execute a process of discarding or invalidating the determination target frame.
According to this aspect, the security risk due to an illegal frame can be reduced.
[Item 3]
When the judgment target frame is determined to be valid by the first judgment and the judgment target frame is determined to be invalid by the second judgment, or when the judgment target frame is determined to be invalid by the first judgment and the judgment target frame is determined by the second judgment. When is determined to be fraudulent, the target device for fraud countermeasures is detected from among the plurality of source devices based on the presence or absence of fraud in a plurality of frames transmitted from the plurality of source devices, and (1) the target device. Process to discard or invalidate the frame transmitted from, (2) Process to update the computer program in the target device, (3) Process to update the message authentication key in the source device other than the target device, (4) Target At least one of the processes of discarding or invalidating the frame received from the bus of the communication network to which the device is connected may be executed.
According to this aspect, it is possible to take measures against fraud regarding the source device of the frame based on the detection of the fraudulent frame.
[Item 4]
When the determination target frame is determined to be valid by the first determination and the determination target frame is determined to be invalid by the second determination, and the determination target frame is a frame transmitted from a device other than the predetermined source device. When it is received from the bus, the processing unit may execute a process of updating the key for message authentication in a predetermined source device.
According to this aspect, when a malicious frame is injected from the outside and the message authentication key may be leaked, the message authentication key can be updated to reduce the security risk.
[Item 5]
When the determination target frame is determined to be invalid by the first determination and the determination target frame is determined to be valid by the second determination, the processing unit may save at least the log data related to the determination target frame.
According to this aspect, when it is assumed that the rule for the second determination is incomplete, it is possible to support the improvement of the rule.
[Item 6]
The processing unit classifies the judgment target frame into either legitimate, illegal, or gray according to the degree of deviation between the mode of the judgment target frame and the rule, and when the judgment target frame is classified as gray, at least the judgment target. Log data related to the frame may be saved.
According to this aspect, it is possible to support the improvement of the rule for the second determination due to the originally undesired gray determination.
[Item 7]
The monitoring device may be an electronic control unit mounted on the vehicle. When the frame transmitted via the predetermined gateway device in the vehicle-mounted network is determined to be invalid by the second determination, the processing unit may switch the automatic driving mode of the vehicle to the fail-safe mode.
According to this aspect, the safety of vehicle driving can be further enhanced.
[Item 8]
The frame is received from the communication network, and the frame is determined based on the first judgment of determining whether the frame is invalid based on the result of message authentication for the received frame, the mode of the received frame, and a predetermined rule. At least the processing related to the received frame and the processing related to the source device of the received frame are performed according to the combination of the result of the first judgment and the result of the second judgment. A monitoring method in which a computer does one thing.
According to this monitoring method, the security of the communication system can be improved.
[Item 9]
The frame is received from the communication network, and the frame is determined based on the first judgment of determining whether the frame is invalid based on the result of message authentication for the received frame, the mode of the received frame, and a predetermined rule. A second determination for determining whether or not the image is invalid is performed, and at least the processing related to the received frame and the processing related to the source device of the received frame are performed according to the combination of the result of the first determination and the result of the second determination. A computer program that lets a computer do one thing.
According to this computer program, the security of the communication system can be improved.

[第2実施例]
第2実施例の詳細な構成を説明する前にまず概要を述べる。コネクテッドカー等、インターネットへ常時接続される車両の普及に伴い、クラウド側で車両を常時監視し、クラウドから適切なサービスを車両へ提供することが考えられる。このようなクラウドサービスを利用する車両は、自車のセキュリティ状態をリアルタイムにクラウドへ伝える必要があるが、リアルタイム性を重視するほど通信量は増大する。そのため車両には、セキュリティ状態の検知結果に応じた適切な通信が求められる。
[Second Example]
Before explaining the detailed configuration of the second embodiment, an outline will be given first. With the widespread use of vehicles that are always connected to the Internet, such as connected cars, it is conceivable that the cloud will constantly monitor the vehicle and provide appropriate services to the vehicle from the cloud. Vehicles that use such cloud services need to convey the security status of their vehicles to the cloud in real time, but the more emphasis is placed on real-time performance, the greater the amount of communication. Therefore, the vehicle is required to perform appropriate communication according to the detection result of the security state.

第2実施例では、MAC検証の結果と、振る舞い検証の結果とに基づいて、車両のセキュリティ状態を判定し、車両のセキュリティ状態に応じて、適切なタイミングで、かつ、適切な内容をクラウドへ送信する車載ネットワークシステムを説明する。以下の図面において、第1実施例と同一または対応するブロックには、第1実施例と同一の符号を付している。また、第1実施例で説明済みの内容は適宜省略し、主に、第1実施例と異なる構成を説明する。 In the second embodiment, the security status of the vehicle is determined based on the result of the MAC verification and the result of the behavior verification, and the appropriate content is sent to the cloud at an appropriate timing according to the security status of the vehicle. The in-vehicle network system to be transmitted will be described. In the following drawings, the same or corresponding blocks as those in the first embodiment are designated by the same reference numerals as those in the first embodiment. In addition, the contents already explained in the first embodiment will be omitted as appropriate, and a configuration different from that in the first embodiment will be mainly described.

図8は、第2実施例の車載ネットワークシステムの構成を示す。車載ネットワークシステム12のハードウェア構成は第1実施例と同様である。第2実施例では、車両10は、外部通信網28を介して車両監視サーバ100と接続される。 FIG. 8 shows the configuration of the vehicle-mounted network system of the second embodiment. The hardware configuration of the in-vehicle network system 12 is the same as that of the first embodiment. In the second embodiment, the vehicle 10 is connected to the vehicle monitoring server 100 via the external communication network 28.

車両監視サーバ100は、車両10のセキュリティ状態に応じたサービスを提供する。車両監視サーバ100は、第1実施例においてCGW20、ECU14等に実装された不正対策部38に対応する機能を備えてもよい。例えば、車両監視サーバ100は、車両10から通報された車両10のセキュリティ状態に応じて、ECU14のリプログラミングまたは鍵更新を車両10に指示してもよい。なお、車両監視サーバ100は、第1実施例のルール生成装置29の機能を含む。 The vehicle monitoring server 100 provides a service according to the security state of the vehicle 10. The vehicle monitoring server 100 may have a function corresponding to the fraud countermeasure unit 38 mounted on the CGW 20, the ECU 14, and the like in the first embodiment. For example, the vehicle monitoring server 100 may instruct the vehicle 10 to reprogram the ECU 14 or update the key according to the security state of the vehicle 10 notified from the vehicle 10. The vehicle monitoring server 100 includes the function of the rule generation device 29 of the first embodiment.

第2実施例の車載ネットワークシステム12では、MACを用いたメッセージ認証に対応するECU14に監視モジュールが導入される。監視モジュールが導入されたECU14は、CAN24を流れる不正フレーム(言い換えれば不正コマンド)を監視し、その監視結果を車両監視サーバ100へ通報する監視装置として機能する。変形例として、(1)CGW20にのみ監視モジュールを導入する構成でもよく、(2)CMI22にのみ監視モジュールを導入する構成でもよく、(3)CGW20と、MACを用いたメッセージ認証に対応するECU14とに監視モジュールを導入する構成でもよい。 In the vehicle-mounted network system 12 of the second embodiment, the monitoring module is introduced into the ECU 14 corresponding to the message authentication using the MAC. The ECU 14 in which the monitoring module is introduced functions as a monitoring device that monitors an illegal frame (in other words, an illegal command) flowing through the CAN 24 and reports the monitoring result to the vehicle monitoring server 100. As a modification, (1) a configuration in which the monitoring module is installed only in the CGW 20 may be used, (2) a configuration in which the monitoring module is installed only in the CMI 22 may be used, and (3) the CGW 20 and the ECU 14 corresponding to message authentication using MAC may be installed. It may be configured to introduce a monitoring module.

図9は、図8のECU14の機能構成を示すブロック図である。ECU14は、フレーム受信部30、フレーム送信部32、MAC検証部34、振る舞い検証部36、ルール更新部46、コマンド実行部56、フレーム生成部58、通報部114を備える。図8のCGW20またはCMI22が監視モジュールを備える場合も、図9と同様の構成になる。 FIG. 9 is a block diagram showing a functional configuration of the ECU 14 of FIG. The ECU 14 includes a frame receiving unit 30, a frame transmitting unit 32, a MAC verification unit 34, a behavior verification unit 36, a rule updating unit 46, a command execution unit 56, a frame generation unit 58, and a reporting unit 114. When the CGW 20 or CMI 22 of FIG. 8 includes a monitoring module, the configuration is the same as that of FIG.

図9のMAC検証部34、振る舞い検証部36、ルール更新部46、通報要否判定部112、通報部114は、監視モジュールとして処理部110を構成してもよい。また、図9のフレーム受信部30、フレーム送信部32、MAC検証部34、振る舞い検証部36、ルール更新部46、コマンド実行部56、フレーム生成部58は、第1実施例と同じ機能であるため説明を省略する。 The MAC verification unit 34, the behavior verification unit 36, the rule update unit 46, the notification necessity determination unit 112, and the notification unit 114 of FIG. 9 may configure the processing unit 110 as a monitoring module. Further, the frame receiving unit 30, the frame transmitting unit 32, the MAC verification unit 34, the behavior verification unit 36, the rule updating unit 46, the command execution unit 56, and the frame generation unit 58 in FIG. 9 have the same functions as those in the first embodiment. Therefore, the description is omitted.

通報部114は、CAN24から受信されたフレーム(以下「対象フレーム」とも呼ぶ。)をフレーム受信部30から受信する。また、通報部114は、対象フレームに対するMAC検証の結果をMAC検証部34から取得し、対象フレームに対する振る舞い検証の結果を振る舞い検証部36から取得する。通報部114は、対象フレームに対するMAC検証の結果と振る舞い検証の結果の組み合わせに基づいて、車両監視サーバ100へ通報する内容または通報の優先度を設定し、また、複数の対象フレーム間で、車両監視サーバ100へ通報する内容または通報の優先度を変更する。実施例では、通報する内容と通報の優先度の両方を変更する。 The reporting unit 114 receives a frame received from the CAN 24 (hereinafter, also referred to as a “target frame”) from the frame receiving unit 30. Further, the reporting unit 114 acquires the result of MAC verification for the target frame from the MAC verification unit 34, and acquires the result of the behavior verification for the target frame from the behavior verification unit 36. The reporting unit 114 sets the content to be reported to the vehicle monitoring server 100 or the priority of reporting based on the combination of the result of MAC verification and the result of behavior verification for the target frame, and also sets the vehicle among the plurality of target frames. The content to be notified to the monitoring server 100 or the priority of the notification is changed. In the embodiment, both the content to be reported and the priority of the report are changed.

通報部114は、受信フレーム記憶部42、構成情報記憶部48、解析部120、メッセージ生成部122、メッセージ出力部124を含む。 The reporting unit 114 includes a receiving frame storage unit 42, a configuration information storage unit 48, an analysis unit 120, a message generation unit 122, and a message output unit 124.

受信フレーム記憶部42は、フレーム受信部30により受信された複数のフレームを所定の記憶領域に記憶し、蓄積する。受信フレーム記憶部42は、受信されてから所定時間が経過したフレームを記憶領域から順次消去しても良い。受信フレーム記憶部42は、フレームのデータと、MAC検証部34による判定結果と振る舞い検証部36による判定結果とを対応付けて蓄積してもよい。 The reception frame storage unit 42 stores and stores a plurality of frames received by the frame reception unit 30 in a predetermined storage area. The reception frame storage unit 42 may sequentially erase frames for which a predetermined time has passed since they were received from the storage area. The reception frame storage unit 42 may store the frame data in association with the determination result by the MAC verification unit 34 and the determination result by the behavior verification unit 36.

構成情報記憶部48は、CAN24の様々な構成要素に関する属性情報(ここでは「構成情報」と呼ぶ。)を記憶する。実施例の構成情報は、複数のECU14のIDと、複数のECU14のそれぞれが送信するフレームに含まれるコマンドのIDを含む。なお、構成情報は、コマンドのIDに代えて、フレームID(言い換えればCAN−ID)を含んでもよい。もしくは、構成情報は、コマンドのIDとともに、フレームのID(CAN−ID)を含んでもよい。 The configuration information storage unit 48 stores attribute information (referred to here as “configuration information”) relating to various components of the CAN 24. The configuration information of the embodiment includes IDs of a plurality of ECUs 14 and IDs of commands included in frames transmitted by each of the plurality of ECUs 14. The configuration information may include a frame ID (in other words, CAN-ID) instead of the command ID. Alternatively, the configuration information may include the frame ID (CAN-ID) together with the command ID.

また、実施例の構成情報は、複数のコマンドのIDと、各コマンドの送信頻度とを対応付けた情報を含む。コマンドの送信頻度は、送信元のECUが当該コマンドを含むフレームを送信する頻度(例えば単位時間あたりの送信個数)であってもよい。また、実施例の構成情報は、複数のコマンドのIDと、各コマンドに関連する他のコマンドのIDとを対応付けた情報を含む。特定のコマンドに関連する他のコマンドは、特定のコマンドと依存関係を有する他のコマンドでもよく、特定のコマンドと対になって送信される他のコマンドでもよい。例えば、車速制御コマンドに関連する他のコマンドは、ブレーキアクチュエータ制御コマンドでもよい。 Further, the configuration information of the embodiment includes information in which IDs of a plurality of commands are associated with transmission frequencies of each command. The command transmission frequency may be the frequency at which the transmission source ECU transmits a frame containing the command (for example, the number of transmissions per unit time). Further, the configuration information of the embodiment includes information in which IDs of a plurality of commands are associated with IDs of other commands related to each command. Other commands associated with a particular command may be other commands that have dependencies on the particular command, or may be other commands that are sent in pairs with the particular command. For example, another command related to the vehicle speed control command may be a brake actuator control command.

解析部120は、対象フレームに対するMAC検証の結果と振る舞い検証の結果との組み合わせに基づいて、対象フレームの不正検出パターンを識別する。図10は、不正検出パターンを示す。解析部120は、対象フレームの不正検出パターンとして、図10に示す7つの不正検出パターンのうちいずれかを特定する。 The analysis unit 120 identifies the fraud detection pattern of the target frame based on the combination of the result of MAC verification for the target frame and the result of behavior verification. FIG. 10 shows a fraud detection pattern. The analysis unit 120 identifies any one of the seven fraud detection patterns shown in FIG. 10 as the fraud detection pattern of the target frame.

パターン1とパターン5の識別方法を説明する。解析部120は、あるコマンドID(フレームIDでもよい)を含むフレームに対するMAC検証結果が正当(図10における「OK」)を示すと共に、振る舞い検証結果が不正(図10における「NG」)を示す場合、受信フレーム記憶部42を参照して、そのコマンドIDを含むフレームの受信頻度を特定する。特定した受信頻度が、構成情報記憶部48に記憶された当該コマンドIDの送信頻度と整合する(例えば、特定した受信頻度と当該コマンドIDの送信頻度との差異が所定の範囲内)の場合、パターン1と識別する。その一方、特定した受信頻度が、送信頻度を上回る場合(例えば、特定した受信頻度と当該コマンドIDの送信頻度との差異が所定の閾値を超過する場合)、パターン5と識別する。 The method of distinguishing the pattern 1 and the pattern 5 will be described. The analysis unit 120 indicates that the MAC verification result for the frame including a certain command ID (may be a frame ID) is valid (“OK” in FIG. 10), and the behavior verification result is invalid (“NG” in FIG. 10). In this case, the reception frame storage unit 42 is referred to to specify the reception frequency of the frame including the command ID. When the specified reception frequency is consistent with the transmission frequency of the command ID stored in the configuration information storage unit 48 (for example, the difference between the specified reception frequency and the transmission frequency of the command ID is within a predetermined range). Identify as pattern 1. On the other hand, when the specified reception frequency exceeds the transmission frequency (for example, when the difference between the specified reception frequency and the transmission frequency of the command ID exceeds a predetermined threshold value), it is identified as pattern 5.

このように識別する理由は、ECUが乗っ取られた場合(パターン1)は、送信頻度が変わらないが、不正コマンドが外部注入された場合(パターン5)は、正常なECUが送信するコマンドと外部注入されたコマンドの両方が存在することで受信頻度が高くなるからである。 The reason for such identification is that when the ECU is hijacked (Pattern 1), the transmission frequency does not change, but when an illegal command is injected externally (Pattern 5), the command transmitted by the normal ECU and the external This is because the reception frequency increases due to the presence of both the injected commands.

パターン3とパターン4の識別方法を説明する。パターン3またはパターン4に分類されうる対象フレームは、MACのコード値が付加されていないフレームであり、言い換えれば、MAC検証部34によるMAC検証の対象外となるフレームである。解析部120は、あるコマンドID(フレームIDでもよい)を含むフレームに対するMAC検証結果がなく(図10における「n/a」)、振る舞い検証結果が不正(図10における「NG」)を示す場合、受信フレーム記憶部42を参照して、そのコマンドIDを含むフレームの受信頻度を特定する。特定した受信頻度が、構成情報記憶部48に記憶された当該コマンドIDの送信頻度と整合する場合、パターン3と識別する。その一方、特定した受信頻度が、送信頻度を上回る場合、パターン4と識別する。 The method of distinguishing the pattern 3 and the pattern 4 will be described. The target frame that can be classified into pattern 3 or pattern 4 is a frame to which a MAC code value is not added, in other words, a frame that is not subject to MAC verification by the MAC verification unit 34. When the analysis unit 120 has no MAC verification result for a frame including a certain command ID (may be a frame ID) (“n / a” in FIG. 10) and the behavior verification result is invalid (“NG” in FIG. 10). , The reception frame storage unit 42 is referred to, and the reception frequency of the frame including the command ID is specified. When the specified reception frequency matches the transmission frequency of the command ID stored in the configuration information storage unit 48, it is identified as pattern 3. On the other hand, when the specified reception frequency exceeds the transmission frequency, it is identified as pattern 4.

解析部120は、対象フレームの不正検出パターンとしてパターン1またはパターン3を識別した場合、乗っ取られた可能性があるECUのIDを特定する。例えば、解析部120は、構成情報記憶部48を参照して、対象フレームが示すコマンドIDに対応づけられたECUを、乗っ取られた可能性があるECUとして特定する。なお、ECUが乗っ取られていることは、当該ECUで想定外のプログラムが実行されていることを含む。 When the analysis unit 120 identifies the pattern 1 or the pattern 3 as the fraud detection pattern of the target frame, the analysis unit 120 identifies the ID of the ECU that may have been hijacked. For example, the analysis unit 120 refers to the configuration information storage unit 48 and identifies the ECU associated with the command ID indicated by the target frame as an ECU that may have been hijacked. The fact that the ECU has been hijacked includes the fact that an unexpected program is being executed by the ECU.

図9に戻り、メッセージ生成部122は、解析部120により識別された対象フレームの不正検出パターンに応じて、対象フレームに関する情報を車両監視サーバ100へ通報するためのメッセージを生成する。このメッセージは、車両10のセキュリティ状態を示す。メッセージ生成部122は、対象フレームの不正検出パターンに該当する図10の通報内容および付加情報をメッセージに含める。 Returning to FIG. 9, the message generation unit 122 generates a message for notifying the vehicle monitoring server 100 of information about the target frame according to the fraud detection pattern of the target frame identified by the analysis unit 120. This message indicates the security status of the vehicle 10. The message generation unit 122 includes the report content and additional information of FIG. 10 corresponding to the fraud detection pattern of the target frame in the message.

メッセージ生成部122は、上記メッセージをペイロードに設定したフレームであり、車両10のセキュリティ状態(具体的には不正検出状態)を車両監視サーバ100へ通報するための通報フレームを生成する。メッセージ生成部122は、上記メッセージを複数に分割し、分割後のメッセージをそれぞれ含む複数の通報フレームを生成してもよい。メッセージ出力部124は、メッセージ生成部122により生成された通報フレームをフレーム送信部32へ出力し、フレーム送信部32からCAN24へ出力させる。通報フレームは、CAN24〜外部バス26e〜外部通信網28を介して車両監視サーバ100へ伝送される。 The message generation unit 122 is a frame in which the above message is set in the payload, and generates a notification frame for notifying the vehicle monitoring server 100 of the security state (specifically, the fraud detection state) of the vehicle 10. The message generation unit 122 may divide the above message into a plurality of parts and generate a plurality of notification frames including the divided messages. The message output unit 124 outputs the notification frame generated by the message generation unit 122 to the frame transmission unit 32, and outputs the notification frame from the frame transmission unit 32 to the CAN 24. The notification frame is transmitted to the vehicle monitoring server 100 via CAN24, the external bus 26e, and the external communication network 28.

メッセージ内容の設定処理の詳細を説明する。対象フレームの不正検出パターンがパターン1であるとき、メッセージ生成部122は、図10のパターン1の通報内容をメッセージに含める。また、メッセージ生成部122は、付加情報(A)(B)(C)をメッセージに含める。なお、いずれのパターンにおいても、図10の「通報内容」欄の文章に代えて、図10の「想定される脅威」欄の文章をメッセージに含めてもよい。 The details of the message content setting process will be described. When the fraud detection pattern of the target frame is pattern 1, the message generation unit 122 includes the report content of pattern 1 in FIG. 10 in the message. Further, the message generation unit 122 includes the additional information (A), (B), and (C) in the message. In any pattern, the text in the "assumed threat" column of FIG. 10 may be included in the message instead of the text in the "report content" column of FIG.

具体的には、メッセージ生成部122は、MAC検証と振る舞い検証の結果を付加情報(A)としてメッセージに含める。また、メッセージ生成部122は、対象フレームが含むコマンドIDを付加情報(B)としてメッセージに含める。また、メッセージ生成部122は、解析部120により特定されたECU(ここでは「不正ECU」と呼ぶ。)のIDを付加情報(C)としてメッセージに含める。また、メッセージ生成部122は、構成情報記憶部48を参照して、不正ECUに対応づけられたコマンドIDであり、すなわち、不正ECUが送信するコマンドIDを特定し、そのコマンドIDを付加情報(C)としてメッセージに含める。 Specifically, the message generation unit 122 includes the results of MAC verification and behavior verification in the message as additional information (A). Further, the message generation unit 122 includes the command ID included in the target frame in the message as additional information (B). Further, the message generation unit 122 includes the ID of the ECU (referred to as “illegal ECU” here) specified by the analysis unit 120 in the message as additional information (C). Further, the message generation unit 122 refers to the configuration information storage unit 48, and is a command ID associated with the fraudulent ECU, that is, identifies the command ID transmitted by the fraudulent ECU, and adds the command ID to the additional information ( Include in the message as C).

対象フレームの不正検出パターンがパターン2であるとき、メッセージ生成部122は、付加情報として(A)(B)のみをメッセージに含める。この理由は、MAC検証と振る舞い検証のいずれも機能しており、パターン1の場合よりも問題が小さいからである(つもり、この場合、付加情報を減らすことによって、通信量の削減効果を高めている)。変形例として、パターン1と同様の付加情報(すなわち(A)〜(C))をメッセージに含めてもよい。 When the fraud detection pattern of the target frame is pattern 2, the message generation unit 122 includes only (A) and (B) as additional information in the message. The reason for this is that both MAC verification and behavior verification are functioning, and the problem is smaller than in the case of pattern 1 (I intend, in this case, by reducing the additional information, the effect of reducing the amount of communication is enhanced. There is). As a modification, additional information similar to pattern 1 (that is, (A) to (C)) may be included in the message.

次に、対象フレームの不正検出パターンがパターン6であるときの、メッセージ生成部122の処理を説明する。第1実施例でも言及したように、パターン6は、振る舞い検証が本来NGになるべきところがOKになった可能性があり、すなわち、振る舞い検証ルールが不完全の可能性がある。メッセージ生成部122は、図10のパターン6の通報内容をメッセージに含める。また、メッセージ生成部122は、付加情報(A)(B)(D)(E)をメッセージに含める。 Next, the processing of the message generation unit 122 when the fraud detection pattern of the target frame is pattern 6 will be described. As mentioned in the first embodiment, in pattern 6, there is a possibility that the behavior verification should be NG, but it may be OK, that is, the behavior verification rule may be incomplete. The message generation unit 122 includes the report content of pattern 6 in FIG. 10 in the message. Further, the message generation unit 122 includes additional information (A), (B), (D), and (E) in the message.

具体的には、メッセージ生成部122は、受信フレーム記憶部42を参照して、対象フレームのフレームIDと同じIDが設定されたフレームであり、対象フレームより前に受信された所定個数(例えば10個)のフレームを特定する。また、メッセージ生成部122は、受信フレーム記憶部42を参照して、対象フレームのフレームIDと同じIDが設定されたフレームであり、対象フレームより後に受信された所定個数(例えば10個)のフレームを特定する。メッセージ生成部122は、特定した各フレームに含まれるコマンドIDを付加情報(D)としてメッセージに含める。変形例として、メッセージ生成部122は、付加情報(D)として、対象フレームの前後で受信した所定個数のフレームの全体データをメッセージに含めてもよい。 Specifically, the message generation unit 122 is a frame in which the same ID as the frame ID of the target frame is set with reference to the reception frame storage unit 42, and a predetermined number (for example, 10) received before the target frame. ) Frames are specified. Further, the message generation unit 122 is a frame in which the same ID as the frame ID of the target frame is set with reference to the reception frame storage unit 42, and a predetermined number (for example, 10) of frames received after the target frame. To identify. The message generation unit 122 includes the command ID included in each specified frame in the message as additional information (D). As a modification, the message generation unit 122 may include the entire data of a predetermined number of frames received before and after the target frame in the message as additional information (D).

また、メッセージ生成部122は、構成情報記憶部48を参照して、対象フレームに含まれるコマンドに関連する他のコマンドのIDを特定し、他のコマンドのIDを付加情報(E)としてメッセージに含める。変形例として、メッセージ生成部122は、付加情報(E)として、上記他のコマンドのIDを含む所定個数のフレームの全体データをメッセージに含めてもよい。 Further, the message generation unit 122 refers to the configuration information storage unit 48, identifies the IDs of other commands related to the commands included in the target frame, and uses the IDs of the other commands as additional information (E) in the message. include. As a modification, the message generation unit 122 may include the entire data of a predetermined number of frames including the IDs of the other commands in the message as additional information (E).

なお、メッセージ生成部122は、通報内容および付加情報(A)(B)を含む第1メッセージと、付加情報(D)(E)を含む第2メッセージとを別個に生成する。このように生成する理由は、後述するように、第1メッセージの通報タイミングと、第2メッセージの通報タイミングとが異なるからである。 The message generation unit 122 separately generates the first message including the report content and the additional information (A) and (B) and the second message including the additional information (D) and (E). The reason for such generation is that, as will be described later, the notification timing of the first message and the notification timing of the second message are different.

メッセージ生成部122は、対象フレームの不正検出パターンがパターン7であるとき、フレームを生成しない。ただし、不正検出パターンがパターン7である状態が所定時間以上継続する場合、メッセージ生成部122は、セキュリティに異常がないことを示すフレームを定期的(例えば1分経過毎に)に生成してもよい。 The message generation unit 122 does not generate a frame when the fraud detection pattern of the target frame is pattern 7. However, if the fraud detection pattern pattern 7 continues for a predetermined time or longer, the message generation unit 122 may generate a frame indicating that there is no abnormality in security periodically (for example, every minute). Good.

次に、通報の優先度の設定処理の詳細を説明する。メッセージ生成部122は、対象フレームの不正検出パターンに応じた優先度(図10)を通報フレームに設定する。メッセージ生成部122は、対象フレームの不正検出パターンがパターン1または5の場合、優先度を高に設定し、すなわち、通報フレーム以外の他の通信より高い優先度を通報フレームに設定する。この理由は、パターン1または5は、MAC鍵が漏洩もしくはECUが乗っ取られている可能性が高いため、早急に対処すべきだからである。 Next, the details of the report priority setting process will be described. The message generation unit 122 sets the priority (FIG. 10) according to the fraud detection pattern of the target frame in the notification frame. When the fraud detection pattern of the target frame is pattern 1 or 5, the message generation unit 122 sets the priority to a high priority, that is, sets a higher priority to the notification frame than other communications other than the notification frame. The reason for this is that pattern 1 or 5 should be dealt with immediately because there is a high possibility that the MAC key has been leaked or the ECU has been hijacked.

また、対象フレームの不正検出パターンがパターン2〜4の場合、メッセージ生成部122は、優先度を低に設定し、すなわち、通報フレーム以外の他の通信より低い優先度を通報フレームに設定する。この理由は、パターン2〜4では、不正コマンドを問題なく検出できているからである。また、この理由は、パターン3および4の判定対象フレームにはMACが付与されず、MACが付与されない判定対象フレームは、運転上重要性が低いからである。 When the fraud detection pattern of the target frame is patterns 2 to 4, the message generation unit 122 sets the priority to a low priority, that is, sets a priority lower than that of other communications other than the notification frame to the notification frame. The reason for this is that in patterns 2 to 4, illegal commands can be detected without any problem. Further, the reason for this is that the determination target frames of patterns 3 and 4 are not given a MAC, and the determination target frames to which the MAC is not given are of low importance in operation.

また、対象フレームの不正検出パターンがパターン6の場合、メッセージ生成部122は、通報内容および付加情報(A)(B)を含む第1メッセージのフレームの優先度を中に設定する。すなわち、通報フレーム以外の他の通信と同程度の優先度を通報フレームに設定する。この理由は、MAC検証がNGであるため、不正コマンドによる被害は回避できているが、振る舞い検証ではOKとなっているため、振る舞い検証のルールを改善すべきだからである。また、メッセージ生成部122は、付加情報(D)(E)を含む第2メッセージのフレームの優先度を低に設定する。この理由は、付加情報(D)(E)はデータ量が多いからである。ただし、CAN24などの通信量が空いている場合には、付加情報(D)(E)を含む第2メッセージのフレームの優先度を中に設定してもよい。 When the fraud detection pattern of the target frame is pattern 6, the message generation unit 122 sets the priority of the frame of the first message including the notification content and the additional information (A) and (B) to be medium. That is, the same priority as the communication other than the report frame is set in the report frame. The reason for this is that since the MAC verification is NG, the damage caused by the illegal command can be avoided, but the behavior verification is OK, so the behavior verification rules should be improved. Further, the message generation unit 122 sets the priority of the frame of the second message including the additional information (D) (E) to low. The reason for this is that the additional information (D) and (E) has a large amount of data. However, when the communication volume such as CAN24 is free, the priority of the frame of the second message including the additional information (D) and (E) may be set to the middle.

メッセージ生成部122は、優先度高に設定された通報フレームに、CAN24で優先的に伝送されるIDを付与してもよい。メッセージ出力部124は、優先度高に設定された通報フレームを、他のフレームが送信中か否かに関わらず、即時にCAN24へ出力してもよい。また、メッセージ生成部122は、外部通信網28と接続されたIVI装置16に対して、優先度高に設定され通報フレームを、他の通信に優先して送信するように指示するデータを付与してもよい。他の通信は、車両10の自動運転に必要な情報の送受信を含んでもよく、例えば、ダイナミックマップや標識情報のアップロードおよびダウンロードを含んでもよい。 The message generation unit 122 may assign an ID to be preferentially transmitted by the CAN 24 to the notification frame set to have a high priority. The message output unit 124 may immediately output the notification frame set to the high priority to the CAN 24 regardless of whether another frame is being transmitted. Further, the message generation unit 122 adds data to the IVI device 16 connected to the external communication network 28, which is set to have a high priority and instructs the IVI device 16 to transmit the report frame in preference to other communications. You may. Other communications may include sending and receiving information necessary for the automatic driving of the vehicle 10, and may include, for example, uploading and downloading dynamic maps and sign information.

メッセージ生成部122は、優先度中に設定された通報フレームに、CAN24で他の種類のフレームと同等の優先度で扱われるIDを付与してもよい。メッセージ出力部124は、優先度中に設定された通報フレームを、他のフレームが送信されていない間にCAN24へ出力してもよい。また、メッセージ生成部122は、優先度中に設定された通報フレームに、他の通信と同等に扱って送信する(例えば早い者勝ちで送信する)ようにIVI装置16に指示するデータを付与してもよい。 The message generation unit 122 may assign an ID that is handled by CAN 24 with the same priority as other types of frames to the notification frame set during the priority. The message output unit 124 may output the notification frame set during the priority to the CAN 24 while other frames are not being transmitted. Further, the message generation unit 122 adds data instructing the IVI device 16 to treat and transmit (for example, transmit on a first-come-first-served basis) in the same manner as other communications to the report frame set during the priority. You may.

メッセージ生成部122は、優先度低に設定された通報フレームに、CAN24で他の種類のフレームより低い優先度で扱われるIDを付与してもよい。メッセージ出力部124は、優先度低に設定された通報を、イグニッションオフまたは電源オフ等、通信の空き時間にCAN24へ出力してもよい。また、メッセージ生成部122は、優先度低に設定された通報フレームに、他の通信より低い優先度で送信するようにIVI装置16指示するデータを付与してもよい。例えば、メッセージ生成部122は、優先度低に設定された通報フレームに、通信処理のアイドル中に車両監視サーバ100へ送信するようにIVI装置16に指示するデータを付与してもよい。 The message generation unit 122 may assign an ID that is handled by CAN 24 with a lower priority than other types of frames to the notification frame set to have a low priority. The message output unit 124 may output a notification set to a low priority to the CAN 24 during a free time of communication such as ignition off or power off. Further, the message generation unit 122 may add data instructing the IVI device 16 to transmit the notification frame set to a lower priority than other communications. For example, the message generation unit 122 may add data instructing the IVI device 16 to transmit to the vehicle monitoring server 100 while the communication process is idle, to the notification frame set to have a low priority.

なお、メッセージ生成部122は、優先度が高以外に設定された通報フレームを、第1実施例と同様に、ログとして不揮発メモリに保存してもよい。メッセージ出力部124は、CAN24が空いた場合等、通報フレームの送信が可能になった場合に、不揮発メモリに保存された通報フレームを読み出し、通報フレームをCAN24へ出力してもよい。 Note that the message generation unit 122 may save the notification frame set to a priority other than high in the non-volatile memory as a log, as in the first embodiment. The message output unit 124 may read the notification frame stored in the non-volatile memory and output the notification frame to the CAN 24 when the notification frame can be transmitted, such as when the CAN 24 is free.

車両10が複数種類の通信網に接続されるケースを説明する。例えば、車両10は、複数の通信装置を備えてもよく、例えば、IVI装置16、TCU(Telematics. Communication Unit)(不図示)、緊急通信ユニット(不図示)を備えてもよい。IVI装置16は、WiFi(登録商標)に接続されてもよい。また、TCUは、4G/LTE(Long Term Evolution)(登録商標)ネットワークに接続されてもよい。また、緊急通信ユニットは、3Gネットワークに接続されてもよい。上述に挙げた通信網および各装置との組合せは一例であり、その他にも組み合わせることが可能であることは、当業者にとっては理解されよう。 A case where the vehicle 10 is connected to a plurality of types of communication networks will be described. For example, the vehicle 10 may be provided with a plurality of communication devices, for example, an IVI device 16, a TCU (Telematics. Communication Unit) (not shown), and an emergency communication unit (not shown). The IVI device 16 may be connected to WiFi®. The TCU may also be connected to a 4G / LTE (Long Term Evolution)® network. The emergency communication unit may also be connected to a 3G network. It will be understood by those skilled in the art that the above-mentioned combination with the communication network and each device is an example, and other combinations are possible.

このような車両10において、通報の優先度が高の場合、緊急通信ユニットを使用して通報処理を実行してもよい。また、通報の優先度が中の場合、TCUを使用して通報処理を実行してもよい。また、通報の優先度が低の場合、IVI装置16を使用して通報処理を実行してもよい。あるいは、通報の優先度が低の場合、複数種類の通信網のうち空いている通信網を選択して通報処理を実行してもよい。その一方、通報の優先度が高の場合、他の通信による高速な通信網の使用を中止させ、その高速な通信網を使用して通報処理を実行してもよい。上述に挙げた優先度の設定および各処理との組合せは一例であり、その他にも組み合わせることが可能であることは、当業者にとっては理解されよう。 In such a vehicle 10, if the priority of the report is high, the emergency communication unit may be used to execute the report process. Further, when the priority of the report is medium, the report process may be executed using the TCU. Further, when the priority of the report is low, the report process may be executed by using the IVI device 16. Alternatively, when the priority of the report is low, a vacant communication network may be selected from the plurality of types of communication networks and the report process may be executed. On the other hand, when the priority of the report is high, the use of the high-speed communication network by other communication may be stopped and the report process may be executed using the high-speed communication network. Those skilled in the art will understand that the priority setting and the combination with each process mentioned above are examples, and other combinations are possible.

以上の構成によるECU14の動作を説明する。図11は、図8のECU14の動作を示すフローチャートである。フレーム受信部30は、CAN24からフレームを受信する(S70)。MAC検証部34は、受信された対象フレームに対するMAC検証を実行して、対象フレームが正当か不正かを判定する(S72)。振る舞い検証部36は、受信された対象フレームに対する振る舞い検証を実行して、対象フレームが正当か不正かを判定する(S74)。 The operation of the ECU 14 with the above configuration will be described. FIG. 11 is a flowchart showing the operation of the ECU 14 of FIG. The frame receiving unit 30 receives a frame from the CAN 24 (S70). The MAC verification unit 34 executes MAC verification for the received target frame and determines whether the target frame is valid or invalid (S72). The behavior verification unit 36 executes behavior verification for the received target frame and determines whether the target frame is valid or invalid (S74).

MAC検証と振る舞い検証の両方で対象フレームが正当と判定された場合(S76のY)、通報部114のメッセージ出力部124は、対象フレームをコマンド実行部56に渡す。コマンド実行部56は、対象フレームで指定されたコマンドにしたがいデータ処理を実行する(S78)。 When the target frame is determined to be valid by both the MAC verification and the behavior verification (Y in S76), the message output unit 124 of the notification unit 114 passes the target frame to the command execution unit 56. The command execution unit 56 executes data processing according to the command specified in the target frame (S78).

また、MAC検証と振る舞い検証の両方で対象フレームが正当と判定される状態が継続する場合、メッセージ生成部122は、車両10のセキュリティ状態が正常であることを示すフレームを定期的に生成する。メッセージ出力部124は、当該フレームを車両監視サーバ100へ送信する。 Further, when the state in which the target frame is determined to be valid by both the MAC verification and the behavior verification continues, the message generation unit 122 periodically generates a frame indicating that the security state of the vehicle 10 is normal. The message output unit 124 transmits the frame to the vehicle monitoring server 100.

MAC検証と振る舞い検証の少なくとも一方で対象フレームが不正と判定された場合(S76のN)、通報部114の解析部120は、対象フレームの不正検出パターンとして、図10の7つのパターンの中から1つのパターンを特定する(S80)。メッセージ生成部122は、特定された対象フレームの不正検出パターンにしたがって、車両監視サーバ100へ通報するメッセージと、通報の優先度を設定する(S82)。メッセージ出力部124は、メッセージ生成部122により生成されたメッセージを含む通報フレームを、メッセージ生成部122により設定された優先度にしたがって車両監視サーバ100へ送信する(S84)。このように、通報部114は、不正が検出されたフレームごとに、その不正検出パターンに応じて、通報フレームの内容および優先度を変更する。 When the target frame is determined to be invalid (N in S76) by at least one of MAC verification and behavior verification, the analysis unit 120 of the reporting unit 114 selects the illegal detection pattern of the target frame from the seven patterns shown in FIG. One pattern is specified (S80). The message generation unit 122 sets the message to be notified to the vehicle monitoring server 100 and the priority of the notification according to the fraud detection pattern of the specified target frame (S82). The message output unit 124 transmits a notification frame including the message generated by the message generation unit 122 to the vehicle monitoring server 100 according to the priority set by the message generation unit 122 (S84). In this way, the reporting unit 114 changes the content and priority of the reporting frame for each frame in which fraud is detected, according to the fraud detection pattern.

対象フレームの不正検出パターンがパターン1または5の場合(優先度高)、車両10の通信部(不図示)は、自動運転のためのダイナミックマップのダウンロードおよびアップロード(以下「他の通信」と呼ぶ。)より優先して通報フレームを処理し、通報フレームを車両監視サーバ100へ送信してもよい。また、対象フレームの不正検出パターンがパターン6の場合、上記通信部は、他の通信と同程度の優先度(例えば早い者勝ち)で通報フレームを処理してもよい。また、対象フレームの不正検出パターンがパターン2〜4の場合、上記通信部は、他の通信を処理中であれば、通報フレームの処理を後回しにしてもよい。 When the fraud detection pattern of the target frame is pattern 1 or 5 (high priority), the communication unit (not shown) of the vehicle 10 downloads and uploads a dynamic map for automatic driving (hereinafter referred to as "other communication"). The notification frame may be processed with priority over the notification frame, and the notification frame may be transmitted to the vehicle monitoring server 100. Further, when the fraud detection pattern of the target frame is pattern 6, the communication unit may process the notification frame with the same priority as other communications (for example, first come, first served). Further, when the fraud detection pattern of the target frame is patterns 2 to 4, the communication unit may postpone the processing of the notification frame if other communication is being processed.

第2実施例のECU14によると、車両10(言い換えれば車載ネットワークシステム12内の各装置)のセキュリティ状態に応じた適切なタイミングで、かつ、適切な内容を車両監視サーバ100へ通報することができる。 According to the ECU 14 of the second embodiment, it is possible to notify the vehicle monitoring server 100 of appropriate contents at an appropriate timing according to the security state of the vehicle 10 (in other words, each device in the vehicle-mounted network system 12). ..

以上、本発明を第2実施例をもとに説明した。この実施例は例示であり、それらの各構成要素あるいは各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。 The present invention has been described above based on the second embodiment. This embodiment is an example, and it will be understood by those skilled in the art that various modifications are possible for each of these components or combinations of each processing process, and that such modifications are also within the scope of the present invention. ..

第1変形例を説明する。本変形例は、第1実施例の第1変形例に対応する。振る舞い検証部36は、対象フレームの態様と、予め定められた複数のルールとに基づいて、複数の中間判定を実行し、複数の中間判定の結果に応じて、振る舞い検証の結果を導出する。振る舞い検証部36は、振る舞い検証の結果とともに、複数の中間判定の結果を通報部114へ出力する。メッセージ生成部122は、複数の中間判定結果の中にルールに不適合であることを示す結果が存在する場合、複数の中間判定結果を含む通報フレームを生成する。メッセージ出力部124は、上記の通報フレームを車両監視サーバ100へ送信する。また、メッセージ生成部122は、ルールに不適合であることを示す中間判定結果の数に応じて、通報の優先度を変更する。 The first modification will be described. This modification corresponds to the first modification of the first embodiment. The behavior verification unit 36 executes a plurality of intermediate determinations based on the mode of the target frame and a plurality of predetermined rules, and derives the behavior verification results according to the results of the plurality of intermediate determinations. The behavior verification unit 36 outputs the results of a plurality of intermediate determinations to the reporting unit 114 together with the results of the behavior verification. The message generation unit 122 generates a notification frame including a plurality of intermediate determination results when there is a result indicating that the rule is not conformed to among the plurality of intermediate determination results. The message output unit 124 transmits the above notification frame to the vehicle monitoring server 100. Further, the message generation unit 122 changes the priority of the report according to the number of intermediate determination results indicating that the rule is not conformed.

具体例として、振る舞い検証部36は、1つの対象フレームのデータを、複数の検知パラメータA〜Eのそれぞれで評価し、各検知パラメータによる中間判定結果(ルールに適合するか否かの判定結果)を生成してもよい。振る舞い検証部36は、複数の中間判定結果のうちNGとなった中間判定結果の個数が3以上であれば、対象フレームの最終判定結果を不正としてもよい。NGとは、例えば、判定対象フレームのデータが、個々の中間判定のルールに不適合であることを含む。 As a specific example, the behavior verification unit 36 evaluates the data of one target frame with each of a plurality of detection parameters A to E, and an intermediate judgment result (judgment result of whether or not the rule is met) by each detection parameter. May be generated. If the number of NG intermediate determination results among the plurality of intermediate determination results is 3 or more, the behavior verification unit 36 may invalidate the final determination result of the target frame. The NG includes, for example, that the data of the determination target frame does not conform to the rules of each intermediate determination.

1)フレーム単位での通報処理を説明する。メッセージ生成部122は、複数の中間判定結果の中にルール不適合を示す結果が1つ以上存在する場合、全ての中間判定結果を含む通報フレームを生成してもよい。中間判定結果は、中間判定で使用されたパラメータの情報を含んでよく、また、中間判定で正否が判定されたフレームのデータを含んでもよい。また、メッセージ生成部122は、中間判定結果がNGになった数に応じて、車両監視サーバ100への通報の優先度を変更してもよい。例えば、5つの中間判定が行われる場合、中間判定結果のNG数が1または2であれば実施例の優先度低を設定してもよい。また、中間判定結果のNG数が3または4であれば実施例の優先度中を設定し、中間判定結果のNG数が5であれば優先度高を設定してもよい。 1) The report processing for each frame will be explained. When the message generation unit 122 includes one or more results indicating rule nonconformity among the plurality of intermediate determination results, the message generation unit 122 may generate a notification frame including all the intermediate determination results. The intermediate determination result may include information on the parameters used in the intermediate determination, or may include data of frames for which correctness or rejection is determined in the intermediate determination. Further, the message generation unit 122 may change the priority of reporting to the vehicle monitoring server 100 according to the number of NG intermediate determination results. For example, when five intermediate determinations are made, if the number of NGs in the intermediate determination result is 1 or 2, the priority of the embodiment may be set low. Further, if the number of NGs in the intermediate determination result is 3 or 4, the priority in the embodiment may be set, and if the number of NGs in the intermediate determination result is 5, the high priority may be set.

次に、2)コマンド単位での通報処理を説明する。メッセージ生成部122は、コマンドIDごと(もしくはフレームIDごと)に、振る舞い検証部36による中間判定結果のNG数の累計値(ここでは「コマンド別中間NG累計数」と呼ぶ。)を記憶してもよい。メッセージ生成部122は、コマンド別中間NG累計数が第1閾値(例えば20回)を超えた場合に、コマンド別中間NG累計数が第1閾値を超えた旨の情報とコマンドIDとを含む通報フレームを生成し、通報の優先度を低に設定してもよい。また、メッセージ生成部122は、コマンド別中間NG累計数が第2閾値(例えば40回)を超えた場合に、コマンド別中間NG累計数が第2閾値を超えた旨の情報とコマンドIDとを含む通報フレームを生成し、通報の優先度を中に設定してもよい。 Next, 2) the report processing for each command will be described. The message generation unit 122 stores the cumulative value of the number of NGs of the intermediate determination result by the behavior verification unit 36 for each command ID (or each frame ID) (here, referred to as "cumulative number of intermediate NGs by command"). May be good. When the cumulative number of intermediate NGs for each command exceeds the first threshold value (for example, 20 times), the message generation unit 122 reports that the cumulative number of intermediate NGs for each command exceeds the first threshold value and the command ID. You may generate a frame and set the report priority to low. Further, when the cumulative number of intermediate NGs for each command exceeds the second threshold value (for example, 40 times), the message generation unit 122 provides information and a command ID indicating that the cumulative number of intermediate NGs for each command exceeds the second threshold value. You may generate a reporting frame that includes it and set the reporting priority to medium.

次に、3)車両10全体としての通報処理を説明する。メッセージ生成部122は、コマンドIDに関係なく、複数のコマンド(複数の対象フレーム)について振る舞い検証部36から入力された中間判定結果のNG数の累計値(ここでは「全体中間NG累計数」と呼ぶ。)を記憶してもよい。メッセージ生成部122は、全体中間NG累計数が第1閾値(例えば100回)を超えた場合に、全体中間NG累計数が第1閾値を超えた旨の情報を含む通報フレームを生成し、通報の優先度を低に設定してもよい。また、メッセージ生成部122は、全体中間NG累計数が第2閾値(例えば200回)を超えた場合に、全体中間NG累計数が第2閾値を超えた旨の情報を含む通報フレームを生成し、通報の優先度を中に設定してもよい。 Next, 3) the report processing of the vehicle 10 as a whole will be described. The message generation unit 122 has a cumulative value of the number of NGs of the intermediate determination result input from the behavior verification unit 36 for a plurality of commands (a plurality of target frames) regardless of the command ID (here, "total number of intermediate NGs"). Call.) May be memorized. When the total number of intermediate NGs exceeds the first threshold value (for example, 100 times), the message generation unit 122 generates a notification frame including information indicating that the total number of total intermediate NGs exceeds the first threshold value, and reports. The priority of may be set low. Further, the message generation unit 122 generates a notification frame including information that the total number of intermediate NGs exceeds the second threshold when the total number of total intermediate NGs exceeds the second threshold (for example, 200 times). , The report priority may be set to medium.

第2変形例を説明する。第1実施例の任意の構成要素と第2実施例の任意の構成要素の組み合わせが可能である。例えば、第1実施例に記載したように、車両10のCGW20は、MAC検証および振る舞い検証により不正と判定したフレームを破棄または無効化する機能を備えてもよい。上記第2実施例では、ECU14の構成情報記憶部48は、コマンドIDと、そのコマンドを送信するECU−IDとを対応付けた構成情報を記憶する。変形例として、構成情報記憶部48は、自機とは異なるCAN24のバスに接続されたECUが送信するコマンドについて、そのコマンドIDとCGW20のIDとを対応付けた構成情報を記憶してもよい。この理由は、自機とは異なるCAN24のバスに接続されたECUから送信されるフレームは、CGW20により中継されるからである。 A second modification will be described. Any combination of any component of the first embodiment and any component of the second embodiment is possible. For example, as described in the first embodiment, the CGW 20 of the vehicle 10 may have a function of discarding or invalidating a frame determined to be invalid by MAC verification and behavior verification. In the second embodiment, the configuration information storage unit 48 of the ECU 14 stores the configuration information in which the command ID and the ECU-ID that transmits the command are associated with each other. As a modification, the configuration information storage unit 48 may store the configuration information in which the command ID and the ID of the CGW 20 are associated with each other for the command transmitted by the ECU connected to the bus of the CAN 24 different from the own machine. .. The reason for this is that the frame transmitted from the ECU connected to the bus of CAN24 different from the own machine is relayed by the CGW 20.

第2変形例の解析部120は、対象フレームの不正検出パターンがパターン1またはパターン3であり、かつ、その対象フレームがCGW20を経由して受信されたものである場合、乗っ取られた可能性があるECUとして、CGW20のIDを特定する。具体的には、構成情報記憶部48の構成情報は、当該対象フレームに含まれるコマンドIDとCGW20のIDとを対応付けている。解析部120は、その構成情報を参照することにより、対象フレームがCGW20を経由して受信されたものである場合、CGW20のIDを特定する。メッセージ生成部122は、CGW20が乗っ取られた可能性があることを示す通報フレームを生成する。 If the fraud detection pattern of the target frame is pattern 1 or pattern 3 and the target frame is received via the CGW 20, the analysis unit 120 of the second modification may have been hijacked. As a certain ECU, the ID of CGW 20 is specified. Specifically, the configuration information of the configuration information storage unit 48 associates the command ID included in the target frame with the ID of the CGW 20. By referring to the configuration information, the analysis unit 120 identifies the ID of the CGW 20 when the target frame is received via the CGW 20. The message generation unit 122 generates a notification frame indicating that the CGW 20 may have been hijacked.

既述したように、CGW20が正常に動作していれば、不正フレームを破棄または無効化する。そのため、CGW20により中継されたフレームの不正がECU14で検出された場合、CGW20の動作が異常であり、乗っ取られた可能性がある。本変形例の態様によると、CGW20の異常を精度よく検出して、車両監視サーバ100へ通報することができる。なお、第2変形例の構成は、CMI22に監視モジュールが導入される場合も適用可能である。 As described above, if the CGW 20 is operating normally, the invalid frame is discarded or invalidated. Therefore, when the ECU 14 detects an illegality of the frame relayed by the CGW 20, the operation of the CGW 20 is abnormal and there is a possibility that the CGW 20 has been hijacked. According to the aspect of this modification, it is possible to accurately detect the abnormality of the CGW 20 and notify the vehicle monitoring server 100. The configuration of the second modification can be applied even when the monitoring module is introduced into the CMI 22.

第2実施例および変形例に記載の技術は、以下の項目によって特定されてもよい。
[項目1]
通信網からフレームを受信する受信部と、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定とを行い、前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理部と、
を備える監視装置。
この監視装置によると、自装置のセキュリティ状態に応じた適切な内容またはタイミングで、外部装置への通報を実行することができる。
[項目2]
前記第1判定により判定対象フレームが正当と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合、前記処理部は、前記判定対象フレームに関する情報を通報する優先度を、他の通信より高い優先度に設定する、
項目1に記載の監視装置。
この態様によると、メッセージ認証の鍵が漏洩している危険がある場合に、外部装置への通報を迅速に実行することができる。
[項目3]
前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合、前記処理部は、前記判定対象フレームに関する情報を通報する優先度を、他の通信より低い優先度に設定する、
項目1または2に記載の監視装置。
この態様によると、第1判定と第2判定のいずれでも判定対象フレームが不正と判定された場合、不正フレームによる被害は回避できているため、他の通信を阻害してしまうことを抑制した通報を実現できる。
[項目4]
前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが正当と判定された場合、前記処理部は、前記判定対象フレームに関する情報を通報する優先度を、前記第1判定により判定対象フレームが正当と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合より低い優先度であり、かつ、前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合より高い優先度に設定する、
項目1から3のいずれかに記載の監視装置。
この態様によると、第1判定により不正が検出されることで、不正フレームによる被害は回避できているが、第2判定のルールが不完全である可能性があるため、中程度の優先度での通報を実現できる。
[項目5]
前記第1判定により判定対象フレームが正当と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合、前記処理部は、少なくとも前記判定対象フレームに含まれるコマンドの情報および前記判定対象フレームの送信元装置の情報を通報する、
項目1または2に記載の監視装置。
この態様によると、不正が検出されたコマンドに加えて、乗っ取られた可能性があるECUの情報を外部装置へ通報することにより、外部装置側での適切なデータ処理を支援することができる。
[項目6]
前記第1判定により判定対象フレームが正当と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合であって、かつ、前記判定対象フレームと同じIDのフレームの受信頻度が所定値を超える場合、前記処理部は、少なくとも前記判定対象フレームに含まれるコマンドの情報を通報する、
項目1または2に記載の監視装置。
この態様によると、不正なフレームが外部から注入されたことを検出して、適切な内容を通報することができる。
[項目7]
前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合、前記処理部は、少なくとも前記判定対象フレームに含まれるコマンドの情報を通報する、
項目1から3のいずれかに記載の監視装置。
この態様によると、監視装置では判定対象フレームの不正を正しく検知できているため、通報内容を不正が検出されたコマンドの情報に抑えることで、通信トラフィックの増加を抑制することができる。
[項目8]
前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが正当と判定された場合、前記処理部は、少なくとも前記判定対象フレームに含まれるコマンドの情報および当該コマンドに関連する他のコマンドの情報を通報する、
項目1から4のいずれかに記載の監視装置。
この態様によると、ルールが不完全である可能性がある場合に、ルールの改善を支援することができる。
[項目9]
前記第1判定の対象外となったフレームが前記第2判定により不正と判定された場合であって、かつ、前記フレームと同じIDのフレームの受信頻度が所定値に整合する場合、前記処理部は、他の通信より低い優先度で、少なくとも前記フレームに含まれるコマンドの情報および前記フレームの送信元装置の情報を通報する、
項目1から4のいずれかに記載の監視装置。
この態様によると、メッセージ認証用の鍵を有しない電子機器が乗っ取られたことを検出して、適切な優先度で適切な内容を通報することができる。
[項目10]
前記第1判定の対象外となったフレームが前記第2判定により不正と判定された場合であって、かつ、前記フレームと同じIDのフレームの受信頻度が所定値を超える場合、前記処理部は、他の通信より低い優先度で、少なくとも前記フレームに含まれるコマンドの情報を通報する、
項目1から4のいずれかに記載の監視装置。
この態様によると、メッセージ認証用のコードを持たないフレームであり、不正なフレームが外部から注入されたことを検出して、適切な優先度で適切な内容を通報することができる。
[項目11]
前記処理部は、判定対象フレームの態様と、予め定められた複数のルールとに基づいて、複数の中間判定を実行し、複数の中間判定の結果に応じて前記第2判定の結果を導出し、
前記処理部は、前記複数の中間判定の結果の中にルールに不適合であることを示す結果が存在する場合、前記複数の中間判定の結果を外部装置へ通報し、前記ルールに不適合であることを示す結果の数に応じて、通報の優先度を変更する、
項目1から10のいずれかに記載の監視装置。
この監視装置によると、振る舞い検証によるセキュリティの強度を高めることができる。
[項目12]
通信網からフレームを受信し、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、
前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定と、を行い、
前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する、
ことをコンピュータが実行する監視方法。
この監視方法によると、自装置のセキュリティ状態に応じた適切な内容またはタイミングで、外部装置への通報を実行することができる。
[項目13]
通信網からフレームを受信し、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、
前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定と、を行い、
前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する、
ことをコンピュータに実行させるためのコンピュータプログラム。
このコンピュータプログラムによると、自装置のセキュリティ状態に応じた適切な内容またはタイミングで、外部装置への通報を実行することができる。
The techniques described in the second embodiment and the modifications may be specified by the following items.
[Item 1]
A receiver that receives frames from the communication network and
A first determination for determining whether the frame is invalid based on the result of message authentication for the frame, and a second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule. A processing unit that changes at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
A monitoring device equipped with.
According to this monitoring device, it is possible to execute a report to an external device at an appropriate content or timing according to the security status of the own device.
[Item 2]
When the determination target frame is determined to be valid by the first determination and the determination target frame is determined to be invalid by the second determination, the processing unit sets the priority of reporting information regarding the determination target frame. Set a higher priority than the communication of
The monitoring device according to item 1.
According to this aspect, when there is a risk that the key for message authentication is leaked, the notification to the external device can be quickly executed.
[Item 3]
When the determination target frame is determined to be invalid by the first determination and the determination target frame is determined to be invalid by the second determination, the processing unit sets the priority of reporting information regarding the determination target frame. Set to a lower priority than the communication of
The monitoring device according to item 1 or 2.
According to this aspect, when the judgment target frame is judged to be invalid in both the first judgment and the second judgment, the damage caused by the illegal frame can be avoided, so that the notification that hinders other communication is suppressed. Can be realized.
[Item 4]
When the determination target frame is determined to be invalid by the first determination and the determination target frame is determined to be valid by the second determination, the processing unit sets the priority of reporting information regarding the determination target frame. The judgment target frame is determined to be valid by the first determination, the priority is lower than the case where the determination target frame is determined to be invalid by the second determination, and the determination target frame is determined to be invalid by the first determination. Then, the priority is set higher than that when the determination target frame is determined to be invalid by the second determination.
The monitoring device according to any one of items 1 to 3.
According to this aspect, the damage caused by the fraudulent frame can be avoided by detecting the fraud in the first judgment, but the rule of the second judgment may be incomplete, so the priority is medium. Can be reported.
[Item 5]
When the determination target frame is determined to be valid by the first determination and the determination target frame is determined to be invalid by the second determination, the processing unit has at least information on the command included in the determination target frame and the determination. Report the information of the source device of the target frame,
The monitoring device according to item 1 or 2.
According to this aspect, it is possible to support appropriate data processing on the external device side by notifying the external device of the information of the ECU that may have been hijacked in addition to the command in which the fraud is detected.
[Item 6]
When the determination target frame is determined to be valid by the first determination and the determination target frame is determined to be invalid by the second determination, and the reception frequency of a frame having the same ID as the determination target frame is predetermined. When the value is exceeded, the processing unit reports at least the information of the command included in the determination target frame.
The monitoring device according to item 1 or 2.
According to this aspect, it is possible to detect that an invalid frame has been injected from the outside and report an appropriate content.
[Item 7]
When the determination target frame is determined to be invalid by the first determination and the determination target frame is determined to be invalid by the second determination, the processing unit reports at least the command information included in the determination target frame. ,
The monitoring device according to any one of items 1 to 3.
According to this aspect, since the monitoring device can correctly detect the fraud of the determination target frame, it is possible to suppress the increase in communication traffic by suppressing the content of the report to the information of the command in which the fraud is detected.
[Item 8]
When the determination target frame is determined to be invalid by the first determination and the determination target frame is determined to be valid by the second determination, the processing unit has at least information on the command included in the determination target frame and the command. Report information about other commands related to
The monitoring device according to any one of items 1 to 4.
According to this aspect, it is possible to assist in improving the rule when the rule may be incomplete.
[Item 9]
When the frame excluded from the first determination is determined to be invalid by the second determination, and the reception frequency of a frame having the same ID as the frame matches a predetermined value, the processing unit Report at least the command information included in the frame and the source device information of the frame with a lower priority than other communications.
The monitoring device according to any one of items 1 to 4.
According to this aspect, it is possible to detect that an electronic device that does not have a key for message authentication has been hijacked and report an appropriate content with an appropriate priority.
[Item 10]
When the frame excluded from the first determination is determined to be invalid by the second determination, and the reception frequency of the frame having the same ID as the frame exceeds a predetermined value, the processing unit performs the processing unit. , Report at least command information contained in the frame with a lower priority than other communications.
The monitoring device according to any one of items 1 to 4.
According to this aspect, it is a frame that does not have a code for message authentication, and it is possible to detect that an invalid frame has been injected from the outside and report an appropriate content with an appropriate priority.
[Item 11]
The processing unit executes a plurality of intermediate determinations based on the mode of the determination target frame and a plurality of predetermined rules, and derives the result of the second determination according to the results of the plurality of intermediate determinations. ,
When the processing unit has a result indicating that it does not conform to the rule among the results of the plurality of intermediate determinations, the processing unit notifies the external device of the result of the plurality of intermediate determinations and does not conform to the rule. Change the priority of the report according to the number of results showing
The monitoring device according to any one of items 1 to 10.
According to this monitoring device, the strength of security by behavior verification can be enhanced.
[Item 12]
Receive a frame from the communication network
The first determination to determine whether the frame is invalid based on the result of message authentication for the frame, and
A second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule is performed.
Depending on the combination of the result of the first determination and the result of the second determination, at least one of the content to be notified to the external device or the priority of the notification is changed.
A monitoring method that a computer does.
According to this monitoring method, it is possible to execute a report to the external device at an appropriate content or timing according to the security status of the own device.
[Item 13]
Receive a frame from the communication network
The first determination to determine whether the frame is invalid based on the result of message authentication for the frame, and
A second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule is performed.
Depending on the combination of the result of the first determination and the result of the second determination, at least one of the content to be notified to the external device or the priority of the notification is changed.
A computer program that lets a computer do things.
According to this computer program, it is possible to execute a report to an external device at an appropriate content or timing according to the security status of the own device.

上述した実施例および変形例の任意の組み合わせもまた本発明の実施の形態として有用である。組み合わせによって生じる新たな実施の形態は、組み合わされる実施例および変形例それぞれの効果をあわせもつ。また、請求項に記載の各構成要件が果たすべき機能は、実施例および変形例において示された各構成要素の単体もしくはそれらの連携によって実現されることも当業者には理解されるところである。 Any combination of the examples and modifications described above is also useful as an embodiment of the present invention. The new embodiments resulting from the combination have the effects of the combined examples and the modifications. It is also understood by those skilled in the art that the functions to be fulfilled by each of the constituent elements described in the claims are realized by a single component or a cooperation thereof shown in the examples and modifications.

10 車両、 12 車載ネットワークシステム、 14 ECU、 24 CAN、 30 フレーム受信部、 100 車両監視サーバ、 110 処理部、 114 通報部、 120 解析部、 122 メッセージ生成部、 124 メッセージ出力部。 10 vehicles, 12 in-vehicle network system, 14 ECU, 24 CAN, 30 frame receiver, 100 vehicle monitoring server, 110 processing unit, 114 notification unit, 120 analysis unit, 122 message generation unit, 124 message output unit.

Claims (22)

通信網からフレームを受信する受信部と、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定とを行い、前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理部と、
を備え
前記第1判定により判定対象フレームが正当と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合、前記処理部は、前記判定対象フレームに関する情報を通報する優先度を、他の通信より高い優先度に設定する、
監視装置。
A receiver that receives frames from the communication network and
A first determination for determining whether the frame is invalid based on the result of message authentication for the frame, and a second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule. A processing unit that changes at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
Equipped with a,
When the determination target frame is determined to be valid by the first determination and the determination target frame is determined to be invalid by the second determination, the processing unit sets the priority of reporting information regarding the determination target frame. Set a higher priority than the communication of
Monitoring device.
通信網からフレームを受信する受信部と、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定とを行い、前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理部と、
を備え
前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合、前記処理部は、前記判定対象フレームに関する情報を通報する優先度を、他の通信より低い優先度に設定する、
監視装置。
A receiver that receives frames from the communication network and
A first determination for determining whether the frame is invalid based on the result of message authentication for the frame, and a second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule. A processing unit that changes at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
Equipped with a,
When the determination target frame is determined to be invalid by the first determination and the determination target frame is determined to be invalid by the second determination, the processing unit sets the priority of reporting information regarding the determination target frame. Set to a lower priority than the communication of
Monitoring device.
通信網からフレームを受信する受信部と、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定とを行い、前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理部と、
を備え
前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが正当と判定された場合、前記処理部は、前記判定対象フレームに関する情報を通報する優先度を、前記第1判定により判定対象フレームが正当と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合より低い優先度であり、かつ、前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合より高い優先度に設定する、
監視装置。
A receiver that receives frames from the communication network and
A first determination for determining whether the frame is invalid based on the result of message authentication for the frame, and a second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule. A processing unit that changes at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
Equipped with a,
When the determination target frame is determined to be invalid by the first determination and the determination target frame is determined to be valid by the second determination, the processing unit sets the priority of reporting information regarding the determination target frame. The judgment target frame is determined to be valid by the first determination, the priority is lower than the case where the determination target frame is determined to be invalid by the second determination, and the determination target frame is determined to be invalid by the first determination. Then, the priority is set higher than that when the determination target frame is determined to be invalid by the second determination.
Monitoring device.
前記第1判定により判定対象フレームが正当と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合、前記処理部は、少なくとも前記判定対象フレームに含まれるコマンドの情報および前記判定対象フレームの送信元装置の情報を通報する、
請求項1に記載の監視装置。
When the determination target frame is determined to be valid by the first determination and the determination target frame is determined to be invalid by the second determination, the processing unit has at least information on the command included in the determination target frame and the determination. Report the information of the source device of the target frame,
The monitoring device according to claim 1.
前記第1判定により判定対象フレームが正当と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合であって、かつ、前記判定対象フレームと同じIDのフレームの受信頻度が所定値を超える場合、前記処理部は、少なくとも前記判定対象フレームに含まれるコマンドの情報を通報する、
請求項1に記載の監視装置。
When the determination target frame is determined to be valid by the first determination and the determination target frame is determined to be invalid by the second determination, and the reception frequency of a frame having the same ID as the determination target frame is predetermined. When the value is exceeded, the processing unit reports at least the information of the command included in the determination target frame.
The monitoring device according to claim 1.
前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合、前記処理部は、少なくとも前記判定対象フレームに含まれるコマンドの情報を通報する、
請求項1または2に記載の監視装置。
When the determination target frame is determined to be invalid by the first determination and the determination target frame is determined to be invalid by the second determination, the processing unit reports at least the command information included in the determination target frame. ,
The monitoring device according to claim 1 or 2.
前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが正当と判定された場合、前記処理部は、少なくとも前記判定対象フレームに含まれるコマンドの情報および当該コマンドに関連する他のコマンドの情報を通報する、
請求項1からのいずれかに記載の監視装置。
When the determination target frame is determined to be invalid by the first determination and the determination target frame is determined to be valid by the second determination, the processing unit has at least information on the command included in the determination target frame and the command. Report information about other commands related to
The monitoring device according to any one of claims 1 to 3.
通信網からフレームを受信する受信部と、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定とを行い、前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理部と、
を備え
前記第1判定の対象外となったフレームが前記第2判定により不正と判定された場合であって、かつ、前記フレームと同じIDのフレームの受信頻度が所定値に整合する場合、前記処理部は、他の通信より低い優先度で、少なくとも前記フレームに含まれるコマンドの情報および前記フレームの送信元装置の情報を通報する、
監視装置。
A receiver that receives frames from the communication network and
A first determination for determining whether the frame is invalid based on the result of message authentication for the frame, and a second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule. A processing unit that changes at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
Equipped with a,
When the frame excluded from the first determination is determined to be invalid by the second determination, and the reception frequency of a frame having the same ID as the frame matches a predetermined value, the processing unit Report at least the command information included in the frame and the source device information of the frame with a lower priority than other communications.
Monitoring device.
通信網からフレームを受信する受信部と、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定とを行い、前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理部と、
を備え
前記第1判定の対象外となったフレームが前記第2判定により不正と判定された場合であって、かつ、前記フレームと同じIDのフレームの受信頻度が所定値を超える場合、前記処理部は、他の通信より低い優先度で、少なくとも前記フレームに含まれるコマンドの情報を通報する、
監視装置。
A receiver that receives frames from the communication network and
A first determination for determining whether the frame is invalid based on the result of message authentication for the frame, and a second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule. A processing unit that changes at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
Equipped with a,
When the frame excluded from the first determination is determined to be invalid by the second determination, and the reception frequency of the frame having the same ID as the frame exceeds a predetermined value, the processing unit performs the processing unit. , Report at least command information contained in the frame with a lower priority than other communications.
Monitoring device.
通信網からフレームを受信する受信部と、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定とを行い、前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理部と、
を備え
前記処理部は、判定対象フレームの態様と、予め定められた複数のルールとに基づいて、複数の中間判定を実行し、複数の中間判定の結果に応じて前記第2判定の結果を導出し、
前記処理部は、前記複数の中間判定の結果の中にルールに不適合であることを示す結果が存在する場合、前記複数の中間判定の結果を外部装置へ通報し、前記ルールに不適合であることを示す結果の数に応じて、通報の優先度を変更する、
監視装置。
A receiver that receives frames from the communication network and
A first determination for determining whether the frame is invalid based on the result of message authentication for the frame, and a second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule. A processing unit that changes at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
Equipped with a,
The processing unit executes a plurality of intermediate determinations based on the mode of the determination target frame and a plurality of predetermined rules, and derives the result of the second determination according to the results of the plurality of intermediate determinations. ,
When the processing unit has a result indicating that it does not conform to the rule among the results of the plurality of intermediate determinations, the processing unit notifies the external device of the result of the plurality of intermediate determinations and does not conform to the rule. Change the priority of the report according to the number of results showing
Monitoring device.
通信網からフレームを受信し、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、
前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定と、を行い、
前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理
コンピュータが実行し、
前記第1判定により判定対象フレームが正当と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合、前記処理は、前記判定対象フレームに関する情報を通報する優先度を、他の通信より高い優先度に設定する処理を含む、
監視方法。
Receive a frame from the communication network
The first determination to determine whether the frame is invalid based on the result of message authentication for the frame, and
A second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule is performed.
A process of changing at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
The computer runs ,
When the determination target frame is determined to be valid by the first determination and the determination target frame is determined to be invalid by the second determination, the process sets the priority of reporting the information regarding the determination target frame to another. Including the process of setting a higher priority than communication,
Monitoring method.
通信網からフレームを受信し、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、
前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定と、を行い、
前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理
コンピュータが実行し、
前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合、前記処理は、前記判定対象フレームに関する情報を通報する優先度を、他の通信より低い優先度に設定する処理を含む、
監視方法。
Receive a frame from the communication network
The first determination to determine whether the frame is invalid based on the result of message authentication for the frame, and
A second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule is performed.
A process of changing at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
The computer runs ,
When the determination target frame is determined to be invalid by the first determination and the determination target frame is determined to be invalid by the second determination, the process sets the priority of reporting the information regarding the determination target frame to another. Including the process of setting the priority to lower than communication,
Monitoring method.
通信網からフレームを受信し、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、
前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定と、を行い、
前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理
コンピュータが実行し、
前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが正当と判定された場合、前記処理は、前記判定対象フレームに関する情報を通報する優先度を、前記第1判定により判定対象フレームが正当と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合より低い優先度であり、かつ、前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合より高い優先度に設定する処理を含む、
監視方法。
Receive a frame from the communication network
The first determination to determine whether the frame is invalid based on the result of message authentication for the frame, and
A second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule is performed.
A process of changing at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
The computer runs ,
When the determination target frame is determined to be invalid by the first determination and the determination target frame is determined to be valid by the second determination, the process sets the priority of reporting the information regarding the determination target frame to the first. The judgment target frame is determined to be valid by the first determination, the priority is lower than the case where the determination target frame is determined to be invalid by the second determination, and the determination target frame is determined to be invalid by the first determination. , Including a process of setting a higher priority than when the determination target frame is determined to be invalid by the second determination.
Monitoring method.
通信網からフレームを受信し、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、
前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定と、を行い、
前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理
コンピュータが実行し、
前記第1判定の対象外となったフレームが前記第2判定により不正と判定された場合であって、かつ、前記フレームと同じIDのフレームの受信頻度が所定値に整合する場合、前記処理は、他の通信より低い優先度で、少なくとも前記フレームに含まれるコマンドの情報および前記フレームの送信元装置の情報を通報する処理を含む、
監視方法。
Receive a frame from the communication network
The first determination to determine whether the frame is invalid based on the result of message authentication for the frame, and
A second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule is performed.
A process of changing at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
The computer runs ,
When the frame excluded from the first determination is determined to be invalid by the second determination, and the reception frequency of the frame having the same ID as the frame matches the predetermined value, the processing is performed. , Including a process of notifying at least command information included in the frame and information of the source device of the frame with a lower priority than other communications.
Monitoring method.
通信網からフレームを受信し、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、
前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定と、を行い、
前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理
コンピュータが実行し、
前記第1判定の対象外となったフレームが前記第2判定により不正と判定された場合であって、かつ、前記フレームと同じIDのフレームの受信頻度が所定値を超える場合、前記処理は、他の通信より低い優先度で、少なくとも前記フレームに含まれるコマンドの情報を通報する処理を含む、
監視方法。
Receive a frame from the communication network
The first determination to determine whether the frame is invalid based on the result of message authentication for the frame, and
A second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule is performed.
A process of changing at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
The computer runs ,
When the frame excluded from the first determination is determined to be invalid by the second determination, and the reception frequency of the frame having the same ID as the frame exceeds a predetermined value, the processing is performed. Includes processing to report at least command information contained in the frame with a lower priority than other communications.
Monitoring method.
通信網からフレームを受信し、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、
前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定と、を行い、
前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理
コンピュータが実行し、
前記処理は、判定対象フレームの態様と、予め定められた複数のルールとに基づいて、複数の中間判定を実行し、複数の中間判定の結果に応じて前記第2判定の結果を導出する処理を含み、
前記処理は、前記複数の中間判定の結果の中にルールに不適合であることを示す結果が存在する場合、前記複数の中間判定の結果を外部装置へ通報し、前記ルールに不適合であることを示す結果の数に応じて、通報の優先度を変更する処理をさらに含む、
監視方法。
Receive a frame from the communication network
The first determination to determine whether the frame is invalid based on the result of message authentication for the frame, and
A second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule is performed.
A process of changing at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
The computer runs ,
The process is a process of executing a plurality of intermediate determinations based on the mode of the determination target frame and a plurality of predetermined rules, and deriving the result of the second determination according to the results of the plurality of intermediate determinations. Including
In the process, when there is a result indicating that the rule is not conformed to among the results of the plurality of intermediate determinations, the result of the plurality of intermediate determinations is notified to the external device, and the fact that the rule is not conformed to the rule. Further includes processing to change the priority of the report according to the number of results shown,
Monitoring method.
通信網からフレームを受信し、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、
前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定と、を行い、
前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理、
コンピュータに実行させ
前記第1判定により判定対象フレームが正当と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合、前記処理は、前記判定対象フレームに関する情報を通報する優先度を、他の通信より高い優先度に設定する処理を含む、
コンピュータプログラム。
Receive a frame from the communication network
The first determination to determine whether the frame is invalid based on the result of message authentication for the frame, and
A second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule is performed.
A process of changing at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
Cause the computer to execute,
When the determination target frame is determined to be valid by the first determination and the determination target frame is determined to be invalid by the second determination, the process sets the priority of reporting the information regarding the determination target frame to another. Including the process of setting a higher priority than communication,
Computer program.
通信網からフレームを受信し、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、
前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定と、を行い、
前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理、
コンピュータに実行させ
前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合、前記処理は、前記判定対象フレームに関する情報を通報する優先度を、他の通信より低い優先度に設定する処理を含む、
コンピュータプログラム。
Receive a frame from the communication network
The first determination to determine whether the frame is invalid based on the result of message authentication for the frame, and
A second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule is performed.
A process of changing at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
Cause the computer to execute,
When the determination target frame is determined to be invalid by the first determination and the determination target frame is determined to be invalid by the second determination, the process sets the priority of reporting the information regarding the determination target frame to another. Including the process of setting the priority to lower than communication,
Computer program.
通信網からフレームを受信し、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、
前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定と、を行い、
前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理、
コンピュータに実行させ
前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが正当と判定された場合、前記処理は、前記判定対象フレームに関する情報を通報する優先度を、前記第1判定により判定対象フレームが正当と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合より低い優先度であり、かつ、前記第1判定により判定対象フレームが不正と判定され、前記第2判定により前記判定対象フレームが不正と判定された場合より高い優先度に設定する処理を含む、
コンピュータプログラム。
Receive a frame from the communication network
The first determination to determine whether the frame is invalid based on the result of message authentication for the frame, and
A second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule is performed.
A process of changing at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
Cause the computer to execute,
When the determination target frame is determined to be invalid by the first determination and the determination target frame is determined to be valid by the second determination, the process sets the priority of reporting the information regarding the determination target frame to the first. The judgment target frame is determined to be valid by the first determination, the priority is lower than the case where the determination target frame is determined to be invalid by the second determination, and the determination target frame is determined to be invalid by the first determination. , Including a process of setting a higher priority than when the determination target frame is determined to be invalid by the second determination.
Computer program.
通信網からフレームを受信し、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、
前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定と、を行い、
前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理、
コンピュータに実行させ
前記第1判定の対象外となったフレームが前記第2判定により不正と判定された場合であって、かつ、前記フレームと同じIDのフレームの受信頻度が所定値に整合する場合、前記処理は、他の通信より低い優先度で、少なくとも前記フレームに含まれるコマンドの情報および前記フレームの送信元装置の情報を通報する処理を含む、
コンピュータプログラム。
Receive a frame from the communication network
The first determination to determine whether the frame is invalid based on the result of message authentication for the frame, and
A second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule is performed.
A process of changing at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
Cause the computer to execute,
When the frame excluded from the first determination is determined to be invalid by the second determination, and the reception frequency of the frame having the same ID as the frame matches the predetermined value, the processing is performed. , Including a process of notifying at least command information included in the frame and information of the source device of the frame with a lower priority than other communications.
Computer program.
通信網からフレームを受信し、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、
前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定と、を行い、
前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理、
コンピュータに実行させ
前記第1判定の対象外となったフレームが前記第2判定により不正と判定された場合であって、かつ、前記フレームと同じIDのフレームの受信頻度が所定値を超える場合、前記処理は、他の通信より低い優先度で、少なくとも前記フレームに含まれるコマンドの情報を通報する処理を含む、
コンピュータプログラム。
Receive a frame from the communication network
The first determination to determine whether the frame is invalid based on the result of message authentication for the frame, and
A second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule is performed.
A process of changing at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
Cause the computer to execute,
When the frame excluded from the first determination is determined to be invalid by the second determination, and the reception frequency of the frame having the same ID as the frame exceeds a predetermined value, the processing is performed. Includes processing to report at least command information contained in the frame with a lower priority than other communications.
Computer program.
通信網からフレームを受信し、
前記フレームに対するメッセージ認証の結果に基づいて前記フレームが不正かを判定する第1判定と、
前記フレームの態様と予め定められたルールとに基づいて前記フレームが不正かを判定する第2判定と、を行い、
前記第1判定の結果と前記第2判定の結果との組み合わせに応じて、外部装置へ通報する内容または通報の優先度の少なくとも一方を変更する処理、
コンピュータに実行させ
前記処理は、判定対象フレームの態様と、予め定められた複数のルールとに基づいて、複数の中間判定を実行し、複数の中間判定の結果に応じて前記第2判定の結果を導出する処理を含み、
前記処理は、前記複数の中間判定の結果の中にルールに不適合であることを示す結果が存在する場合、前記複数の中間判定の結果を外部装置へ通報し、前記ルールに不適合であることを示す結果の数に応じて、通報の優先度を変更する処理をさらに含む、
コンピュータプログラム。
Receive a frame from the communication network
The first determination to determine whether the frame is invalid based on the result of message authentication for the frame, and
A second determination for determining whether the frame is invalid based on the mode of the frame and a predetermined rule is performed.
A process of changing at least one of the content to be notified to the external device or the priority of the notification according to the combination of the result of the first determination and the result of the second determination.
Cause the computer to execute,
The process is a process of executing a plurality of intermediate determinations based on the mode of the determination target frame and a plurality of predetermined rules, and deriving the result of the second determination according to the results of the plurality of intermediate determinations. Including
In the process, when there is a result indicating that the rule is not conformed to among the results of the plurality of intermediate determinations, the result of the plurality of intermediate determinations is notified to the external device, and the fact that the rule is not conformed to the rule. Further includes processing to change the priority of the report according to the number of results shown,
Computer program.
JP2017056570A 2017-01-18 2017-03-22 Monitoring equipment, monitoring methods and computer programs Active JP6846706B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2017056570A JP6846706B2 (en) 2017-03-22 2017-03-22 Monitoring equipment, monitoring methods and computer programs
PCT/JP2017/040173 WO2018135098A1 (en) 2017-01-18 2017-11-08 Monitoring device, monitoring method, and computer program
DE112017006854.1T DE112017006854T5 (en) 2017-01-18 2017-11-08 Monitoring device, monitoring method and computer program
US16/505,628 US10986093B2 (en) 2017-01-18 2019-07-08 Monitoring device, monitoring method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017056570A JP6846706B2 (en) 2017-03-22 2017-03-22 Monitoring equipment, monitoring methods and computer programs

Publications (2)

Publication Number Publication Date
JP2018160786A JP2018160786A (en) 2018-10-11
JP6846706B2 true JP6846706B2 (en) 2021-03-24

Family

ID=63795733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017056570A Active JP6846706B2 (en) 2017-01-18 2017-03-22 Monitoring equipment, monitoring methods and computer programs

Country Status (1)

Country Link
JP (1) JP6846706B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4135261B1 (en) * 2018-10-17 2024-04-17 Panasonic Intellectual Property Corporation of America Information processing device, information processing method, and program
JP7149888B2 (en) * 2018-10-17 2022-10-07 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Information processing device, information processing method and program
WO2020105657A1 (en) * 2018-11-22 2020-05-28 株式会社オートネットワーク技術研究所 Onboard relay device and relay method
US12047404B2 (en) 2019-01-10 2024-07-23 Signify Holding B.V. Method to provide secure operation of a lighting network
JP6997124B2 (en) * 2019-03-04 2022-01-17 三菱電機株式会社 Communication monitoring device
JP2021005821A (en) 2019-06-27 2021-01-14 矢崎総業株式会社 Abnormality detection device
EP4034996B1 (en) * 2019-09-25 2025-03-05 Shift5, Inc. Passive monitoring and prevention of unauthorized firmware or software upgrades between computing devices
JP7361303B2 (en) * 2019-11-20 2023-10-16 パナソニックIpマネジメント株式会社 Vehicle diagnostic equipment, vehicle diagnostic system, and mobile diagnostic equipment
JP7283427B2 (en) 2020-03-25 2023-05-30 トヨタ自動車株式会社 VEHICLE CONTROL SYSTEM, ATTACK DETERMINATION METHOD AND PROGRAM
JPWO2023002634A1 (en) * 2021-07-21 2023-01-26
CN114545893A (en) * 2021-11-30 2022-05-27 深圳元戎启行科技有限公司 Drive-by-wire frame detection method, automatic driving platform and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001358774A (en) * 2000-06-13 2001-12-26 Mitsubishi Electric Corp Method and device for preventing illegal data outflow
JP2005343430A (en) * 2004-06-07 2005-12-15 Denso Corp Vehicle control system
JP6126980B2 (en) * 2013-12-12 2017-05-10 日立オートモティブシステムズ株式会社 Network device and network system
CN105594156B (en) * 2014-05-08 2020-01-21 松下电器(美国)知识产权公司 Vehicle-mounted network system, electronic control unit and abnormality detection method

Also Published As

Publication number Publication date
JP2018160786A (en) 2018-10-11

Similar Documents

Publication Publication Date Title
JP6846706B2 (en) Monitoring equipment, monitoring methods and computer programs
US10986093B2 (en) Monitoring device, monitoring method, and computer program
JP6782444B2 (en) Monitoring equipment, monitoring methods and computer programs
US11277427B2 (en) System and method for time based anomaly detection in an in-vehicle communication
JP6685023B2 (en) Electronic control device, communication method, and program
KR102524204B1 (en) Apparatus and method for intrusion response in vehicle network
US11848947B2 (en) System and method for providing security to in-vehicle network
JP6807906B2 (en) Systems and methods to generate rules to prevent computer attacks on vehicles
US10298612B2 (en) System and method for time based anomaly detection in an in-vehicle communication network
JP6762347B2 (en) Systems and methods to thwart computer attacks on transportation
US20190182267A1 (en) Vehicle security manager
US11729183B2 (en) System and method for providing secure in-vehicle network
JP6723955B2 (en) Information processing apparatus and abnormality coping method
CN111066001B (en) Log output method, log output device and storage medium
EP4004782B1 (en) Intrusion anomaly monitoring in a vehicle environment
JP7439669B2 (en) log analysis device
WO2021131193A1 (en) Attack monitoring center device and attack monitoring terminal device
US20220019669A1 (en) Information processing device
JP7024069B2 (en) How to detect attacks on vehicle control equipment
US20230267204A1 (en) Mitigating a vehicle software manipulation
KR102204656B1 (en) A mitigation system against message flooding attacks for secure controller area network by predicting transfer delay of normal can message
JP6913869B2 (en) Surveillance equipment, surveillance systems and computer programs
JP7408033B2 (en) In-vehicle control device
JP7466819B2 (en) Management device, management method, and program
JP2016129339A (en) Reception device and reception method

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20180417

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201104

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201207

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210202

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210216

R151 Written notification of patent or utility model registration

Ref document number: 6846706

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

SZ03 Written request for cancellation of trust registration

Free format text: JAPANESE INTERMEDIATE CODE: R313Z03

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350