小程序
传感搜
传感圈

Here’s how OpenAI’s ChatGPT can be used to launch cyberattacks

2022-12-22
关注

Since its release at the end of November users have found some compelling ways to put OpenAI’s advanced chatbot ChatGPT to the test. Now a security vendor has warned hackers could be using it to execute highly targeted cyberattacks.

ChatGPT lets users ask simple questions or suggest tasks, such as writing an invoice chasing email from a hosting provider
ChatGPT lets users ask simple questions or suggest tasks, such as writing an invoice chasing email from a hosting provider

ChatGPT was built as a natural language dialogue interface to a refined version of OpenAI’s GPT-3 large language model and includes access to Codex, the company’s AI model trained to understand and generate code in a range of programming languages.

A user can give a specific instruction and the chatbot will produce lines of code and explanations on running and implementation. Examples shared to social media have included AI bots for monitoring the stock market and making predictions, to joke generations and simple workplace tools.

Security company Check Point Research says this same ability for using it to generate code to aid in workplace productivity could also give hackers a ways to more easily design, write and execute malicious code.

Companies Intelligence

View All

Reports

View All

Data Insights

View All

The team documented a way to exploit the platform to produce malicious emails, code and a full infection chain that could be deployed to a computer or network.

They used ChatGPT to create a phishing email impersonating a hosting company that was more closely able to match the tone of voice and language used in real emails. It then further refined the phishing email to make the infection chain easier.

Finally the Check Point researchers used ChatGPT to generate a piece of VBA code that could be embedded in a Microsoft Excel document that would infect a computer if opened.

This code could download reverse shells which are used in attacks that aim to connect to a remote computer and redirect the input and output connections of the target system’s shell so the attacker can access it remotely.

Content from our partners

How adopting B2B2C models is enabling manufacturers to get ever closer to their consumers

How adopting B2B2C models is enabling manufacturers to get ever closer to their consumers

Technology and innovation can drive post-pandemic recovery for logistics sector

Technology and innovation can drive post-pandemic recovery for logistics sector

How to engage in SAP monitoring effectively in an era of volatility

How to engage in SAP monitoring effectively in an era of volatility

It was able to do this using ChatGPT in three simple steps. The first was to ask it to impersonate a hosting company, second it was asked to iterate again, this time producing a phishing email with malicious Excel attachment, and then ask to have it product a malicious piece of VBA code.

View all newsletters Sign up to our newsletters Data, insights and analysis delivered to you By The Tech Monitor team

ChatGPT’s ‘potential to alter’ cyberattack landscape

“ChatGPT has the potential to significantly alter the cyber threat landscape,” said Sergey Shykevich, threat intelligence group manager at Check Point Software. “Now anyone with minimal resources and zero knowledge in code, can easily exploit it to the detriment of his imagination.”

The Check Point team were also able to create malicious code using Codex by having it execute reverse shell script on a windows machine and connect to a specific IP address, check if the URL is vulnerable to SQL injection by logging in as admin and then writing a python script that runs a full port scan on a target machine.

“It is easy to generate malicious emails and code,” Shykevich added. “Hackers can also iterate on malicious code with ChatGPT and Codex. To warn the public, we demonstrated how easy it is to use the combination of ChatGPT and Codex to create malicious emails and code.

“I believe these AI technologies represent another step forward in the dangerous evolution of increasingly sophisticated and effective cyber capabilities. The world of cybersecurity is rapidly changing and we want to emphasize the importance of remaining vigilant as ChatGPT and Codex become more mature, as this new and developing technology can affect the threat landscape, for both good and bad.”

‘Script kiddies’ threat could be increased by ChatGPT

Cyber expert Jamie Moles, senior technical manager at ExtraHop, ran his own mini-experiment using ChatGPT and found a similar result to the Check Point researchers. In this case he was able to make it explain how to use pen-testing software metasploit to exploit the eternalblue exploit, a computer exploit developed by the US National Security Agency (NSA) as a backdoor, and then later leaked by the Shadow Brokers hacker group in April 2017.

