With the rapid development of information technology and mobile internet, the behavior of acquiring and using citizens’ personal information has increasingly become a potential threat to the security of citizens’ personal information, and may even lead to the occurrence of associated crimes, which seriously infringes on public and people’s property security. Electronic data is the most important form of information, many kinds of digital information in smart phones. Electronic data of mobile phones in a case refers to the data formed during the occurrence of the case, stored, processed and transmitted digitally through the mobile phone as a carrier, which can prove the facts of the case System data in mobile phones often stores a large number of sensitive personal information, Apps all have lots of kinds, complexed functions and mass of citizens’ personal information and even secret information. It is worth paying attention to whether the data information may be stolen or leaked in the process of collection, transmission and use. At present, electronic data of mobile phones has been widely used in the collection of evidence and forensics of cases of infringement on citizens’ personal information, but in practice there are still widespread problems such as data encryption, incomplete data extraction from the chips, insufficient data extraction authority from the cloud, and difficult of recovering deleted data. Therefore, this paper will focus on how to use electronic data of mobile phones with the protection of citizens’ personal information and the attack on citizens’ personal information crime.