A Semantics Aware Approach to Automated Reverse Engineering Unknown Protocols

被引:0
|
作者
Wang, Yipeng [1 ,3 ]
Yun, Xiaochun [4 ]
Shafiq, M. Zubair [2 ]
Wang, Liyan [2 ]
Liu, Alex X. [2 ]
Zhang, Zhibin [1 ]
Yao, Danfeng [5 ]
Zhang, Yongzheng [6 ]
Guo, Li [6 ]
机构
[1] Chinese Acad Sci, Inst Comp Technol, Beijing, Peoples R China
[2] Michigan State Univ, Dept Comp Sci & Engn, E Lansing, MI 48824 USA
[3] Chinese Acad Sci, Grad Sch, Beijing, Peoples R China
[4] Coordinat Ctr China, Natl Comp Network Emergency Response Tech Team, Beijing, Peoples R China
[5] Virginia Tech, Dept Comp Sci, Blacksburg, VA 24061 USA
[6] Chinese Acad Sci, Inst Informat Engn, Beijing, Peoples R China
来源
2012 20TH IEEE INTERNATIONAL CONFERENCE ON NETWORK PROTOCOLS (ICNP) | 2012年
基金
中国国家自然科学基金;
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Extracting the protocol message format specifications of unknown applications from network traces is important for a variety of applications such as application protocol parsing, vulnerability discovery, and system integration. In this paper, we propose ProDecoder, a network trace based protocol message format inference system that exploits the semantics of protocol messages without the executable code of application protocols. ProDecoder is based on the key insight that the n-grams of protocol traces exhibit highly skewed frequency distribution that can be leveraged for accurate protocol message format inference. In ProDecoder, we first discover the latent relationship among n-grams by first grouping protocol messages with the same semantics and then inferring message formats by keyword based clustering and cluster sequence alignment. We implemented and evaluated ProDecoder to infer message format specifications of SMB (a binary protocol) and SMTP (a textual protocol). Our experimental results show that ProDecoder accurately parses and infers SMB protocol with 100% precision and recall. For SMTP, ProDecoder achieves approximately 95% precision and recall.
引用
收藏
页数:10
相关论文
共 50 条
  • [21] Automated reverse engineering of nonlinear dynamical systems
    Bongard, Josh
    Lipson, Hod
    PROCEEDINGS OF THE NATIONAL ACADEMY OF SCIENCES OF THE UNITED STATES OF AMERICA, 2007, 104 (24) : 9943 - 9948
  • [23] SPFPA: A format parsing approach for unknown security protocols
    Zhu, Yuna
    Han, Jihong
    Yuan, Lin
    Chen, Hantuo
    Fan, Yudan
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2015, 52 (10): : 2200 - 2211
  • [24] Position-based automatic reverse engineering of network protocols
    Luo, Jian-Zhen
    Yu, Shun-Zheng
    JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2013, 36 (03) : 1070 - 1077
  • [25] Automatic Reverse Engineering of Private Flight Control Protocols of UAVs
    Ji, Ran
    Wang, Jian
    Tang, Chaojing
    Li, Ruilin
    SECURITY AND COMMUNICATION NETWORKS, 2017,
  • [26] Knowledge Based Reverse Engineering-An Approach for Reverse Engineering of a Mechanical Part
    Durupt, A.
    Remy, S.
    Ducellier, G.
    JOURNAL OF COMPUTING AND INFORMATION SCIENCE IN ENGINEERING, 2010, 10 (04)
  • [27] Reverse Engineering of Obfuscated Lua Bytecode via Interpreter Semantics Testing
    Luo, Chenke
    Ming, Jiang
    Fu, Jianming
    Peng, Guojun
    Li, Zhetao
    IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY, 2023, 18 : 3891 - 3905
  • [28] Unknown-Aware Hierarchical Object Detection in the Context of Automated Driving
    Zhou, Jingxing
    Wandelburg, Nick
    Beyerer, Juergen
    2023 IEEE 26TH INTERNATIONAL CONFERENCE ON INTELLIGENT TRANSPORTATION SYSTEMS, ITSC, 2023, : 2501 - 2508
  • [29] Using Automated Database Reverse Engineering for Database Integration
    Abbasifard, M. R.
    Rahgozar, M.
    Bayati, A.
    Pournemati, P.
    PROCEEDINGS OF WORLD ACADEMY OF SCIENCE, ENGINEERING AND TECHNOLOGY, VOL 13, 2006, 13 : 338 - +
  • [30] Automated laser scanning system for reverse engineering and inspection
    Son, S
    Park, H
    Lee, KH
    INTERNATIONAL JOURNAL OF MACHINE TOOLS & MANUFACTURE, 2002, 42 (08): : 889 - 897