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

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

Front. Inform. Technol. Electron. Eng ›› 2022, Vol. 23 ›› Issue (3) : 351 -360.

PDF (558KB)
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 +
PDF (558KB)

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 DOI:10.1631/FITEE.2000709

登录浏览全文

4963

注册一个新账户 忘记密码

References

RIGHTS & PERMISSIONS

Zhejiang University Press

AI Summary AI Mindmap
PDF (558KB)

Supplementary files

FITEE-0351-22001-RKM_suppl_2

893

Accesses

0

Citation

Detail

Sections
Recommended

AI思维导图

/