With the continuous advancement of deepfake technology, its scope and depth of application are also expanding. As an open-source code, the development of deepfake technology has promoted the popularity of AI face-swapping and AI voice-swapping services, which aim to provide convenient entertainment experiences and meet the daily needs of the general public. However, at the same time, these tools also provide new possibilities for criminals. Therefore, this paper will explore the application of deepfake technology in criminal activities, including subsequent investigation and punishment, and propose effective countermeasures against cybercrimes involving deepfakes.