Please wait a minute...
Frontiers of Information Technology & Electronic Engineering

ISSN 2095-9184

Frontiers of Information Technology & Electronic Engineering  2022, Vol. 23 Issue (3): 351-360   https://doi.org/10.1631/FITEE.2000709
  本期目录
基于动态污点分析的工业控制系统协议自动逆向工程分析
麻荣宽1(), 郑豪2(), 王竟亦2(), 汪慕峰2(), 魏强1(), 王清贤1()
1. 数学工程与先进计算国家重点实验室, 中国郑州市, 450001
2. 浙江大学NGICS平台, 中国杭州市, 310000
Automatic protocol reverse engineering for industrial control systems with dynamic taint analysis
Rongkuan MA1(), Hao ZHENG2(), Jingyi WANG2(), Mufeng WANG2(), Qiang WEI1(), Qingxian WANG1()
1. State Key Laboratory of Mathematical Engineering and Advanced Computing, Zhengzhou 450001, China
2. Zhejiang University NGICS Platform, Hangzhou 310000, China
 全文: PDF(558 KB)  
摘要:

私有(或半私有)协议广泛应用于工业控制系统(ICS)。通过逆向工程推断协议格式对于许多网络安全应用(例如程序测试和入侵检测)具有重要意义。传统协议逆向工程方法耗时,繁琐、易出错。最近提出的自动化逆向协议方法既不能有效处理基于网络流量分析的二进制ICS协议,也不能从协议程序实现中准确提取协议字段。本文提出一个工业控制系统协议逆向工程框架(ICSPRF),旨在以更高准确度提取ICS协议字段。ICSPRF基于以下关键见解架构:消息中单个字段通常在同一执行上下文中处理,例如基本块(BBL)组。通过监视程序的执行,ICSPRF可以在执行跟踪中收集每个BBL组中处理的污染数据信息,并将它们聚类以得出协议格式。用6个开源ICS协议实现评估所提方法。结果表明,ICSPRF可以高精度地识别各个协议字段(平均匹配率为94.3%)。ICSPRF还具有较低粗粒度匹配率和过细粒度匹配率。对于同一指标,ICSPRF比Autoformat更准确(后者对于所有评估协议匹配率为88.5%,对二进制协议匹配率为80.0%)。

Abstract

Proprietary (or semi-proprietary) protocols are widely adopted in industrial control systems (ICSs). Inferring protocol format by reverse engineering is important for many network security applications, e.g., program tests and intrusion detection. Conventional protocol reverse engineering methods have been proposed which are considered time-consuming, tedious, and error-prone. Recently, automatical protocol reverse engineering methods have been proposed which are, however, neither effective in handling binary-based ICS protocols based on network traffic analysis nor accurate in extracting protocol fields from protocol implementations. In this paper, we present a framework called the industrial control system protocol reverse engineering framework (ICSPRF) that aims to extract ICS protocol fields with high accuracy. ICSPRF is based on the key insight that an individual field in a message is typically handled in the same execution context, e.g., basic block (BBL) group. As a result, by monitoring program execution, we can collect the tainted data information processed in every BBL group in the execution trace and cluster it to derive the protocol format. We evaluate our approach with six open-source ICS protocol implementations. The results show that ICSPRF can identify individual protocol fields with high accuracy (on average a 94.3% match ratio). ICSPRF also has a low coarse-grained and overly fine-grained match ratio. For the same metric, ICSPRF is more accurate than AutoFormat (88.5% for all evaluated protocols and 80.0% for binary-based protocols).

Key wordsIndustrial control system (ICS)    ICS protocol reverse engineering    Dynamic taint analysis    Protocol format
收稿日期: 2020-12-19      出版日期: 2022-06-01
通讯作者: 魏强     E-mail: rongkuan233@gmail.com;zjuzhenghao@gmail.com;wangjyee@gmail.com;csewmf@zju.edu.cn;weiqiang66@126.com;wangqingxian2015@163.com
Corresponding Author(s): Qiang WEI   
 引用本文:   
麻荣宽, 郑豪, 王竟亦, 汪慕峰, 魏强, 王清贤. 基于动态污点分析的工业控制系统协议自动逆向工程分析[J]. Frontiers of Information Technology & Electronic Engineering, 2022, 23(3): 351-360.
Rongkuan MA, Hao ZHENG, Jingyi WANG, Mufeng WANG, Qiang WEI, Qingxian WANG. Automatic protocol reverse engineering for industrial control systems with dynamic taint analysis. Front. Inform. Technol. Electron. Eng, 2022, 23(3): 351-360.
 链接本文:  
https://academic.hep.com.cn/fitee/CN/10.1631/FITEE.2000709
https://academic.hep.com.cn/fitee/CN/Y2022/V23/I3/351
[1] FITEE-0351-22001-RKM_suppl_2 Download
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed