US-13-Blackouts-Issues-with-Wireless-Metering-Protocols-Slid
Energy Fraud and Orchestrated BlackoutsIssues with Wireless Metering Protocols (wM-Bus)Black Hat USA 2013, Las Vegas, July 31st - Aug 1st 2013 cyrill.brunschwiler@csnc.chCompass Security AG Werkstrasse 20 P.O. Box 2038 CH-8645 JonaTel +41 55 214 41 60 Fax +41 55 214 41 61 team@csnc.ch www.csnc.ch
AgendaIntroMaking Of Smart Grids Smart Metering¡ ¡ ¡Wireless M-BusApplication Protocol Stack Communication Modes Protocol Overview (Frames, Transport Layer, Data Headers, Relaying) Protocol Analysis (Privacy, Confidentiality, Integrity) Attack Scenario¡ ¡Demo Conclusion, Outlook© Compass Security AG www.csnc.ch Slide 2¡¡¡¡
IntroCompass Security AG Werkstrasse 20 P.O. Box 2038 CH-8645 JonaTel +41 55 214 41 60 Fax +41 55 214 41 61 team@csnc.ch www.csnc.ch
Intro – Making OfTimelineSummer 2011: Autumn 2012: X-mas 2012: X-mas 2012: February 2013: February 2013: March 2013: March 2013: Summer 2013: Got attention of wireless M-Bus in smart metering Started MSc thesis on smart meters and wireless M-Bus German BSI/OMS group published Security Report“ Short mention of M-Bus being inadequate“ at CCC in Hamburg, Germany Spent some time digging through EN paperwork Spent some time in an M-Bus lab environment Finished analysis of M-Bus current resp. draft standards German BSI mentions wM-Bus security being insufficient Publication at Black Hat USA © Compass Security AGwww.csnc.chSlide 4
Intro – Smart GridsSmart Grid Blue Print© Compass Security AGwww.csnc.chSlide 5
Intro – Smart MeteringSmart Metering Blue PrintLegendDSO Distribution System Operator NAN Neighbourhood Area Network Wireless M-Bus¢ ¢ ¢© Compass Security AGwww.csnc.chSlide 6
Intro - Smart MeteringHome InstallationLegendHAN Home Area Network Wired and Wireless M-Bus£ £© Compass Security AGwww.csnc.chSlide 7
Wireless M-BusCompass Security AG Werkstrasse 20 P.O. Box 2038 CH-8645 JonaTel +41 55 214 41 60 Fax +41 55 214 41 61 team@csnc.ch www.csnc.ch
ApplicationMarket segmentPopular in remote meter reading Heat, Water, Gas, Electricity 15 million devices deployed (figures from 2010) Mainly spread across Europe¤ ¤ ¤ ¤ ¤ ¤ ¤UsageRemote meter reading Drive-by meter reading Meter maintenance and configuration Becoming popular for smart metering applications Tariff schemes, real-time-pricing Demand-response Pre-payment Load-limit Remote disconnect¤ ¤ ¤ ¤© Compass Security AG¤¤www.csnc.chSlide 9
Communication ModesModesStationary Mode (S) is to be used for communication with battery driven collectors. Specific modes exist for one-way and two-way communication. Frequent Transmit Mode (T) is optimised for drive-by readout. Mode T does provide specific modes for one-way and two-way communication. Frequent Receive Mode (R2) allows for simultaneous readout of multiple meters. Mainly used for gateways and drive-by meter reading. Compact Mode (C) is comparable to mode T but allows for increased data throughput. This is achieved by using NRZ for line coding. Narrowband VHF Mode (N) is optimised for transmission within a lower frequency narrow band. It is intended for long range repeater use and does specify modes for one-way, two-way and relay communication. Frequent Receive and Transmit Mode (F) is optimised for long range communication and is also split into one-way and two-way sub modes. Precision Timing Protocol Mode (Q) provides distribution of time information taking network latency and battery optimised nodes into account. Router based Protocol Mode (P) changes addressing to include source and destination to allow for real routingwww.csnc.ch Slide 10¥ ¥ ¥ ¥ ¥ ¥ ¥ ¥© Compass Security AG
Protocol StackInvolved StandardsLayer Application Network Data Link Physical Standard prEN 13757-3 EN 13757-5 prEN 13757-4 prEN 13757-4 Description M-bus dedicated application layer (specified application layer security) Wireless relaying (optional for meters supporting the router approach) Wireless meter readout (specifies link layer security) Wireless meter readout (specifies use of 868MHz, 433MHz, 169MHz bands)LegendEN pr European Norm Draft Standard¦ ¦© Compass Security AGwww.csnc.chSlide 11
Protocol OverviewCompass Security AG Werkstrasse 20 P.O. Box 2038 CH-8645 JonaTel +41 55 214 41 60 Fax +41 55 214 41 61 team@csnc.ch www.csnc.ch
Protocol OverviewPhysical LayerLine coding (depends on communication mode) 3 of 6 code (constant-weight code) Manchester coding NRZ coding§ § § § § § § § §Data Link LayerFrames Device addressing Specification of payload (CI field) Cyclic redundancy checks (polynomial is 0x3d65) Types A and B (B has less redundancy checks) Extended Link Layer Provides encryption (AES-128 in CTR mode)§ §© Compass Security AGwww.csnc.chSlide 13
Protocol OverviewData Link Layer: CRC calculation using reveng….© Compass Security AGwww.csnc.chSlide 14
Protocol OverviewData Link Layer, First Block Example Capture (Sent by meter, CRCs removed) 1E 44 2D 2C 07 71 94 15 01 02 7A B3 00 10 85 BF 5C 93 72 04 76 59 50 24 16 93 27 D3 03 58 C8Field Length Control Manuf. ID Address Value 1E 44 2D 2C 07 71 94 15 01 02 Interpretation 30 bytes frame length (exclusive length byte) Indicates message from primary station, function send/no reply (SND-NR) Coded for Kamstrup (KAM) calculated as specified in prEN 13757-3. ID is managed by the flag association. Identification: Device Type: Version:www.csnc.ch15 94 71 07 (little-endian) 02 (electricity meter) 01Slide 15© Compass Security AG
Protocol OverviewData Link Layer, Control Information Field Example Capture (Sent by meter, CRCs removed) 1E …… 此处隐藏:5669字,全部文档内容请下载后查看。喜欢就下载吧 ……
相关推荐:
- [教育文库]夜场KTV服务员的岗位职责及工作流程[1]
- [教育文库]企划、网络、市场绩效考核方案
- [教育文库]学党史、知党情、强党性--“党的基本理
- [教育文库]2016年高考物理大一轮总复习(江苏专版
- [教育文库]干部廉洁自律自查自纠的报告
- [教育文库]2010年北京大学心理学系拟录取硕士研究
- [教育文库]资金时间价值练习题及答案
- [教育文库]保护环境的心得体会
- [教育文库]英语角内容:英语趣味小知识
- [教育文库]档案收集与管理工作通知
- [教育文库]劳动规章制度范本范本
- [教育文库]高考物理一轮复习课后限时作业1运动的
- [教育文库]机械工艺夹具毕业设计195推动架设计说
- [教育文库]通用技术教学比赛说课稿2
- [教育文库]2018年四年级英语下册 Module 7 Unit 2
- [教育文库]第2章 宽带IP网络的体系结构
- [教育文库]九年级化学第五单元课题3《根据化学方
- [教育文库]小学英语六年级情态动词用法归纳
- [教育文库]甲级单位编制窑井盖项目可行性报告(立
- [教育文库]2016-2021年中国城市规划行业全景调研
- 高考英语听力十大场景词汇总结
- 全省领导班子思想政治建设座谈会会议精
- 人教版新课标高一英语提优竞赛试题 下
- 江西省2014年生物中考试题
- 长沙镇食品药品安全事故应急预案
- 《金刚石、石墨和C60》片段教学设计
- 福州教育学院(王旭东)
- 基于EDA音乐播放器的设计
- 9、古诗两首《夜书所见》《九月九日忆
- 小学语文课外阅读有效策略探讨
- 贵州文化产业发展成支柱产业的问卷调查
- 膀胱类癌的诊治体会(附3例报告)
- 发动机积碳产生的原因
- Configuring Code Composer Studio for
- 学生良好的心理素质如何培养点滴谈
- 46 电沉积法制备锂离子电池用硅-锂薄膜
- 美舍雅阁公司管理中各部门职责
- 去壳剥皮的小妙招
- 六自由度运动平台的仿真研究
- Pride and Prejudice(傲慢与偏见)




