journal article·2024-10-19Open access

Adaptive Ransomware Detection Using Similarity-Preserving Hashing

Anas AlMajali, Adham Elmosalamy, Omar Safwat, Hassan Abouelela

Applied Sciences· Volume 14· Issue 20

Abstract

Crypto-ransomware is a type of ransomware that encrypts the victim’s files and demands a ransom to return the files. This type of attack has been on the rise in recent years, as it offers a lucrative business model for threat actors. Research into developing solutions for detecting and halting the spread of ransomware is vast, and it uses different approaches. Some approaches rely on analyzing system calls made via processes to detect malicious behavior, while other methods focus on the affected files by creating a file integrity monitor to detect rapid and abnormal changes in file hashes. In this paper, we present a novel approach that utilizes hashing and can accommodate large files and dynamically take into account the amount of change within each file. Mainly, our approach relies on dividing each file into partitions and then performing selective hashing on those partitions to rapidly detect encrypted partitions due to ransomware. Our new approach addresses the main weakness of a previous implementation that relies on hashing files, not file partitions. This new implementation strikes a balance between the detection time and false positives based on the partition size and the threshold of partition changes before issuing an alert.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Malware Detection Techniques · Network Security and Intrusion Detection · Spam and Phishing Detection

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

Affiliations

Department of Computer Engineering, Faculty of Engineering, The Hashemite University, Zarqa 13133, Jordan

Department of Computer Science and Engineering, American University of Sharjah, Sharjah 26666, United Arab Emirates

Funding

American University of Sharjah

References (29)

