Abstract

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.

Highlights

  • Machine-generated messages are automatically generated by a computer process, application, or other mechanism without the active intervention of a human

  • We propose a new Machine Language Processing (MLP) approach, called P-gram, designed for the clustering of machine-generated messages

  • P-GRAM CLUSTERING we introduce our clustering method, P-gram, for machine-generated messages

Read more

Summary

Introduction

Machine-generated messages are automatically generated by a computer process, application, or other mechanism without the active intervention of a human. IT systems generate highly structured messages and store them in log files. These log files are based on scripts and are crucial for system security audits. IT systems generate and exchange formatted messages with each other according to certain communication protocols. These messages follow some defined formats, i.e., specific sequences of fixed keywords interleaved with dynamic data fields (the ‘‘payload’’). One application system or communication protocol often

Objectives
Results
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call