Cloud computing is one example of a technological revolution that has drastically altered the way traditional commercial operations are conducted. Because cloud platforms are fundamentally revolutionizing the area of computing, they must provide safe transmission and storage of user data by assuring the confidentiality, integrity, and availability of the data. As a result, establishing a secure cloud computing framework is crucial, and security cannot only rely on the user's credentials being verified. To overcome this problem, this article presents a multi‐population genetic algorithm optimized dynamic kernel convolutional neural network to analyze the user's behavior to identify their malicious intent. This article describes a two‐stage malicious detection and prediction scheme. The proposed system's efficiency is measured by its ability to discriminate between nine different types of attacks in the UNSW‐NB15 dataset (abnormal behavior exhibited by users). The average true positive rate, false positive rate, precision, and F‐measure for the nine attack classes were 99.22%, 99.11%, 99.11%, and 99.22%, respectively, when evaluated using the UNSW‐NB15 dataset. The experimental results demonstrate that this technique is effective in detecting malicious behaviors in the cloud environment with higher accuracy.