OLE 파일 분석과 머신러닝을 활용한 악성코드 탐지
OLE File Analysis and Malware Detection using Machine Learning
1
조회
0
다운로드
1
인용
0
참고문헌
키워드
초록
최근 전 세계적으로 사용되는 Microsoft Office 파일에 악성코드를 삽입하는 문서형 악성코드 사례가 증가하고 있다. 문서형 악성코드는 문서 내에 악성코드를 인코딩하여 숨기는 경우가 많기 때문에 백신 프로그램을 쉽게 우회할 수 있다. 이러한 문서형 악성코드를 탐지하기 위해 먼저Microsoft Office 파일의 형식인 OLE(Object Linking and Embedding) 파일의 구조를 분석했다. Microsoft Office에서 지원하는 기능인 VBA(Visual Basic for Applications) 매크로에 외부 프로그램을실행시키는 쉘코드, 외부 URL에서 파일을 다운받는 URL 관련 코드 등 다수의 악성코드가 삽입된것을 확인했다. 문서형 악성코드에서 반복적으로 등장하는 키워드 354개를 선정하였고, 각 키워드가 본문에 등장하는 횟수를 feature 로 정의했다. SVM, naïve Bayes, logistic regression, random forest 알고리즘으로 머신러닝을 수행하였으며, 각각 0.994, 0.659, 0.995, 0.998의 정확도를 보였다.
Abstract
Recently, there have been many reports of document-type malicious code injecting malicious code into Microsoft Office files. Document-type malicious code is often hidden by encoding the malicious code in the document. Therefore, document-type malware can easily bypass anti-virus programs. We found that malicious code was inserted into the Visual Basic for Applications (VBA) macro, a function supported by Microsoft Office. Malicious codes such as shellcodes that run external programs and URL-related codes that download files from external URLs were identified. We selected 354 keywords repeatedly appearing in malicious Microsoft Office files and defined the number of times each keyword appears in the body of the document as a feature. We performed machine learning with SVM, naïve Bayes, logistic regression, and random forest algorithms. As a result, each algorithm showed accuracies of 0.994, 0.659, 0.995, and 0.998, respectively.
참고문헌 (22)
- "In December, HWP OLE-based APT Attack by the Geumseong121" (2020)[URL]
- "Ahnlab Urges Caution against Malicious Code Distributed as Document Files" (2021)[URL]
- "Disguised Document File for Hacking Related to Disaster Aid" (2021)[URL]
- Jafar Alzubi, "Machine Learning from Theory to Algorithms an Overview", Journal of Physics:Conference Series, 1142 (2018)[DOI]
- Batta Mahesh, "Machine Learning Algorithms - A Review", International Journal of Science and Research, 9(1) (2019)[DOI]
- Ah Reum Kang, "Malicious PDF Detection Model against Adversarial Attack Built from Benign PDF Containing Javascript", Applied Sciences, 9(22), pp.4764~ (2019)[DOI]
- Young-Seob Jeong, "Malware Detection of Hangul Word Processor Files Using Spatial Pyramid Average Pooling", Sensors, 20(18), pp.5265~ (2020)[DOI]
- Young-Seob Jeong, "Malware Detection on Byte Streams of Hangul qord Processor Files", Applied Sciences, 9(23), pp.5178~ (2019)[DOI]
- Young-Seob Jeong, "Malware Detection on Byte Streams of PDF Files Using Convolutional Neural Networks", Hindawi Security and Communication Networks (2019)[DOI]
- 조성혜, "MS 오피스 문서 파일 내 비정상 요소 탐지 기법 연구", 정보처리학회논문지. 컴퓨터 및 통신시스템, 6(2), pp.87~94 (2017), 한국정보처리학회[DOI]
- Hong-Koo Kang, "Development of an Automatic Document Malware Analysis System", IT Convergence and Security Lecture Notes in Electrical Engineering, pp.3~11 (2012)
- 송지현, "Evaluations of AI‐based malicious PowerShell detection with feature optimizations", ETRI Journal, 43(3), pp.549~560 (2021), 한국전자통신연구원[DOI]
- Balal Sohail, "Macro based Malware Detection System", Turkish Journal of Computer and Mathematics Education, 12(3), pp.5776~5787 (2021)[DOI]
- Sangwoo Kim, "Obfuscated VBA Macro Detection Using Machine Learning", IEEE, 2018, 490~501
- Mikus, "An Analysis of Disc Carving Techniques", Naval Postgraduate School Monterey CA Dept of Computer Science, ~ (2005)
- 김재협, "Object Classification Method Using Dynamic Random Forests and Genetic Optimization", 한국컴퓨터정보학회논문지, 21(5), pp.79~89 (2016), 한국컴퓨터정보학회
- Ji Hyun Lee, "Multi-Cutting Machine for TJ Coupler Production", Proceedings of the Korean Society of Computer Information Conference, 27(1) (2019)
- 최병하, "모바일 봇넷 탐지를 위한 HMM과 SVM 기법의 비교", 한국컴퓨터정보학회논문지, 19(4), pp.81~90 (2014), 한국컴퓨터정보학회
- Aleksander Kolcz, "Local Sparsity Control for Naive Bayes with Extreme Misclassification Costs", Proceedings of the Eleventh ACM SIGKDD International Conference on Knowledge Discovery in Data Mining, pp.128~137 (2005)
- 안영휘, "A Study on the Development of Product Planning Prediction Model Using Logistic Regression Algorithm", 한국융합학회논문지, 12(9), pp.39~47 (2021), 한국융합학회[DOI]
- 김판준, "랜덤포레스트를 이용한 국내 학술지 논문의 자동분류에 관한 연구", 정보관리학회지, 36(2), pp.57~77 (2019), 한국정보관리학회[DOI]
- 김문권, "다양한 의료 분석 방식을 지원하는 효과적 추론 기법 설계 및 적용 지침", 정보과학회논문지, 42(12), pp.1590~1599 (2015), 한국정보과학회
