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

Rongkuan MA, Hao ZHENG, Jingyi WANG, Mufeng WANG, Qiang WEI, Qingxian WANG

PDF(558 KB)
PDF(558 KB)
Front. Inform. Technol. Electron. Eng ›› 2022, Vol. 23 ›› Issue (3) : 351-360. DOI: 10.1631/FITEE.2000709
Orginal Article
Orginal Article

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

Author information +
History +

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

Keywords

Industrial control system (ICS) / ICS protocol reverse engineering / Dynamic taint analysis / Protocol format

Cite this article

Download citation ▾
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://doi.org/10.1631/FITEE.2000709

RIGHTS & PERMISSIONS

2022 Zhejiang University Press
PDF(558 KB)

Accesses

Citations

Detail

Sections
Recommended

/