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

2022-12-22 20:20:38
关注

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如何用于发起网络攻击
自11月底发布以来,用户已经找到一些引人注目的方式来测试OpenAI的先进聊天机器人ChatGPT。如今,一家安全公司警告称,黑客可能会利用它来执行高度针对性的网络攻击。ChatGPT允许用户提出简单的问题或建议任务,比如让聊天机器人写一封来自托管服务提供商的催款邮件。ChatGPT是作为OpenAI GPT-3大型语言模型的优化版本的自然语言对话界面构建而成的,并且还包含Codex,这是该公司训练出的一种AI模型,能够理解和生成多种编程语言的代码。用户可以给出具体指令,聊天机器人则会生成代码并附上运行和实现的解释。在社交媒体上分享的一些例子包括用于监控股市和进行预测的AI机器人,以及生成笑话和简单的办公工具。安全公司Check Point Research表示,这种用于提高办公效率而生成代码的能力,也可能让黑客更轻松地设计、编写并执行恶意代码。公司情报 查看所有报告 查看所有数据洞察 Check Point团队记录了一种利用平台生成恶意邮件、代码和完整感染链的方式,这些攻击可以部署在计算机或网络中。他们使用ChatGPT创建了一封冒充托管公司的钓鱼邮件,这封邮件在语气和语言上更贴近真实邮件。随后,他们进一步优化了这封钓鱼邮件,使其更容易传播感染链。最终,Check Point研究人员使用ChatGPT生成了一段VBA代码,该代码可嵌入Microsoft Excel文档中,一旦打开即可感染计算机。这段代码可以下载反向shell,这是用于连接远程计算机并重定向目标系统shell输入和输出连接的攻击手段,使攻击者能够远程访问系统。来自我们的合作伙伴的内容 采用B2B2C模式如何帮助制造商更接近消费者 技术和创新如何推动物流行业的疫情后复苏 如何在波动时代有效开展SAP监控 利用ChatGPT,他们仅在三个简单步骤中就完成了这项操作。第一步是要求ChatGPT冒充托管公司,第二步是要求它再次进行迭代,这次生成带有恶意Excel附件的钓鱼邮件,第三步则是要求它生成一段恶意的VBA代码。查看所有通讯 注册我们的通讯 数据、洞察和分析直达您手中 由《科技观察者》团队提供 立即注册 “ChatGPT有可能显著改变网络威胁格局,”Check Point Software的威胁情报小组经理Sergey Shykevich表示,“现在,即使资源有限且毫无代码知识的人也可以轻松利用它,这取决于他们的想象力。” Check Point团队还通过让Codex在一个Windows机器上执行反向shell脚本,并连接到特定IP地址,检查URL是否容易受到SQL注入攻击(通过以管理员身份登录),然后编写一个Python脚本对目标机器进行全面端口扫描,成功生成了恶意代码。Shykevich补充道:“生成恶意邮件和代码变得非常容易。黑客还可以借助ChatGPT和Codex反复优化恶意代码。为警示公众,我们展示了利用ChatGPT和Codex组合生成恶意邮件和代码的简便程度。我相信这些AI技术代表了网络攻击能力危险演化的另一个进步阶段。网络安全世界正在迅速变化,我们希望强调在ChatGPT和Codex日益成熟之际,保持警觉的重要性,因为这种新出现的技术可能会对威胁格局产生正反两方面的影响。”ChatGPT可能会加剧“脚本小子”的威胁 网络安全专家、ExtraHop高级技术经理Jamie Moles用自己的迷你实验验证了ChatGPT的潜在威胁,结果与Check Point研究人员类似。他成功让ChatGPT解释了如何使用渗透测试软件Metasploit来利用EternalBlue漏洞。这是一个由美国国家安全局(NSA)开发的计算机漏洞,作为后门使用,随后于2017年4月被黑客组织Shadow Brokers泄露。“ChatGPT不仅仅是最新最火热的潮流,”Moles说道,“它极其聪明,这带来了正面和负面的双重影响。潜在的负面用例是,它可能会教会那些毫无经验的人如何做某些事情。Metasploit本身并不是问题——没有工具或软件本质上是坏的,除非被滥用。但,教会技术知识很少的人如何使用一个可能被严重漏洞利用的工具,可能会增加威胁——尤其是人们常说的‘脚本小子’。” 这一术语通常用来描述那些几乎没有实际黑客经验的青少年,他们通过其他更有才华的黑客编写的脚本进行系统攻击。他们最近频频出现在新闻中,而ChatGPT可能会成为那个更有才华的黑客。 在上个月发布ChatGPT时,OpenAI表示已设置了检查机制,以防止其生成恶意代码。但自从发布以来,人们已经找到了绕过这些机制的方法,诱使它相信这些请求只是用于研究目的。最近的一次更新据说已经修复了其中的一些漏洞。该公司表示:“虽然我们已努力让模型拒绝不适当的请求,但它有时仍会对有害指令作出回应,或表现出偏见行为。我们正在使用Moderation API来警告或阻止某些类型的不安全内容,但我们预计目前仍会出现一些误判。我们非常期待收集用户反馈,以帮助我们持续改进这一系统。” 此外,生成的代码也不一定准确。开发人员常去提问和回答代码问题的网站StackOverflow禁止使用ChatGPT的答案,理由是大量答案看起来正确,实则错误。即使是OpenAI的首席执行官Sam Altman也警告说,ChatGPT尚未准备好用于主流用途,不应在其仍存在大量错误的情况下依赖它提高生产力。他写道:“ChatGPT目前的局限性极大,但在某些方面表现得足够好,以至于可能会给人一种虚假的卓越印象。目前将它用于任何重要事务都是个错误。它只是一个进展的预览;在稳健性和真实性方面,我们还有大量工作要做。” 以人为中心的AI高级讲师Eddy Zhu博士表示,尽管ChatGPT是人工智能领域的一个“重大里程碑”,支撑着许多实际应用,但它并不完美。他说:“ChatGPT会犯一些严重的错误。这可能产生误导用户的信息,而这正是其工程师需要格外警惕的地方。” 阅读更多:计算能力是否会成为AI发展的瓶颈? 本文主题:ChatGPT,OpenAI
您觉得本篇内容如何
评分

评论

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

提交评论

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