{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,25]],"date-time":"2026-11-25T22:33:18Z","timestamp":1795645998205,"version":"4.11.3"},"reference-count":48,"publisher":"Springer Science and Business Media LLC","issue":"4","license":[{"start":{"date-parts":[[2021,4,8]],"date-time":"2021-04-08T00:00:00Z","timestamp":1617840000000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2021,4,8]],"date-time":"2021-04-08T00:00:00Z","timestamp":1617840000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100007052","name":"Universit\u00e0 degli Studi di Verona","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100007052","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["J Comput Virol Hack Tech"],"published-print":{"date-parts":[[2021,12]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>In the past few years, malware classification techniques have shifted from shallow traditional machine learning models to deeper neural network architectures. The main benefit of some of these is the ability to work with raw data, guaranteed by their automatic feature extraction capabilities. This results in less technical expertise needed while building the models, thus less initial pre-processing resources. Nevertheless, such advantage comes with its drawbacks, since deep learning models require huge quantities of data in order to generate a model that generalizes well. The amount of data required to train a deep network without overfitting is often unobtainable for malware analysts. We take inspiration from image-based data augmentation techniques and apply a sequence of semantics-preserving syntactic code transformations (obfuscations) to a small dataset of programs to generate a larger dataset. We then design two learning models, a convolutional neural network and a bi-directional long short-term memory, and we train them on images extracted from compiled binaries of the newly generated dataset. Through transfer learning we then take the features learned from the obfuscated binaries and train the models against two state of the art malware datasets, each containing around 10 000 samples. Our models easily achieve up to 98.5% accuracy on the test set, which is on par or better than the present state of the art approaches, thus validating the approach.<\/jats:p>","DOI":"10.1007\/s11416-021-00381-3","type":"journal-article","created":{"date-parts":[[2021,4,8]],"date-time":"2021-04-08T14:03:06Z","timestamp":1617890586000},"page":"279-297","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":50,"title":["Data augmentation and transfer learning to classify malware images in a deep learning context"],"prefix":"10.1007","volume":"17","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6988-1203","authenticated-orcid":false,"given":"Niccol\u00f2","family":"Marastoni","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Roberto","family":"Giacobazzi","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mila","family":"Dalla Preda","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2021,4,8]]},"reference":[{"key":"381_CR1","unstructured":"Andriesse, D., Chen, X., Van Der\u00a0Veen, V., Slowinska, A., Bos, H.: An in-depth analysis of disassembly on full-scale x86\/x64 binaries. In: 25th USENIX Security Symposium (USENIX Security 16), pp. 583\u2013600 (2016)"},{"key":"381_CR2","doi-asserted-by":"crossref","unstructured":"Barak, B., Goldreich, O., Impagliazzo, R., Rudich, S., Sahai, A., Vadhan, S., Yang, K.: On the (im) possibility of obfuscating programs. In: Annual International Cryptology Conference, pp. 1\u201318. Springer (2001)","DOI":"10.1007\/3-540-44647-8_1"},{"key":"381_CR3","unstructured":"Bengio, Y., LeCun, Y., Henderson, D.: Globally trained handwritten word recognizer using spatial representation, convolutional neural networks, and hidden Markov models. In: Advances in Neural Information Processing Systems, pp. 937\u2013944 (1994)"},{"issue":"2","key":"381_CR4","doi-asserted-by":"publisher","first-page":"157","DOI":"10.1109\/72.279181","volume":"5","author":"Y Bengio","year":"1994","unstructured":"Bengio, Y., Simard, P., Frasconi, P.: Learning long-term dependencies with gradient descent is difficult. IEEE Trans. Neural Netw. 5(2), 157\u2013166 (1994)","journal-title":"IEEE Trans. Neural Netw."},{"key":"381_CR5","doi-asserted-by":"crossref","unstructured":"Bhodia, N., Prajapati, P., Di\u00a0Troia, F., Stamp, M.: Transfer learning for image-based malware classification. arXiv preprint arXiv:1903.11551 (2019)","DOI":"10.5220\/0007701407190726"},{"key":"381_CR6","unstructured":"Bradski, G.: The OpenCV Library. Dr. Dobb\u2019s Journal of Software Tools (2000)"},{"key":"381_CR7","doi-asserted-by":"crossref","unstructured":"Canavese, D., Regano, L., Basile, C., Viticchi\u00e9, A.: Estimating software obfuscation potency with artificial neural networks. In: International Workshop on Security and Trust Management, pp. 193\u2013202. Springer (2017)","DOI":"10.1007\/978-3-319-68063-7_13"},{"key":"381_CR8","doi-asserted-by":"crossref","unstructured":"Ceccato, M., Di\u00a0Penta, M., Nagra, J., Falcarin, P., Ricca, F., Torchiano, M., Tonella, P.: The effectiveness of source code obfuscation: an experimental assessment. In: 2009 IEEE 17th International Conference on Program Comprehension, pp. 178\u2013187. IEEE (2009)","DOI":"10.1109\/ICPC.2009.5090041"},{"key":"381_CR9","unstructured":"Chen, L.: Deep transfer learning for static malware classification. arXiv preprint arXiv:1812.07606 (2018)"},{"key":"381_CR10","doi-asserted-by":"crossref","unstructured":"Collberg, C.: The tigress c diversifier\/obfuscator. Retrieved August 14, 2015 (2015)","DOI":"10.32964\/TJ14.8"},{"key":"381_CR11","unstructured":"Collberg, C., Thomborson, C., Low, D.: A taxonomy of obfuscating transformations (1997)"},{"key":"381_CR12","doi-asserted-by":"publisher","first-page":"50","DOI":"10.1016\/j.jpdc.2019.03.010","volume":"129","author":"Z Cui","year":"2019","unstructured":"Cui, Z., Du, L., Wang, P., Cai, X., Zhang, W.: Malicious code detection based on cnns and multi-objective algorithm. J. Parallel Distrib. Comput. 129, 50\u201358 (2019)","journal-title":"J. Parallel Distrib. Comput."},{"key":"381_CR13","doi-asserted-by":"crossref","unstructured":"Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., Fei-Fei, L.: Imagenet: A large-scale hierarchical image database. In: 2009 IEEE Conference on Computer Vision and Pattern Recognition, pp. 248\u2013255. Ieee (2009)","DOI":"10.1109\/CVPR.2009.5206848"},{"key":"381_CR14","doi-asserted-by":"crossref","unstructured":"Deshotels, L., Notani, V., Lakhotia, A.: Droidlegacy: Automated familial classification of android malware. Proceedings of ACM SIGPLAN on Program Protection and Reverse Engineering Workshop 2014, 1\u201312 (2014)","DOI":"10.1145\/2556464.2556467"},{"key":"381_CR15","doi-asserted-by":"crossref","unstructured":"Gibert, D., Mateu, C., Planes, J.: A hierarchical convolutional neural network for malware classification. In: 2019 International Joint Conference on Neural Networks (IJCNN), pp. 1\u20138. IEEE (2019)","DOI":"10.1109\/IJCNN.2019.8852469"},{"key":"381_CR16","doi-asserted-by":"crossref","unstructured":"He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770\u2013778 (2016)","DOI":"10.1109\/CVPR.2016.90"},{"issue":"8","key":"381_CR17","doi-asserted-by":"publisher","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","volume":"9","author":"S Hochreiter","year":"1997","unstructured":"Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735\u20131780 (1997)","journal-title":"Neural Comput."},{"issue":"3","key":"381_CR18","doi-asserted-by":"publisher","first-page":"229","DOI":"10.1007\/s11416-020-00354-y","volume":"16","author":"M Jain","year":"2020","unstructured":"Jain, M., Andreopoulos, W., Stamp, M.: Convolutional neural networks and extreme learning machines for malware classification. J. Comput. Virol. Hacking Tech. 16(3), 229\u2013244 (2020)","journal-title":"J. Comput. Virol. Hacking Tech."},{"key":"381_CR19","doi-asserted-by":"publisher","first-page":"366","DOI":"10.1016\/j.compeleceng.2019.06.014","volume":"77","author":"J Kang","year":"2019","unstructured":"Kang, J., Jang, S., Li, S., Jeong, Y.S., Sung, Y.: Long short-term memory-based malware classification method for information security. Comput. Electr. Eng. 77, 366\u2013375 (2019)","journal-title":"Comput. Electr. Eng."},{"key":"381_CR20","doi-asserted-by":"crossref","unstructured":"Kebede, T.M., Djaneye-Boundjou, O., Narayanan, B.N., Ralescu, A., Kapp, D.: Classification of malware programs using autoencoders based deep learning architecture and its application to the microsoft malware classification challenge (big 2015) dataset. In: 2017 IEEE National Aerospace and Electronics Conference (NAECON), pp. 70\u201375. IEEE (2017)","DOI":"10.1109\/NAECON.2017.8268747"},{"issue":"6","key":"381_CR21","doi-asserted-by":"publisher","first-page":"1153","DOI":"10.1109\/TASSP.1981.1163711","volume":"29","author":"R Keys","year":"1981","unstructured":"Keys, R.: Cubic convolution interpolation for digital image processing. IEEE Trans. Acoust. Speech Signal Process. 29(6), 1153\u20131160 (1981)","journal-title":"IEEE Trans. Acoust. Speech Signal Process."},{"key":"381_CR22","unstructured":"Kuka\u010dka, J., Golkov, V., Cremers, D.: Regularization for deep learning: a taxonomy. arXiv preprint arXiv:1710.10686 (2017)"},{"issue":"1","key":"381_CR23","doi-asserted-by":"publisher","first-page":"98","DOI":"10.1109\/72.554195","volume":"8","author":"S Lawrence","year":"1997","unstructured":"Lawrence, S., Giles, C.L., Tsoi, A.C., Back, A.D.: Face recognition: a convolutional neural-network approach. IEEE Trans. Neural Netw. 8(1), 98\u2013113 (1997)","journal-title":"IEEE Trans. Neural Netw."},{"issue":"11","key":"381_CR24","doi-asserted-by":"publisher","first-page":"2278","DOI":"10.1109\/5.726791","volume":"86","author":"Y LeCun","year":"1998","unstructured":"LeCun, Y., Bottou, L., Bengio, Y., Haffner, P.: Gradient-based learning applied to document recognition. Proc. IEEE 86(11), 2278\u20132324 (1998)","journal-title":"Proc. IEEE"},{"key":"381_CR25","unstructured":"LeCun, Y., Cortes, C., Burges, C.: Mnist handwritten digit database. AT&T Labs [Online]. http:\/\/yann.lecun.com\/exdb\/mnist2 (2010)"},{"key":"381_CR26","doi-asserted-by":"crossref","unstructured":"Marastoni, N., Giacobazzi, R., Dalla\u00a0Preda, M.: A deep learning approach to program similarity. In: Proceedings of the 1st International Workshop on Machine Learning and Software Engineering in Symbiosis, pp. 26\u201335 (2018)","DOI":"10.1145\/3243127.3243131"},{"key":"381_CR27","unstructured":"Marastoni, N.: Niccol\u00f2 Marastoni\u2019s personal website. https:\/\/niccolomarastoni.github.io\/articles.html (2021)"},{"key":"381_CR28","unstructured":"McAfee: McAfee Labs Threats Report 2020. https:\/\/www.mcafee.com\/enterprise\/en-us\/assets\/ reports\/rp-quarterly-threats-nov-2020.pdf (2020)"},{"key":"381_CR29","doi-asserted-by":"publisher","first-page":"102154","DOI":"10.1016\/j.adhoc.2020.102154","volume":"105","author":"H Naeem","year":"2020","unstructured":"Naeem, H., Ullah, F., Naeem, M.R., Khalid, S., Vasan, D., Jabbar, S., Saeed, S.: Malware detection in industrial internet of things based on hybrid image visualization and deep learning model. Ad Hoc Netw. 105, 102154 (2020)","journal-title":"Ad Hoc Netw."},{"key":"381_CR30","doi-asserted-by":"crossref","unstructured":"Nataraj, L., Karthikeyan, S., Jacob, G., Manjunath, B.: Malware images: visualization and automatic classification. In: Proceedings of the 8th International Symposium on Visualization for Cyber Security, p.\u00a04. ACM (2011)","DOI":"10.1145\/2016904.2016908"},{"issue":"5","key":"381_CR31","doi-asserted-by":"publisher","first-page":"41","DOI":"10.1109\/MSP.2011.98","volume":"9","author":"P OKane","year":"2011","unstructured":"OKane, P., Sezer, S., McLaughlin, K.: Obfuscation: the hidden malware. IEEE Secur. Priv. 9(5), 41\u201347 (2011)","journal-title":"IEEE Secur. Priv."},{"key":"381_CR32","doi-asserted-by":"publisher","first-page":"23","DOI":"10.1016\/S0079-6123(06)55002-2","volume":"155","author":"A Oliva","year":"2006","unstructured":"Oliva, A., Torralba, A.: Building the gist of a scene: the role of global image features in recognition. Prog. Brain Res. 155, 23\u201336 (2006)","journal-title":"Prog. Brain Res."},{"key":"381_CR33","unstructured":"O\u2019Malley, T., Bursztein, E., Long, J., Chollet, F., Jin, H., Invernizzi, L., et\u00a0al.: Keras Tuner. https:\/\/github.com\/keras-team\/keras-tuner (2019)"},{"issue":"10","key":"381_CR34","doi-asserted-by":"publisher","first-page":"1345","DOI":"10.1109\/TKDE.2009.191","volume":"22","author":"SJ Pan","year":"2009","unstructured":"Pan, S.J., Yang, Q.: A survey on transfer learning. IEEE Trans. Knowl. Data Eng. 22(10), 1345\u20131359 (2009)","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"381_CR35","unstructured":"Perez, L., Wang, J.: The effectiveness of data augmentation in image classification using deep learning. arXiv preprint arXiv:1712.04621 (2017)"},{"key":"381_CR36","first-page":"584","volume":"91","author":"LY Pratt","year":"1991","unstructured":"Pratt, L.Y., Mostow, J., Kamm, C.A., Kamm, A.A.: Direct transfer of learned information among neural networks. Aaai 91, 584\u2013589 (1991)","journal-title":"Aaai"},{"key":"381_CR37","unstructured":"Programiz: C examples. https:\/\/www.programiz.com\/c-programming\/examples (2020)"},{"issue":"9","key":"381_CR38","doi-asserted-by":"publisher","first-page":"2352","DOI":"10.1162\/neco_a_00990","volume":"29","author":"W Rawat","year":"2017","unstructured":"Rawat, W., Wang, Z.: Deep convolutional neural networks for image classification: a comprehensive review. Neural Comput. 29(9), 2352\u20132449 (2017)","journal-title":"Neural Comput."},{"key":"381_CR39","unstructured":"Reitermanova, Z.: Data splitting. In: WDS 10, 31\u201336 (2010)"},{"key":"381_CR40","doi-asserted-by":"crossref","unstructured":"Rezende, E., Ruppert, G., Carvalho, T., Ramos, F., De\u00a0Geus, P.: Malicious software classification using transfer learning of resnet-50 deep neural network. In: 2017 16th IEEE International Conference on Machine Learning and Applications (ICMLA), pp. 1011\u20131014. IEEE (2017)","DOI":"10.1109\/ICMLA.2017.00-19"},{"key":"381_CR41","unstructured":"Ronen, R., Radu, M., Feuerstein, C., Yom-Tov, E., Ahmadi, M.: Microsoft malware classification challenge. arXiv preprint arXiv:1802.10135 (2018)"},{"issue":"1","key":"381_CR42","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/2886012","volume":"49","author":"S Schrittwieser","year":"2016","unstructured":"Schrittwieser, S., Katzenbeisser, S., Kinder, J., Merzdovnik, G., Weippl, E.: Protecting software through obfuscation: Can it keep pace with progress in code analysis? ACM Comput. Surv. (CSUR) 49(1), 1\u201337 (2016)","journal-title":"ACM Comput. Surv. (CSUR)"},{"issue":"1","key":"381_CR43","doi-asserted-by":"publisher","first-page":"60","DOI":"10.1186\/s40537-019-0197-0","volume":"6","author":"C Shorten","year":"2019","unstructured":"Shorten, C., Khoshgoftaar, T.M.: A survey on image data augmentation for deep learning. J. Big Data 6(1), 60 (2019)","journal-title":"J. Big Data"},{"key":"381_CR44","doi-asserted-by":"publisher","first-page":"107138","DOI":"10.1016\/j.comnet.2020.107138","volume":"171","author":"D Vasan","year":"2020","unstructured":"Vasan, D., Alazab, M., Wassan, S., Naeem, H., Safaei, B., Zheng, Q.: Imcfn: image-based malware classification using fine-tuned convolutional neural network architecture. Comput. Netw. 171, 107138 (2020)","journal-title":"Comput. Netw."},{"key":"381_CR45","first-page":"377","volume":"47","author":"S Venkatraman","year":"2019","unstructured":"Venkatraman, S., Alazab, M., Vinayakumar, R.: A hybrid deep learning image-based analysis for effective malware detection. J. Inf. Secur. Appl. 47, 377\u2013389 (2019)","journal-title":"J. Inf. Secur. Appl."},{"key":"381_CR46","doi-asserted-by":"publisher","first-page":"101592","DOI":"10.1016\/j.cose.2019.101592","volume":"87","author":"H Yakura","year":"2019","unstructured":"Yakura, H., Shinozaki, S., Nishimura, R., Oyama, Y., Sakuma, J.: Neural malware analysis with attention mechanism. Comput. Secur. 87, 101592 (2019)","journal-title":"Comput. Secur."},{"key":"381_CR47","doi-asserted-by":"crossref","unstructured":"You, I., Yim, K.: Malware obfuscation techniques: a brief survey. In: 2010 International Conference on Broadband, Wireless Computing, Communication and Applications, pp. 297\u2013300. IEEE (2010)","DOI":"10.1109\/BWCCA.2010.85"},{"key":"381_CR48","doi-asserted-by":"crossref","unstructured":"Zhou, Y., Jiang, X.: Dissecting android malware: characterization and evolution. In: 2012 IEEE Symposium on Security And Privacy, pp. 95\u2013109. IEEE (2012)","DOI":"10.1109\/SP.2012.16"}],"container-title":["Journal of Computer Virology and Hacking Techniques"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s11416-021-00381-3.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s11416-021-00381-3\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s11416-021-00381-3.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2021,10,1]],"date-time":"2021-10-01T05:45:50Z","timestamp":1633067150000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s11416-021-00381-3"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,4,8]]},"references-count":48,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2021,12]]}},"alternative-id":["381"],"URL":"https:\/\/doi.org\/10.1007\/s11416-021-00381-3","relation":{},"ISSN":["2263-8733"],"issn-type":[{"value":"2263-8733","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,4,8]]},"assertion":[{"value":"11 December 2020","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"19 March 2021","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"8 April 2021","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}}]}}