arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.10601cs.CLcs.AI
收藏

当推理“能力”打开脆弱之门:通过新型复杂密码越狱大语言模型

When "Competency" in Reasoning Opens the Door to Vulnerability: Jailbreaking LLMs via Novel Complex Ciphers

Arizona State University(亚利桑那州立大学)

Divij Handa, Zehua Zhang, Amir Saeidi, Shrinidhi Kumbhar, Md Nayem Uddin, Aswin RRV, Chitta Baral

AI总结:

本研究揭示LLM推理能力增强反而使其更易受新型复杂密码越狱攻击,提出ACE和LACE攻击方法及CipherBench基准,实验显示解码能力越强越易受攻击,成功率从60%升至72%。

摘要:

近期大语言模型(LLM)安全方面的进展主要集中在缓解以自然语言或常见密码(如Base64)构造的攻击,这些攻击很可能已被纳入新模型的安全训练中。然而,我们揭示了一个悖论性的脆弱性:随着LLM推理能力的提升,它们反而更容易受到新型越狱攻击。增强的推理能力使LLM能够解读复杂指令并解码用户自定义的复杂密码,从而形成了一个可利用的安全漏洞。为研究这一脆弱性,我们提出了自定义加密攻击(ACE),这是一种利用新型密码对恶意查询进行编码的越狱技术。在ACE的基础上,我们进一步提出了分层自定义加密攻击(LACE),通过应用多层密码来增强攻击的复杂性。此外,我们开发了CipherBench,一个用于评估LLM在解码加密良性文本方面准确性的基准。我们的实验揭示了一个关键的权衡:解码密码能力越强的LLM,越容易受到LACE的攻击,gpt-oss-20b在ACE下的成功率为60%,而在LACE下则攀升至72%。这些发现突出了一个关键见解:随着LLM越来越擅长解读复杂的用户自定义密码——其中许多无法被预先纳入安全训练——它们变得越来越容易被利用。

英文摘要:

Recent advancements in Large Language Model (LLM) safety have primarily focused on mitigating attacks crafted in natural language or common ciphers (e.g. Base64), which are likely integrated into newer models' safety training. However, we reveal a paradoxical vulnerability: as LLMs advance in reasoning, they inadvertently become more susceptible to novel jailbreaking attacks. Enhanced reasoning enables LLMs to interpret complex instructions and decode complex user-defined ciphers, creating an exploitable security gap. To study this vulnerability, we introduce Attacks using Custom Encryptions (ACE), a jailbreaking technique that encodes malicious queries with novel ciphers. Extending ACE, we introduce Layered Attacks using Custom Encryptions (LACE), which applies multi-layer ciphers to amplify attack complexity. Furthermore, we develop CipherBench, a benchmark designed to evaluate LLMs' accuracy in decoding encrypted benign text. Our experiments reveal a critical trade-off: LLMs that are more capable of decoding ciphers are more vulnerable to LACE, with success rates on gpt-oss-20b escalating from 60% under ACE to 72% with LACE. These findings highlight a critical insight: as LLMs become more adept at deciphering complex user ciphers--many of which cannot be preemptively included in safety training--they become increasingly exploitable.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