A non-transitory computer readable medium having stored thereon instructions which, when executed by a processor, performs the steps of:
- collecting raw data from manipulations of a smartphone for purposes of user authentication, wherein the smartphone comprises:
- an accelerometer sensor, a gyroscope sensor, and a GPS sensor, for collecting the data;
- receiving, at a rest filter model, the raw data and processing the raw data using a motion detection module to identify valid data and invalid data therefrom, wherein valid data is data reflecting motion of the smartphone and invalid data is data reflecting the smartphone at rest;
- receiving, by a user authentication convolutional neural network (“CNN”) model, the identified valid and invalid data and generating therefrom a prediction that the manipulations of the smartphone are from a legitimate user or from an intruder;
- and
- training and storing, by a server, the user authentication CNN model and downloading the trained user authentication CNN model to the smartphone on a predetermined time basis.