Machine Learning Approaches to Malicious PowerShell Scripts Detection and Feature Combination Analysis

被引:1
|
作者
Hung, Hsiang-Hua [1 ]
Chen, Jiann-Liang [1 ]
Ma, Yi-Wei [1 ]
机构
[1] Natl Taiwan Univ Sci & Technol, Dept Elect Engn, Taipei, Taiwan
来源
JOURNAL OF INTERNET TECHNOLOGY | 2024年 / 25卷 / 01期
关键词
Machine learning; XGBoost; PowerShell; Malicious scripts; Behavioral features analysis;
D O I
10.53106/160792642024012501014
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
With advances in communication technology, modern society relies more than ever on the Internet and various userfriendly digital tools. It provides access to and enables the manipulation of files, trips, and the Windows API. Attackers frequently use various obfuscation techniques PowerShell scripts to avoid detection by anti -virus software. Their doing so can significantly reduce the readability of the script. This work statically analyzes PowerShell scripts. Thirty-three features that were based on the script's keywords, format, and string combinations were used herein to determine the behavioral intent of the script. Ones are characteristicbased features that are obtained by calculation; the others are behavior -based features that determine the execution function of behavior using keywords and instructions. Behavior -based features can be divided into positive behavior -based features, neutral behavior -based features, and negative behaviorbased features. These three types of features are enhanced by observing samples and adding keywords. The other type of characteristic -based feature is introduced into the formula from other studies in this work. The XGBoost model was used to evaluate the importance of the features that are proposed in this study and to identify the combination of features that contributed most to the detection of PowerShell scripts. The final model with the combined features is found to exhibit the best performance. The model has 99.27% accuracy when applied to the validation dataset. The results clearly indicate that the proposed malicious PowerShell script detection model outperforms previously developed models.
引用
收藏
页码:167 / 173
页数:7
相关论文
共 50 条
  • [1] Evaluations of AI-based malicious PowerShell detection with feature optimizations
    Song, Jihyeon
    Kim, Jungtae
    Choi, Sunoh
    Kim, Jonghyun
    Kim, Ikkyun
    ETRI JOURNAL, 2021, 43 (03) : 549 - 560
  • [2] Evaluating the Possibility of Evasion Attacks to Machine Learning-Based Models for Malicious PowerShell Detection
    Mezawa, Yuki
    Mimura, Mamoru
    INFORMATION SECURITY PRACTICE AND EXPERIENCE, ISPEC 2022, 2022, 13620 : 252 - 267
  • [3] A Review on Machine Learning Approaches for Network Malicious Behavior Detection in Emerging Technologies
    Rabbani, Mahdi
    Wang, Yongli
    Khoshkangini, Reza
    Jelodar, Hamed
    Zhao, Ruxin
    Bagheri Baba Ahmadi, Sajjad
    Ayobi, Seyedvalyallah
    ENTROPY, 2021, 23 (05)
  • [4] Machine learning for encrypted malicious traffic detection: Approaches, datasets and comparative study
    Wang, Zihao
    Fok, Kar Wai
    Thing, Vrizlynn L. L.
    COMPUTERS & SECURITY, 2022, 113
  • [5] Feature mining for encrypted malicious traffic detection with deep learning and other machine learning algorithms
    Wang, Zihao
    Thing, Vrizlynn L. L.
    COMPUTERS & SECURITY, 2023, 128
  • [6] A MACHINE LEARNING APPROACH TO THE DETECTION AND ANALYSIS OF ANDROID MALICIOUS APPS
    Shibija, K.
    Raymond, Joseph, V
    2018 INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATION AND INFORMATICS (ICCCI), 2018,
  • [7] An Effective Feature Selection Algorithm for Machine Learning-based Malicious Traffic Detection
    Fei, Chao
    Xia, Nian
    Tsai, Pang-Wei
    Lu, Yang
    Pan, Xiaonan
    Gong, Junli
    2024 19TH ASIA JOINT CONFERENCE ON INFORMATION SECURITY, ASIAJCIS 2024, 2024, : 91 - 98
  • [8] Analysis of machine learning approaches to packing detection
    Van Ouytsel, Charles-Henry Bertrand
    Dam, Khanh Huu The
    Legay, Axel
    COMPUTERS & SECURITY, 2024, 136
  • [9] Structural Analysis of URL For Malicious URL Detection Using Machine Learning
    Raja, A. Saleem
    Peerbasha, S.
    Iqbal, Y. Mohammed
    Sundarvadivazhagan, B.
    Surputheen, M. Mohamed
    JOURNAL OF ADVANCED APPLIED SCIENTIFIC RESEARCH, 2023, 5 (04): : 28 - 41
  • [10] Detection of malicious URLs using machine learning
    Reyes-Dorta, Nuria
    Caballero-Gil, Pino
    Rosa-Remedios, Carlos
    WIRELESS NETWORKS, 2024, 30 (09) : 7543 - 7560