Journal of Intelligent Systems and Internet of Things

Exposing Image Tampering: A Deep Learning Approach to Copy-Move Forgery Detection for Secure Digital Image Forensics

Nadia Mahmood Ali, Sameer Abdulsttar Lafta, Amaal Ghazi Hamad Rafash
Volume 18, Issue 2, pp. 99-110 (2026)
DOI: https://doi.org/10.54216/JISIoT.180207
Online: https://www.americaspg.com/journal/18/article/4016

Abstract

Nowadays, with the proliferation of mobile devices and the internet around the world that are available for everyone, and due to the low prices versus their high capabilities, images are considered one of the most common ways of transmitting information between users, advancement of image processing and editing tools, simplified the process of editing and changing photographs such as in magazines, newspapers, scientific journals, and on social media or on the Internet. As a result, the propagation of manipulated photographs that misrepresent the truth is prevalent, whether deliberate or inadvertent. We propose a method that uses deep learning based convolutional neural network in order to detect instances of the copy-move forgeries in images which can  help to ensure data authenticity in digital forensic investigations. In this case, our method is intended to improve digital evidence integrity by detecting complicated changes quickly and precisely. This work can supports cybersecurity applications like anti-fraud systems, fake news detection, and social media forensics. The findings of the experiment demonstrate that the suggested approach is capable of detecting forgery against multiple copies and post-processing activities. The dataset's images used for both training and testing are MICC-F2000, composed of 2,000 images, 700 tamper and 1,300 originals. The findings indicate a testing accuracy of 98.00% and a training accuracy of 99.17%.

Keywords: Image forgery; Copy-move; Digital forensics; Deep learning; Convolutional neural network

3.1 Detection of Copy-Move Forgeries

The detection of copy-move forgeries (CMFD) can be done in many different ways. However, the majority of the previously used techniques take a lot of time and are not resistant to post-processing assaults or transformations that are more complicated. The technique of deep learning has piqued the interest of researchers throughout the field, which has yielded promising findings in its application. As a result, forensic researchers aim to use deep learning techniques to identify forgeries in images.

The architecture of the system has been illustrated in Fig. 1. It is divided into two main sections: constructing a CNN model and preprocessing.

Figure 2. Steps of pre-processing
Figure 2. Steps of pre-processing
Figure 1. The proposed method
Figure 1. The proposed method

(Error_Level_Analysis (ELA)). Is a method for improving the CNN model's training efficacy by recognizing regions of an image with varying compression rates.

Image Difference. The differences between each of the pixels that makes up the original images or picture and the compacted picture in relation to pixels.

Figure
Figure 3. CNN Architecture
Figure 3. CNN Architecture

The convolution layer: The layer of convolution is responsible for the extraction of features from images. The resized 128x128x3 image serves as the first convolution layer's input. The first and second convolution layers, and 2 others two convolutions layers on the other hand, use 32 kernel filters using a 5x5 size matrix and strides of 1 or 2 pixels to move over every pixel in the image and calculate their dot product. The filter and convolution operations are displayed in Fig. 4.

Figure 4. Conventional operation and Conventional Function.
Figure 4. Conventional operation and Conventional Function.

(Activation Function AF): In the (neural network), the activation function eliminates unnecessary pixels, like a negative value. The Rectified Linear Unit (ReLU) is an activation function that is nonlinear and defined as the positive part of its argument. (Fig6) shows the ReLU.

Figure 5. Rectified Linear Unit (ReLU)
Figure 5. Rectified Linear Unit (ReLU)

The Max Pooling layer: Reducing the number of pixels in the output of preceding convolutional layer is the goal of the pooling layer that follows. The second step for the spatial dimensions is used to perform the max-pooling layer employing (2 x 2) dimension kernels. The scale has been reduced to one fourth of the original size. Further in an attempt to reduce the risk of overfitting, a dropout of 0. 25 is applied to the layer. In figure 6 below shows how Max pooling is done on the 4x4 photos.

Figure 6. Max-Pooling operations
Figure 6. Max-Pooling operations

This leads to achieving a new flattened layer that contains only one column of feature results. The flat column perceptron was created to go through a fully connected layer comprising of 256 neurons in order to classify and predict images. Therefore, with an aim of reducing overfitting, a dropout rate of 0. 5 will be implemented after the carry out a completely linked layer. The best way to understand the holistic conceptualization of the layers is by viewing Figure 8, which presents the connectivity of all the layers.

Figure 7. fully connected layer
Figure 7. fully connected layer

Soft Max function: In models of neural networks that predict the multinomial distribution of probabilities, softmax function is utilised for an activation function in its output layers. The probability value ranges from zero to one.

The (RMSProp) optimizer: one of the adaptive rate learning techniques is used in training.

Just fiew layers of convolution are required since the conversion procedure outputs into an ELA picture might highlight significant elements for determining whether an image is genuine or has been manipulated.

4. Implementation

4.1 Dataset

The MICC (Media Integration and Communication Center), (MICCF220, MICC-F8 Multi, MICC F600) and CoMoFoD (Copy-Move Forgery Detection) data sets were used to evaluate the proposed algorithm. Table1 shows MICC data-set [16]

Table 1. Lists details of the M I C C-F 220, M I C C-F 2 000, M I C C-F600, and M I C C-F6 datasets
Table 1. Lists details of the M I C C-F 220, M I C C-F 2 000, M I C C-F600, and M I C C-F6 datasets
Figure 8. Some examples of tampered images of MICC. Images in the top row are forged and at the bottom are masks to
Figure 8. Some examples of tampered images of MICC. Images in the top row are forged and at the bottom are masks to

show the place of tampering

