KR101972457B1 - Can 통신 기반 해킹공격 탐지 방법 및 시스템 - Google Patents
Can 통신 기반 해킹공격 탐지 방법 및 시스템 Download PDFInfo
- Publication number
- KR101972457B1 KR101972457B1 KR1020170076811A KR20170076811A KR101972457B1 KR 101972457 B1 KR101972457 B1 KR 101972457B1 KR 1020170076811 A KR1020170076811 A KR 1020170076811A KR 20170076811 A KR20170076811 A KR 20170076811A KR 101972457 B1 KR101972457 B1 KR 101972457B1
- Authority
- KR
- South Korea
- Prior art keywords
- message
- reception
- reception time
- received
- controller
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40052—High-speed IEEE 1394 serial bus
- H04L12/40104—Security; Encryption; Content protection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40052—High-speed IEEE 1394 serial bus
- H04L12/40058—Isochronous transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/14—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
- H04L63/1408—Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
- H04L63/1416—Event detection, e.g. attack signature detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40267—Bus for use in transportation systems
- H04L2012/40273—Bus for use in transportation systems the transportation system being a vehicle
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
도 2a 및 도 2b 는 본 발명의 일실시예에 따른 CAN 컨트롤러의 구성에 대한 블록도이다.
도 3은 본 발명의 일실시예에 따른 CAN 메시지의 송수신 메시지에 대한 구성도이다.
도 4 는 본 발명의 일 실시예에 따른 필터값 설정 방법을 시계열적으로 나타낸 도면이다.도 5 는 본 발명의 일 실시예에 따른 전송 필터부가 전송 데이터를 필터링하는 구성을 설명하기 위한 도면이다..
도 6a 및 도 6b 은 본 발명의 일 실시예에 따른 수신필터부가 수신 메시지를 필터링하는 구성을 설명하기 위한 도면이다.
도 7, 도 8a 및 도 8b 는 본 발명의 일 실시예에 따른 수신 데이터를 필터링하는 방법을 시계열적으로 나타낸 도면이다.
도 9 및 도 10 은 본 발명의 방법이 보조 제어기에 의해 수행되는 실시예를 설명하기 위한 도면이다.
30 : CAN 컨트롤러 31 : 전송버퍼부
32 : 전송필터부 33 : 필터값 설정부
34 : 수신 시간 삽입부 35 : 수신필터부
36 : 수신버퍼부 38 : 보호메모리
40 : 마이크로컨트롤러
Claims (7)
- CAN 통신 기반 해킹공격 탐지 방법에 있어서,
수신 메시지의 수신 시간을 획득하는 단계;
동일한 메시지 ID 를 가지는 수신 메시지들의 수신 시간의 차이와, 대응하는 메시지 ID 의 기준 주기를 비교하는 주기 연산을 수행하는 수신 필터 단계;
상기 주기 연산의 결과, 상기 수신 시간의 차이가 상기 기준 주기보다 작은 경우 상기 수신 메시지를 비정상 메시지라 판단하고, 큰 경우 상기 수신 메시지가 정상 메시지라 판단하는 비정상 메시지 탐지 단계;
상기 비정상 메시지를 차단하는 차단 단계;
를 포함하고,
상기 수신 시간을 획득하는 단계는, CAN 컨트롤러 내에 TTCAN(Time Triggered Controller Area Network) 모듈이 존재하는 경우, 상기 CAN 컨트롤러 내부의 수신 시간 측정부가 마이크로컨트롤러에 의존하지 않고 상기 TTCAN 모듈을 이용하여 상기 수신 시간을 획득하고, 존재하지 않는 경우 상기 CAN 컨트롤러 외부의 상기 마이크로컨트롤러를 이용하여 상기 수신 시간을 획득하는 CAN 통신 기반 해킹공격 탐지 방법. - 제 1 항에 있어서,
상기 수신 메시지의 수신 시간을 획득하는 단계는,
마이크로 컨트롤러가 인터럽트 신호를 발생시켜 측정한 수신 메시지의 수신 시간을 획득하거나, 혹은 CAN 컨트롤러가 내부 모듈을 이용하여 측정한 수신 메시지의 수신 시간을 획득하는, CAN 통신 기반 해킹공격 탐지 방법. - 제 1 항에 있어서,
상기 수신 필터 단계는, 동일한 메시지 ID를 가지고 가장 최근에 수신한 적어도 3개의 수신 메시지의 수신 시간의 차이와, 해당 메시지 ID의 주기를 비교하며,
상기 가장 최근에 수신한 적어도 3개의 수신 메시지 중에서 첫번째 수신 시간과 3번째 수신 시간의 차이가 해당 메시지 ID의 기준 주기 보다 작으면, 상기 적어도 3개의 수신 메시지 중 적어도 1개의 수신 메시지를 비정상 메시지로 판단하는 것을 특징으로 하는, CAN 통신 기반 해킹공격 탐지 방법. - 제 1 항에 있어서,
상기 주기 연산의 결과를 이용하여 탐지 점수 값을 보정하는 탐지 점수 학습부; 를 포함하고,
상기 탐지 점수 학습부는, 메시지가 수신될 때마다 상기 주기 연산을 수행하며, 상기 주기 연산의 결과, 상기 수신 시간의 차이가 상기 기준 주기보다 작은 경우 상기 탐지 점수를 기설정된 값만큼 증가시키고, 큰 경우 상기 탐지 점수를 기설정된 값만큼 감소시키며,
상기 차단 단계는 상기 탐지 점수가 일정 값 이상일 때 수신 메시지가 비정상 메시지라 판단하는, CAN 통신 기반 해킹공격 탐지 방법. - 제 4 항에 있어서,
상기 메시지 ID 의 기준 주기 및 학습된 탐지 점수 중 적어도 하나 이상은 보호 메모리에 저장되고, 상기 보호 메모리는 ROM(Read Only Memory) 또는, 플래시메모리의 비휘발성 메모리인 것을 특징으로 하는, CAN 통신 기반 해킹공격 탐지 방법. - CAN 컨트롤러 및 마이크로프로세서를 포함하는 CAN 통신 기반 비정상 메시지 탐지 시스템에 있어서,
수신 메시지의 수신 시간을 획득하는 수신 시간 측정부;
동일한 메시지 ID 를 가지는 수신 메시지들의 수신 시간의 차이와, 대응하는 메시지 ID 의 기준 주기를 비교하는 주기 연산을 수행하는 수신 필터부;
상기 주기 연산의 결과, 상기 수신 시간의 차이가 상기 기준 주기보다 작은 경우 상기 수신 메시지를 비정상 메시지라 판단하고, 큰 경우 상기 수신 메시지가 정상 메시지라 판단하는 비정상 메시지 탐지부;
를 포함하고,
상기 수신 시간 측정부는, CAN 컨트롤러 내에 TTCAN(Time Triggered Controller Area Network) 모듈이 존재하는 경우, 상기 CAN 컨트롤러 내부에 존재하는 상기 수신 시간 측정부가 마이크로컨트롤러에 의존하지 않고 상기 TTCAN 모듈을 이용하여 상기 수신 시간을 획득하고, 존재하지 않는 경우 상기 CAN 컨트롤러 외부의 상기 마이크로컨트롤러를 이용하여 상기 수신 시간을 획득하는 CAN 통신 기반 해킹공격 탐지 시스템. - 제1 항 내지 제 5 항 중 어느 한 항에 따른 방법을 실현시키기 위해 컴퓨터 판독 가능한 기록 매체에 기록된 프로그램.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020170076811A KR101972457B1 (ko) | 2017-06-16 | 2017-06-16 | Can 통신 기반 해킹공격 탐지 방법 및 시스템 |
PCT/KR2018/006756 WO2018230988A1 (ko) | 2017-06-16 | 2018-06-15 | Can 통신 기반 해킹공격 탐지 방법 및 시스템 |
US16/715,437 US11522878B2 (en) | 2017-06-16 | 2019-12-16 | Can communication based hacking attack detection method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020170076811A KR101972457B1 (ko) | 2017-06-16 | 2017-06-16 | Can 통신 기반 해킹공격 탐지 방법 및 시스템 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20180137306A KR20180137306A (ko) | 2018-12-27 |
KR101972457B1 true KR101972457B1 (ko) | 2019-04-25 |
Family
ID=64953137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020170076811A Active KR101972457B1 (ko) | 2017-06-16 | 2017-06-16 | Can 통신 기반 해킹공격 탐지 방법 및 시스템 |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101972457B1 (ko) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20220046881A (ko) | 2020-10-08 | 2022-04-15 | 현대자동차주식회사 | 통신 메시지 스케줄링 방법 |
KR102391791B1 (ko) | 2021-12-24 | 2022-04-28 | 쌍용자동차 주식회사 | 능동형 차량 사이버 해킹 대응장치 및 방법 |
KR102411797B1 (ko) | 2021-12-24 | 2022-06-22 | 쌍용자동차 주식회사 | 하드웨어 기반의 차량 사이버보안시스템 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102248287B1 (ko) * | 2019-12-23 | 2021-05-06 | 고려대학교 산학협력단 | 차량의 내부 네트워크 노드의 위치 추정 장치 및 방법 |
KR102469399B1 (ko) * | 2021-09-10 | 2022-11-21 | 숭실대학교산학협력단 | Can 네트워크의 공격 탐지 시스템, can 네트워크의 공격 탐지 방법 및 can 네트워크의 공격 탐지 방법을 실행시키도록 기록매체에 저장된 컴퓨터 프로그램 |
KR102694852B1 (ko) * | 2022-07-20 | 2024-08-14 | 효성티앤에스 주식회사 | 금융자동화기기의 해킹을 통한 부정출금 억제 방법 |
KR102734904B1 (ko) * | 2022-09-21 | 2024-11-26 | 숭실대학교산학협력단 | Can 패킷을 기초로 생성된 그래프를 이용하는 can 네트워크의 공격 탐지 시스템 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050066062A1 (en) * | 2001-09-13 | 2005-03-24 | Florian Hartwich | Method and device for determining time in a bus system and corresponding bus system |
JP2013168865A (ja) | 2012-02-16 | 2013-08-29 | Hitachi Automotive Systems Ltd | 車載ネットワークシステム |
JP5609363B2 (ja) | 2010-07-21 | 2014-10-22 | トヨタ自動車株式会社 | 自己回復コンピュータシステムのためのアーキテクチャ |
KR101472896B1 (ko) * | 2013-12-13 | 2014-12-16 | 현대자동차주식회사 | 차량 내 통신 네트워크에서의 보안 강화 방법 및 그 장치 |
US20150358351A1 (en) * | 2013-01-28 | 2015-12-10 | Hitachi Automotive Systems, Ltd. | Network device, and data sending and receiving system |
KR101714520B1 (ko) | 2015-10-30 | 2017-03-09 | 현대자동차주식회사 | 차량 내 네트워크 공격 탐지 방법 및 장치 |
JP2017085663A (ja) | 2015-10-09 | 2017-05-18 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | セキュリティ装置、攻撃検知方法及びプログラム |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110057348A (ko) | 2009-11-24 | 2011-06-01 | 한국전자통신연구원 | Can 통신 보안 장치 및 방법 |
KR101413427B1 (ko) | 2012-12-18 | 2014-07-01 | 주식회사 유라코퍼레이션 | 차량용 네트워크의 보안 메시지 송수신 장치 및 방법 |
KR20160093764A (ko) | 2015-01-29 | 2016-08-09 | 주식회사 아나스타시스 | Otp rom을 활용하는 ecu 보안 통신 시스템 |
KR101651648B1 (ko) | 2016-04-28 | 2016-08-29 | 인포뱅크 주식회사 | 차량용 데이터 통신 방법 및 그를 이용하는 차량용 전자 제어 장치 및 시스템 |
-
2017
- 2017-06-16 KR KR1020170076811A patent/KR101972457B1/ko active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050066062A1 (en) * | 2001-09-13 | 2005-03-24 | Florian Hartwich | Method and device for determining time in a bus system and corresponding bus system |
JP5609363B2 (ja) | 2010-07-21 | 2014-10-22 | トヨタ自動車株式会社 | 自己回復コンピュータシステムのためのアーキテクチャ |
JP2013168865A (ja) | 2012-02-16 | 2013-08-29 | Hitachi Automotive Systems Ltd | 車載ネットワークシステム |
US20150358351A1 (en) * | 2013-01-28 | 2015-12-10 | Hitachi Automotive Systems, Ltd. | Network device, and data sending and receiving system |
KR101472896B1 (ko) * | 2013-12-13 | 2014-12-16 | 현대자동차주식회사 | 차량 내 통신 네트워크에서의 보안 강화 방법 및 그 장치 |
JP2017085663A (ja) | 2015-10-09 | 2017-05-18 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America | セキュリティ装置、攻撃検知方法及びプログラム |
KR101714520B1 (ko) | 2015-10-30 | 2017-03-09 | 현대자동차주식회사 | 차량 내 네트워크 공격 탐지 방법 및 장치 |
Non-Patent Citations (1)
Title |
---|
Techincal communications. CAN, Automotive Diagnostic Command Set User Manual. National Intruments, 2009.12. 페이지 1-1 - 6-140 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20220046881A (ko) | 2020-10-08 | 2022-04-15 | 현대자동차주식회사 | 통신 메시지 스케줄링 방법 |
KR102391791B1 (ko) | 2021-12-24 | 2022-04-28 | 쌍용자동차 주식회사 | 능동형 차량 사이버 해킹 대응장치 및 방법 |
KR102411797B1 (ko) | 2021-12-24 | 2022-06-22 | 쌍용자동차 주식회사 | 하드웨어 기반의 차량 사이버보안시스템 |
Also Published As
Publication number | Publication date |
---|---|
KR20180137306A (ko) | 2018-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101972457B1 (ko) | Can 통신 기반 해킹공격 탐지 방법 및 시스템 | |
US11522878B2 (en) | Can communication based hacking attack detection method and system | |
US20240406200A1 (en) | Cybersecurity on a Controller Area Network in a Vehicle | |
US10764326B2 (en) | Can controller safe against can-communication-based hacking attack | |
Jo et al. | A survey of attacks on controller area networks and corresponding countermeasures | |
US11063970B2 (en) | Attack detection method, attack detection device and bus system for a motor vehicle | |
Jo et al. | MAuth-CAN: Masquerade-attack-proof authentication for in-vehicle networks | |
KR101966345B1 (ko) | Can 통신 기반 우회 공격 탐지 방법 및 시스템 | |
JP7071510B2 (ja) | 車両内ネットワークにセキュリティを提供するシステム及び方法 | |
US9866570B2 (en) | On-vehicle communication system | |
KR102524204B1 (ko) | 차량용 네트워크의 침입 대응 장치 및 방법 | |
JP6477281B2 (ja) | 車載中継装置、車載通信システム及び中継プログラム | |
US12107876B2 (en) | Intrusion path analysis device and intrusion path analysis method | |
CN108111510A (zh) | 一种车内网络入侵检测方法及系统 | |
Boudguiga et al. | A simple intrusion detection method for controller area network | |
CN112347022B (zh) | 用于can节点的安全模块 | |
JPWO2019225258A1 (ja) | 異常検出装置、異常検出システム及び制御方法 | |
JP2014236248A (ja) | 電子制御装置、電子制御システム | |
US20200014758A1 (en) | On-board communication device, computer program, and message determination method | |
Studnia et al. | Security of embedded automotive networks: state of the art and a research proposal | |
Olufowobi et al. | Controller area network intrusion prevention system leveraging fault recovery | |
Kwon et al. | Mitigation mechanism against in-vehicle network intrusion by reconfiguring ECU and disabling attack packet | |
Kim et al. | ShadowAuth: Backward-compatible automatic CAN authentication for legacy ECUs | |
KR20180039586A (ko) | Can 통신 기반 해킹공격에 안전한 can 컨트롤러 | |
KR101825711B1 (ko) | Can 통신 기반 해킹공격에 안전한 can 컨트롤러 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20170616 |
|
PA0201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20180814 Patent event code: PE09021S01D |
|
PG1501 | Laying open of application | ||
E90F | Notification of reason for final refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Final Notice of Reason for Refusal Patent event date: 20190101 Patent event code: PE09021S02D |
|
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20190410 |
|
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20190419 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20190422 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
PR1001 | Payment of annual fee |
Payment date: 20220325 Start annual number: 4 End annual number: 6 |