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 条
  • [21] Adopting Machine Learning to Support the Detection of Malicious Domain Names
    Magalhaes, Fernanda
    Magalhaes, Joao Paulo
    2020 7TH INTERNATIONAL CONFERENCE ON INTERNET OF THINGS: SYSTEMS, MANAGEMENT AND SECURITY (IOTSMS), 2020,
  • [22] MalDC: Malicious Software Detection and Classification using Machine Learning
    Moon, Jaewoong
    Kim, Subin
    Jangyong, Park
    Lee, Jieun
    Kim, Kyungshin
    Song, Jaeseung
    KSII TRANSACTIONS ON INTERNET AND INFORMATION SYSTEMS, 2022, 16 (05): : 1466 - 1488
  • [23] Machine Learning-Based Malicious Application Detection of Android
    Wei, Linfeng
    Luo, Weiqi
    Weng, Jian
    Zhong, Yanjun
    zhang, Xiaoqian
    Yan, Zheng
    IEEE ACCESS, 2017, 5 : 25591 - 25601
  • [24] A Heterogeneous Machine Learning Ensemble Framework for Malicious Webpage Detection
    Shin, Sam-Shin
    Ji, Seung-Goo
    Hong, Sung-Sam
    APPLIED SCIENCES-BASEL, 2022, 12 (23):
  • [25] Detection of Encrypted Malicious Network Traffic using Machine Learning
    De Lucia, Michael J.
    Cotton, Chase
    MILCOM 2019 - 2019 IEEE MILITARY COMMUNICATIONS CONFERENCE (MILCOM), 2019,
  • [26] Malicious url detection using machine learning and ensemble modeling
    Pakhare P.S.
    Krishnan S.
    Charniya N.N.
    Lecture Notes on Data Engineering and Communications Technologies, 2021, 66 : 839 - 850
  • [27] Malicious URL Recognition Based on Multi-feature Fusion and Machine Learning
    Ma, Changyou
    Wu, Aimin
    Ma, Wenzhuo
    Chen, Ke
    Liu, Yun
    Liang, Xiaoning
    2022 41ST CHINESE CONTROL CONFERENCE (CCC), 2022, : 3014 - 3019
  • [28] Combination of Thermal Modelling and Machine Learning Approaches for Fault Detection in Wind Turbine Gearboxes
    Corley, Becky
    Koukoura, Sofia
    Carroll, James
    McDonald, Alasdair
    ENERGIES, 2021, 14 (05)
  • [29] Curated Datasets and Feature Analysis for Phishing Email Detection with Machine Learning
    Champa, Arifa I.
    Rabbi, Md Fazle
    Zibran, Minhaz F.
    2024 IEEE 3RD INTERNATIONAL CONFERENCE ON COMPUTING AND MACHINE INTELLIGENCE, ICMI 2024, 2024,
  • [30] Feature Selection and Machine Learning Approaches for Detecting Sarcopenia Through Predictive Modeling
    Tukhtaev, Akhrorbek
    Turimov, Dilmurod
    Kim, Jiyoun
    Kim, Wooseong
    MATHEMATICS, 2025, 13 (01)