For most people, social networks are composed of friends, classmates, colleagues, relatives and partners, and individuals are the center of this social network, connecting people together. Compared with face-to-face communication, network communication gives individuals more control over impression management, enabling them to freely carry out content production and interaction, and further expand the channels of interpersonal communication. With the popularization of social networks, there are more and more online learning opportunities through video chat, online teaching materials, e-books, and so on. Because you can study and make friends at home without going out, so many people can participate more actively. But when making friends or sharing resources online, it is difficult for us to know whether he or she who is off-screen is malicious to us, or whether those online resources are at risk of viruses.