Show source-provided references
1. Anghel, M., and Racautanu, A. (2019). A note on different types of ransomware attacks. Cryptol. Eprint Arch., in press.
2. Lessing, M. (2024, August 03). Case Study: WannaCry Ransomware. Available online: https://www.sdxcentral.com/security/definitions/what-is-ransomware/case-study-wannacry-ransomware/.
3. A survey of malware detection using deep learning
4. Malware detection with artificial intelligence: A systematic literature review10.1145/3638552 ↗
5. Ransomware early detection: A survey10.1016/j.comnet.2023.110138 ↗
6. A Comprehensive Review on Malware Detection Approaches10.1109/ACCESS.2019.2963724 ↗
7. Arora, P., Gupta, R., Malik, N., and Kumar, A. (2023, January 23–25). Malware Analysis Types & Techniques: A Survey. Proceedings of the 5th International Conference on Information Management & Machine Intelligence (ICIMMI ’23), Jaipur, India.10.1145/3647444.3652439 ↗
8. Patil, J. (2024). Malware Detection of Portable Executable Using Machine Learning and Neural Networks. Int. J. Res. Appl. Sci. Eng. Technol., 12.10.22214/ijraset.2024.57836 ↗
9. A novel deep learning-based approach for malware detection10.1016/j.engappai.2023.106030 ↗
10. Bazrafshan, Z., Hashemi, H., Hazrati Fard, S.M., and Hamzeh, A. (2013, January 28–30). A survey on heuristic malware detection techniques. Proceedings of the IKT 2013—2013 5th Conference on Information and Knowledge Technology, Shiraz, Iran.10.1109/IKT.2013.6620049 ↗
11. Manavi, F., and Hamzeh, A. (2019, January 13–17). A new approach for malware detection based on evolutionary algorithm. Proceedings of the Genetic and Evolutionary Computation Conference Companion (GECCO ’19), Prague, Czech Republic.10.1145/3319619.3326811 ↗
12. Katsikas, S., Abie, H., Ranise, S., Verderame, L., Cambiaso, E., Ugarelli, R., Praça, I., Li, W., Meng, W., and Furnell, S. (2024). User Behavior Analysis for Malware Detection. Computer Security, Proceedings of the ESORICS 2023 International Workshops, The Hague, The Netherlands, 25–29 September 2023, Springer.10.1007/978-3-031-54129-2 ↗
13. Kaya, Y., Chen, Y., Saha, S., Pierazzi, F., Cavallaro, L., Wagner, D., and Dumitras, T. (2024). Demystifying Behavior-Based Malware Detection at Endpoints. arXiv.
14. Aslan, O., and Samet, R. (November, January 30). Investigation of Possibilities to Detect Malware Using Existing Tools. Proceedings of the 2017 IEEE/ACS 14th International Conference on Computer Systems and Applications (AICCSA), Hammamet, Tunisia.10.1109/AICCSA.2017.24 ↗
15. AlMajali, A., Qaffaf, A., Alkayid, N., and Wadhawan, Y. (2022, January 23–25). Crypto-ransomware detection using selective hashing. Proceedings of the 2022 International Conference on Electrical and Computing Technologies and Applications (ICECTA), Ras Al Khaimah, United Arab Emirates.10.1109/ICECTA57148.2022.9990424 ↗
16. Al-Muntaser, B., Mohamed, M.A., and Tuama, A.Y. (2023). Real-Time Intrusion Detection of Insider Threats in Industrial Control System Workstations Through File Integrity Monitoring. Int. J. Adv. Comput. Sci. Appl., 14.10.14569/IJACSA.2023.0140636 ↗
17. Oujezsky, V., Novak, P., Horvath, T., Holik, M., and Jurcik, M. (2023, January 12–14). Data Backup System with Integrated Active Protection Against Ransomware. Proceedings of the 2023 46th International Conference on Telecommunications and Signal Processing (TSP), Prague, Czech Republic.10.1109/TSP59544.2023.10197687 ↗
18. Novak, P., Kaura, P., Oujezsky, V., and Horvath, T. (November, January 30). Ransomware File Detection Using Hashes and Machine Learning. Proceedings of the 2023 15th International Congress on Ultra Modern Telecommunications and Control Systems and Workshops (ICUMT), Ghent, Belgium.10.1109/ICUMT61075.2023.10333283 ↗
19. Naik, N., Jenkins, P., Gillett, J., Mouratidis, H., Naik, K., and Song, J. (2019, January 6–9). Lockout-Tagout Ransomware: A Detection Method for Ransomware using Fuzzy Hashing and Clustering. Proceedings of the 2019 IEEE Symposium Series on Computational Intelligence (SSCI), Xiamen, China.10.1109/SSCI44817.2019.9003148 ↗
20. Behavior-based ransomware classification: A particle swarm optimization wrapper-based approach for feature selection10.1016/j.asoc.2022.108744 ↗
21. Kang, Q., and Gu, Y. (2023). Enhancing Ransomware Detection: A Windows API Min Max Relevance Refinement Approach. preprint.10.20944/preprints202311.1004.v1 ↗
22. Early detection of crypto-ransomware using pre-encryption detection algorithm10.1016/j.jksuci.2020.06.012 ↗
23. Machine Learning Based File Entropy Analysis for Ransomware Detection in Backup Systems10.1109/ACCESS.2019.2931136 ↗
24. Douze, M., Guzhva, A., Deng, C., Johnson, J., Szilvasy, G., Mazaré, P.E., Lomeli, M., Hosseini, L., and Jégou, H. (2024). The Faiss library. arXiv.10.1109/TBDATA.2025.3618474 ↗
25. Gedeon, T., Wong, K.W., and Lee, M. (2019). The Inadequacy of Entropy-Based Ransomware Detection. Neural Information Processing, Proceedings of the 26th International Conference, ICONIP 2019, Sydney, NSW, Australia, 12–15 December 2019, Springer.10.1007/978-3-030-36802-9 ↗
26. O’Connor, J., Aumasson, J.P., Neves, S., and Wilcox-O’Hearn, Z. (2024, August 04). BLAKE3: One Function, Fast Everywhere; Technical Report, BLAKE3 Team, Version 20211102173700; Technical Report. Available online: https://github.com/BLAKE3-team/BLAKE3-specs/blob/master/blake3.pdf.
27. Analysis of Encryption Key Generation in Modern Crypto Ransomware
28. Davis, S. (2024, August 03). Gone in 52 Seconds…and 42 Minutes: A Comparative Analysis of Ransomware Encryption Speed. Available online: https://www.splunk.com/en_us/blog/security/gone-in-52-seconds-and-42-minutes-a-comparative-analysis-of-ransomware-encryption-speed.html.
29. Bringing science to digital forensics with standardized forensic corpora10.1016/j.diin.2009.06.016 ↗