Security Gateway Module for OBD Port Hacking Prevention

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Modern automotive vehicles' on-board diagnostics (OBD) ports are vulnerable to hacking, allowing unauthorized access and potential malware introduction due to their connection to the controller area network (CAN) bus, which can compromise the security of electronic devices within the vehicle.

Innovation Solution

A security gateway module is introduced, which couples to the OBD port and internal CAN bus, featuring a data dictionary of approved CAN bus messages and parameters, enabling partial and full disable modes to filter messages, detect protocol violations, and enter restricted states to prevent unauthorized access. It flags and counts violations, transitioning modes based on predefined thresholds to ensure secure communication.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If the OBD port is directly coupled to the CAN bus for diagnostic access, then diagnostic tools can easily read and write data, but the vehicle's electronic devices become vulnerable to hacking and malware introduction

Engineering Contradiction:
Improvediagnostic accessVSAvoidhacking vulnerability
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

A security gateway module is introduced as an intermediary device between the OBD port and the CAN bus. The gateway filters and validates all communication packets, allowing legitimate diagnostic tools to access the system while blocking malicious traffic. The gateway maintains a whitelist of approved diagnostic tools and validates packet integrity, thus preserving ease of operation for authorized users while preventing hacking attempts.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The communication path is segmented into three distinct parts: the OBD port, the security gateway module, and the CAN bus. This segmentation isolates the vulnerable OBD port from the internal CAN bus, with the gateway acting as a controlled boundary. The gateway independently validates each packet before forwarding it to the CAN bus, preventing direct unauthorized access while maintaining diagnostic functionality.

Inventive Principle:
Principle #1Segmentation

2Object-affected harmful factors

If message filtering and validation are implemented at the OBD port, then security against hacking is improved, but communication speed and diagnostic efficiency are reduced

Engineering Contradiction:
Improvehacking protectionVSAvoiddiagnostic efficiency
Core Design Contradiction:
Object-affected harmful factorsVSProductivity

Solution Approach 1:

The security gateway pre-establishes a whitelist of approved diagnostic tools and their authorized CAN IDs before any diagnostic session begins. Validation rules and packet formats are pre-configured based on the vehicle's specific requirements. This preliminary setup allows the gateway to quickly validate packets using pre-computed criteria, minimizing processing delays during actual diagnostic operations while maintaining strong security.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The gateway dynamically adjusts validation parameters based on the type of diagnostic operation being performed. For example, read-only operations may have less stringent validation requirements compared to write operations. The gateway can also adapt validation depth based on the trusted status of the connected tool, allowing faster processing for highly trusted tools while maintaining strict validation for less trusted connections, thus optimizing diagnostic efficiency without compromising security.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10404709B2Security gateway module for on-board diagnostics port of a vehicle
Publication Date: 2019.09.03 FCA US LLC
  • US10404709B2 patent drawing
  • US10404709B2 patent drawing
  • US10404709B2 patent drawing

AI summary

A security gateway module for an automotive vehicle is couplable in series between an OBD CAN bus and an internal CAN bus of the vehicle over which electronic devices of the vehicle communicate. The security gateway module checks CAN bus messages received on the OBD CAN bus, determines whether they should be passed to the internal CAN bus, passes those that it determines should be passed and does not pass those it determines should not be passed.