PyComm: Malicious commands detection model for python']python scripts

被引:1
|
作者
Zhou, Anmin [1 ]
Huang, Tianyi [1 ]
Huang, Cheng [1 ]
Li, Dunhan [1 ]
Song, Chuangchuang [2 ]
机构
[1] Sichuan Univ, Sch Cyber Sci & Engn, Chengdu 610207, Peoples R China
[2] China Informat Technol Secur Evaluat Ctr, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
Cyber security; malicious script detection; malicious command; machine learning; static analysis;
D O I
10.3233/JIFS-211557
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Python is a concise language which can be used to build lightweight tools or dynamic object-orientated applications. The various attributes of Python have made it attractive to numerous malware authors. Attackers often embed malicious shell commands into Python scripts for illegal operations. However, traditional static analysis methods are not feasible to detect this kind of attack because they focus on common features and failure in finding those malicious commands. On the other hand, dynamic analysis is not optimal in this case for its time-consuming and inefficient. In this paper, we propose PyComm, a model for detecting malicious commands in Python scripts with multidimensional features based on machine learning, which considers both 12 statistical features and string sequences of Python source code. Meanwhile, three comparison experiments are designed to evaluate the validity of proposed method. Experimental results show that presented model has achieved an excellent performance based on those practical features and random forest (RF) algorithm, obtained an accuracy of 0.955 with a recall of 0.943.
引用
收藏
页码:2261 / 2273
页数:13
相关论文
共 40 条
  • [21] COF-RF-Tool: A Python']Python software for predicting the coefficient of friction of open-cell AlSi10Mg-SiC composites using Random Forest model
    Kolev, Mihail
    SOFTWARE IMPACTS, 2023, 17
  • [22] A detection model of malicious Android applications based on Naive Bayes
    Wang, Chundong
    Zhao, Yi
    Mo, Xiuliang
    INTERNATIONAL JOURNAL OF EMBEDDED SYSTEMS, 2019, 11 (04) : 508 - 515
  • [23] Federated learning secure model: A framework for malicious clients detection
    Kolasa, Dominik
    Pilch, Kinga
    Mazurczyk, Wojciech
    SOFTWAREX, 2024, 27
  • [24] Malicious Java']JavaScript Detection Based on Bidirectional LSTM Model
    Song, Xuyan
    Chen, Chen
    Cui, Baojiang
    Fu, Junsong
    APPLIED SCIENCES-BASEL, 2020, 10 (10):
  • [25] A hybrid quantum ensemble learning model for malicious code detection
    Xiong, Qibing
    Ding, Xiaodong
    Fei, Yangyang
    Zhou, Xin
    Du, Qiming
    Feng, Congcong
    Shan, Zheng
    QUANTUM SCIENCE AND TECHNOLOGY, 2024, 9 (03):
  • [26] Highdicom: a Python Library for Standardized Encoding of Image Annotations and Machine Learning Model Outputs in Pathology and Radiology
    Christopher P. Bridge
    Chris Gorman
    Steven Pieper
    Sean W. Doyle
    Jochen K. Lennerz
    Jayashree Kalpathy-Cramer
    David A. Clunie
    Andriy Y. Fedorov
    Markus D. Herrmann
    Journal of Digital Imaging, 2022, 35 : 1719 - 1737
  • [27] MALICIOUS URL DETECTION USING MULTI-LAYER FILTERING MODEL
    Kumar, Rajesh
    Zhang, Xiaosong
    Tariq, Hussain Ahmad
    Khan, Riaz Ullah
    2017 14TH INTERNATIONAL COMPUTER CONFERENCE ON WAVELET ACTIVE MEDIA TECHNOLOGY AND INFORMATION PROCESSING (ICCWAMTIP), 2017, : 97 - 100
  • [28] Automatic Detection of Malicious URLs using Fine Tuned Classification Model
    Ding, Chiyu
    2020 5TH INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE, COMPUTER TECHNOLOGY AND TRANSPORTATION (ISCTT 2020), 2020, : 302 - 320
  • [29] A Dynamic and Static Combined Android Malicious Code Detection Model based on SVM
    Du, Jinran
    Chen, Huajun
    Zhong, Weijie
    Liu, Zhen
    Xu, Aidong
    2018 5TH INTERNATIONAL CONFERENCE ON SYSTEMS AND INFORMATICS (ICSAI), 2018, : 801 - 806
  • [30] An Improved Ensemble Deep Learning Model Based on CNN for Malicious Website Detection
    Do, Nguyet Quang
    Selamat, Ali
    Lim, Kok Cheng
    Krejcar, Ondrej
    ADVANCES AND TRENDS IN ARTIFICIAL INTELLIGENCE: THEORY AND PRACTICES IN ARTIFICIAL INTELLIGENCE, 2022, 13343 : 497 - 504