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

无需修改的隐写术:通过LLM种子进行隐藏通信

Steganography Without Modification: Hidden Communication via LLM Seeds

Institute for IT Security, University of Lübeck(吕贝克大学信息安全部);Technische Hochschule Lübeck(吕贝克技术大学)

Felix Mächtle, Jonas Sander, Sebastian Berndt, Ben Weimar, Nils Loose, Thomas Eisenbarth

AI总结:

利用LLM推理栈中确定性解码的伪随机数生成器种子依赖性,提出一种无需修改模型权重或采样代码的隐写信道,通过种子编码秘密消息,接收者通过穷举搜索恢复。

摘要:

我们证明,广泛部署的大型语言模型(LLM)推理栈包含一个隐写信道,该信道无需修改模型权重、采样代码或输出分布。该信道利用了确定性解码的结构特性:在逆变换采样中使用的伪随机数生成器(PRNG)产生一个依赖于种子的token级概率区间序列,该序列可以仅从生成的文本中重建。发送者在生成前将秘密消息编码到PRNG种子中;接收者重建区间并通过穷举搜索种子空间恢复种子,从而恢复隐藏载荷。我们形式化了两种操作模式。在已知提示设置中,发送者和接收者共享提示,从而通过强制对齐实现精确区间重建和完美种子恢复。在未知提示设置中,仅可获取生成的文本;结合最大命中计数评分策略的近似区间重建仍能从足够长的输出中可靠恢复。在六个模型系列和五个异构文本域上的大量实验表明,在已知提示设置中,从完整的2^32候选空间中恢复32位种子,根据模型和文本域的不同,在300个token内、单GPU上35秒内可实现高达100%的准确率。在未知提示设置中,恢复在600-800个token内约12秒达到近乎完美的准确率。我们进一步分析了提示策略、分词歧义和采样超参数对信道可靠性的影响。此外,我们讨论了结果的几个应用:首先,它允许隐写传输32位信息,但也表明忽略提示并非有效的安全假设。

英文摘要:

We demonstrate that widely deployed Large Language Model (LLM) inference stacks harbor a steganographic channel that requires no modification to model weights, sampling code, or output distributions. The channel exploits a structural property of deterministic decoding: pseudo-random number generators (PRNGs) used in inverse-transform sampling produce a seed-dependent sequence of token-level probability intervals that can be reconstructed from the generated text alone. A sender encodes a secret message in the PRNG seed before generation; a receiver reconstructs the intervals and recovers the seed, and thus the hidden payload, by exhaustive search over the seed space. We formalize two operational modes. In the known-prompt setting, sender and receiver share the prompt, enabling exact interval reconstruction and perfect seed recovery via forced alignment. In the unknown-prompt setting, only the generated text is available; approximate interval reconstruction combined with a maximum-hit-count scoring strategy still permits reliable recovery from sufficiently long outputs. Extensive experiments across six model families and five heterogeneous text domains show that, in the known-prompt setting, full 32-bit seed recovery from the complete 2^32 candidate space achieves up to 100% accuracy, depending on model and text domain, within 300 tokens and under 35 seconds on a single GPU. In the unknown-prompt setting, recovery reaches near-perfect accuracy at 600-800 tokens in about 12 seconds. We further analyze the influence of prompting strategies, tokenization ambiguities, and sampling hyperparameters on channel reliability. Moreover, we discuss several applications of our results: First, it allows for the steganographic transmission of 32 bits, but also shows that ignorance of the prompt is not a valid security assumption.

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

↑