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 条
  • [31] Automated Defect Inspection in Reverse Engineering of Integrated Circuits
    Bette, Ann-Christin
    Brus, Patrick
    Balazs, Gabor
    Ludwig, Matthias
    Knoll, Alois
    2022 IEEE WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV 2022), 2022, : 1809 - 1818
  • [32] autoMPI: Automated Multiple Perspective Attack Investigation With Semantics Aware Execution Partitioning
    Alhanahnah, Mohannad
    Ma, Shiqing
    Gehani, Ashish
    Ciocarlie, Gabriela F.
    Yegneswaran, Vinod
    Jha, Somesh
    Zhang, Xiangyu
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (04) : 2761 - 2775
  • [33] An Approach for Teaching Software Engineering through Reverse Engineering
    Costa-Soria, Cristobal
    Llavador, Manuel
    del Carmen Penades, Maria
    2009 EAEEIE ANNUAL CONFERENCE, 2009, : 227 - 232
  • [34] An approach for reverse engineering of design patterns
    Philippow I.
    Streitferdt D.
    Riebisch M.
    Naumann S.
    Software & Systems Modeling, 2005, 4 (1) : 55 - 70
  • [35] A PROACTIVE DYNAMIC REVERSE ENGINEERING APPROACH
    El Ghafari, Ahmad
    THIRD INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND TECHNOLOGY (ICCET 2011), 2011, : 571 - 576
  • [36] A Reverse Engineering Approach of Obfuscated Array
    Ding, Wei
    Gu, ZhiMin
    2016 18TH INTERNATIONAL CONFERENCE ON ADVANCED COMMUNICATIONS TECHNOLOGY (ICACT) - INFORMATION AND COMMUNICATIONS FOR SAFE AND SECURE LIFE, 2016, : 175 - 179
  • [37] A reverse engineering approach to the Weil representation
    Aubert, Anne-Marie
    Przebinda, Tomasz
    CENTRAL EUROPEAN JOURNAL OF MATHEMATICS, 2014, 12 (10): : 1500 - 1585
  • [38] Towards an effective approach for Reverse Engineering
    Garcia, VC
    Lucrédio, D
    do Prado, AF
    Alvaro, A
    de Almeida, ES
    11TH WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS, 2004, : 298 - 299
  • [39] A complementary sensor approach to reverse engineering
    Bradley, C
    Chan, V
    JOURNAL OF MANUFACTURING SCIENCE AND ENGINEERING-TRANSACTIONS OF THE ASME, 2001, 123 (01): : 74 - 82
  • [40] AN APPROACH FOR REVERSE ENGINEERING RELATIONAL DATABASES
    SAUTER, C
    WIRTSCHAFTSINFORMATIK, 1995, 37 (03): : 242 - 250