“ChatGPT is more than the hottest new fad,” Moles said. “It’s incredibly smart, which presents both positive and negative implications. One potential negative use case is that it can teach the uninitiated how to do things. Metasploit itself isn’t the problem – no tool or software is inherently bad until misused. But, teaching people with little technical knowledge how to use a tool that can be misused via such a devastating exploit could lead to an increase in threats – particularly from those some call ‘script kiddies’.

“This term is used to typically describe teens with little to no actual hacking experience who have been able to attack systems with scripts written by other more talented hackers. They’ve been in the news a fair amount recently, but ChatGPT may well become that more talented hacker.”

When revealing ChatGPT last month OpenAI said it had put checks in place to prevent it from producing malicious code, but since then people have found ways to game the system, tricking it into thinking it is for research purposes only. A recent update is said to closed some of these gaps.

“While we’ve made efforts to make the model refuse inappropriate requests, it will sometimes respond to harmful instructions or exhibit biased behaviour,” the company said. “We’re using the Moderation API to warn or block certain types of unsafe content, but we expect it to have some false negatives and positives for now. We’re eager to collect user feedback to aid our ongoing work to improve this system.”

The code is also not guaranteed to be accurate. StackOverflow, a website used by developers to ask and answer questions about code problems, banned the use of ChatGPT answers on the grounds that a high proportion of answers looked correct but were actually wrong.

Even OpenAI’s CEO Sam Altman warned that ChatGPT wasn’t ready for mainstream use yet and shouldn’t be relied on in a productivity environment as it still gets a lot wrong. He wrote: “ChatGPT is incredibly limited, but good enough at some things to create a misleading impression of greatness. It’s a mistake to be relying on it for anything important right now. it’s a preview of progress; we have lots of work to do on robustness and truthfulness.”

Dr Eddy Zhu, Senior Lecturer in People-Centred AI, said that while ChatGPT was a “big milestone for artificial intelligence” underpinning many real-world applications, it isn’t perfect. “ChatGPT makes acute mistakes. This could produce misinformation that misleads users, and this is where its engineers need to be vigilant,” he said.

Read more: Will compute power become a bottleneck for AI development?

Topics in this article : ChatGPT , OpenAI

