Skip to main content
Log in

Automatic protocol reverse engineering for industrial control systems with dynamic taint analysis

基于动态污点分析的工业控制系统协议自动逆向工程分析

  • Research Article
  • Published:
Frontiers of Information Technology & Electronic Engineering Aims and scope Submit manuscript

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).

摘要

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

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

Download references

Author information

Authors and Affiliations

Authors

Contributions

Rongkuan MA designed the research. Rongkuan MA and Hao ZHENG designed the supporting algorithms and implemented the software. Rongkuan MA drafted the paper. JingyiWANG and MufengWANG helped organize the paper. Qiang WEI and Qingxian WANG led the research planning and execution. Rongkuan MA, Qiang WEI, and Qingxian WANG revised and finalized the paper.

Corresponding author

Correspondence to Qiang Wei  (魏强).

Ethics declarations

Rongkuan MA, Hao ZHENG, Jingyi WANG, Mufeng WANG, Qiang WEI, and Qingxian WANG declare that they have no conflict of interest.

Additional information

Project supported by the National Natural Science Foundation of China (No. 61833015)

Supplementary materials for

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ma, R., Zheng, H., Wang, J. et al. Automatic protocol reverse engineering for industrial control systems with dynamic taint analysis. Front Inform Technol Electron Eng 23, 351–360 (2022). https://doi.org/10.1631/FITEE.2000709

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1631/FITEE.2000709

Key words

关键词

CLC number

Navigation