National Natural Science Foundation of China (No.61802081);Science and Technology Fund of Guizhou Province (黔科合基础[2017]1051, 黔科合重大专项字[2018]3001);Open Project of Guizhou Provincial Key Laboratory of Public Big Data (No.2017BDKFJJ025)
CHEN Chang-qing, GUO Chun, CUI Yun-he, et al. Ransomware Early Detection Method Based on Short API Sequence[J]. Acta Electronica Sinica, 2021, 49(3): 586-595.
DOI:
CHEN Chang-qing, GUO Chun, CUI Yun-he, et al. Ransomware Early Detection Method Based on Short API Sequence[J]. Acta Electronica Sinica, 2021, 49(3): 586-595. DOI: 10.12263/DZXB.20200623.
Ransomware Early Detection Method Based on Short API Sequence
传统的勒索软件动态检测方法需要收集较长时间的软件行为,难以满足勒索软件及时检测的需求.本文从勒索软件及时检测的角度出发,提出了"勒索软件检测关键时间段(Critical Time Periods for Ransomware Detection,CTP)"的概念,并基于CTP的要求提出了一种基于应用程序编程接口(Application Programming Interface,API)短序列的勒索软件早期检测方法(Ransomware Early Detection Method based on short API Sequence,REDMS).REDMS以软件在CTP内执行时所调用的API短序列为分析对象,通过
Traditional ransomware dynamic detection methods need to collect software behaviors for a long time
which is difficult to meet the need for timely detection of ransomware. From the perspective of the timely detection of ransomware
this article proposes a concept named "Critical Time Periods for Ransomware Detection (CTP)"
and proposes an early ransomware detection method based on short application programming interface (API) sequence (REDMS) to fit the requirement of CTP. REDMS takes the short API sequences that are obtained by software running during the CTP as the analysis o
bject
and calculates these short API sequences through the
n
-gram model and the term frequency-inverse document frequency algorithm to generate the feature vectors
and then uses a machine-learning algorithm to build a detection model for detecting ransomware. The experimental results show that when the first 7 seconds of API collection period and random forest algorithm are used
REDMS achieves 98.2% and 96.7% accuracy respectively for detecting the known and unknown ransomware samples.