Skip to main navigation Skip to search Skip to main content

Unsupervised binary protocol clustering based on maximum sequential patterns

  • Harbin Institute of Technology
  • Science and Technology on Communication Networks Laboratory
  • School of Electrical Engineering and Automation, Harbin Institute of Technology

Research output: Contribution to journalArticlepeer-review

Abstract

With the rapid development of the Internet, a large number of private protocols emerge on the network. However, some of them are constructed by attackers to avoid being analyzed, posing a threat to computer network security. The blockchain uses the P2P protocol to implement various functions across the network. Furthermore, the P2P protocol format of blockchain may differ from the standard format specification, which leads to sniffing tools such as Wireshark and Fiddler not being able to recognize them. Therefore, the ability to distinguish different types of unknown network protocols is vital for network security. In this paper, we propose an unsupervised clustering algorithm based on maximum frequent sequences for binary protocols, which can distinguish various unknown protocols to provide support for analyzing unknown protocol formats.We mine the maximum frequent sequences of protocolmessage sets in bytes. Andwe calculate the fuzzymembership of the protocolmessage to each maximum frequent sequence, which is based on fuzzy set theory. Then we construct the fuzzy membership vector for each protocol message. Finally, we adopt K-means++ to split different types of protocol messages into several clusters and evaluate the performance by calculating homogeneity, integrity, and Fowlkes andMallows Index (FMI). Besides, the clustering algorithms based onNeedleman-Wunsch and the fixed-length prefix are compared with the algorithm presented in this paper. Compared with these traditional clustering methods, we demonstrate a certain improvement in the clustering performance of our work.

Original languageEnglish
Pages (from-to)483-498
Number of pages16
JournalCMES - Computer Modeling in Engineering and Sciences
Volume130
Issue number1
DOIs
StatePublished - 2022
Externally publishedYes

Keywords

  • Binary protocol
  • Blockchain
  • Maximum frequent sequence
  • Protocol message clustering
  • Protocol reverse engineering

Fingerprint

Dive into the research topics of 'Unsupervised binary protocol clustering based on maximum sequential patterns'. Together they form a unique fingerprint.

Cite this