The skills of forensic analysts are at risk to process the increasing data in the Internet of Things‐based environment platforms. However, the technical issues like anti‐forensics, variety of traffic formats, steganography or encrypted data, and real‐time live investigation degrades the performance of the cyber forensic framework. Therefore, an effective method named Sunflower Jaya Optimization‐based Deep stacked autoencoder (SFJO‐based Deep stacked autoencoder) is proposed to perform the cyber forensic framework. The finite element model of Sunflower optimization is integrated with the control parameters of Jaya optimization to solve the issues in the cyber forensic framework. The proposed SFJO‐based Deep stacked autoencoder uses the pollination and the peculiar behaviors to enable the cyber forensic framework based on the error value in the big data analytics model. Accordingly, the solution with the minimal value of error is accepted as the best optimal solution by computing the orientation vector. However, the proposed model is illustrated based on the unconstrained benchmark function, which in turn results in the fitness function to reveal the best candidate solution. The proposed SFJO‐based Deep stacked autoencoder attained better performance using metrics like precision, sensitivity, and specificity with the values of 0.9053, 0.8865, and 0.8839 using dataset‐1.