{'fraction_non_alphanumeric': 0.016791044776119403, 'fraction_numerical': 0.007462686567164179, 'mean_word_length': 5.172413793103448, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Detecting File Types Using Machine Learning Algorithms

In this study, experiments have been carried out to analyze the file content and classify the type of file using machine learning algorithms. First a new benchmark dataset was created including popular file types used as malicious software. Then the proposed system was trained using different machine learning algorithms. The accuracy and runtime performance comparison of models were evaluated. As a result, the highest accuracy rate was obtained as 97.83% by XGBoost algorithm.