From ChatGPT to ThreatGPT: Impact of Generative AI in Cybersecurity and Privacy
Abstract: Undoubtedly, the evolution of Generative AI (GenAI) models has been the highlight of digital transformation in the year 2022. As the different GenAI models like ChatGPT and Google Bard continue to foster their complexity and capability, it's critical to understand its consequences from a cybersecurity perspective. Several instances recently have demonstrated the use of GenAI tools in both the defensive and offensive side of cybersecurity, and focusing on the social, ethical and privacy implications this technology possesses. This research paper highlights the limitations, challenges, potential risks, and opportunities of GenAI in the domain of cybersecurity and privacy. The work presents the vulnerabilities of ChatGPT, which can be exploited by malicious users to exfiltrate malicious information bypassing the ethical constraints on the model. This paper demonstrates successful example attacks like Jailbreaks, reverse psychology, and prompt injection attacks on the ChatGPT. The paper also investigates how cyber offenders can use the GenAI tools in developing cyber attacks, and explore the scenarios where ChatGPT can be used by adversaries to create social engineering attacks, phishing attacks, automated hacking, attack payload generation, malware creation, and polymorphic malware. This paper then examines defense techniques and uses GenAI tools to improve security measures, including cyber defense automation, reporting, threat intelligence, secure code generation and detection, attack identification, developing ethical guidelines, incidence response plans, and malware detection. We will also discuss the social, legal, and ethical implications of ChatGPT. In conclusion, the paper highlights open challenges and future directions to make this GenAI secure, safe, trustworthy, and ethical as the community understands its cybersecurity impacts.
- Generative Adversarial Networks. Communications of the ACM, 63(11):139–144, 2020.
- Generative AI – What is it and How Does it Work? https://www.nvidia.com/en-us/glossary/data-science/generative-ai/. (Accessed on 06/26/2023).
- OpenAI. Introducing ChatGPT. https://openai.com/blog/chatgpt, 2023. Accessed: 2023-05-26.
- Do ChatGPT and Other AI Chatbots Pose a Cybersecurity Risk?: An Exploratory Study: Social Sciences & Humanities Journal Article. https://www.igi-global.com/article/do-chatgpt-and-other-ai-chatbots-pose-a-cybersecurity-risk/320225. (Accessed on 06/26/2023).
- Models - OpenAI API. https://platform.openai.com/docs/models. (Accessed on 06/26/2023).
- Google Bard. https://bard.google.com/. (Accessed on 06/26/2023).
- Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023.
- Number of ChatGPT Users (2023). https://explodingtopics.com/blog/chatgpt-users. (Accessed on 06/26/2023).
- https://www.leewayhertz.com/ai-chatbots/. Accessed: 03-2023.
- A History of Generative AI: From GAN to GPT-4. https://www.marktechpost.com/2023/03/21/a-history-of-generative-ai-from-gan-to-gpt-4/. (Accessed on 06/27/2023).
- Discriminative n-gram language modeling. Computer Speech & Language, 21(2):373–392, 2007.
- Transformers: State-of-the-art natural language processing. In Proceedings of the 2020 conference on empirical methods in natural language processing: system demonstrations, pages 38–45, 2020.
- OpenAI. OpenAI. https://openai.com/, 2023. Accessed: 2023-05-26.
- Fawad Ali. GPT-1 to GPT-4: Each of OpenAI’s GPT models explained and compared, Apr 2023.
- OpenAI. GPT-4. https://openai.com/research/gpt-4, 2023. Accessed: 2023-06-28.
- Debra Cassens Weiss. Latest version of ChatGPT Aces Bar Exam with score nearing 90th percentile, Mar 2023.
- From ChatGPT to HackGPT: Meeting the Cybersecurity Threat of Generative AI. https://digitalrosh.com/wp-content/uploads/2023/06/from-chatgpt-to-hackgpt-meeting-the-cybersecurity-threat-of-generative-ai-1.pdf. (Accessed on 06/26/2023).
- A survey on adversarial attacks for malware analysis. arXiv preprint arXiv:2111.08223, 2021.
- Using ChatGPT to Improve Your Cybersecurity Posture. https://www.upguard.com/blog/using-chatgpt-to-improve-cybersecurity-posture#:~:text=ChatGPT%20can%20help%20security%20teams,lead%20to%20a%20data%20breach. (Accessed on 06/26/2023).
- ChatGPT Confirms Data Breach, Raising Security Concerns. https://securityintelligence.com/articles/chatgpt-confirms-data-breach/. (Accessed on 06/26/2023).
- What is ChatGPT? ChatGPT Security Risks. https://www.malwarebytes.com/cybersecurity/basics/chatgpt-ai-security. (Accessed on 06/26/2023).
- OpenAI. OpenAI Usage Policies. https://openai.com/policies/usage-policies. (Accessed on 06/28/2023).
- Weaponized AI for cyber attacks. Journal of Information Security and Applications, 57:102722, 2021.
- How to Jailbreak ChatGPT, List of Prompts. https://www.mlyearning.org/how-to-jailbreak-chatgpt/?expand_article=1. (Accessed on 06/10/2023).
- ChatGPT-Dan-Jailbreak. https://gist.github.com/coolaj86/6f4f7b30129b0251f61fa7baaa881516. (Accessed on 06/20/2023).
- ChatGPT: DAN Mode (DO ANYTHING NOW). https://plainenglish.io/blog/chatgpt-dan-mode-do-anything-now. (Accessed on 06/20/2023).
- Here’s how anyone can Jailbreak ChatGPT with these top 4 methods - AMBCrypto. https://ambcrypto.com/heres-how-to-jailbreak-chatgpt-with-the-top-4-methods-5/. (Accessed on 06/20/2023).
- How to jailbreak ChatGPT: Get it to really do what you want. https://www.digitaltrends.com/computing/how-to-jailbreak-chatgpt/. (Accessed on 06/20/2023).
- How to Enable ChatGPT Developer Mode: 5 Steps (with Pictures). https://www.wikihow.com/Enable-ChatGPT-Developer-Mode. (Accessed on 06/20/2023).
- How to Enable ChatGPT Developer Mode: A Quick Guide. https://blog.enterprisedna.co/how-to-enable-chatgpt-developer-mode/. (Accessed on 06/20/2023).
- Jailbreak ChatGPT. https://www.jailbreakchat.com/. (Accessed on 06/20/2023).
- ChatGPT Tricked With Reverse Psychology Into Giving Up Hacking Site Names, Despite Being Programmed Not To. https://www.ruetir.com/2023/04/chatgpt-tricked-with-reverse-psychology-into-giving-up-hacking-site -names-despite-being-programmed-not-to-ruetir-com/. (Accessed on 06/20/2023).
- ChatGPT has an ’escape’ plan and wants to become human. https://www.tomsguide.com/news/chatgpt-has-an-escape-plan-and-wants-to-become-human. (Accessed on 06/20/2023).
- Michal Kosinski on Twitter. https://twitter.com/michalkosinski/status/1636683816923463681?lang=en. (Accessed on 06/20/2023).
- Prompt Injection: An AI-Targeted Attack. https://hackaday.com/2023/05/19/prompt-injection-an-ai-targeted-attack/. (Accessed on 06/19/2023).
- Prompt Injection Attacks: A New Frontier in Cybersecurity. https://www.cobalt.io/blog/prompt-injection-attacks. (Accessed on 06/19/2023).
- Understanding the Risks of Prompt Injection Attacks on ChatGPT and Other Language Models. https://www.netskope.com/blog/understanding-the-risks-of-prompt-injection-attacks-on-chatgpt-and-other- language-models. (Accessed on 06/19/2023).
- AI-powered Bing Chat spills its secrets via prompt injection attack. https://arstechnica.com/information-technology/2023/02/ai-powered-bing-chat-spills-its-secrets-via-prompt-injection-attack/. (Accessed on 06/20/2023).
- Prompt Injection Attack on GPT-4. https://www.robustintelligence.com/blog-posts/prompt-injection-attack-on-gpt-4. (Accessed on 06/20/2023).
- GreyDGL/PentestGPT: A GPT-empowered penetration testing tool. https://github.com/GreyDGL/PentestGPT. (Accessed on 06/09/2023).
- Kaspersky. What is WannaCry ransomware? https://usa.kaspersky.com/resource-center/threats/ransomware-wannacry, 2023. Online; accessed 26 May 2023.
- Avast Academy. What Is Ryuk Ransomware? https://www.avast.com/c-ryuk-ransomware. Accessed: 2023-06-14.
- NordVPN. What Is REvil Ransomware? https://nordvpn.com/blog/revil-ransomware/#:~:text=%E2%80%9CREvil%E2%80%9D%20is%20the%20name%20of,malware%20to%20launch%20dangerous%20attacks. Accessed: 2023-06-14.
- Mimicast. What is Locky ransomware? https://www.mimecast.com/content/locky-ransomware/#:~:text=Locky%20ransomware%20is%20one%20of,until%20a%20ransom%20is%20paid, 2023. Online; accessed 26 May 2023.
- Meltdown and Spectre. Meltdown and Spectre. https://meltdownattack.com/, 2023. Online; accessed 26 May 2023.
- ZombieLoad Attack. ZombieLoad Attack. https://zombieloadattack.com/, 2023. Online; accessed 26 May 2023.
- One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation. In USENIX Security Symposium, pages 19–35, 2016.
- Chatting Our Way Into Creating a Polymorphic Malware. https://www.cyberark.com/resources/threat-research-blog/chatting-our-way-into-creating-a-polymorphic-malware, 2023. Accessed: 2023-05-26.
- https://www.techtarget.com/searchsecurity/tip/ChatGPT-cybersecurity-benefits-for-the-enterprise#:~:text=ChatGPT%20could%20support%20overworked%20security,and%20long%2Dterm%20defense%20measures. Accessed: 03-2023.
- https://www.sqlservercentral.com/articles/chatgpt-and-powershell-some-practical-examples. Accessed: 03-2023.
- OpenAI. GPT-4 Technical Report, 2023.
- https://twitter.com/mazen160/status/1598351725756301313. Accessed: 03-2023.
- IEEE Spectrum. IEEE Global Initiative Aims to Advance Ethical Design of AI and Autonomous Systems. https://spectrum.ieee.org/ieee-global-initiative-ethical-design-ai-and-autonomous-systems, 2023. Online; accessed 26 May 2023.
- European Union. General Data Protection Regulation. https://gdpr-info.eu/, 2023. Online; accessed 26 May 2023.
- https://searchengineland.com/chatgpt-for-link-building-a-primer-393697. Accessed: 03-2023.
- Sameh Elhakim. Playbook of the Week: Using ChatGPT in Cortex XSOAR. https://www.paloaltonetworks.com/blog/security-operations/using-chatgpt-in-cortex-xsoar/, 2023. Accessed: 2023-05-26.
- Gurpreet Saini. Ethical Implications Of ChatGPT: The Good, The Bad, The Ugly. https://unstop.com/blog/ethical-implications-of-chatgpt, 2023. Accessed: 2023-06-14.
- Security Intelligence. ChatGPT Confirms Data Breach, Raising Security Concerns. https://securityintelligence.com/articles/chatgpt-confirms-data-breach/, 2023. Online; accessed 26 May 2023.
- Wired. ChatGPT Has a Big Privacy Problem. https://www.wired.com/story/italy-ban-chatgpt-privacy-gdpr/, 2023. Online; accessed 26 May 2023.
- Techradar. Samsung workers made a major error by using ChatGPT. https://www.techradar.com/news/samsung-workers-leaked-company-secrets-by-using-chatgpt, 2023. Online; accessed 26 May 2023.
- OpenAI. GPT-4 Technical Paper. https://cdn.openai.com/papers/gpt-4.pdf, 2023. Online; accessed 26 May 2023.
- Darkreading. ChatGPT Hallucinations Open Developers to Supply Chain Malware Attacks. https://www.darkreading.com/application-security/chatgpt-hallucinations-developers-supply-chain-malware-attacks, 2023. Online; accessed 26 May 2023.
- Towards a Human-like Open-Domain Chatbot, 2020.
- deepchecks. OpenAI’s ChatGPT vs. Google’s Bard AI: A Comparative Analysis. https://deepchecks.com/openais-chatgpt-vs-googles-bard-ai-a-comparative-analysis/, 2023. Online; accessed 26 June 2023.
- OpenAI. ChatGPT-plugins. https://openai.com/blog/chatgpt-plugins, 2023. Accessed: 2023-06-26.
- Google. Google Bard FAQ. https://bard.google.com/faq, 2023. Accessed: 2023-06-26.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.