{"title":"TruckSentry: Context Aware Intrusion Detection and Prevention System for J1939 Networks","authors":"Subhojeet Mukherjee;Rik Chatterjee;Jeremy Daily","doi":"10.1109/OJITS.2025.3545474","DOIUrl":null,"url":null,"abstract":"Medium and heavy-duty vehicles often have third party devices connected to their in-vehicle networks, which raises security concerns. A gateway or firewall is used as an architectural element in the vehicle network to help mitigate threats from direct access to these external connections. However, the logic used in these gateways is often unknown. As such, this paper describes and demonstrates the logic of TruckSentry, a next-generation stateful firewall for in-vehicle SAE-J1939 networks within medium and heavy-duty vehicles. TruckSentry consumes conditional rules, enforces them in a stateful manner, and can be configured to pre-empt seemingly threatening messages from being processed by the target device. By utilizing radix search trees on the bits transmitted on the Controller Area Network, the approach can apply rules during transmission. If a malicious message is detected, the system can induce bit flips in the message stream and prevent the message from reaching the application layer. Experiments with correctly configured rules show TruckSentry can identify known threats to SAE-J1939 networks while being attached to a broadcast in-vehicle network and support hundreds of rules at wire speed, even when deployed on commodity in-vehicle development hardware. TruckSentry also demonstrates the use case of next generation firewalls on serial embedded networks, especially where contextual information can be obtained and used to evaluate threatening messages.","PeriodicalId":100631,"journal":{"name":"IEEE Open Journal of Intelligent Transportation Systems","volume":"6 ","pages":"294-309"},"PeriodicalIF":4.6000,"publicationDate":"2025-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10902479","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Open Journal of Intelligent Transportation Systems","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10902479/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Medium and heavy-duty vehicles often have third party devices connected to their in-vehicle networks, which raises security concerns. A gateway or firewall is used as an architectural element in the vehicle network to help mitigate threats from direct access to these external connections. However, the logic used in these gateways is often unknown. As such, this paper describes and demonstrates the logic of TruckSentry, a next-generation stateful firewall for in-vehicle SAE-J1939 networks within medium and heavy-duty vehicles. TruckSentry consumes conditional rules, enforces them in a stateful manner, and can be configured to pre-empt seemingly threatening messages from being processed by the target device. By utilizing radix search trees on the bits transmitted on the Controller Area Network, the approach can apply rules during transmission. If a malicious message is detected, the system can induce bit flips in the message stream and prevent the message from reaching the application layer. Experiments with correctly configured rules show TruckSentry can identify known threats to SAE-J1939 networks while being attached to a broadcast in-vehicle network and support hundreds of rules at wire speed, even when deployed on commodity in-vehicle development hardware. TruckSentry also demonstrates the use case of next generation firewalls on serial embedded networks, especially where contextual information can be obtained and used to evaluate threatening messages.