Password-Sniffing Acoustic Keylogger Using Machine Learning

20 Pages Posted: 1 May 2023

See all articles by Alex Akinbi

Alex Akinbi

Liverpool John Moores University - School of Computer Science and Mathematics

Erkan Deniz

Firat University

Aras M. Ismael

Sulaimani Polytechnic University

Zryan N. Rashid

Sulaimani Polytechnic University

Abdulkadir Sengur

Firat University

Abstract

An acoustic keylogger is a form of side-channel attack where an attacker can extract and log what a victim typed on a keyboard by capturing the keystroke emanations and audio signals. Using a compromised smartphone microphone to capture keystroke audio recordings, this attack can be used to recognise confidential information such as passwords typed by a victim. In this paper, we demonstrate the training of a machine-learning model and develop a proof-of-concept password-sniffing acoustic keylogger. To this end, the input audio signals are initially converted to audio images by using the spectrogram representation of the Mel-Frequency Cepstral Coefficients (MFCC) method. MFCC applies the Fourier transform to yield the frequency content of the input signal. Then, a novel and less complex vision transformer-based approach namely ConvMixer is applied to the spectrogram images to detect the password according to its audio. In ConvMixer model group convolution and point convolution layers are located sequence for giving depth to the architecture. A novel key logger dataset is constructed by us and used in the experimental works. Various experiments are carried out and classification accuracy is applied for performance measurement tools. In the experimental works, an average 92.44% accuracy score is obtained with the proposed method. In addition, two pre-trained convolutional neural networks (CNN) models namely ResNet18 and VGG16 are used for comparison purposes. Comparisons show that the proposed approach has the potential for a compact acoustic keylogger system.

Keywords: Keylogger, Acoustic Keylogger, Password sniffing, Machine Learning, Convolutional Neural Networks, ConvMixer

Suggested Citation

Akinbi, Alex and Deniz, Erkan and Ismael, Aras M. and Rashid, Zryan N. and Sengur, Abdulkadir, Password-Sniffing Acoustic Keylogger Using Machine Learning. Available at SSRN: https://ssrn.com/abstract=4431909 or http://dx.doi.org/10.2139/ssrn.4431909

Alex Akinbi (Contact Author)

Liverpool John Moores University - School of Computer Science and Mathematics ( email )

Erkan Deniz

Firat University ( email )

Aras M. Ismael

Sulaimani Polytechnic University ( email )

Wrme Street 327/76
Near Petrol Station Wllat
Sulaymaniyah
Iraq

Zryan N. Rashid

Sulaimani Polytechnic University ( email )

Wrme Street 327/76
Near Petrol Station Wllat
Sulaymaniyah
Iraq

Abdulkadir Sengur

Firat University ( email )

Do you have negative results from your research you’d like to share?

Paper statistics

Downloads
118
Abstract Views
376
Rank
401,970
PlumX Metrics