Method and system for measuring service use based on an intrusion detection system and charging associated used service
By utilizing the IDS data of the in-vehicle network to analyze CAN network signals, identify tampering and generate alarms, the problem of inaccurate data collection and high cost in the existing technology is solved, a fine-grained pay-per-use service is realized, and the need for dedicated services is reduced. device dependence and protects privacy.
Patent Information
- Application Number
- CN202410511854.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-04-26
- Filing Date
- 2024-04-26
- Publication Date
- 2024-10-29
AI Technical Summary
Existing telematics approaches to auto insurance rely on specialized devices or mobile apps, suffer from inaccurate data collection, high costs, and the inability to identify feature usage without taking into account whether or how long a user is using a feature. .
Utilizing the IDS data of the in-vehicle network, by collecting and analyzing CAN network signal data, establishing a correlation list, comparing communication characteristics, identifying tampering and generating alerts for billing services, reducing reliance on fixed subscriptions, and providing fine-grained Use paid services.
It realizes automatic identification of feature usage through IDS data, reduces dependence on separation devices or apps, provides fine-grained billing services, reduces computing resources and time requirements for data transmission, and protects driver privacy.
Smart Images

Figure CN118869441A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to intrusion detection systems, such as those operating in vehicles. Background Art
[0002] The CAN bus is a central communication network in several modern systems, such as automotive systems, aerospace systems, industrial systems, etc. Some nodes on the CAN bus, and more generally on the internal network of the vehicle, may be equipped with a remote interface. Such an interface can often be used to implement over-the-air updates, provide additional services, measure the usage of applications, and measure the usage of certain functions in the ECU for maintenance services, etc.
[0003] Pay-as-you-drive insurance models are becoming more present in the system. To achieve this, the vehicle can be equipped with an additional dongle to measure data and send it to a remote server for further processing, or an app can be downloaded to the driver's phone to monitor phone usage while driving. Examples of applications implemented like this can include pay-as-you-drive insurance. In the specific case of pay-as-you-drive insurance, the collected data may be combined with map data to correlate driving behavior with road conditions, signs, etc., in order to classify drivers as safe or unsafe drivers, and charge them accordingly.
[0004] The automotive industry can also take advantage of the pay-per-use model. Service providers can provide specific functions to download new features to the vehicle as software updates, and charge users for their use accordingly. Users can pay for a period of time for the enabled function, and after a certain time, the function can be disabled. In addition, the vehicle can have a system that can detect attacks (such as cybersecurity attacks), sometimes referred to as an intrusion detection system ("IDS"). The automotive system of modern vehicles can be equipped with a large number of electronic control units (ECUs), which are connected through a network using CAN, automotive Ethernet or other network technologies. These ECUs can control the vehicle by running increasingly complex software. In addition, due to sensor data (such as camera streams or lidar), network connectivity has been further increased. The resulting automotive system may become an increasingly attractive target for hostile parties interested in damaging the system. Process changes on the ECU or manipulation of network traffic can cause various threats to the vehicle and passengers, traffic participants, and the vehicle itself.
[0005] IDS adoption may be driven by the increase in attacks in vehicles and the increased likelihood of attacks that could have potential safety implications. Because of this, new regulations have been enacted (e.g. WP29, RF155) that will require vehicles to have an IDS that can detect attacks and potentially react to them. IDS is designed to detect such compromises and can collect all kinds of automotive data to verify consistency and ensure the integrity of network traffic, command and control. Recent IDS solutions send this data to a cloud backend for further processing. Summary of the invention
[0006] A first embodiment discloses a computer-implemented method, the method comprising: receiving a first set of in-vehicle network signal data indicating in-vehicle network traffic of an in-vehicle network in a controlled environment; finding correlations associated with the first set of in-vehicle signal data and storing the correlations in a correlation list, the correlation list indicating communication characteristics between signals in the first set of in-vehicle signal data; sending the correlation list to a first remote server associated with an agency; receiving a second set of in-vehicle network signal data of in-vehicle traffic of an in-vehicle network during normal vehicle operation; sending the second set of in-vehicle network signal data to a second remote server associated with the service agency; and in response to comparing the correlation list and the second set of in-vehicle network signal data, and the comparison indicating that the communication characteristics exceed a threshold change amount, outputting an alarm indicating tampering associated with the second set of in-vehicle signal data for a duration, and using the second set of in-vehicle network signal data to identify a cost associated with the tampering.
[0007] A second embodiment discloses a system, the system comprising one or more sensors in a vehicle, the one or more sensors being configured to collect a first set of signal data indicating controller area network traffic of a CAN network in a controlled environment and a second set of signal data indicating controller area network traffic of the CAN network during vehicle operation. The system further comprises a processor, the processor being programmed to: send both the first set of signal data and the second set of signal data to a remote server; identify correlations associated with the first set of signal data to establish a correlation list; compare the second set of signal data with the correlation list associated with the first set of signal data; and in response to the correlation of the second set of signal data exceeding a threshold value defining normal operation, send an alert to a remote agency indicating tampering associated with the second set of signal data.
[0008] A third embodiment discloses a computer-implemented method, the method comprising: receiving a first set of in-vehicle network signal data indicating in-vehicle network traffic of an in-vehicle network in a controlled environment; finding correlations associated with the first set of in-vehicle signal data and storing the correlations in a correlation list, the correlation list indicating communication characteristics between signals in the first set of in-vehicle signal data; sending information indicating the correlation list to a remote server associated with a service agency; receiving a second set of in-vehicle network signal data indicating in-vehicle traffic of an in-vehicle network during normal vehicle operation; sending the second set of in-vehicle network signal data to a remote server associated with the service agency; and in response to comparing the correlation list and the second set of in-vehicle network signal data, and the comparison indicating that the communication characteristics exceed a threshold change amount, outputting an alert for a duration indicating activation of a vehicle function or tampering associated with the second set of in-vehicle signal data, wherein the remote server is configured to utilize at least the second set of in-vehicle network signal data to identify a cost associated with the activation of the vehicle function or the tampering. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1 A block diagram of an exemplary computing device according to some embodiments of the present disclosure is illustrated.
[0010] Figure 2 A flow diagram of an embodiment of data processing including an intrusion detection system is illustrated.
[0011] Figure 3 An embodiment of a plug-in device for an intrusion detection system is illustrated.
[0012] Figure 4A An illustrative flow diagram for granular charging measurements for sending data over a vehicle network is illustrated.
[0013] Figure 4B An illustrative flow chart for utilizing fine-grained billing measurements without sending data over a vehicle network is included. DETAILED DESCRIPTION
[0014] Embodiments of the present disclosure are described herein. However, it is to be understood that the disclosed embodiments are merely examples, and other embodiments may take various and alternative forms. The drawings are not necessarily drawn to scale; some features may be exaggerated or minimized to show the details of a particular component. Therefore, the specific structural and functional details disclosed herein should not be interpreted as restrictive, but merely as a representative basis for teaching those skilled in the art to adopt the embodiments in various ways. As will be understood by those of ordinary skill in the art, the various features illustrated and described with reference to any one of the drawings may be combined with the features illustrated in one or more other drawings to produce embodiments that are not explicitly illustrated or described. The combination of the illustrated features provides representative embodiments of typical applications. However, for a particular application or implementation, various combinations and modifications of features consistent with the teachings of the present disclosure may be desired.
[0015] As used herein, "a," "an," and "the" refer to both singular and plural referents unless the context clearly dictates otherwise. As an example, a "processor" programmed to perform various functions refers to one processor programmed to perform each function, or more than one processor that are collectively programmed to perform each of the various functions.
[0016] Current telematics auto insurance methods may rely on different devices to track driving behavior, such as real-time driving behavior. There are diagnostic port plug-in devices, mobile apps, or Bluetooth beacons. However, this option has several disadvantages. Plug-in devices can be dedicated, separate devices that have possible fees associated with them for rental or data transfer. Mobile apps cannot always tell who is the driver, and people may occasionally need to question the data. For pay-per-use features, users may need to subscribe or pay a certain amount for the service within a set time period. However, this approach does not take into account whether the user is using the feature or for how long.
[0017] In the present disclosure, the system can re-purpose the data collected by the IDS, and therefore re-purpose the IDS service to provide billing for other services such as telematics insurance and pay-per-use features. This approach has advantages. First, one advantage can be to use available IDS data as the basis for its billing, avoiding separate devices or apps for data collection. Second, it increases the flexibility of feature usage identification. Automatically deriving from IDS data whether a feature is used and how long it has been used reduces the need for fixed subscriptions. It allows different information sources to be used to verify that a specific feature is being used, so if a signal or data is lost, we can still provide accurate billing by looking at other relevant vehicle data.
[0018] It allows for fine-grained billing services to be provided by charging by the number of miles or kilometers used of the feature, rather than for a fixed period of time (similar to cloud services that charge for the exact amount of bandwidth used or the exact number of CPU cycles used). In one embodiment, the system can use data from the network or ECU within the vehicle, which can allow the system to measure how much resources in the network or ECU have been used and charge the customer based on this. This can allow for a reduction in the computing resources or time required to transmit data for billing or IDS purposes to the service (billing) provider. This is achievable because not all data will need to be protected by cryptographic means or transmitted over a completely secure channel. This can allow the system and method to protect privacy to some extent by not having to send all data to the billing service - which would normally be sent to the service (which may be used to derive privacy protection information that is not needed for billing).
[0019] like Figure 1 As shown in Figure 1 A block diagram of an exemplary computing device according to some embodiments of the present disclosure is shown. Device 100 may include a controller 105, an operating system 115, a memory 120, an executable code 125, a storage system 130, and device 100 may include an input device 135 and an output device 140. Controller 105 may be, for example, a central processing unit processor (CPU), a chip, or any suitable computing or computational device. Controller 105 (or one or more controllers or processors that may span multiple units or devices) may be configured to perform the methods described herein, and / or to execute or act as various modules, units, etc. More than one computing device 100 may be included in a system according to an embodiment of the present invention, and one or more computing devices 100 may act as a component of the system.
[0020] The operating system 115 may be or may include any code segment (e.g., a code segment similar to the executable code 125 described herein) designed and / or configured to perform tasks involving coordination, scheduling, arbitration, supervision, control, or otherwise managing the operation of the computing device 100, such as scheduling the execution of software programs or tasks or enabling software programs or other modules or units to communicate. The operating system 115 may be a commercial operating system. It will be noted that the operating system 115 may be an optional component, for example, in some embodiments, the system may include a computing device that does not require or include an operating system 115. For example, the computer system may be or may include a microcontroller, an application specific circuit (ASIC), a field programmable array (FPGA), a network controller (e.g., a CAN bus controller), an associated transceiver, a system on a chip (SOC), and / or any combination thereof that may be used without an operating system.
[0021] The memory 120 may be or may include, for example, a random access memory (RAM), a read-only memory (ROM), a dynamic RAM (DRAM), a synchronous DRAM (SD-RAM), a double data rate (DDR) memory chip, a flash memory, a volatile memory, a non-volatile memory, a cache memory, a buffer, a short-term memory unit, a long-term memory unit, or other suitable memory unit or storage unit. The memory 120 may be or may include a plurality of possibly different memory units. The memory 120 may be a computer or processor non-transitory readable medium, or a computer non-transitory storage medium, such as a RAM.
[0022] Executable code 125 may be any executable code, such as an application, program, process, task, or script. Executable code 125 may be executed by controller 105 under the control of operating system 115. For example, executable code 125 may be an application that enhances security in a vehicle, such as detecting or preventing cyber attacks on a network within the vehicle, as further described herein. Although for clarity, in Figure 1 125, but systems according to some embodiments of the present invention may include multiple executable code segments similar to executable code 125 that can be loaded into memory 120 and cause controller 105 to perform the methods described herein. Where applicable, the terms "process" and "executable code" may mean the same thing and may be used interchangeably herein. For example, verification, validation, and / or authentication of a process may refer to verification, validation, and / or authentication of an executable code.
[0023] Storage system 130 may be or may include, for example, flash memory as known in the art, memory internal to or embedded in a microcontroller or chip as known in the art, a hard drive, a recordable CD (CD-R) drive, a Blu-ray Disc (BD), a Universal Serial Bus (USB) device, or other suitable removable and / or fixed storage unit. Content may be stored in storage system 130 and may be loaded from storage system 130 into memory 120 where it may be processed by controller 105. In some embodiments, the memory may be omitted. Figure 1 For example, the memory 120 may be a non-volatile memory having the storage capacity of the storage system 130. Therefore, although the storage system 130 is shown as a separate component, the storage system 130 may be embedded or included in the memory 120.
[0024] The input device 135 may be or may include any suitable input device, component, or system, such as a physical sensor such as an accelerometer, a tachometer, a thermometer, a microphone, an analog-to-digital converter, a detachable keyboard or keypad, a mouse, etc. The output device 140 may include one or more (possibly detachable) displays or monitors, motors, servomotors, speakers, and / or any other suitable output device. As shown in blocks 135 and 140, any applicable input / output (I / O) device may be connected to the computing device 100. For example, a wired or wireless network interface card (NIC), a universal serial bus (USB) device, a JTAG interface, or an external hard drive may be included in the input device 135 and / or the output device 140. It will be appreciated that any suitable number of input devices 135 and output devices 140 may be operably connected to the computing device 100, as shown in blocks 135 and 140. For example, a technician or engineer may use the input device 135 and output device 140 to connect to the computing device 100, update software, etc. The input and / or output devices or components 135 and 140 can be adapted to interface or communicate with a control or other unit in the vehicle. For example, the input and / or output devices or components 135 and 140 can include ports that enable the device 100 to communicate with an engine control unit, a suspension control unit, a traction control device, etc.
[0025] Embodiments may include an article such as a computer or processor non-transitory readable medium, or a computer or processor non-transitory storage medium, such as, for example, a memory, a disk drive, or a USB flash memory, encoding, containing, or storing instructions (e.g., computer executable instructions) that, when executed by a processor or controller, implement the methods disclosed herein. For example, a storage medium such as memory 120, computer executable instructions such as executable code 125, and a controller such as controller 105.
[0026] The storage medium may include, but is not limited to, any type of disk, including magneto-optical disks, semiconductor devices such as read-only memory (ROM), random access memory (RAM) such as dynamic RAM (DRAM), erasable programmable read-only memory (EPROM), flash memory, electrically erasable programmable read-only memory (EEPROM), magnetic or optical cards, or any type of medium suitable for storing electronic instructions, including programmable storage devices.
[0027] Embodiments of the present invention may include components such as, but not limited to, multiple central processing units (CPUs) or any other suitable multi-purpose or dedicated processors or controllers (e.g., controllers similar to controller 105), multiple input units, multiple output units, multiple memory units, and multiple storage units. The system may additionally include other suitable hardware components and / or software components. In some embodiments, the system may include or may be, for example, a personal computer, a desktop computer, a mobile computer, a laptop computer, a notebook computer, a terminal, a workstation, a server computer, a personal digital assistant (PDA) device, a tablet computer, a network device, or any other suitable computing device.
[0028] In some embodiments, the system may include or may be, for example, multiple components including corresponding multiple central processing units, such as the multiple CPUs described, multiple CPUs embedded in an onboard or in-vehicle system or network, multiple chips, FPGAs or SOCs, microprocessors, transceivers, microcontrollers, multiple computers or network devices, any other suitable computing devices, and / or any combination thereof. For example, the system described herein may include one or more devices, such as computing device 100.
[0029] Figure 2 A flow chart of an embodiment including general data processing is disclosed. In general, the automotive IDS can be used to collect automotive signal data and detected security events, which are sent to the back end for further processing. For example, if a signal or group of signals appears to deviate from traditional communication signals, such data can be sent off-board for processing to determine whether a security threat or event has occurred. The automotive signal data can include all vehicle network traffic on the vehicle network within a specific time period (e.g., CAN traffic on a CAN network). For example, the signal data can be referred to as a set of values S=S1, S2, S3, ..., Sn, which are in no particular order.
[0030] It may be determined whether the signals are correlated. Such signals may be correlated and therefore there may be a linear or non-linear relationship between some of these signals that may be calculated. For example, assume that signals S1, S2, S3 are already used by a billing application and all signals in set S are used and collected for the IDS. Such correlations between signals may be derived relatively easily by analyzing data from the in-vehicle network.
[0031] The charging can be implemented in the following manner. At step 201, the system can record data from the in-vehicle network to be used for the IDS, thereby obtaining a signal set S = {S1, S2, S3, ..., Sn}. These signals can be any number of signals. In addition, these signals can be collected for a given time period or duration. These signals can be collected using sensors or other types of devices and instruments.
[0032] At step 203, the system may find correlations (e.g., such as linear correlations) between the signals in the set S. After finding the correlations, the system may store them into a list R = R1, R2, R3, ..., Rp. R may be a list of correlations found in the set of signals S. This may be represented as Ri = {Si, Sj, ..., St; correlation information}, where the correlation information may be, for example, the coefficients of a linear regression model calculated on the signals Si, Sj, ..., St, where {Si, Sj, ..., St} is a subset of S. Another way to calculate the correlation is by calculating the Pearson correlation coefficient ρ for the signal pair {(S1, S2), (S2, S3), (S3, S4), ..., (Si, Sj)} (where i ≠ j), which may allow the calculation of: Where n is the sample size, x i y i is the individual sample signal indexed by i, is the sample mean; and for Similarly. For continuous signals, the calculation of the Pearson coefficient can be performed on a subset of sample points corresponding to a subset of sample points (corresponding to a "window" of sample points, where the window size has been predefined). Other methods that can be used include time-lagged cross-correlation, dynamic time warping.
[0033] At step 205, the system may store a list of correlations about the signals. The list R with the signals and correlation information may be stored in a backend remote server in a secure manner. For example, the list with the signals and correlation information may be stored on a read-only access device or an encrypted portion of a storage device. Thus, security measures may be utilized to ensure that the correlation list is secure. In some cases, only the correlation information may need to be stored. During operation of the vehicle, signal data from the car's CAN network may be collected, resulting in a signal set S'={S1', S2', S3', ..., Sn'}. It is assumed that at least a subset of the signals in S' may be collected (recorded at their source) and transmitted to the backend in a secure and tamper-proof manner. The system may send a small subset of the signals (e.g., "Sinsurance") to an insurance provider so that the insurance provider can perform their billing.
[0034] At decision 207, the system can determine whether any functionality has been performed or data changes have occurred. The system can use the correlation list and compare it with the selected signal subset. At step 209, the system can provide information to the billing provider or law enforcement agent at a later time, which may be accompanied by a claim: the statement indicates that the data sent to them has been tampered with to some extent. For example, the information may indicate that the signal or data may not be the original data collected from the network within the vehicle, but is changed or created to avoid the abuse of the vehicle. The system can use the vehicle operation signal S' and the correlation stored securely in R, and calculate how close the relationship stored in R is to the vehicle operation signal in S'. If the result is above a certain threshold, the system can determine that the signal used for billing has not been tampered with, and report to the billing provider or law enforcement provider that their statement is incorrect. Otherwise, the system can report that the statement is justified and they need to take appropriate action. For example, the system can be programmed to define a threshold of normality, and if the relationship exceeds the threshold, the system can be considered to be tampered with.
[0035] Another advantage of such a system may be that the system may have the ability to use correlations from signals that were not originally collected. Therefore, the billing service provider can use correlations from signals that were not originally collected by the billing service provider to verify that the signals used to provide billing have not been tampered with. Another advantage may be that the system does not need to send all data to the billing provider, but only needs to send a subset of the data collected from the vehicle (e.g., a CAN network) to the billing provider. Another advantage may be that based on the subset of signals sent to the back end, a complete set of signals is reconstructed in the back end to provide billing services or IDS services. This reconstruction can be achieved via a previously trained generative adversarial network (GAN), which takes a subset of signals sent to the back end as input and outputs a complete set of signals required for billing. This may be beneficial in reducing bandwidth and protecting the privacy of drivers whose data is collected.
[0036] Figure 3 Embodiments are disclosed that can utilize a plug-in device at the vehicle. A possible implementation of the IDS includes a device that is plugged into the diagnostic port 303 (OBD-II port) of the vehicle and logs CAN messages. Safety-related CAN messages can be sent to a cloud backend where they are stored in a database and can be used for visualization, further processing, or accessible to external services.
[0037] Data necessary for telematics car insurance, such as acceleration, braking, cornering or mileage, are part of these safety-related telemetry messages. Safety-related telemetry data includes lower-level signals for pay-per-use features, such as steering wheel heating or autonomous driving. Since this data is already available and does not have to be collected separately, it can be made available for the provider's billing service. Depending on where the cloud backend is hosted - on premise or at a service provider, this can be achieved by providing a domain service or an externally available API to the database.
[0038] A remote server 330 may communicate with the vehicle 301. The remote server may utilize domain services 331 to store centralized information. For example, domain services 331 may have directory information for users and domains to communicate. Domain services may include information related to a virtual security operations center (VSOC), a security incident and event management system (SIEM), an intrusion detection system, billing, etc.
[0039] The remote server 330 may include a data management system 333. The data management system 333 may include information associated with data ingestion (e.g., storing data received from the vehicle, the type of data used to retrieve from the vehicle), and the processing of such data. The server 330 may also include a device management system 335. The device management system 335 may include digital twin software updates. A digital twin may be a virtual model designed to accurately reflect a physical object. The object being studied (e.g., an external plug-in device for a vehicle or a vehicle diagnostic port) may be outfitted with various sensors associated with important functional areas. These sensors may generate data on different aspects of the performance of the physical object, such as energy output, temperature, weather conditions, and the like. The data may then be relayed to a processing system and applied to a digital copy. Once informed of such data, the virtual model may be used to run simulations, study performance issues, and generate possible improvements, all with the goal of generating valuable insights—which may then be applied back to the original physical object. There may be various software updates associated with the digital twin. The server may also include a fan-out service system 337. Fan-out may be a messaging pattern for modeling information exchange, which means that it is possible to deliver (or propagate) a message to one or more destinations in parallel and without stopping the process performing the messaging to wait for any response to the message.
[0040] Figure 4A An illustrative flow chart of granular billing measurements for sending data over a vehicle network is included. In another embodiment, the system can collect fine-grained measurements at step 401. In one example, the method for obtaining a finer granular measurement of when a particular feature is used can be as simple as monitoring the effect of the feature on the CAN signal. For example, if a feature is expected to send one or more CAN signals on the CAN bus, the IDS can simply monitor the signals (at step 403) and monitor how often these signals occur according to some predefined rules. At decision 405, the IDS can determine whether the collected signals follow the rules. If the rules are followed, the system can continue to monitor the signals. However, at step 407, if the IDS finds that the rules are not followed, it can trigger an event that is sent to the back end for further processing. In this case, all CAN data does not need to be sent to the back end, but only the events monitored by the IDS need to be sent to the back end, which greatly reduces the amount of CAN data sent to the back end. Only events need to be sent to the billing service. The frequency of the event can be used to simply monitor when a particular function is used. The frequency of events will determine the granularity of the billing information that can be processed, and therefore how granular billing can be provided.
[0041] Figure 4B An illustrative flow chart is included for utilizing fine-grained billing measurements that do not send data over a vehicle network. In the case where an application functions only at the ECU level, one way to provide fine-grained measurements of usage can be achieved by utilizing power consumption measurements collected during normal execution of programs in the automotive ECU. At step 451, the system can utilize an IDS to collect such power consumption measurements. This can be achieved in the same manner as a power-based IDS, which is disclosed in U.S. Patent Application No. 16 / 723,861, entitled "SYSTEM AND METHOD FOR NETWORK INTRUSION DETECTION BASED ON PHYSICAL MEASUREMENTS" and U.S. Patent No. 11,354,411, entitled "MICROCONTROLLER PROGRAM INSTRUCTION EXECUTION FINGERPRINTING AND INTRUSIONDETECTION," which are incorporated herein by reference in their entirety. The present system may include some minor variations and differences. Instead of trying to identify malware compared to unmodified software (e.g., creating a signature of known malware such as virus software), the system can use measurements to monitor when a function is executed. The system can include a dependency list of the function to see if the software has been modified. Therefore, the system can operate knowing what to expect in terms of functionality (because, for example, the system was created during production and the software was burned onto the ECU and the power consumption signature of the expected software running was recorded), and then verify during vehicle use that the software is still the expected software (based on the power consumption signature).
[0042] In another embodiment, the dependency list may also be used to identify functions that may be considered dangerous while driving. Such functions may include disabling existing functions, adding functions that continuously send data on the CAN bus to monopolize its use and effectively cause a denial of service attack, adding functions that send information that a specific ECU should not be sent (i.e., messages that will be sent by different ECUs), stopping the transmission of periodic signals intended to increase the safety of the automotive system (e.g., if the driver presses the brake pedal, the signal sent to the ECU that controls the brake is a continuous signal over a period of time, so that the periodic signal may be interrupted), etc. Therefore, at step 453, the system may compare the measurement of the power consumption signal with the measurement of the listed functions. Therefore, instead of monitoring all functions and classifying them as malicious or non-malicious, the system may only need to detect whether a specific function is executed. At decision 455, the system may determine whether a specific function - for pay-per-use applications, the entity should be notified - is executed. The system may determine that the specific function is executed based on its power consumption tag. Therefore, if the power consumption matches the tag, it can be inferred that the function has been activated. Alternative embodiments would also include using an IDS to ensure that the software has not been tampered with, and therefore if the system has not been tampered with, then each time the software is executed, the specific function is also run. Thus, the system can simply count the number of times a specific software function is executed as part of the entire software stack. At step 457, the system can send an event to a backend server, or the system can send the window in which the measurement was performed along with a timestamp that can be retrieved later to identify the execution of the function and when it occurred.
[0043] Although exemplary embodiments are described above, it is not intended that these embodiments describe all possible forms covered by the claims. The words used in the specification are descriptive rather than restrictive, and it is understood that various changes can be made without departing from the spirit and scope of the present disclosure. As previously described, the features of various embodiments can be combined to form further embodiments of the present invention that may not be explicitly described or illustrated. Although various embodiments may have been described as providing advantages or being preferred in terms of one or more desired characteristics compared to other embodiments or prior art implementations, it is recognized by those of ordinary skill in the art that one or more features or characteristics can be compromised to achieve the desired overall system properties, depending on the specific application and implementation. These properties may include, but are not limited to, cost, strength, durability, life cycle cost, marketability, appearance, packaging, size, serviceability, weight, manufacturability, ease of assembly, etc. Thus, insofar as any embodiment is described as being less desirable than other embodiments or prior art implementations in terms of one or more characteristics, these embodiments are not outside the scope of the present disclosure and may be desirable for specific applications.
Claims
1. A computer-implemented method comprising: receiving a first set of in-vehicle network signal data indicative of in-vehicle network traffic of an in-vehicle network in a controlled environment; finding correlations associated with the first set of in-vehicle signal data and storing the correlations in a correlation list indicating communication characteristics between signals in the first set of in-vehicle signal data; sending the relevance list to a first remote server associated with a service organization; receiving a second set of in-vehicle network signal data of in-vehicle traffic of the in-vehicle network during normal vehicle operation; transmitting a second set of in-vehicle network signal data to a second remote server associated with the service organization; and In response to comparing the correlation list and a second set of in-vehicle network signal data, and the comparison indicating that the communication characteristic exceeds a threshold change amount, outputting an alert for a duration indicating tampering associated with the second set of in-vehicle signal data, and identifying a cost associated with the tampering using the second set of in-vehicle network signal data. 2 . The method of claim 1 , wherein the communication characteristic between the signals comprises a rate of change between types of signals in the first group. The method of claim 1 , wherein the communication characteristic between the signals comprises a frequency change between the types of signals in the first group. 4 . The method of claim 1 , wherein the second set of in-vehicle signal data is retrieved from a plug-in device plugged into a diagnostic port of the vehicle, wherein the plug-in device records in-vehicle messages transmitted in the vehicle. The method of claim 1 , wherein the remote agency comprises an insurance agency or a police agency. The method of claim 1 , wherein the duration comprises a start time and an end time.
7. The method of claim 1, wherein the in-vehicle network comprises a controller area network (CAN). 8 . The method of claim 1 , wherein in response to the correlation of the second set of CAN signal data being below a threshold amount, not sending an alert to a remote organization indicating tampering associated with the second set of CAN signal data.
9. The method of claim 1, wherein the correlation comprises information associated with coefficients of a linear regression model computed on the first set of CAN signal data.
10. The method of claim 1, wherein the first remote server and the second remote server are the same server or different servers.
11. A system comprising: one or more sensors in a vehicle, the one or more sensors configured to collect a first set of signal data indicative of controller area network traffic of a CAN network in a controlled environment and a second set of signal data indicative of controller area network traffic of the CAN network during operation of the vehicle; a processor in communication with the one or more sensors, the processor being programmed to: sending both the first set of signal data and the second set of signal data to a remote server; identifying correlations associated with the first set of signal data to create a list of correlations; comparing the second set of signal data to the correlation list associated with the first set of signal data; In response to the correlation of the second set of signal data exceeding a threshold defining normal operation, an alert is sent to a remote organization indicating tampering associated with the second set of signal data.
12. The system of claim 11, wherein the system includes an external plug-in device configured to be plugged into a diagnostic port associated with the vehicle and to record both the first set of signal data and the second set of signal data.
13. The system of claim 11, wherein the correlation comprises information associated with coefficients of a linear regression model on the first set of signal data.
14. The system of claim 11, wherein the second set of data is collected via a plug-in device connected to an OBD-II port of the vehicle.
15. A computer-implemented method comprising: receiving a first set of in-vehicle network signal data indicative of in-vehicle network traffic of an in-vehicle network in a controlled environment; finding correlations associated with the first set of in-vehicle signal data and storing the correlations in a correlation list indicating communication characteristics between signals in the first set of in-vehicle signal data; sending information indicative of the list of dependencies to a remote server associated with the service organization; receiving a second set of in-vehicle network signal data indicative of in-vehicle traffic on the in-vehicle network during normal vehicle operation; transmitting a second set of in-vehicle network signal data to a remote server associated with the service organization; and In response to comparing the correlation list and a second set of in-vehicle network signal data, and the comparison indicating that the communication characteristic exceeds a threshold change amount, outputting an alert for a duration indicating activation of a vehicle function or tampering associated with the second set of in-vehicle signal data, wherein the remote server is configured to utilize at least the second set of in-vehicle network signal data to identify a cost associated with the activation of the vehicle function or the tampering.
16. The method of claim 15, wherein the second set of data is collected via a plug-in device connected to an OBD-II port of the vehicle.
17. The method of claim 15, wherein the communication characteristic between the signals comprises a frequency change between the types of signals in the first group.
18. The method of claim 15, wherein the second set of in-vehicle signal data is retrieved from a plug-in device plugged into a diagnostic port of the vehicle, wherein the plug-in device records in-vehicle messages transmitted in the vehicle.
19. The method of claim 15, wherein the comparison of the correlation list and the second set of in-vehicle network signal data occurs at a remote server.
20. The method of claim 15, wherein the in-vehicle network comprises a controller area network (CAN).
