journal article·2021Open access

An Effective Memory Analysis for Malware Detection and Classification

Rami Sihwail, Khairuddin Omar, Khairul Akram Zainol Ariffin

Computers, Materials & Continua· Volume 67· Issue 2

Abstract

The study of malware behaviors, over the last years, has received tremendous attention from researchers for the purpose of reducing malware risks. Most of the investigating experiments are performed using either static analysis or behavior analysis. However, recent studies have shown that both analyses are vulnerable to modern malware files that use several techniques to avoid analysis and detection. Therefore, extracted features could be meaningless and a distraction for malware analysts. However, the volatile memory can expose useful information about malware behaviors and characteristics. In addition, memory analysis is capable of detecting unconventional malware, such as in-memory and fileless malware. However, memory features have not been fully utilized yet. Therefore, this work aims to present a new malware detection and classification approach that extracts memory-based features from memory images using memory forensic techniques. The extracted features can expose the malware’s real behaviors, such as interacting with the operating system, DLL and process injection, communicating with command and control site, and requesting higher privileges to perform specific tasks. We also applied feature engineering and converted the features to binary vectors before training and testing the classifiers. The experiments show that the proposed approach has a high classification accuracy rate of 98.5% and a false positive rate as low as 1.24% using the SVM classifier. The efficiency of the approach has been evaluated by comparing it with other related works. Also, a new memory-based dataset consisting of 2502 malware files and 966 benign samples forming 8898 features and belonging to six memory types has been created and published online for research purposes.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Advanced Malware Detection Techniques · Digital and Cyber Forensics · Network Security and Intrusion Detection

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (40)

Show source-provided references
1. AV-Test, “The AV-test security report,” 2020. [Online]. Available: https://www.av-test.org/.
2. A survey on malware analysis techniques: Static, dynamic, hybrid and memory analysis10.18517/ijaseit.8.4-2.6827 ↗
3. Khanan · Smart Technologies and Innovation for a Sustainable Future, Advances in Science, Technology & Innovation · 2019 · 5510.1007/978-3-030-01659-3_8 ↗
4. A survey on malware detection using data mining techniques
5. Secure knowledge and cluster-based intrusion detection mechanism for smart wireless sensor networks10.1109/ACCESS.2017.2770020 ↗
6. D. Sgandurra, L. Muñoz-González, R. Mohsen and E. C. Lupu, “Automated dynamic analysis of ransomware: Benefits, limitations and use for detection,” arXiv preprint arXiv: 1609.03020, 2016.
7. A. Afianian, S. Niksefat, B. Sadeghiyan and D. Baptiste, “Malware dynamic analysis evasion techniques: A survey,” arXiv preprint arXiv: 1811.01190, 2018.
8. JSLess: A tale of a fileless javascript memory-resident malware
9. Rathnayaka · 2017 IEEE Trustcom/BigDataSE/ICESS · 2017 · 114510.1109/Trustcom/BigDataSE/ICESS.2017.365 ↗
10. Mosli · IFIP Advances in Information and Communication Technology · 2017 · 18710.1007/978-3-319-67208-3_11 ↗
11. A malware classification method based on memory dump grayscale image10.1016/j.diin.2018.09.006 ↗
12. Memory forensics using virtual machine introspection for malware analysis
13. Memory forensics: The path forward10.1016/j.diin.2016.12.004 ↗
14. K. W. P. Choi, “Sang-Hoon and Yu-Seong Kim, Toward semantic gap-less memory dump for malware analysis,” in In ICNGC Conference, Bangkok, Thailand, 2016.
15. Survey on the usage of machine learning techniques for malware analysis10.1016/j.cose.2018.11.001 ↗
16. Using feature generation from API calls for malware detection10.1016/S1361-3723(14)70531-7 ↗
17. A shellcode detection method based on full native API sequence and support vector machine10.1088/1757-899X/242/1/012124 ↗
18. Visual malware detection using local malicious pattern10.1007/s11416-018-0314-1 ↗
19. Malware behaviour visualization
20. An OpCODE sequences analysis method for unknown malware detection
21. Adversarial malware binaries: Evading deep learning for malware detection in executables
22. Unveiling Zeus: Automated classification of malware samples
23. A behavior-based malware variant classification technique10.7763/IJIET.2016.V6.702 ↗
24. Behavior-based features model for malware detection10.1007/s11416-015-0244-0 ↗
25. A malware detection method based on family behavior graph10.1016/j.cose.2017.10.007 ↗
26. T. Teller and A. Hayon, “Enhancing automated malware analysis machines with memory analysis report,” Black Hat USA, 2014. [Online]. Available: https://www.blackhat.com/docs/us-14/materials/arsenal/us-14-Teller-Automated-Memory-Analysis-WP.pdf.
27. A survey of main memory acquisition and analysis techniques for the windows operating system10.1016/j.diin.2011.06.002 ↗
28. Unveiling the kernel: Rootkit discovery using selective automated kernel memory differencing
29. Aghaeikheirabady · International Congress on Technology, Communication and Knowledge · 2014 · 1
30. Automated malware detection using artifacts in forensic memory images
31. Detective: Automatically identify and analyze malware processes in forensic scenarios via DLLs
32. Malware detection approach based on artifacts in memory image and dynamic analysis10.3390/app9183680 ↗
33. Classification of malware based on integrated static and dynamic features10.1016/j.jnca.2012.10.004 ↗
34. A brief survey on rootkit techniques in malicious codes
35. A. Hosseini, “Ten process injection techniques: A technical survey of common and trending process injection techniques,” 2017. [Online]. Available: https://www.endgame.com/blog/technical-blog/ten-proce-ss-injection-techniques-technical-survey-common-and-trending-process.
36. Ligh · The Art of Memory Forensics: Detecting Malware and Threats in Windows, Linux, and MAC Memory · 2014 · 1 · 149
37. The VAD tree: A process-eye view of physical memory10.1016/j.diin.2007.06.008 ↗
38. R. Tian, “An integrated malware detection and classification system,” Ph. D. dissertation. Deakin University, Australia, 2011.
39. A review on feature selection in mobile malware detection10.1016/j.diin.2015.02.001 ↗
40. Improved Harris hawks optimization using elite opposition-based learning and novel search mechanism for feature selection10.1109/ACCESS.2020.3006473 ↗