These fake images are generated by randomly copying and pasting parts of a genuine photo. Fake photographs have undergone a variety of transformations, including rotation, translation, scaling, and combinations of these. These datasets are made up of variously sized, segmented photos. Between the pictures formats JPEG and PNG.

(Co M o F o D) is the dataset of Copy-Move forgery detection comprised of 200 forged images illustrating different forgery types. Each falsified photo has a mask on it indicating the manipulation location along with the genuine photo. Some examples of the altered images of (C o M o F o) [16] are depicted in Figure 9.

Figure 9. Examples of the altered images of CoMoFoD. The top photos are tempered, while the bottom photos are
Figure 9. Examples of the altered images of CoMoFoD. The top photos are tempered, while the bottom photos are

masks to show the place of tampering

The photographs collected are further divided according to the number of distortions used and whether these distortions are rotations and/or translations, scaling, or a combination of all. In addition, many post-processing strategies (e.g. Brightness change, image blur, noise adding) are applied. This dataset consists of images that have 512 × 512 sizes, divided between JPEG and PNG image formats. [16]

5. Experiment and Analysis

The Python programming language was used for implementing the suggested method. The dataset MICC-F2000 was used for analysis and testing. That composed of 2000 images; 700 tamper and 1300 originals

The data-set has been divided to 80% for training and 20% for testing

The suggested method's performance is measured by applying several performance measures such as the F-score, precision, accuracy, sensitivity, and recall. An overall estimate of the model's correctness can be obtained by the accuracy. In the case of actors, positivity means the evaluation of how well the predictions are made. Sensitivity defines the capacity of predicting actual value of picture. In addition, F-score is measure of how accurate the value of an image’s actual category is. Recall is also known as sensitivity and it quantifies the likelihood that a certain image will be correctly classified bearing in mind that it has the right class value In contrast, precision quantifies the likelihood that a given image will be correctly classified for its actual value.

The results of the differences between the F-score, precision and the recall of performance accuracy using evaluation data from both trained and untrained datasets are presented in Table 2.

Table 2. Shows the test of the F-score, Precision, and Recall of Performance Accuracy results in the case of testing data
Table 2. Shows the test of the F-score, Precision, and Recall of Performance Accuracy results in the case of testing data

The precision, recall, Acre, F score and sensitivity are computed from confusion matrix generated by classifier model. It is also used for computing classifier evaluation for True negative and True positive among other computations. It means that the CNN networking can also give false negative and false positive results. The confusion matrix has been depicted in the table below in form of a table 3.

Table 3. Confusion matrix for MMIC F2000
Table 3. Confusion matrix for MMIC F2000

5.2 Performance Analysis

The results obtained from the proposed method have maximum training accuracy is 99.17% and 98% validation accuracy using (30 thirty) epochs. Fig10 illustrates an accuracy curve and loss curve.

Figure 10. Different evaluation parameters of the model.
Figure 10. Different evaluation parameters of the model.

The figure above clearly demonstrates that epoch 5 has the best accuracy and precision of the five. Similar to the fourth period, the fifth period's completion results in the stabilization of validation losses. Thus, early stopping is a powerful approach to determining when to stop the training process in case of the decreasing of the validation accuracy or increasing of the validation loss. With the help of such translation of the picture using ELA, the process of training models becomes much faster, hence requiring fewer training epochs to provide a good convergence. In addition, by normalizing the RGB values of each pixel, the CNN model achieves a high convergence rate, leading to high classification accuracy. This proves that the picture is an ELA (Error Level Analysis) image, which is so useful when one wants to find out whether it is an original picture or else it has been manipulated. Comparing our findings to others, firstly comparing it to [7], our work shows more accuracey and sensitivity. This resulted from using CNN that employs two layers of convoluted, one Maxpooling layer is one fully connected layer and one softmax output layer. This lowers the training process's computing expenses, resulting in decreasing the required number of epochs and layers. Comparing our work to the CNNs used by [8] which used Laplacian filtering residual (LFR) and the median filter (SDMFR), since both are residuals filters that require a large number of layers, the training procedure has very high computing costs. Our model, training accuracy has been 99.17% and testing accuracy has been 98.0 while [8] achieved an accuracy of 95.97%.

6. Conclusion

An interesting area of study within forensic science is the investigation of the efficacy of techniques for identifying fake photographs. Another important developmental issue in digital photo forensics is the presence of a specific type of photo manipulation, called copy-move forging. The majority of the algorithms used for copy-move forging detection take a lot of time to compute. This paper presents a successful method for the detection of copy-move frauds, utilizing deep learning strategies such as convolutional neural networks (CNN) in conjunction with error level analyses (ELA). CNN utilizes the following structures: four convolutional layers, one Max pool layer, one fully connected layer, and one softmax output layer. Within 30 epochs, this model can achieve a 99.17% training accuracy and a validation accuracy of 98%. Implementing ELA can enhance productivity and reduce computational costs of training. The reduction in the number of layers and epochs required compared to the previous method demonstrates this. Our model offers the following advantages: The ELA's picture characteristics approach enhances training effectiveness and accelerates CNN model convergence, significantly reducing the total number of training cycles required to obtain convergence. Experiments and analysis have shown that this algorithm can handle multiple copies, is easier to compute, works well with common post-processing operations, and can quickly and accurately find forged areas even after more complex changes like scaling or rotation have been made. Therefore, this research makes a substantial contribution to the field of digital photo forensics. For future works, it’s recommended to the proposed CNN-based approach shows robustness against common transformations like scaling and rotation, more complex post-processing techniques (e.g., geometric warping, in painting, adversarial noise) could challenge the model’s effectiveness. In addition, a promising future direction is extending the methodology to video forensics or multi-modal forgery detection, where both images and metadata (like timestamps or EXIF data) are analyzed together for better forgery detection.

Figure
Figure