Deakin University
Browse
farahmandpour-pgrampositional-2019.pdf (1.53 MB)

P-gram: positional N-gram for the clustering of machine-generated messages

Download (1.53 MB)
journal contribution
posted on 2019-01-01, 00:00 authored by Jiaojiao Jiang, S Versteeg, J Han, M A Hossain, Jean-Guy SchneiderJean-Guy Schneider, C Leckie, Zeinab Farahmandpour
An IT system generates messages for other systems or users to consume, through direct interaction or as system logs. Automatically identifying the types of these machine-generated messages has many applications, such as intrusion detection and system behavior discovery. Among various heuristic methods for automatically identifying message types, the clustering methods based on keyword extraction have been quite effective. However, these methods still suffer from keyword misidentification problems, i.e., some keyword occurrences are wrongly identified as payload and some strings in the payload are wrongly identified as keyword occurrences, leading to the misidentification of the message types. In this paper, we propose a new machine language processing (MLP) approach, called ${P}$ -gram, specifically designed for identifying keywords in, and subsequently clustering, machine-generated messages. First, we introduce a novel concept and technique, positional ${n}$ -gram, for message keywords extraction. By associating the position as meta-data with each ${n}$ -gram, we can more accurately discern which ${n}$ -grams are keywords of a message and which ${n}$ -grams are parts of the payload information. Then, the positional keywords are used as features to cluster the messages, and an entropy-based positional weighting method is devised to measure the importance or weight of the positional keywords to each message. Finally, a general centroid clustering method, ${K}$ -Medoids, is used to leverage the importance of the keywords and cluster messages into groups reflecting their types. We evaluate our method on a range of machine-generated (text and binary) messages from the real-world systems and show that our method achieves higher accuracy than the current state-of-the-art tools.

History

Journal

IEEE access

Volume

7

Pagination

88504 - 88516

Publisher

Institute of Electrical and Electronics Engineers

Location

Piscataway, N.J.

ISSN

2169-3536

eISSN

2169-3536

Language

eng

Publication classification

C1 Refereed article in a scholarly journal

Copyright notice

2019, IEEE