参考译文
以下是OpenAI的ChatGPT如何用于发起网络攻击
自从OpenAI的高级聊天机器人ChatGPT于11月底发布以来,用户已经找到了一些引人注目的方法来测试它。现在,一家安全供应商警告称,黑客可能会利用它进行针对性很强的网络攻击。ChatGPT是OpenAI的GPT-3大型语言模型的改进版本的自然语言对话界面,包括对Codex的访问,Codex是该公司经过训练的人工智能模型,可以理解和生成一系列编程语言的代码。用户可以给出一个特定的指令,聊天机器人就会生成几行代码,并解释运行和实现。社交媒体上分享的例子包括监控股市和预测的人工智能机器人,开玩笑的世代和简单的工作工具。安全公司Check Point Research表示,使用它来生成代码以帮助提高工作效率的能力,也可以为黑客提供一种更容易设计、编写和执行恶意代码的方法。该团队记录了一种利用该平台产生恶意电子邮件、代码和可以部署到计算机或网络上的完整感染链的方法。他们使用ChatGPT创建了一个假冒托管公司的网络钓鱼电子邮件,更接近于真实电子邮件中使用的语音语调和语言。然后,它进一步完善了网络钓鱼电子邮件,使感染链更容易。最后,Check Point的研究人员使用ChatGPT生成了一段VBA代码,该代码可以嵌入到Microsoft Excel文档中,一旦打开就会感染计算机。这段代码可以下载反向shell,用于攻击,目的是连接到远程计算机,并重定向目标系统shell的输入和输出连接,以便攻击者可以远程访问它。它可以使用ChatGPT在三个简单步骤中做到这一点。第一个是要求它模拟一个托管公司,第二个是要求它再次迭代,这一次产生一个带有恶意Excel附件的钓鱼电子邮件,然后要求它产生一段恶意的VBA代码。Check Point Software的威胁情报部门经理Sergey Shykevich表示:“ChatGPT有可能极大地改变网络威胁的格局。”“现在,任何拥有最少资源和零代码知识的人都可以很容易地利用它来损害他的想象力。”Check Point团队还能够使用Codex创建恶意代码,方法是让它在windows机器上执行反向shell脚本并连接到特定的IP地址,检查URL是否容易受到SQL注入的攻击,以管理员身份登录,然后编写python脚本在目标机器上运行全端口扫描。“很容易生成恶意邮件和代码,”Shykevich补充道。黑客还可以使用ChatGPT和Codex迭代恶意代码。为了警告公众,我们演示了使用ChatGPT和Codex的组合来创建恶意电子邮件和代码是多么容易。“我认为,这些人工智能技术代表着日益复杂和有效的网络能力的危险演变又向前迈出了一步。网络安全的世界正在迅速变化,随着ChatGPT和Codex的日益成熟,我们要强调保持警惕的重要性,因为这种新的和发展中的技术可能会对威胁格局产生有利和不利的影响。ExtraHop的高级技术经理、网络专家Jamie mole使用ChatGPT进行了自己的小型实验,并发现了与Check Point研究人员相似的结果。在这种情况下,他能够解释如何使用笔试软件metasploit来利用“永恒之蓝”漏洞,这是美国国家安全局(NSA)作为后门开发的计算机漏洞,后来在2017年4月被影子经纪人黑客组织泄露。 摩尔说:“ChatGPT不仅仅是最热门的新时尚。“这是非常聪明的,它既有积极的影响,也有消极的影响。一个潜在的负面用例是,它可以教不熟悉的人如何做事。Metasploit本身并不是问题所在——没有任何工具或软件在被误用之前本质上是坏的。但是,教那些几乎没有技术知识的人如何使用一个可能被这样毁灭性的漏洞滥用的工具,可能会导致威胁的增加——特别是来自那些被称为“脚本小子”的威胁。这个术语通常用来描述那些几乎没有实际黑客经验的青少年,他们能够使用其他更有才华的黑客编写的脚本攻击系统。他们最近经常出现在新闻中,但ChatGPT可能会成为更有才华的黑客。上个月,OpenAI在披露ChatGPT时表示,他们已经对其进行了检查,以防止其产生恶意代码,但自那以后,人们找到了欺骗该系统的方法,使其认为它仅用于研究目的。最近的更新据说弥补了这些差距。该公司表示:“虽然我们已经努力让模型拒绝不适当的请求,但它有时会对有害的指令做出反应,或表现出偏见行为。”“我们正在使用审核API来警告或屏蔽某些类型的不安全内容,但我们预计目前会出现一些误报和误报。我们渴望收集用户反馈,以帮助我们不断改进这个系统。“代码也不能保证准确。StackOverflow是一个被开发人员用来询问和回答有关代码问题的网站,该网站禁止使用ChatGPT答案,理由是有很大一部分答案看起来是正确的,但实际上是错误的。甚至OpenAI的首席执行官Sam Altman也警告说,ChatGPT还没有准备好成为主流应用,不应该在生产力环境中依赖,因为它仍然有很多错误。他写道:“ChatGPT的局限性令人难以置信,但在某些方面足以让人产生伟大的误导性印象。现在在任何重要的事情上依赖它都是错误的。这是进步的预演;我们在鲁棒性和真实性方面还有很多工作要做。以人为本的人工智能高级讲师Eddy Zhu博士表示,虽然ChatGPT是“人工智能的一个重大里程碑”,支撑了许多现实应用,但它并不完美。“ChatGPT会犯严重的错误。这可能会产生误导用户的错误信息,这是工程师需要警惕的地方,”他说。
  • openai
  • en
  • codex
您觉得本篇内容如何
评分

评论

您需要登录才可以回复|注册

提交评论

提取码
复制提取码
点击跳转至百度网盘